Positioning By Multiple Table Operation - Mitsubishi MELSEC iQ-F FX5 series Programming Manual

Melsec iq-f fx5 series
Hide thumbs Also See for MELSEC iQ-F FX5 series:
Table of Contents

Advertisement

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.
Ladder diagram
(d1) (n1)
(n2)
Setting data
■Descriptions, ranges, and data types
Operand
Description
(d1)
Axis number from which pulses are to be output
(n1)
Start table number to be executed
(n2)
Last table number to be executed
(n3)
Table execution method
(d2)
Bit device number of the positioning complete flag or abnormal end flag
■Applicable devices
Operand
Bit
X, Y, M, L,
U\G T, ST,
SM, F, B, SB
(d1)
(n1)
(n2)
(n3)
(d2)
*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.
(n3)
(d2)
Word
T, ST, C, D,
U\G
C, LC
W, SD, SW, R
*1
Structured text
ENO:=DRVTBL(EN,n1,n2,n3,d1,d2);
Range
Data type
K1 to 4
16-bit signed binary
1 to 100
16-bit unsigned binary
1 to 100
16-bit unsigned binary
K0, K1
16-bit unsigned binary
Bit
Double word Indirect
specification
Z
LC
LZ
11 POSITIONING INSTRUCTION
Data type (label)
ANY16
ANY16_U
ANY16_U
ANY16_U
ANY_BOOL
Constant
Others
K, H
E
$
659
11.1 Positioning Instruction
11

Advertisement

Table of Contents
loading

Table of Contents