EasyManua.ls Logo

Vector VEC-VA Series

Vector VEC-VA Series
649 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.
DWORD_TO_USINT
DWORD
USINT
DWORD_TO_UINT
DWORD
UINT
DWORD_TO_UDINT
DWORD
UDINT
DWORD_TO_REAL
DWORD
REAL
DWORD_TO_LREAL
DWORD
LREAL
usage (take DWORD_TO_BOOL as an example)
IL programming language
LD, FBD programming language
LD IN
DWORD_TO_BOOL
ST OUT
ST programming language
OUT:=DWORD_TO_BOOL
(
IN
)
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
16#00000082 turn BOOL
description
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
)

Table of Contents

Related product manuals