VA Motion Controller Programming Manual
198
output
0~127
, input
128~255
corresponds to
output
-128~-1
, input increases, output will
repeat
0~127
,
-128~-1;
output
is
USINT
,
BYTE
Type
:
Input
0~255
corresponds
to output
0~255
. When the input is increased, the
output will repeat
0~255; the
output
is
INT
type
:
input
0~32767
corresponds to
output
0~32767,
input
32768~65535
corresponds
to output
-32768~-1
, If the input is increased, the
output will repeat
0~32767
,
-32768~-1;;
the
output
is
UINT
,
WORD
type
:
input
0~65535
corresponds
to output
0~65535
, the input will increase and
the output will repeat
0~65535; the
output
is
BYTE, When WORD is of
type, the output is
equal to
Enter the lower
8
bits and lower
16
bits of
data.
usage (take DWORD_TO_BOOL as an example)
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
When the contact
C049
is
ON
time , the
instruction is executed;
The address
V096
in the
DWORD
number of
revolutions
BOOL
type , is stored in the
V097
in ;
Execution result:
16 # 0000082
turn for
the
BOOL
type
Note : As long as
V096
in value is
not to zero when output
. 1
(
TRUE
)