
11 POSITIONING INSTRUCTION
11.1 Positioning Instruction
659
11
Positioning by multiple table operation
DRVTBL
This instruction executes positioning operation set in multiple data tables with the engineering tool in continuous operation or
stepping operation. To execute such operation, this instruction needs to be executed only once.
Setting data
■
Descriptions, ranges, and data types
■
Applicable devices
*1
T, ST, C cannot be used.
Processing details
This instruction executes positioning operation set in multiple data tables with the engineering tool in the continuous operation
or stepping operation. To execute such operation, this instruction needs to be executed only once.
• For (d1), specify the axis number from which pulses are output.
• For (n1), specify the start table to be executed according to the output specified in (d1).
• For (n2), specify the last table. When (n1) and (n2) are the same, only one table is executed. The table operation keeps
executing until the last table or a table that is not set with parameters is executed.
• For (n3), specify the table execution method. (K0 = Stepping operation, K1 = Continuous operation)
• For (d2), specify the bit device of the normal complete flag or abnormal end flag.
For details on the function and error code, refer to
Built-in positioning manual.
Precautions
Two devices are occupied from the device specified in (d2). Make sure that these devices are not used in other controls.
For other precautions, refer to
Built-in positioning manual.
Ladder diagram
Structured text
ENO:=DRVTBL(EN,n1,n2,n3,d1,d2);
Operand
Description
Range
Data type
Data type (label)
(d1)
Axis number from which pulses are to be output
K1 to 4
16-bit signed binary
ANY16
(n1)
Start table number to be executed
1 to 100
16-bit unsigned binary
ANY16_U
(n2)
Last table number to be executed
1 to 100
16-bit unsigned binary
ANY16_U
(n3)
Table execution method
K0, K1
16-bit unsigned binary
ANY16_U
(d2)
Bit device number of the positioning complete flag or abnormal end flag
Bit
ANY_BOOL
Operand
Bit
Word
Double word
Indirect
specification
Constant
Others
X, Y, M, L,
SM, F, B, SB
U
\G
T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U
\G
Z
LC
LZ
K, H
E
$
(d1)
(n1)
(n2)
(n3)
(d2)
(d1)
(n1)
(n3)
(n2)
(d2)
Summary of Contents for MELSEC iQ-F FX5 series
Page 1: ...MELSEC iQ F FX5 Series Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 21: ...19 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW ...
Page 98: ...96 4 STANDARD FUNCTIONS FUNCTION BLOCKS 4 2 Standard Function Blocks MEMO ...
Page 840: ...838 23 TIME DATA FUNCTIONS 23 4 Division MEMO ...
Page 887: ......