5 - 26
5 MOTION DEDICATED PLC INSTRUCTION
When an axis No."Cn" was specified with (S1)
[Controls]
(1) This instruction is dedicated instruction toward the Motion CPU in the Multiple
CPU system. Errors occurs when it was executed toward the CPU except the
Motion CPU.
(2) The cam axis within-one-revolution current value specified with (S1) is changed
into the current value specified (S2) at the virtual mode.
(3) This instruction is always effective regardless of the state of real mode/virtual
mode/mode switching when the operating system software of Motion CPU is
SV22.
(4) S(P).SFCS/S(P).SVST/S(P).CHGA/S(P).CHGV/S(P).CHGT/S(P).DDRD/
S(P).DDWR cannot be executed simultaneously toward the CPU executing
S(P).CHGA instruction.
When the Motion dedicated PLC instruction is started continuously, It is necessary
to take an inter-lock by the to self CPU high speed interrupt accept flag from
CPUn.
(5) When the servo program is executed also at the motion control step (Kn) in the
Motion CPU, it is necessary to take an inter-lock by user program, because there
is no flag which can distinguish the axis starting in the PLC CPU.
(6) It is necessary to take an inter-lock by the cam axis within-one-revolution current
value changing flag of the shared CPU memory so that multiple instructions may
not be executed toward the same cam axis of the same Motion CPU No..
(7) The current change value is also possible when the servo program which execute
the CHGA instruction toward the cam axis is executed in the S(P).SVST
instruction.
[Operation]
State display device (D1+1)
at the instruction start
accept completion
t
ON
ON
S(P).CHGA instruction
OFF
ON
OFF
OFF
OFF
Current value change
1 scan
PLC program
Instruction accept
completion at the
Motion CPU side
END
END
END
END
Current value change
S(P).CHGA execution
Instruction start
accept complete device
(D1+0)
Start accept flag
(Cam axis)
OFF
ON
To self CPU high speed interrupt
accept flag from CPUn
ON : Abnormal completion only