Specifications
3 - 18
3.5.2 Explanations of frequently-used buffer memory address
The following describes the buffer memory addresses which are used in the program
of school text.
For buffer memories which are not shown below, refer to the Help of SW D5C-DP75P.
Table 3.5 Frequently-used buffer memory
Buffer Memory Address
Axis 1 Axis 2 Axis 3 Axis 4
Item Remarks/Setting range
Initial
value
27 177 327 477 M code ON signal
output timing
0: WITH mode
1: AFTER mode
0
62 212 362 512
External command
function selection
0: External positioning start
1: External speed change request
2: Speed-position, position-speed switching request
3: Skip request
0
800
801
900
901
1000
1001
1100
1101
Current feed value
The currently commanded address is stored.
The current position address is stored.
If "degree" is selected as the unit, the address will have a ring structure for
values between 0 and 359.99999 degrees.
• Update timing: 1.8ms
• The OP address is stored when the OPR is completed.
• When the current value is changed with the current value changing
function, the changed value is stored.
0
802
803
902
903
1002
1003
1102
1103
Machine feed value
The address of the current position according to the machine coordinates
will be stored. Note that the current value changing function will not change
the machine feed value.
Under the speed control mode, the machine feed value is constantly
updated regardless of the parameter setting.
The value will not be cleared to "0" at the beginning of fixed-feed control.
Even if "degree" is selected as the unit, the address will not have a ring
structure for values between 0 and 359.99999 degrees.
• Machine coordinates: Characteristic coordinates determined with machine
• Update timing: 56.8ms
0
804
805
904
905
1004
1005
1104
1105
Feedrate
The command output speed of the operating workpiece is stored.
• During interpolation operation, the speed is stored in the following manner.
Reference axis: Composite speed or reference axis speed (Set with
"interpolation speed designation method" of detailed parameter 1.)
• Update timing: 56.8ms
0
806 906 1006 1106
Axis error No.
When an axis error is detected, the error code corresponding to the error
details is stored.
• The latest error code is always stored. (When a new axis error occurs, the
error code is overwritten.)
• When "axis error reset" (axis control data) turns ON, the axis error No. is
cleared (set to 0).
0
807 907 1007 1107
Axis warning No.
Whenever an axis warning is reported, a related warning code is stored.
• This area always stores the latest warning code. (Whenever an axis
warning is reported, a new warning code replaces the stored warning
code.)
• When "axis error reset" (axis control data) turns ON, the axis error No. is
cleared (set to 0).
0
808 908 1008 1108
Valid M code
This area stores an M code that is currently active (the M code set to the
positioning data relating to the current operation).
• Update timing: turning ON of the M code ON signal
When the PLC READY signal (Y0) goes OFF, the value is set to "0".
0
817 917 1017 1817
Status
• The following shows ON/OFF status of various flags.
Item
In speed control flag
Speed-position switching latch flag
Command in-position flag
OPR request flag
OPR complete flag
Axis warning detection flag
Speed change 0 flag
OP absolute position overflow flag
OP absolute position underflow flag
0