
304
Part 4 Commands
Chapter 2 Explanation of Commands
Part 4 Commands
ECMD20 (Get a parameter value)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Optional
Optional
ECMD
20
Variable
number
CC
[Function] Use the data stored in three consecutive variables starting from the one whose variable
number is specified in operand 2, to store the value of the specified parameter in variable 99.
The setting items and ranges of variable data are shown below. If an out-of-range value is
specified, “C44: SEL data error” will occur.
Operand 2 = n
Set value/setting range of each variable
Variable
number
Setting item
I/O
All-axis
Axis-
specific
Driver
Encoder
I/O
device
Other
n
Parameter
type
0
1
2
3
4
5
7
n + 1
Device
number/axis
number
0
0
1 to 6
1 to 6
1 to 6
0 to 9
0
n + 2
Parameter
number
1 to 999
1 to 400
1 to 250
1 to 97
1 to 30
1 to 82
1 to 200
Specify an integer variable in operand 2 (integer variables 98, 99, 298, 299, 1098, 1099, 1298 and 1299
cannot be specified because if any of these variables is specified, there won’t be three consecutive integer
variables).
If a variable not of the integer type is specified, “C3C: Variable number error” will occur.
(Note)
Pulse I/O board parameters can be acquired when the parameter type is set to 10.
For details, refer to the Operation Manual for “XSEL-P/Q/PCT/QCT Controller: Electronic Cam
Function.”
[Example] LET
LET
LET
ECMD
1250
1251
1252
20
0
0
30
1250
Variable No. 1250 = Parameter type (I/O)
Variable No. 1251 = Device number (0 for I/O parameters)
Variable No. 1252 = Parameter number (No. 30)
Extended command 20 (Use variable Nos. 1250 to 1252)
Store the value of input function selection 000 in I/O parameter No.
30, in variable 99.
Summary of Contents for X-SEL
Page 1: ...Operation Manual Nineteenth Edition XSEL Controller P Q PCT QCT Type ...
Page 2: ......
Page 3: ... ...
Page 14: ... I Q 4 I9 A 5 ...
Page 15: ... 9 1 9 R K 4 5 R Q 4 5 ...
Page 16: ... R 4 5 A 91 B 9 Q O Y Q 4 5 4R 5 Q Q 4 7 5 ...
Page 17: ... C 6 C I 4 b 5 ...
Page 18: ......
Page 105: ...83 Part 1 Installation Chapter 7 System Setup Q 4 O O O 5 I 8 91 N O O O I I ...
Page 129: ...107 Part 1 Installation Chapter 9 Maintenance 5 8 NI Q 5 5 4 7 5 5 ...
Page 153: ...131 Part 3 Controller Data Structure Chapter 2 XSEL Language Data Q b b J b J 4 BB5 J J ...
Page 201: ...179 Part 4 Commands Chapter 2 Explanation of Commands I Q 4I 5 I 4N 5 4 5 4 5 I Q ISQ I ISQ ...
Page 216: ...194 Part 4 Commands Chapter 2 Explanation of Commands N 4 5 I 4N 5 4 5 4 5 N J I N 9 9 O ...
Page 318: ...296 Part 4 Commands Chapter 2 Explanation of Commands 8 U8 8 K 8 U U 8 8 8 U8 d 8 8 8 U8 ...
Page 352: ...330 Part 4 Commands Chapter 6 Application Program Examples I L 8 J 4 5 8 8 8 K K N 8 8 ...
Page 355: ...333 Part 4 Commands Chapter 6 Application Program Examples Q 4 5 ST8 8 8 ST8 R ST8 ...
Page 358: ...336 Part 4 Commands Chapter 6 Application Program Examples Y Y Q 4 5 Y 8 8 U8 4 Y 5 ...
Page 363: ...341 Part 5 Multi Tasking Chapter 1 Real Time Multi Tasking 8 Q Q 4 5 8 4 5 8 4 5 Q 8 8 Q ...
Page 367: ...345 Part 5 Multi Tasking Chapter 2 Example of Building a System 8 Q 8 Q 8 8 U8 8 U8 Q 8 R ...
Page 373: ...351 Appendix 4O 5 4 5 4O 5 Q 4 5 4 5 4O 5 4O 5 K Y K Y 5 5 5 5 5 8 Appendix ...
Page 374: ...352 Appendix 4O 5 4 5 4O 5 4O 5 Q8 Q 4 5 4 5 4O 5 4O 5 K Y K Y 5 5 5 5 ...
Page 375: ...353 Appendix 4O 5 4 5 4O 5 Q 4 5 4 5 4O 5 4O 5 K Y K Y Appendix ...
Page 376: ...354 Appendix 4O 5 4 5 4O 5 Q 4 5 4 5 4O 5 4O 5 K Y K Y ...
Page 377: ...355 Appendix 4O 5 4O 5 4O 5 NQ Q 4 5 K Y 4 5 4 5 4O5 4 5 4O 5 4J5 4O 5 Appendix ...
Page 380: ...358 Appendix 99 K R 4K I 5 Q K Q I ...
Page 381: ...359 Appendix K J J J J J J I I Q Q L Q Appendix ...
Page 382: ...360 Appendix I J J Q K ...
Page 383: ...361 Appendix 4 K 5 N C K 4 5 I K b K b K b K b 4 5 K K K B 9 O K O B 9 9 B Appendix ...
Page 385: ...363 Appendix A 8 K I Q b b b I Q b 8 4 5 8 4 5 QC 8 QC 8 Appendix ...
Page 387: ...365 Appendix 9 R K I 9 O O 9 Q 9 9 O 9 O I Appendix ...
Page 389: ...367 Appendix Q K I 9 9 9 4 K 5 K b K N 4 5 4 8 5 Q Q Q Appendix ...
Page 391: ...369 Appendix K Q Q BB K C ISQ C JQ C 4 5 I Q C 4 5 I L J J Q Appendix ...
Page 392: ...370 Appendix K N K 4 5 K N R K N 4 5 I K N 9 8 9 O T K N 9 F 4 5 Q F 4 5 F 4 5 Q 9 O 9 ...
Page 393: ...371 Appendix 4 O 5 O K R O I O 9 O 4 5 6 6 R O 4 5 Q R O O 9 F 4 5 Q F 4 5 Q 9 O Appendix ...
Page 395: ...373 Appendix A O Q N I O 9 Q A A B 9 9 9 9 A9 99 99 99 A99 Q Q O Appendix ...
Page 396: ...374 Appendix B I I O I I C b 9 Q Q Q O ...
Page 397: ...375 Appendix 9 I P 9 8 9 99 BBB BB O O C 6 R P 9 Q SSS SSSb 99 SSSSS Sb O BB 8 Appendix ...
Page 398: ...376 Appendix L Q J 4 5 I 9 O J 6 9 O 9 I 9 9 9 O 9 I J 9 O 9 O 9 O O ...
Page 399: ...377 Appendix R R O I 9 9 4 5 R O 9 9 O 6 O O Appendix ...
Page 400: ...378 Appendix K R Q 4 5 Q 4 8 b5 9b 4 8 5 K ...
Page 401: ...379 Appendix I O I I IP 9 RIP Appendix ...
Page 402: ...380 Appendix 8 I Q S8 Q I Q N Q Q H I 4 5 4O 5 ...
Page 403: ...381 Appendix L O K I 9 O O I Q I 4 5 K N Q O Q 4 95 Q R Appendix ...
Page 405: ...383 Appendix A I J 4 5 8 6 I 4 5 4 5 R 6 J Appendix ...
Page 416: ...394 Appendix 4 5 4 8 5 C I b I b I b 8 I b Q I T I Q I T 8 I I Appendix ...
Page 423: ...401 Appendix Q Q 9 Q Q Q Q 4 5 Q I 4 5 8 Q 4 5 Q Q 4 Q I 5 Q Q Q QIN 4O K 5 b b Appendix ...
Page 431: ...409 Appendix 4 5 Q J N J C 99 BBB 4 995 N C BB 4 BB5 Q I Q Y b 8 K Ib b N b I Appendix ...
Page 432: ...410 Appendix I b Q K Ib K Ib 99 N BB J 99 J K Ib 99 ...
Page 433: ...411 Appendix K Q Appendix ...
Page 435: ...413 Appendix N 3 Q I Q Q Y b b b b Appendix ...
Page 486: ...464 Appendix B O 4 5 9 9 9C O C Y C J 8 9 9 9C C 7 C 9 9 J 99 4 5 99999999K 9K K ...
Page 510: ...488 Appendix O INN JIO 4 Ib 5 I O I 9 C O B O O O O O O 3 4 5 A I B Appendix ...
Page 529: ...507 Appendix O INN JIO 4 Ib 5 I O I 4 5 AI 4 5 Appendix ...
Page 550: ...528 Appendix O INN JIO 4 Ib 5 I O I IA QIN 8 IA Q 8 IA 8 IA 8 I 4 5 Appendix ...
Page 559: ...537 Appendix O INN JIO I O I A Q A9 Q I 8 4 5 Appendix ...
Page 561: ...539 Appendix Q N 4 N 5 4 5 8 999 9 N O 4 5 8 9 O K 4 N 5 4 5 8 99 9 Q Q 4 5 Q Appendix ...
Page 565: ...543 ...