Académique Documents
Professionnel Documents
Culture Documents
The Navigator provides a structured overview of your program: Hardware Libraries Variables
Programs
See the next slide for detailed information on the project navigator.
Navigator explanation:
Hardware
With the sytem registers it is possible to change hardware characteristics (e.g. no. of Timers/Counters)
Libraries
In the Library Pool all instructions, functions and function blocks which are available are stored.
Task pool The programs of the POU pool have to be entered into the Task pool as program or interrupt. This will be done automatically with the start wizard. Variables If IEC 61131-3 programming style is used, the global variables have to be entered here.
The programs are stored in the POU pool. Several programs are allowed. Each program has a header (variables) and a body (program code). The header is only used for IEC 61131-3 style. The start wizard installs 1 program; more programs can be added with the menu: EDIT -> New -> POU.
ASPECTS
(SFC) / PANASONIC
16 INPUTS / 14 OUTPUTS X X0 X9 XA XF Y0 Y9 YA YD INPUTS OUTPUTS
STATEMENT LIST / FESTO 32 INPUTS / 16 OUTPUTS I0.0 I0.7 I1.0 I1.7 I2.0 I2.7 I3.0 I3.7 O0.0 O0.7 O1.0 O1.7
OPERANDS
INPUTS
OUTPUTS
The big box is for output operands while the small box is for input operands
Double click on the big box to insert output operands. Y3 is to move swivel drive to magazine position and Y5 is to switch on red light. Unlike statement list, in SFC output should be programmed in every following big boxes according to the sequence to make sure output contacts activated. See the next slide for more details.
Click on the small box and type input operand. XA is the operand for start button.
Click once on the 2nd big box to insert the comment (up to the programmer). Then double click on the same box to insert output operands.
Y4 used to move swivel drive to position next station and Y7 is to switch on green light.
When swivel drive move to the position next station, limit switch will activate (X4).
Cylinder pushes out work piece (Y0). To make green light remain switched on until the sequence end, Y7 should be inserted in every following big boxes.
After cylinder retract, delay 5 seconds for swivel drive move to the magazine position. Type TIMER_1 to activate timer.
Click OK
Choose TON
Click Insert
IN
SWITCH ON DELAY it value : 0-327.27s, 32-bit value : 04,836.47s; resolution 10ms each) the on delay is defined here (PT = Present Time) SIGNAL OUTPUT Is set if PT = ET
PT
ET
Click Declare
Click Declare
Insert the SIGNAL OUTPUT from Timer. Timer will activate R1 after 5 seconds.
X6 is the optical sensor to detect availability of work pieces. X6 remains on if there is no work piece. not X6 means normally close.
Type JUMP
Type JUMP
The sequence will continue from here until all the work pieces finish
Name the box where we program counter and press ENTER twice
Type COUNTER
Click OK
Choose CB_FB
Click Insert
RESET
SV C EV
Click Declare
X3 is the pressure switch. Whenever swivel drive grip work piece, it will send signal to the counter to count.
Double click
Double click
Insert the SIGNAL OUTPUT from Counter. Counter will activate R2 after 3 cycles.
If R2 activated by counter then swivel drive will move the magazine position.
XB is reset button. Next step is if reset button pressed then the program jump to Initial Step