Appendix - Fieldbus_01/2016 - 69 -
APPENDIX - FIELDBUS
1 - DATA MAPPING TYPES AND
VARIABLES
1.1 - Data type
• Choose the type of the data representation in memory:
Format Description Size (bytes)
Float Floating point (IEE754) 4
Char ASCII string 1..128
Uint32 Unsigned 32 bits 4
Uint16 Unsigned 16 bits 2
Uint8 Unsigned 8 bits 1
Sint32 Signed 32 bits 4
Sint16 Signed 16 bits 2
Sint8 Signed 8 bits 1
Bool Boolean 1
INT16
DEC16
Integer part on 16 bits + decimal
part on 16 bits.
4
1.2 - Char (ASCII string)
If you choose "Char", extra parameters are necessary to set
the ASCII string:
The "Size" is automatically computed. However, you can put
a value to truncate value in memory.
1.3 - Alignment
The oating point and integer values are rst converted
into a chain of characters and then aligned according to the
selected option within the total size of the eld.
Examples (green background denoting effective eld
length)
CVI3
value
Conguration
Data in PLC
memory
Integer part
Dot format
Number of
decimals
Size
Insignicant
zero
Alignment
4 4 No 0 4 No Right 4
4 4 No 0 4 No Center 4
4 4 No 0 4 No Left 4
4 2 Point 1 6 No Right 4 . 0
4 2 Point 1 6 No Center 4 . 0
4 2 Point 1 6 No Left 4 . 0
4 4 No 0 4 Yes Right 0 0 0 4
4 4 No 0 4 Yes Center 0 0 0 4
4 4 No 0 4 Yes Left 0 0 0 4
4 2 No 0 4 Yes Right 0 4
4 2 No 0 4 Yes Center 0 4
4 2 No 0 4 Yes Left 0 4
• Note that in case of centering if the resulting string of
characters cannot be centered perfectly, more spaces are
added on the left side of the string.