Can you create plc logic from a grafcet chart?
Conveyor
Initial conditions: conveyor off, solenoid de-energized, no parts present
Part is placed on conveyor, blocking the part present photoeye (PE).
Operator presses the start pushbutton
Conveyor runs, starting a 5 second conveyor timer that stops the conveyor once the timer times out. Note: the conveyor will not start until a part is present, blocking the PE.
The conveyor has two options for running parts. (accept all metal parts or accept all plastic parts)
If the metal part option is selected, a metal part is detected and the solenoid raises to send the part to the end of the conveyor. All plastic parts are rejected down the chute.
If the plastic part option is selected, all plastic parts are sent to the end of the conveyor and all metal parts are rejected down the chute.
Use these I/O to create the logic.
Power_OFF_PB1 | Local:1:I.Data.0 | BOOL | I/0 | INT |
Power_ON_PB2 | Local:1:I.Data.1 | BOOL | I/1 | INT |
Conv_Stop_PB4 | Local:1:I.Data.3 | BOOL | I/3 | INT |
Conv_Start_PB5 | Local:1:I.Data.4 | BOOL | I/4 | INT |
Part_Mode | Local:1:I.Data.6 | BOOL | I/6 | INT |
Part_Present | Local:1:I.Data.8 | BOOL | I/8 | EXT |
Accept_Reject_Prox_Sensor | Local:1:I.Data.9 | BOOL | I/9 | EXT |
Power_ON_L1 | Local:1:O.Data.0 | BOOL | O/0 | INT |
Conv_Run_L2 | Local:1:O.Data.1 | BOOL | O/1 | INT |
Part_Accept_L3 | Local:1:O.Data.2 | BOOL | O/2 | INT |
Part_Reject_L4 | Local:1:O.Data.3 | BOOL | O/3 | INT |
Conveyor Motor | Local:1:O.Data.8 | BOOL | O/8 | EXT |
Reject_Solenoid | Local:1:O.Data.9 | BOOL | O/9 | EXT |