Skip to Main Content
Cognex 지원 허브
LogoLogo

How to Enable/Disable Read Setup in DataMan via DataMan Control Command (DMCC) When Using Profinet

Instructions on how to use Profinet commands to send DataMan Control Commands (DMCC) when using Siemens PLCs

2024. 09. 15.

Details

You will need to use the following two commands to enable/disable the specific setup, for example, please follow the steps as below to disable/enable Setup 0.

||>SET SETUP.PROG-TARGET 0

||>SETUP.ENABLE OFF   or   ||>SETUP.ENABLE ON

Put ‘||>SET SETUP.PROG-TARGET 0$R$L’ in “User Data”. DataMan Control Command(DMCC) command string must first be placed in “User Data” before invoking this event, and we need put $R$L instead of \r\n when using Siemens software.

Placeholder

Set “Execute DMCC” bit to “True” to invoke the DataMan Control Command (DMCC) operation, and then “Execute DMCC Ack” also will be set to “True” once the “Execute DMCC” operation is complete.

Reset “Execute DMCC” bit, and then “Execute DMCC Ack” will be set to “False” as well.

Placeholder

Put ‘||>SETUP.ENABLE OFF$R$L’ in “User Data”.

Set “Execute DMCC” bit to “True”, then the Setup 0 will be disabled.  

Placeholder

More related setup DataMan Control Commands (DMCC) are listed below:  

Placeholder

관련 자원

Loading component...