2 MOTION DEDICATED PLC INSTRUCTION
2.2 Motion Dedicated PLC Instruction
51
2
Current value change instruction from the PLC CPU to the Motion
CPU: M(P).CHGA/D(P).CHGA
*1 : Instruction (M(P).CHGA: M, D(P).CHGA: D)
■Usable devices
: Usable, : Usable partly
*1 Omission possible with both of (D1) and (D2) omission.
*2 Local devices cannot be used.
*3 Setting data (n1) to (D2): Index qualification possible (except constant)
■Description, range, setting side, data type
*1 Omission possible with both of (D1) and (D2) omission.
*2 Motion CPU cannot be set as CPU No.1 in the Multiple CPU configuration.
*3 "n" shows the numerical value correspond to axis No. (n=1 to 64)
Instruction Condition Sequence program
*1
MP.CHGA
DP.CHGA
M.CHGA
D.CHGA
Setting
data
*3
Usable devices
Internal devices
(System, User)
File register Link direct
device J□\□
Module access
device U□\G□
Index
register
Z□
Constant Others
Bit Word Bit Word Bit Word Bit Word Decimal K,
Hexadecimal
H
Real
character
string
(n1)
(S1)
(n2)
(D1)
*1
*2
*2
(D2)
*1
*2
*2
Setting data Description Setting range Set by Data type
(n1) (First I/O No. of the target CPU)/16
Value to specify actually is the following.
*2
CPU No.2: 3E1H, CPU No.3: 3E2H, CPU No.4: 3E3H
3E1H to 3E3H User 16-bit binary
(S1) Axis No. ("Jn")
*3
to execute the current value change.
R64MTCPU: J1 to J64
R32MTCPU: J1 to J32
R16MTCPU: J1 to J16
1 to 64 User Character
string
(n2) Current value to change -2147483648 to
2147483647
User 32-bit binary
(D1)
*1
Complete devices
• (D1+0): Device which make turn on for one scan at accept completion of instruction.
• (D1+1): Device which make turn on for one scan at accept abnormal completion of
instruction. ("D1+0" also turns on at the abnormal completion.)
System Bit
(D2)
*1
Complete status storage device System Bit
(n2)(S1)(n1)
P.CHGA
Command
(D2)(D1)(n2)(S1)(n1)
P.CHGA
Command
(n2)(S1)(n1)
.CHGA
(D2)(D1)(n2)(S1)(n1)
.CHGA
Command
Command