Local process image in delivery state (default config)
The process image of the Bus Terminal Controller consists of input, output and flag area. In addition, there are unallocated data without fixed address. They are created without specifying an address. For these variable types the memory allocation is as follows:
- BCxx50 48 kbyte,
- BC9x20, BC9191 128 kbyte and
- BXxx00 256 kbyte.
The maximum size of a variable or structure (array) is 16 kbyte. For the allocated data 2048 bytes of input data and 2048 bytes of output data are available. The Bus Terminal Controller has 4 kbyte of memory allocated for the flag area.
In the delivery state (default configuration) of the BX/BCxx50, fixed addresses are allocated for all connected Bus Terminals. The data for Ethernet communication start from address offset 1000dec. The length of the Ethernet data depends on how much data has been configured; on the BX9000 it has a maximum length of 1000 bytes.
Inputs | Outputs |
---|---|
Bus Terminal %IB0 ... | Bus Terminal %QB0 ... |
Ethernet DATA (PLC variables) %IB1000 ...(Modbus TCP/ADS-TCP/ADS-UDP) | Ethernet DATA (PLC variables) %QB1000 ...(Modbus TCP/ADS-TCP/ADS-UDP) |
... %IB2047 maximum | ... %QB2047 maximum |
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 within the Bus Terminal Controller is carried out according to the following rule:
First all the complex Bus Terminals, in the sequence they are physically inserted, followed by the digital Bus Terminals which are filled to a byte. The default mapping of the complex Bus Terminals is:
- complete evaluation
- Intel format
- Word alignment
Example structure
Bus Terminal Controller: 1 x BCxx50, BCxx20 or BXxx00
Position 1: 1 x KL1012
Position 2: 1 x KL1104
Position 3: 1 x KL2012
Position 4: 1 x KL2034
Position 5: 1 x KL1501
Position 6: 1 x KL3002
Position 7: 1 x KL4002
Position 8: 1 x KL6001
Position 9: 1 x KL9010
Bus Terminal | Position | Input image | Output image | Size |
---|---|---|---|---|
KL1501 | 5 | %IB0...%IB5 | %QB0...%QB5 | 6 bytes |
KL3002 | 6 | %IB6...%IB13 | %QB6...%QB13 | 8 bytes |
KL4002 | 7 | %IB14...%IB21 | %QB14...%QB21 | 8 bytes |
KL6001 | 8 | %IB22...%IB29 | %QB22...%QB29 | 6 bytes |
KL1012 | 1 | %IX30.0...%IX30.1 | - | 2-bit |
KL1104 | 2 | %IX30.1...%IX30.5 | - | 4-bit |
KL2012 | 3 | - | %QX30.0...%IX30.1 | 2-bit |
KL2034 | 4 | - | %QX30.2...%IX30.5 | 4-bit |
KL9010 | 9 | - | - | - |