Standard function blocks
329
Standard function blocks
What this chapter contains
This chapter describes the standard function blocks. The blocks are grouped
according to the grouping in the DriveSPC tool.
The number in brackets in the standard block heading is the block number.
Note: The given execution times may vary depending on the drive application used.
The block execution time describes how much CPU load (1.21 CPU USAGE) the
block reserves. For example, if a block with the execution time of 2.33 µs
is set to a
1 ms time level, the increase in the CPU load will be 0.23%.
Terms
Data type Description Range
Boolean Boolean 0 or 1
DINT 32-bit integer value (31 bits + sign) -2147483648…2147483647
INT 16-bit integer value (15 bits + sign) -32768…32767
PB Packed Boolean 0 or 1 for each individual bit
REAL -32768,99998…32767,9998
REAL24 -128,0…127,999
16-bit value 16-bit value (31 bits + sign)
= integer value = fractional value
8-bit value 24-bit value (31 bits + sign)
= integer value
= fractional value