Starting up the device - PROFIBUS interface
Leuze electronic GmbH + Co. KG
CML 730i
122
Control commands (module 20)
Description of commands:
Output data
PLC -> CML
Description
Relative address
Data type
Value range
Initial value
Trigger byte
Changing the data value triggers a trig
-
ger for executing the command.
Changing from a state > 0 to a state = 0
does not trigger a trigger.
0
Unsigned 8
0 ... 255
0
Command
Selection of the command that is to be
executed in the CML. The command is
only activated after the trigger byte is
changed.
1
Unsigned 8
0
0
Argument
Additional argument that is used with
some commands to transfer additional
information to the CML.
2
Unsigned 16
0 ... 65535
0
Output data length: 4 byte
Input data
PLC -> CML
Description
Relative address
Data type
Value range
Initial value
Trigger echo
Trigger byte with which command execu
-
tion was performed.
0
Unsigned 8
0 ... 255
0
Command echo
Command byte with which command
execution was started..
1
Unsigned 8
0
Response/status
Response/status of the last command
execution
Highbyte:
0x00 = Waiting for command
0x01 = Receiver (Rx) received com
-
mand
0x10 = Confirmation (ACK) received
from receiver (Rx)
0x20 = No confirmation (NACK) received
from receiver (Rx)
Lowbyte:
As reserve for extensions
2
Unsigned 16
0 ... 65535
0
Output data length: 4 byte
Command no.
Description
Argument
Explanation
0
No command
-
3
Trigger teach
-
4
Reboot of the receiver device
-
17
Reset hold function
-
18
Acknowledge teaching error
-
21
Reset error counter states
165
The argument must be passed
in order to execute the com
-
mand.
22
Permanently store error counter states
1234
The argument must be passed
in order to execute the com
-
mand.
To execute the Reset error counter states and Permanently store error counter states com
-
mands, the argument is also to be defined (as PIN) in the receiver (Rx). This prevents an acci
-
dental triggering.