Size Of - GE PACSystems RX7i Cpu Programmer's Reference Manual

Hide thumbs Also See for PACSystems RX7i:
Table of Contents

Advertisement

Chapter 4. Ladder Diagram (LD) Programming
4.8.17

Size Of

Operands
Parameter Description
IN
The variable whose size in bits is
calculated.
Q
The number of bits used by the variable
assigned to input IN.
Example
The single-segment structure named Var assigned to
input IN contains eight BOOL elements (8 × 1 = 8 bits)
and twelve WORD elements (12 × 16 = 192 bits).
SIZE_OF outputs the value 8 + 192 = 200 to the
variable R00001 assigned to output Q.
170
PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual
Counts the number of bits used by the variable assigned to input
IN and writes the number of bits to output Q.
Allowed Operands
Variable of any data type except BYTE
arrays in non-discrete memory and
double-segment structures.
DINT or DWORD variable.
ST also supports INT and WORD variables.
Mnemonics:
SIZE_OF
Optional
No
No
GFK-2950C

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pacsystems rx3iPacsystems rsti-ep

Table of Contents