CX-Programmer Specifications
Section 1-2
7
Action blocks
Action Qualifiers (AQ) (11 types) + action
Note 1:
There is no restriction on the number of action blocks allocated to a step.
Note
2:
If there are multiple action programs in the same step, the execution order is
determined by the order (top to bottom) that the action programs are listed in the
project workspace.
Note
3:
An action program is executed just once per cycle (unlike the CV-series SFC
operation), even if the action program is used in multiple steps and the multiple
steps are active at the same time.
Action qualifiers (11 types)
N, P, P1, P0, L, D, R, S, SL, SD, DS
Actions *
Boolean address bits (Boolean variables or actual addresses) or action programs
Note 1:
A ladder or ST program can be used for an action program.
Note
2:
Function blocks can be used for action programs.
Output reset
When a step has become inactive, the action block’s outputs can be reset by any one of
the following methods. Select the output reset in the action’s properties (unless the action
is Boolean or an ST program).
The reset operation depends upon the type of program added, as follows.
•
Specified bit: Reset.
•
Ladder program: The default setting is to reset outputs. If you do not want the outputs
reset, specify that in the action program’s properties.
•
ST program: Not reset.
Direct addressing
An actual address can be specified for an action or transition using an SFC chart’s
Boolean action/transition or a ladder program.
Only variables can be used to specify addresses in ST programs. (Direct addressing is not
possible.)
Step activation/
deactivation
Steps in an SFC chart can be activated or deactivated from the following ladder programs
(by using the “SA” step activation instruction and the “SE” step deactivation instruction).
* Ladder program outside of SFC programs
* Action ladder program within an SFC program
* Action ladder program within another SFC program
Step
control
Step timer
readings/
updates
Time elapsed since the activation of a step can be read and updated (by using the “TSR”
read step timer value instruction and the “TSW” set step timer value instruction).
0 to 6553.5 sec (Unit: 100 millisecond), or 0 to 65535 sec (Unit: 1 sec)
Executing and
ending SFC
tasks
The execution and ending of SFC tasks can be controlled from the ladder program with
the SFC Task Control Instructions.
Execute: If the SFC task was completed, the SFC task status is completely reset and
execution proceeds from the initial step.
If the SFC task was stopped, the SFC task is executed from the step where the
task was stopped.
End:
The status of outputs is held, and the SFC task is ended.
SFC task
control
Stopping SFC
tasks (output
reset or output
hold)
SFC tasks can be stopped (outputs reset or outputs held) from the ladder program with the
SFC Task Control Instructions.
Output reset: Resets the outputs, and pauses the SFC task.
Output hold: Retains the output status, and pauses the SFC task.
Force Step
Transitions can be force-set/force-reset online, for a step-by-step execution.
Online Editing
Allows SFC chart editing, actions addition/deletion, and transitions addition/deletion.
Note
: Choose between standard mode (transfer with source code) and quick mode
(transfer without SFC source code).
Array variables
Array variables are supported for SFC, ladder, and ST programs.
* The maximum number of transition programs, action programs, and subcharts is as follows
(when using function blocks, number of definitions are included):
CJ2 CPU Units: 2,048 max.
CS1H /CJ1H CPU Units: 1024 max.
CJ1M CPU Units: 256 max.
Summary of Contents for SYSMAC CX-Programmer 8.1
Page 1: ...Operation Manual SFC Programming SYSMAC WS02 CXPC1 V8 CX Programmer Ver 8 1 Cat No W469 E1 04...
Page 2: ...ii CX Programmer Ver 8 1 WS02 CXPC1 V8 Operation Manual SFC Programming Revised February 2009...
Page 16: ......
Page 56: ...Precautions When Creating SFC Programs Section 1 5 40...
Page 118: ...Monitoring Section 4 5 102...
Page 150: ...Index 134...
Page 152: ...Revision History 136...
Page 153: ......
Page 154: ......