Local process image in delivery state
The process image of the Bus Terminal Controller consists of input, output and flag areas. In addition, there are unallocated data without fixed address. They are created without specifying an address. 256 kB of memory space is reserved on the Bus Terminal Controller for this type of variable. For the allocated data 2048 bytes of input data and 2048 bytes of output data are available. In the default configuration, i.e. in delivery state of the Bus Terminal Controller, all connected Bus Terminals are assigned a fixed address. The data for the CANopen communication are stored from address offset 1000dec. In the default configuration the number of CANopen data is 4 x kbyte (4 PDOs).
INPUTS | OUTPUTS |
---|---|
Bus Terminal %IB0 ... | Bus Terminal %QB0 ... |
CANopen data (PLC variables) %IB1000 ... | CANopen data (PLC variables) %QB1000 ... |
... %IB2047 maximum | ... %QB2047 maximum |
CANopen data
PDO number |
Read/Write |
BX process image |
---|---|---|
PDO 1 |
Rx/Tx |
%IB1000...%IB1007/QB1000...%QB1007 |
PDO 2 |
Rx/Tx |
%IB1008...%IB1015/QB1008...%QB1015 |
PDO 3 |
Rx/Tx |
%IB1016...%IB1023/QB1016...%QB1023 |
PDO 4 |
Rx/Tx |
%IB1024...%IB1031/QB1024...%QB1031 |
Further PDO data (5-32) have to be enabled by the master (see CAN configuration).
Addressing of the connected Bus Terminals
The default setting is for all the connected Bus Terminals to be assigned to the local process image. Mapping in the Bus Terminal Controller is based on the following rule:
first all complex Bus Terminals, in the order they are connected, then the digital Bus Terminals, which are made up to a byte. The default mapping of the complex Bus Terminals is:
- complete evaluation
- Intel format
- Word alignment
Example
Bus Terminal Controller: 1 x BX5100
Position 1: 1 x KL1012
Position 2: 1 x KL1104
Position 3: 1 x KL2012
Position 4: 1 x KL2034
Position 5: 1 x KL1502
Position 6: 1 x KL3002
Position 7: 1 x KL4002
Position 8: 1 x KL6001
Position 9: 1 x KL9010
Process image
Bus Terminal | Position | Input image | Output image |
---|---|---|---|
KL1501 | 5 | %IB0...%IB5 | %QB0...%QB5 |
KL3002 | 6 | %IB6...%IB13 | %QB6...%QB13 |
KL4002 | 7 | %IB14...%IB21 | %QB14...%QB21 |
KL6001 | 8 | %IB22...%IB29 | %QB22...%QB29 |
KL1012 | 1 | %IX30.0..30.1 | - |
KL1104 | 2 | %IX30.1..30.5 | - |
KL2012 | 3 | - | %QX30.0..30.1 |
KL2034 | 4 | - | %QX30.2..30.5 |
KL9010 | 9 | - | - |
![]() | Address of the Bus Terminals at the local PLC If you do not know the address of the Bus Terminals that you have assigned to the local PLC (BCxx00): Perform your hardware configuration in the System Manager. After you have entered all the Bus Terminals and PLC variables, click with the right mouse button on the BCxx00 in the hardware tree, and select the menu item Export variables information.... A file is saved, and this file can be inserted in the System Manager under Project - Import. Now you will have the entry TwinCAT import under the global variables, and you will find here all the variables that you have assigned to the local PLC (BCxx00). |