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:
Summary of Contents for VEC-VA Series
Page 1: ......
Page 25: ...VA Motion Controller Programming Manual 20 Word STRING String VECTOR ...
Page 90: ...VA Motion Controller Programming Manual 85 ...
Page 116: ...VA Motion Controller Programming Manual 111 ...
Page 139: ...VA Motion Controller Programming Manual 134 ...
Page 274: ...VA Motion Controller Programming Manual 269 ...
Page 329: ...VA Motion Controller Programming Manual 324 ...
Page 342: ...VA Motion Controller Programming Manual 337 2 Motion curve and timing diagram ...
Page 352: ...VA Motion Controller Programming Manual 347 2 Motion curve and timing diagram ...
Page 357: ...VA Motion Controller Programming Manual 352 2 Motion curve and timing diagram ...
Page 372: ...VA Motion Controller Programming Manual 367 2 Timing and motion profiles of FIG ...
Page 386: ...VA Motion Controller Programming Manual 381 2 the motion profile and timing ...
Page 444: ...VA Motion Controller Programming Manual 439 ...
Page 460: ...VA Motion Controller Programming Manual 455 ...
Page 461: ...VA Motion Controller Programming Manual 456 2 a timing graph and ...
Page 481: ...VA Motion Controller Programming Manual 476 ...
Page 543: ...VA Motion Controller Programming Manual 538 ...
Page 561: ...VA Motion Controller Programming Manual 556 ...
Page 597: ...VA Motion Controller Programming Manual 592 ...
Page 603: ...VA Motion Controller Programming Manual 598 ...
Page 607: ...VA Motion Controller Programming Manual 602 ...
Page 610: ...VA Motion Controller Programming Manual 605 ...
Page 613: ...VA Motion Controller Programming Manual 608 ...
Page 648: ...VA Motion Controller Programming Manual 643 Mode 1 is not available ...