Download  Print this page

How To Execute Multiple Tables; Stepping Operation - Mitsubishi Electric MELSEC iQ-F FX5 User Manual

Programmable controller
Hide thumbs

Advertisement

6.3

How to Execute Multiple Tables

The execution method for multiple tables of the DRVTBL and DRVMUL instructions includes stepping operation and
continuous operation.
This section explains how to execute each operation.

Stepping operation

In stepping operation, with the DRVTBL instruction, specified tables are executed one by one. Only the DRVTBL instruction
can execute this operation.
Every time a table ends, the complete flag turns on and the next table is not automatically activated. After the table shift
command or external start signal is detected, the next table is executed. (Page 73 Table shift command, Page 60 External
Start Signal)
The following figure shows an example of stepping operation with the tables 1 to 3 and dwell time.
Drive contact of the
DRVTBL instruction
External start signal for
the table shift signal
Instruction execution
complete flag
SM8029
User-specified
Instruction execution
complete flag
Table number in
0
execution
*1 When the external start signal is enabled, the drive contact and external start signal must be turned on to activate the positioning
instruction.
*2 Remains on until the user turns off the flag or starts the next table.
Operation
The following explains the operation of tables and flags in the stepping operation.
■Operation of the table
• Operation of each table in the stepping operation is the same as that of one-table operation.
• When a table with control method [0: No Positioning] is executed, or when the last table specified by the DRVTBL
instruction is executed, execution of all the tables is completed. When the first table is greater than the last table, execution
of all the tables is completed either when all the tables are executed or when control method [0: No Positioning] is
executed.
• Even if the table shift command or external start signal is turned on before a table is completed, the next table is not
activated. By turning on the table shift command or external start signal after the previous table is completed, the next table
is executed.
• If the operation ends with an error when tables to be executed are left, the rest of the tables are not executed.
• Regardless whether the operation ends with or without errors, operation is started from the first table every time the
instruction is turned on. The operation is not restarted from the last table of the previous operation.
• Some control methods can be used with the remaining distance operation. (Page 39 Remaining distance operation)
Positioning
address of the
table 1
*1
Dwell time
*2
1
Positioning
address of the
table 2
Dwell time
*2
2
6.3 How to Execute Multiple Tables
Positioning
address of the
table 3
Dwell time
Dwell time
*2
3
0
6 TABLE OPERATION
191
6

Advertisement

Table of Contents
loading

  Related Content for Mitsubishi Electric MELSEC iQ-F FX5