When the PLC is in the RUN mode it will switch ON the conveyer so it will run continuously.
This project is divided into four outcomes:
(a) Detect block on entry, close first arm, check that arm is in the driven position by checking GateOneArmPE status, ie is active. Block is validated by GateOnePE pulsing active as the block passes the PE. Block will be directed down shoot 1, as there is no PE to detect that block has gone down the shoot, a timer must be used to release GateOne arm. Use GateOnePE to trigger the timer.
(b) Repeat the process for each gate and link them together so that the gate cycle swaps from one shoot to the next for each new block.
(c) In the case of two blocks arriving together, ie EntryPE going active again before a cycle is completed, open all gates and allow the block to be rejected down shoot four, cycle is not incremented and all latched PE bits reset by blocks passing the GateFourPE.
(d) TWO Error outputs:
(i) If any gate arm when driven is not validated by its arm PE, ( no air supply) operate the alarm output by pulsing at a one second rate. Alarm is cleared by the block passing the GateFourPE.
(ii) If two blocks are placed on the conveyer, alarm output is solid ON and is cleared when GateFourPE detects both blocks.
Your task is :
1. To create a flowchart which is going to match your code, and
2. To make a time diagram (cycle time or operation time), and
3. To generate code which is going to be used in UNITY PRO XL software to run the Conveyer by using 2 different languages, on ( M340 schneider PLC), such as :
FBD( function block diagram)
LD(Ladder logic )
SFC ( sequential function chart )