VA Motion Controller Programming Manual
13
Intermediate
variables mapping area
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: