61
3D sensor
UK
13.5 PROFINET IO
13.5.1 Data structures for output and input frame
Size of output frame
Every output frame sent by the controller contains 8 bytes of data, which consists of command word and
command data.
Size of input frame
Every Input frame contains 16 - 450 bytes of data, which are generated by the device in response to the
commands received in the output frames. The size of non mandatory data is adjustable by changing the
size of the input data in the GSDML file.
Byte
0-1
2-3
4-5
6-7
8-15
16-449
Description Command
word for
mirroring
Synchronous /
asynchronous message
identifier
Message
counter
Reserved Mandatory
data
Non mandatory
data
Layout of command word
Bit
0
1-15
Description
Error bit
This bit has no meaning in the consuming
assembly. It is used for signaling an
occured error to the PLC
Command bits
Each bit represents a specific command
Command word
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description
Error bit
N.a.
N.a.
N.a.
N.a.
N.a.
Get last error
Get connection ID
Get statistics
Activate application
Get application list
Get IO state
Set IO state
Execute synchronous
trigger
Activate asynchronous
PCIC output
N.a.
Synchronous / asynchronous identifier
Bit
0
1-15
Description
Asynchronous message bit
Bits for asynchrounous message identifier
13.5.2 Functionality of PROFINET IO application
This section describes how to handle the commands sent by the controller. The PLC sends the
commands to the device in the output frames by setting the appropriate bit in the command word. The
current value of the command word and command data is obtained from the output module by the
application.
After detecting that one of the command bits changed the state from 0 to 1, the PROFINET application
executes the corresponding command and sets the response in the input frames.
Number of supported PROFINET connections
The O3D3xx running a PROFINET application supports one connection with a single controller.