VA Motion Controller Programming Manual
207
LD, FBD
programming language
Note : IL, ST language programming needs to insert variables IN and OUT or use constants in
the current POU variable worksheet
Funtion and Action examples
Unsigned integer
20-
turn
BYTE
When the contact C148 is ON when the
instruction is executed, the address
of V294 in the unsigned integer
of 20 revolutions of BYTE stored in V295 in ;
Execution of Results : 20 is ( the U- the
INT ) switch 16 # 14 ( BYTE )
10.3.14 Conversion of UDINT type data
UDINT
type data conversion has
11
instructions, which can
convert
UDINT
type data into
BOOL, BYTE, WORD, DWORD, SINT,
INT, DINT, USINT, UINT, REAL
and
LREAL
.
UDINT type data conversion instruction
Description Input value range 04,294,967,295
When input
0
, output
FALSE;
when other values
are input, output TRUE
When
0~255
is input, the output will be
0~255;
if the
input is increased, the output will
repeat
0~255.
When inputting 0~65535 , the output will be
0~65535 . If the input is increased, the output will
repeat 0~65535.
When 0~4,294,967,295 is input , the output is