Specifications

Table Of Contents
10 - 35
2) Substitute the M code read out to the other device to raise/lower the pen.
12 SET M411=XB+M291
SFC program No. 120
Push-button
Make the status of X0 to XF
correspond to M400 to M415.
Add the device
to read M
code.
Substitute M400 to MM415 for D4030.
Transfer the status of D4030 to YD to YF.
F1200 F1201
[Operation control
step]
SET M400=PX0
SET M401=PX1
SET M402=PX2
SET M403=PX3
SET M404=PX4+M84
SET M405=PX5
SET M406=PX6
SET M407=PX7
SET M408=(PX8*!M2044)+M322
SET M410=PXA+M2044
SET M411=PXB+M291
SET M412=PXC+M292+M316+M2045
SET M413=PXD
SET M414=PXE
SET M415=PXF+M295
RST M400=!PX0
RST M401=!PX1
RST M402=!PX2
RST M403=!PX3
RST M404=!PX4*!M84
RST M405=!PX5
RST M406=!PX6
RST M407=!PX7
RST M408=!PX8+!M2044
RST M408=!M322*M2044
RST M410=!PXA
RST M411=!PXB*!M291
RST M412=!PXC*!M292*!M316*!M2045
RST M413=!PXD
RST M414=!PXE
RST M415=!PXF*!M295
DIN D4030,M400
DOUT PY0,D4030
When M291 is turned ON, M411 is turned ON.
M411 functions to turn ON Y0B with the DIN command and DOUT
command to lower the pen.
D13 : M code No. of axis 1
D13 : M code No. of axis 2
M31 : 0.5-second timing block (automatic refresh setting device)
M2001 : Axis 1 start accept flag
M2002 : Axis 2 start accept flag
DIN command : Inputs the bit device (handled as a word) to the word device.
DOUT command: Outputs the word device to the bit device (handled as a word).