Basic instructions
Read field
✔
✔
Recommendation: Indexed access to an array
Write field
✔
✔
Recommendation: Indexed access to an array
Conversion operations
Convert value
✔
✔
✔
✔
S7-1200/1500: Is carried out implicitly,
therefore usually not necessary.
Only Safety: Convert data of data type BOOL
✔
✔
✔
✔
into data of data type WORD
Only Safety: Convert data of data type WORD
✔
✔
✔
✔
into data of data type BOOL
✔
✔
✔
✔
Round numerical value
Generate next higher integer from floating-point
✔
✔
✔
✔
number
Generate next lower integer from floating-point
✔
✔
✔
✔
number
✔
✔
✔
✔
Truncate numerical value
✔
✔
✔
✔
Scale
✔
✔
Normalize
A5E33284667-AA
Extended instructions
Description
Technology
STL
LAD/FBD
(not S7-1200)
FieldRead
FieldWrite
CONVERT
BO_W
W_BO
ROUND
RND
CEIL
RND+
FLOOR
RND-
TRUNC
SCALE_X
NORM_X
Communication
SCL
CONVERT
ROUND
CEIL
FLOOR
Page 22