11 - 13
11 MOTION SFC PARAMETER
(2) Execute task
[Description]
Set the timing (task) to execute a program.
Specify whether the program will be run by only one of the "normal task (main
cycle), event task (fixed cycle, external interrupt, PLC interrupt) and NMI task
(external interrupt)".
When the event task is set, multiple events among the "fixed cycle, external
interrupt (for event task) and PLC interrupt".
However, multiple fixed cycles cannot be set toward one Motion SFC program.
Example) Interrupt setting: Inputs for event task I6, I7, I8, I9, I10, I11, I12, I13,
I14 and I15
Motion SFC program No. 10 – event : Fixed cycle (3.55ms)
Motion SFC program No. 20 – event :
Fixed cycle (1.77ms) + external interrupt (I6)
Motion SFC program No. 30 – event :
External interrupts (I7, I15) + PLC CPU
interrupt
When the NMI task is set, multiple interrupt inputs among the external
interrupts (for NMI task) can be set.
Example) Interrupt setting: Inputs for NMI task I0, I1, I2, I3, I4, I5
Motion SFC program No. 10 – NMI : I0
Motion SFC program No. 20 – NMI : I1 + I2
Motion SFC program No. 30 – NMI : I5
[Errors]
This program parameter is imported when the PLC ready flag (M2000) turns off
to on, and is checked at starting of the Motion SFC program (automatic start,
start from PLC or subroutine start).
When the value is illegal, either of the following Motion SFC errors is set and
the initial value is controlled.
Error cause Error code
(Note)
Name Contents
Error processing Corrective action
17010
Execute task
setting is illegal
Multiple events
among the normal,
event and NMI
tasks are set, or
one is not set.
17011
Executed task
setting is illegal
(event)
Two or more fixed
cycles of the event
task have been
set.
The initial value
(normal task) is
controlled.
Turn PLC ready flag (M2000) off,
make correction to set the value
of within the range, and write it to
the CPU.
(Note) : 0000H (normal)