10 Table Operation
10.9 m code
200
FX
3U
-20SSC-H Positioning Block User's Manual
10.9
m code
The m code is an auxiliary command to support positioning data in execution.
When an m code turns ON in table operation, the 20SSC-H stores the table No. in monitor data as an m code
number, while also turning ON the m code ON flag in status information.
There are two modes for m code, after mode and with mode, and each mode has a different ON timing.
10.9.1
After mode
The specified m code turns ON after the operation.
1. Operation
1) When the table No. 0 operation with m code "10" ends, the m code ON flag in the status information turns
ON, and the 20SSC-H stores "10" in the m code No. of monitor data.
2) At m code OFF, the m code ON flag and m code itself turns OFF, and the 20SSC-H stores "-1" in the m
code No. of monitor data.
3) At m code OFF, the 20SSC-H executes the next table No..
→
For the parameters, control data and monitor data, refer to Chapter 11
Note
• With after-mode m codes in multi-speed operations and continuous pass operations, the operation does
not continue the table since the 20SSC-H suspends the operation until m code OFF.
• With "0" in m code information, the 20SSC-H turns to standby mode. With start command or m code OFF
command, the m code turns OFF.
• To turn only the m code ON without performing positioning operation, set "m code" to the operation
information of the table information, and set the m code information.
2. Available m code Nos.
To use m code in the after mode, set the m code in the range from 0 to 9999 for the m code information.
Mode
Content
m code No.
after mode
The m code turns ON when the operation of table information is completed.
0 to 9999
with mode
The m code turns ON when the operation information begins.
10000 to 32767
BFM number
Data type
X-axis
Y-axis
m code OFF command
Operation command 1
BFM #518 b11
BFM #618 b11
Control data
m code number
BFM #9
BFM #109
Monitor data
Number of the table in operation
BFM #16
BFM #116
Monitor data
m code ON
Status information
BFM #28 b8
BFM #128 b8
Monitor data
m code ON
m code No.
Speed
Time
m code OFF command
-1
OFF
OFF
OFF
OFF
OFF
ON
ON
ON
ON
-1
10
11
Table No.
Operation information
m code information
0
1
10
(after mode)
(1-speed positioning)
(after mode)
(no processing)
(END)
1
-1
11
2
0
-1