14. Appendix F : Concept and Quantum PLC
The default data type of Concept with a Quantum PLC is "BOOL".
As shown in the first drawing hereafter, "BOOL" should not be used for the data storage of the LUFP7. The bytes (MSB/LSB) and bits are twisted with data type "BOOL".
The data type for the LUFP7 gateway at Concept should be changed to "INT16" or "UINT16". In this case the data storage of the gateway and the PLC is identical.
LUFP7
QUANTUM
Datatype: Bool
215 |
|
|
|
|
|
| 28 | 27 |
|
|
|
|
|
| 20 |
1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
|
|
|
|
| 27 | 28 |
|
|
|
|
|
| 215 |
0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Different data storage at the LUFP7 and Concept
with a Quantum PLC.
The BYTES are twisted with datatype "bool"
Datatype : INT16
LUFP7
QUANTUM
215 |
|
|
|
|
|
| 28 | 27 |
|
|
|
|
|
| 20 |
1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
|
|
|
|
| 27 | 28 |
|
|
|
|
|
| 215 |
1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
Identical DataStorage at the LUFP7 and Concept
with at Quantum PLC
INT16 is the correct datatype
LUFP7
QUANTUM
Datatype : UINT16
215 |
|
|
|
|
|
| 28 | 27 |
|
|
|
|
|
| 20 |
1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
|
|
|
|
| 27 | 28 |
|
|
|
|
|
| 215 |
1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
UINT16 has the same mapping like INT16.
113