Chapter 6 Command
6-34
6.3.28 Common Parameter Teaching (Command : TCP)
(1) Program
(2) Description
Device Description
M00024 Common parameter setting input
D02100 Parameter value
D02102 Parameter items
Command XSCP Common parameter Setting
OP1 Slot Constant WORD
Slot No. installed with positioning
module
OP2 Axis PMLK,constant,D,Z,R,ZR WORD Command axis (0: axis X, 1: axis Y)
OP3 Parameter value PMLK,constant,D,Z,R,ZR DINT parameter value to change
Operand
OP4 Parameter item PMLK,constant,D,Z,R,ZR WORD Parameter item to change (1~4, hFF)
※
PMLK means P, M, L and K areas.
(a) This is the command that changes the value of the item (OP4) which already set among common parameter items to
setting value (OP3). At this time, relevant teaching data is saved in RAM. For permanent preservation, use to flash
memory using WRT command.
(b) Common parameter item is as follows.
Setting value Item Setting range
1 Encoder max. value
2 Encoder min. value
-2147483648 ~ 2147283647
3 Speed override method 0 : % override, 1 : spd. override
4 Encoder input signal 0 : CW/CCW, 1 :PLS/DIR, 2: PHASE
(c) For the change value (OP3) setting range of each common parameter item (OP4) which already set, refer to “4.4.1
Common Parameter Content”
(d) If you want to set entire item of basic parameter with one execution of TCP command, set hFF(255) at OP4. At this time,
basic parameter should be saved in the following address.
Memory address
(HEX)
Axis X Axis Y
Contents Setting range
C0 100
C1 101
Encoder max. value
C2 102
C3 103
Encoder min. value
-2,147,483,648 ∼ 2,147,483,647 [pulse]
C4 104 Speed override method
0 : % override, 1 : spd. override
C5 105 Encoder input signal
0 : CW/CCW, 1 :PLS/DIR, 2: PHASE