52
2 MOTION DEDICATED PLC INSTRUCTION
2.2 Motion Dedicated PLC Instruction
■Controls
• The current value change of axis (stopped axis) specified with (S1) is changed to the current value specified with (n2).
• It is necessary to take an inter-lock by the start accept flag and user device of CPU buffer memory so that multiple
instructions may not be executed toward the same axis of same Motion CPU.
Refer to the start accept flag (system area) for details of the start accept flag. (Page 82 Start accept flag
(System area))
■Operation
Outline operation between CPUs at the MP.CHGA and DP.CHGA instruction execution by specifying "Jn" as Axis No. is
shown below.
• MP.CHGA instruction
• DP.CHGA instruction
*1 Set in [System Parameter] [Multiple CPU settings] in GX Works3
Request
data set
ON
MP.CHGA execution
Sequence program
MP.CHGA instruction
Current value change
END END
xis start accept flag
(System area)
ON
Complete device (D1+0)
ON
Status display device (D1+1)
at the completion
CPU dedicated transmission
(Non-fixed cycle)
1 scan
ON: Abnormal completion only
Transfer
Response
data set
Current value
change processing
Sequence program
DP.CHGA instruction
ON
DP.CHGA execution
Request data set
Current value change
END END
xis start accept flag
(System area)
ON
Complete device (D1+0)
ON
Status display device (D1+1)
at the completion
CPU dedicated transmission
(Fixed cycle)
Communication
cycle
*1
1 scan
Transfer Transfer
Response
data set
ON: Abnormal completion only
Current value
change processing