Auto-configuration data format
This parameter sets the representation format for the complex terminals. You may choose between Intel and Motorola formats:
- Under the Intel format, the less significant byte (low byte) of a data word is located at the lowest address offset of the memory location.
- Under the Motorola format, the more significant byte (high byte) of a data word is located at the lowest address offset of the memory location.
If you choose the Motorola format for digital terminals, then the two bytes transmitted, for instance, for 16 sequential digital channels, the high byte and the low byte will be swapped.
Representation in Intel format
Intel format
Byte 0 |
Byte 1 |
Byte 2 |
Byte 3 |
Byte 4 |
Byte 5 |
Word 0 |
Word 2 |
Word 4 | |||
|
Word 1 |
Word 3 |
|
In terms of bit addresses, the result is:
High byte |
Low byte | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1.7 |
1.6 |
1.5 |
1.4 |
1.3 |
1.2 |
1.1 |
1.0 |
0.7 |
0.6 |
0.5 |
0.4 |
0.3 |
0.2 |
0.1 |
0.0 |
Byte 1 |
Byte 0 |
Representation in Motorola format
Motorola format
Byte 1 |
Byte 0 |
Byte 3 |
Byte 2 |
Byte 5 |
Byte 4 |
Word 0 |
Word 2 |
Word 4 |
In terms of bit addresses, the result is:
High byte |
Low byte | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0.7 |
0.6 |
0.5 |
0.4 |
0.3 |
0.2 |
0.1 |
0.0 |
1.7 |
1.6 |
1.5 |
1.4 |
1.3 |
1.2 |
1.1 |
1.0 |
Byte 0 |
Byte 1 |
Settings
The settings for the Data format auto-configuration function are found in byte 9 of the User_Prm_Data (default settings are printed bold):
Bit no. |
Description |
is supported by |
---|---|---|
Bit 3 |
Auto-configuration data format |
IP15xx, IP25xx, IP31xx, IP41xx, IP50xx, IP51xx, IP60xx |
In TwinCAT the settings for the Data format auto-configuration can be transferred with ADSRead and ADSWrite (ADS: Automation Device Specification). For this purpose they should be activated in the User_Prm_Data.
The settings for the Data format auto-configuration function are found in the TwinCAT System Manager on the PrmData tab for the corresponding Busbox.