Mitsubishi Electronics Q173CPU(N) Home Security System User Manual


 
5 - 16
5 MOTION DEDICATED PLC INSTRUCTION
The error flag (SM0) is turned on an operation error in the case shown below, and an
error code is stored in SD0.
Error code
(Note)
Error factor Corrective action
2110
The CPU No. to be set by "(First I/O No. of the target
CPU)/16" is specified.
2114
The self CPU is by "(First I/O No. of the target
CPU)/16" is specified.
2117
The CPU except the Motion CPU by "(First I/O No. of
the target CPU)/16" is specified.
4004
The instruction be composed of devices except
usable devices.
4100
Since 0 to 3DFH, 3E4H is specified by "(First I/O No.
of the target CPU)/16" is specified.
Confirm a program,
and correct it to a
correct PLC
program.
(Note) : 0000H (Normal)
[Program example]
Program which requests to start the servo program No.10 toward axis No.1 and No.2 o
f
the Motion CPU No.4. from the PLC CPU No.1.
SP.SVST K10 M0 D0H3E3
RST M100
M100
To self CPU
high speed
interrupt accept
flag from CPU
U3E3
\G48.0
"J1J2"
M0
Normal complete program
M1
Abnormal complete program
M1
Start accept flag
of the axis No.1
(CPU No.4)
U3E3
\G516.0
Start accept flag
of the axis No.2
(CPU No.4)
U3E3
\G516.1