Sensor de visión 3D
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
Description Command
word for
mirroring
Layout of command word
Bit
0
Description
Error bit
This bit has no meaning in the consuming
assembly. It is used for signaling an
occured error to the PLC
Command word
Bit
0
1
2
Synchronous / asynchronous identifier
Bit
0
Description
Asynchronous message bit
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.
80
2-3
Synchronous /
asynchronous message
identifier
3
4
5
6
4-5
6-7
Message
Reserved Mandatory
counter
1-15
Command bits
Each bit represents a specific command
7
8
9
10
1-15
Bits for asynchrounous message identifier
8-15
16-449
Non mandatory
data
data
11
12
13
14
15