Skip to Main Content
Centro de soporte de Cognex
Logo

Dataman Read Setup Change Through Mitsubishi PLC (Ethernet IP)

This article shows the process how to send the DMCC command from Ethernet/IP communication.

11/02/2026

Details

How to change a DataMan setup parameter from a Mitsubishi PLC using Ethernet/IP communication. The method uses DMCC commands sent from the PLC to the DataMan reader through User Data fields inside the Output Assembly of the Ethernet/IP interface.

Note: Below process can be used for any other PLC as well to send the DMCC command through Ethernet IP communication.

Step 1: Specify the string length in the User Data Length field.

Move a numeric value (eg. K24) into the User Data Length register of the Output Assembly. This indicates how many characters the DMCC command contains.

Step 2: Write the DMCC command string into the User Data area.

The required command is:
||>SETUP.ENABLE-SINGLE 0
This command is written into the User Data registers of the PLC, one character at a time.

Step 3: Trigger SoftEvent 6 to execute the DMCC command.

SoftEvent 6 is defined in the Vision Block (Output Assembly) as the bit responsible for executing DMCC commands. To run the command, the PLC sets SoftEvent 6 to ON for a short duration. Once SoftEvent 6 is set, the DataMan reader processes the command in the User Data buffer.

Dataman Read Setup Change Through Mitsubishi PLC_image-1
Dataman Read Setup Change Through Mitsubishi PLC_image-2

Vision Block:

Dataman Read Setup Change Through Mitsubishi PLC_image-3
Dataman Read Setup Change Through Mitsubishi PLC_image-4
Dataman Read Setup Change Through Mitsubishi PLC_image-5

PLC memory layout:

Dataman Read Setup Change Through Mitsubishi PLC_image-6

Summary of the process:

Write the length of the DMCC string into the designated User Data Length field.
Write the ASCII DMCC command into the User Data memory area.
Activate SoftEvent 6 to execute the command in the DataMan reader.

Recursos relacionados