Mitsubishi Electric Q173CPU Programming Manual page 152

Q series motion controller
Hide thumbs Also See for Q173CPU:
Table of Contents

Advertisement

5 MOTION DEDICATED PLC INSTRUCTION
(d) Use a flag in the shared CPU memory which correspond with each
instruction not to execute multiple instructions to the same shaft of the
Motion CPU of same CPU No. for the inter-lock condition.
(Program example 1)
(e) S(P).SFCS/S(P).SVST/S(P).CHGA/S(P).CHGVS(P).CHGT/S(P).DDWR/
S(P).DDRD instructions cannot be executed simultaneously. Therefore, it is
necessary to take an interlock by to self CPU high speed interrupt accept
flag from CPUn.
One PLC CPU can be executed max.32 Motion dedicated PLC instructions
simultaneously using to self CPU high speed interrupt accept flag from
CPUn. (Except S(P).GINT instruction.)
If 33 instructions or more are executed, the PLC CPU returns the
OPERATION ERROR [4107].
(f) When multiple Motion dedicated PLC instructions are directly executed
because one contact-point turns on, an instruction may not be executed.
In this case, create a program with reference to program example.
(Program example 2)
(g) When the Motion dedicated function of the operation control step (Fn/FSn)
and Motion control program (Kn) in Motion CPU. Since there is no flag which
can be distinguished on instruction execution in the PLC CPU, it is
necessary to taken an interlock by user program.
(Program example 3)
<Program example 1>
Program which executes multiple instructions to the same shaft of the Motion CPU of
same CPU No..
To self CPU high
speed interrupt
accept flag from
CPU1
U3E1\G48.0
M0
K0
To self CPU high
speed interrupt
accept flag from
CPU No.1
M2
U3E1\G48.0
To self CPU high
speed interrupt
accept flag from
CPU No.1
M6
U3E1\G48.0
Start accept
flag of the Axis 1
(CPU No.2)
U3E1\G516.0
SP.SVST
Start accept
flag of the Axis 1
(CPU No.2)
U3E1\G516.0
SP.CHGA
SP.CHGT
5 - 3
Start accept
flag of the Axis 2
(CPU No.2)
U3E1\G516.1
RST
H3E1 "J1J2"
K100
M10
H3E1
"J1"
K0
M3
RST
H3E1 "J2"
K250
M7
RST
K0
M0
D0
D2
M2
D6
M6

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173cpunQ172cpuQ172cpun

Table of Contents