31
ICC
10.5.2
I/O Data Configuration Arrays
The I/O data configuration arrays consist of two separate elements (refer to
Figure 18.) The command register configuration defines the structure of the
command data sent from the Profinet controller to the drive, and the status
register configuration defines the structure of the status data sent from the drive
back to the controller. These arrays allow the creation of custom-built I/O data.
Up to 8 command registers can be sent to the drive, and up to 32 status
registers can be sent back to the controller. Each box in an array is capable of
containing a register number. Because all drive registers are 16-bit data
elements, each box therefore represents two bytes of input or output data.
Figure 18: I/O Data Configuration
The command register array locations are numbered 0-7, and traverse from left
to right. The status register array locations are numbered 0-31, and traverse
from left to right across each row, and then increment to the left-most position
on the next row. Clicking on a box in an array allows the user to enter a
register number that will be referenced at that location when data is either
received from or sent to the controller. A value of 0 indicates that no register is
referenced at that location, which will cause corresponding command data to be
ignored and status data to be a default value of 0.
As an example, looking at the default configuration shown in Figure 18, we can
see that each array contains two defined registers. Therefore, up to 4
“meaningful” bytes of data can be both received and sent (the qualifier
“meaningful” is used here because the module currently selected by the
controller may require larger input and/or output data sizes, but all
unreferenced command data will be ignored, and all unreferenced status data
will contain dummy “0” values). The first word (two bytes) of command data will
be written to register 1007 (command 1) and the second word will be written to
register 1008 (frequency command). Similarly, the first word of status data will
contain the value of register 1402 (status 1) and the second word will contain
the value of register 1401 (output frequency).