Siemens s7-1200 modbus tcp client

We would like to control the robot (lite 6) only with modbus tcp communication via siemens s7-1200 modbus tcp client. We don’t want to use inputs and outputs, only ethernet. By the way we are having many troubles to activate the robot and to activate blocky programs. If we try to enable joint1 and breake 1 a floating window appears with the message that de robot is not enabled. If we write a blocky holding register to activete a program the program doesen’t start. Can anyone help us?

Thanks

Please refer to the docs about the Standard Modbus TCP for UFACTORY products

Here are some commands for your reference, which you could find them in the online document.

Enable joint 1
00 01 00 00 00 06 01 05 00 87 FF 00

Enable joint 1-6
00 01 00 00 00 08 01 0F 00 87 00 06 01 3F

Set state to 0 (will clean errors as well)
00 01 00 00 00 06 01 06 00 21 00 00

And please refer this doc about how to run Blockly project with the Standard Modbus TCP for UFACTORY products

Here is an example to run the Blockly file “00001” with Modbus TCP

  1. Create a new Blockly file and named it “00001”
  2. Write some Blockly codes in Blockly file “00001”
  3. Run the Blockly file “00001” with the modbus tcp commands
    00 01 00 00 00 09 01 10 00 30 00 01 02 00 01

Note:
When running a Blockly project via Modbus TCP, the Blockly file name must be a 5-digit number.
If the number has fewer digits, pad it with leading zeros.

For example:

  • Value 0x001E (decimal 30) → file name should be 00030
  • Value 0x0070 (decimal 112) → file name should be 00112