9 - 12
9 OPERATION FOR MOTION SFC AND PARAMETER
9.12 Program Parameters
Set the following parameters for every Motion SFC program.
No. Item Setting range Initial value Remark
1 Start setting Automatically started or not Not setting
These parameters are
imported at leading edge of
PLC ready flag (M2000) and
used for control there after.
When setting/changing the
values of these parameters,
turn PLC ready flag (M2000)
off.
2 Execute task
It is only one of normal, event and NMI tasks Normal task
When you have set the event task, further set the event which will
be enabled.
Always set any one of the following 1 to 3.
1. Fixed cycle
It is one of 0.22ms
QDS
, 0.44ms, 0.88ms, 1.77ms, 3.55ms,
7.11ms and 14.2ms or nothing.
2. External interrupt (make selection from those set to event task)
Multiple interrupt can be set from among I0, I1, I2, I3, I4, I5, I6,
I7, I8, I9, I10, I11, I12, I13, I14 and I15.
3. PLC interrupt
Multiple interrupt can be set from among I0, I1, I2, I3, I4, I5, I6,
I7, I8, I9, I10, I11, I12, I13, I14 and I15.
The above 1 to 3: Multiple setting is possible.
The same event can be shared among multiple Motion SFC
programs.
None
When you have set the NMI task, further set the interrupt input
which will be enabled.
1. External interrupt (make selection from those set to NMI task)
Multiple interrupt can be set from among I0, I1, I2, I3, I4, I5, I6,
I7, I8, I9, I10, I11, I12, I13, I14 and I15.
3
Number of
consecutive
transitions
1 to 10
Set the number of consecutive transitions toward the program set to
the event or NMI task.
1
4
END
operation
End/continue
Set the operation mode of the END step toward the program set to
the event or NMI task.
End
5 Executing flag
None/Bit device
Set the bit device turned ON while executing Motion SFC program.
X0 to X1FFF
(Note-1)
Y0 to Y1FFF
M0 to M8191
B0 to B1FFF
U
\G10000.0 to U \G(10000+p-1).F (Self CPU only)
(Note-2)
None
(Note-1): The range of "PXn+4 to PXn+F" cannot be used (fixed at 0) for the input device (PXn+0 to PXn+F) allocated to
the built-in interface in Motion CPU (DI). (n: First input No.)
QDS
(Note-2): "p" indicates the user setting area points of the Multiple CPU high speed transmission area for the each CPU.
POINT
(1) The settings of "END operation" are invalid for the subroutine called program.
"END operation" is controlled as "end".
(2) Refer to Chapter 2 of the "Q173D(S)CPU/Q172D(S)CPU Motion controller
Programming Manual (COMMON)" for the user setting area points of the
Multiple CPU high speed transmission area.