EasyManuals Logo

Vector VEC-VA Series User Manual

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
Page #18 background imageLoading...
Page #18 background image
VA Motion Controller Programming Manual
13
No.
Prefix
definition
Conventions Data
Types
1
Location
prefix
I
Input mapping area
2
Q
Output mapping area
3
M
Intermediate
variables mapping area
4
The size
prefixes
X
Place
BOOL
5
B
Byte (8 bits)
BYTE
6
W
Word (16 bits)
WORD
7
D
Double word (32)
DWORD
8
L
Long (64-bit)
LREAL
Examples of variable address
DI / DO bit input and output opera tions:
%IX0.0 represents the 0th bit in the 0th byte of the digital input mapping area, indicating the
definition of the input terminal DI0 in the motion controller;
%IX0.7 represents the 0th bit in the 1st byte in the digital input mapping area, which means
that the input terminal DI7 in the motion controller is defined;
%QX0.0 represents the 0th bit in the 0th byte in the digital output mapping area, indicating
the definition of the input terminal DO0 in the motion controller;
%QX1.0 represents the 0th bit in the 1st byte in the digital output mapping area, indicating
the definition of the input terminal DO10 in the motion controller;
DI/DO input and output byte operations:
%IB0 represents the 8-bit status in the 0th byte of the digital input mapping area, indicating
the input terminals DI0~DI7 in the motion controller;
3) Relationship between the motion controller address
In order to facilitate data exchange with peripherals (such as: human-machine, drive, other
controllers), the motion controller opens the 10,000-byte address of %MB3.0000~%MB3.9999 to
communicate with peripherals, of which %MB3.2000 ~%MB3.3000 is the data address saved by
power-down. Users need to pay attention to the fact that the data exchanged with the peripherals
does not need to fill in the %MB3.XXXX address, just fill in the variable name and select the
correct data type to automatically assign the address.
The address relationship between bytes, words, and double words is ADouble word containing
two words, or four bytes, below %MX3.0.0, %MB3.0, %MW3.0, and %MD3.0 For example, the
address relationship and data arrangement between bytes, words, and double words are shown in
the following figure:

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Vector VEC-VA Series and is the answer not in the manual?

Vector VEC-VA Series Specifications

General IconGeneral
BrandVector
ModelVEC-VA Series
CategoryController
LanguageEnglish

Related product manuals