SFC Programming Example
Section 1-4
27
1-4
SFC Programming Example
The section provides a simple example of an SFC program, and describes the
procedures for program development using CX-Programmer.
1-4-1
Simple Example of an SFC Program
SFC will be used to program a ticketing system for an unattended paid parking lot.
Study the action flow scenario and clarify the steps and transition conditions.
Check for external devices, also, and define the variables.
Vehicle Sensor
Gate Close Limit Sensor
Ticket Dispenser
Ticket Sensor
Gate Open Limit Sensor
Action Flow Scenario for an Unattended Paid Parking Lot
A scenario is created by breaking down the action flow, as well as the statuses of the
external device.
1 Waiting for an incoming car. -> Step 1: Initial step
2 When a car enters, the vehicle sensor is turned ON, and the active status is
transferred to the next step.
-> Transition condition: Trans1/Vehicle sensor ON (carln)
3 When the vehicle sensor is turned ON, the ticket dispenser is turned ON, and a
ticket is issued.
-> Step 2: TicketOut
-> AQ: N (Normal)
-> Action: Active ticket dispenser
4 When the ticket dispenser issues a ticket, the ticket sensor is turned OFF.
5 When the driver takes the ticket, the ticket sensor is turned OFF, and the active
status is transferred to the next step. At this point, the ticket dispenser is also
turned OFF.
-> Transition condition: Trans2/Ticket sensor ON (ticket)
6 When the driver takes the ticket, normal rotation of the gate motor is turned ON,
and the gate begins to open.
-> Step 3: OpenGate
-> AQ: N (Normal)
-> Action: Active normal rotation of gate motor
7 When the gate is fully opened, the gate open limit sensor is turned ON, and the
active status is transferred to the next step.
At this point, the normal rotation of the gate motor is turned OFF.
Содержание SYSMAC CX-Programmer 8.1
Страница 1: ...Operation Manual SFC Programming SYSMAC WS02 CXPC1 V8 CX Programmer Ver 8 1 Cat No W469 E1 04...
Страница 2: ...ii CX Programmer Ver 8 1 WS02 CXPC1 V8 Operation Manual SFC Programming Revised February 2009...
Страница 16: ......
Страница 56: ...Precautions When Creating SFC Programs Section 1 5 40...
Страница 117: ...Monitoring Section 4 5 101 For details refer to 3 2 3 Adding an Action to a Step or to the Initial Step...
Страница 118: ...Monitoring Section 4 5 102...
Страница 150: ...Index 134...
Страница 152: ...Revision History 136...
Страница 153: ......
Страница 154: ......