Appendix f : concept and quantum plc, Lufp7 quantum, Datatype: bool – Schneider Electric Gateway LUFP7 User Manual

Page 112: Datatype : int16, Datatype : uint16

Advertising
background image

113

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

2

15

2

0

0

0

0 0 0

0

1

0

0

2

7

2

8

1

0

0 0

0

0

0

Datatype: Bool

2

0

0

0

0 0 0

0

0 0

2

8

2

7

0 0

1

0

0

0

0

1

2

15

LUFP7

QUANTUM

2

15

2

0

0

0

0 0 0

0

1

0

0

2

7

2

8

1

0

0 0

0

0

0

Datatype : INT16

2

0

0

0

0 0 0

0

1

0

2

8

2

7

1

0

0 0

0

0

0

0

2

15

LUFP7

QUANTUM

2

15

2

0

0

0

0 0 0

0

1

0

0

2

7

2

8

1

0

0 0

0

0

0

Datatype : UINT16

2

0

0

0

0 0 0

0

1

0

2

8

2

7

1

0

0 0

0

0

0

0

2

15

Different data storage at the LUFP7 and Concept

with a Quantum PLC.

The BYTES are twisted with datatype "bool"

Identical DataStorage at the LUFP7 and Concept

with at Quantum PLC

INT16 is the correct datatype

UINT16 has the same mapping like INT16.

Advertising