---
title: What is the sequence of commands to test Balluff Camera on TCP/IP interface?
description: Sequence of commands to test Balluff Camera on TCP/IP interface
---

[Skip to content](https://kb.innovatingautomation.asia/en/index/sequence-of-commands-to-test-balluff-camera-on-tcp/ip-interface#main-content)

English

Show submenu for translations

![Balluff_Logo.png\]](https://kb.innovatingautomation.asia/hs-fs/hubfs/Balluff_Logo.png?height=40&name=Balluff_Logo.png)

- [Default HubSpot Blog](https://blog.innovatingautomation.asia/blog)

Open main navigation

Close main navigation

- [Default HubSpot Blog](https://blog.innovatingautomation.asia/blog)
- English
  
  Show submenu for translations
- www.balluff.com

 www.balluff.com

 Hello! What can I do for you?

- There are no suggestions because the search field is empty.

1. [Help Center](https://kb.innovatingautomation.asia/en/index?hsLang=en)
2. [Application](https://kb.innovatingautomation.asia/en/index/application?hsLang=en)

# What is the sequence of commands to test Balluff Camera on TCP/IP interface?

## Sequence of commands to test Balluff Camera on TCP/IP interface

It is possible to control BVS Cockpit using so-called UDP sockets or TCP sockets via the Ethernet interface of the host system. For this, the port **36701** is used.

Using further BVS Cockpit instances in the same host system, the port numbers are incremented (instance 2 = port 36702, instance 3 = port 36703, etc.).

To communicate via TCP, you have to set the **Mode** in the system menu

("System settings -> communication") to "**TCP**".

With a TCP socket first a connection between BVS Cockpit and the controlling system is opened.

BVS Cockpit expects a **Connect** message, then it starts to send out status updates and result data. If the controlling system does not want any more updates, it sends Disconnect.

Likewise, a **Disconnect** should be sent before the socket is closed. BVS Cockpit supports only one active client.

 

Command sequence to send from client (PLC) to the BVS Cockpit is as follows:

- **Connect** = 01 00 00 00 hex
- **Change inspection program** = 31 00 02 00 01 00 hex
- **Start inspection program** = 41 00 00 00 hex
- **Trigger inspection program** = 40 00 00 00 hex
- **Stop inspection program** = 42 00 00 00 hex
- **Disconnect** = 02 00 00 00 hex

Invalid messages are ignored by BVS Cockpit.

 

[Learn more about Balluff BVS](https://assets.balluff.com/WebBinary1/MAN_BVS_SC_COCKPIT_EN_G20_DOK_928015_10_000.pdf)

- [Application](https://kb.innovatingautomation.asia/en/index/application?hsLang=en)
- [Basic Knowledge](https://kb.innovatingautomation.asia/en/index/basic-knowledge?hsLang=en)
- [Installation](https://kb.innovatingautomation.asia/en/index/installation?hsLang=en)
- [Sales FAQs](https://kb.innovatingautomation.asia/en/index/sales-faqs?hsLang=en)
- [Selection](https://kb.innovatingautomation.asia/en/index/selection?hsLang=en)
- [Function consultancy](https://kb.innovatingautomation.asia/en/index/function-consultancy?hsLang=en)
- [Commissioning](https://kb.innovatingautomation.asia/en/index/commissioning?hsLang=en)

- [Default HubSpot Blog](https://blog.innovatingautomation.asia/blog)

[![BALLUFF](https://kb.innovatingautomation.asia/hs-fs/hubfs/Balluff%20LOGO/Balluff_Logo.png?width=200&height=43&name=Balluff_Logo.png "BALLUFF")](http://www.balluff.com.cn)

Balluff Automation

Copyright © 2026, Balluff Automation (Shanghai) Co., Ltd.