5 Outline of Motion Control Systems
5.3.1 Types of Registers
( 2 ) Function Registers
Type
Name
Function input
X
registers
Function output
Y
registers
Internal function
Z
registers
External function
A
registers
# registers
#
D registers
D
System registers
S
Data registers
M
Input registers
I
Output registers
O
Constants registers
C
5-22
The following table shows the registers that can be used with each function.
Specification Method
XB, XW, XL, XFnnnnn
YB, YW, YL, YFnnnnn
ZB, ZW, ZL, ZFnnnnn
AB, AW, AL, AFhhhh
#B, #W, #L, #Fnnnnn
(#Annnnn)
DB, DW, DL, DFnnnnn
(DAnnnnn)
SB, SW, SL, SFnnnnn
(SAnnnnn)
MB, MW, ML,
MFnnnnn
(MAnnnnn)
IB, IW, IL, IFhhhh
(IAhhhh)
OB, OW, OL, OFhhhh
(OAhhhh)
CB, CW, CL, CFhhhh
(CAnnnn)
n: Decimal number; h: Hexadecimal number
B, W, L, F, and A: Data type (B: Bit, W: Integer, L: Double-length integer, F: Real number, A:
Address. Refer to 5.3.2 Data Types and Register Specifications on page 5-24.)
SA, MA, IA, OA, DA, #A, and CA registers can be used within functions.
Range
Input to functions
Bit input: XB000000 to XB00000F
XW00000 to
Integer input: XW00001 to XW00016
XW00016
Double-length integer input: XL00001 to
XL00015
Output from functions
Bit output: YB000000 to YB00000F
YW00000 to
Integer output: YW00001 to YW00016
YW00016
Double-length integer output: YL00001
to YL00015
Internal registers unique to each function
ZW0000 to
Can be used for function internal
ZW00063
processing.
External registers with the address input
value as the base address.
AW0000 to
AW32767
For linking with S, M, I, O, #, and
DAnnnnn.
Call-only registers
#W00000 to
Can be called only from the relevant
#W16383
function. The usage range is set by the user
using MPE720.
Internal registers unique to each function.
DW00000 to
Can be called only the relevant function.
DW16383
The usage range is set by the user using
MPE720.
Same as DWG registers
These registers are shared by drawings and functions. Pay attention to how
these registers are to be used when calling the same function from a drawing of
a different priority level.
Details
Characteristics
Unique to each
function