Basic instructions
Create a reference to a tag:
✔
"REF()" is used to specify to which tag a
previously declared reference should point.
✔
✔
✔
✔
Convert BCD to integer (16 bit)
✔
✔
✔
✔
Convert integer (16 bit) to BCD
✔
✔
✔
✔
Convert BCD to integer (32 bit)
Convert integer (32 bit) to BCD
✔
✔
✔
✔
Convert integer (16 bit) to integer (32 bit)
✔
✔
✔
✔
S7-1500: Conversion also done implicitly
Convert integer (32 bit) to floating-point number
✔
✔
✔
✔
S7-1500: Conversion also done implicitly
You can generally convert numerical formats
and data types into other numerical formats
✔
✔
and data types. You can find more detailed
information in the information system of
STEP 7
Create ones complement integer (16 bit)
✔
✔
✔
S7-1500: Conversion also done implicitly
A5E33284667-AF
Extended instructions
Description
Technology
STL
LAD/FBD
(not S7-1200)
nn
nn
nn
nn
BTD
nn
DTB
nn
nn
DTR
CONVERT
nn
INVI
Communication
SCL
nn
REF
BTI
BCD16_TO_INT
ITB
INT_TO_BCD16
BCD32_TO_INT
DINT_TO_BCD3
2
ITD
INT_TO_DINT
DINT_TO_REAL
xxx_TO_yyy
nn
Page 23