65
3D sensor
UK
Get IO state
Retrieves the logic state of the given IO identifier. Bytes 4 and 5 of the output frame data section defines
the IO ID as a 16 bit unsigned integer value:
●
1 -> IO1
●
2 -> IO2
●
3 -> IO3
The bytes 2-3 and 6-7 have to be set to 0. An error is risen if bytes 2-3 or 6-7 are not set to 0.
The data sent in the input frame is:
●
Byte 0-3: logic state of the requested IO, 1 for high, 0 for low, 32 bit unsigned integer
Set IO state
This command sets the given state of the given IO. Bytes 4 and 5 of the output frame data section defines
the IO ID as a 16 bit unsigned integer value:
●
1 -> IO1
●
2 -> IO2
●
3 -> IO3
The bytes 6 and 7 define the logic state of the IO as 16 bit unsigned integer value.
The bytes 2-3 have to be set to 0. An error is risen if bytes 2-3 are not set to 0.
The data content of the input frame is set to 0, after receiving the "Set IO state" command.
Execute synchronous trigger
This command executes a synchronous trigger. The content of the input frame data section depends on
the user defined PCIC output for PROFINET.
Activate asynchronous PCIC output
This command activates or deactivates the asynchronous PCIC output for this connection. The bytes 6
and 7 of the output frame data section define the on/off state as a 16 bit unsigned integer value:
●
0 = off
●
1 = on
The bytes 2-5 have to be set to 0. An error is risen if bytes 2-5 are not set to 0.
The data content of the input frame is set to 0, after receiving the "Activate asynchronous PCIC output"
command.
Default endianness
The default endianness is in little-endian format.