Advanced Math Functions MAIN 222 Industrial Controllers 12/4/2018
ZCL and MCR Zone Control Logic or Master Control Relays. Drives all of the logic in between zone high even though power is “turned off” Safety issue maintains contacts without energizing them Works only in the forward direction Must have a an end ZCL zone This is designated as a Label 12/4/2018
Jump Jump Command is similar to ZCL Jump commands must to addressed However, Jump completely jumps through a section of programming We can have multiple programs functioning and only let one function Different models products ect. Jump commands must to addressed A name must be associated There must be an end jump called a LABEL There has to be an area of the jump to get to However, it can be forwards or backwards combatable Can be multiple jumps The Label must match its name with the same jump command 12/4/2018
MRC JUMP Handout Notice MCR and ENDMCR EXECUTE without power MCR has not outputs Jump needs a Label The Label corresponds to the jump command 12/4/2018
BLOCKS Blocks are the PLC logic GE uses blocks to identify a written logic area Notice on the right hand side of software package there is a block It is one section that makes up the file of the program you are writing We can use a multitude of blocks to do accomplish a lot Example: Trimming assembly Block one drives the conveyor system Block two drives the cutting sequences Block three drives raw material tanks and goods bins 12/4/2018
Add Integers This command will add two integers, numbers and places the stored value in Q In example from handout %I1 causes %R2 to increment up 1 It is added to %R2 The output is %R3 12/4/2018
Using Add Integers Parking Lot Example Using the up down counter was ok in solving the problem. Ok it was all that we had Using 1 address %R1 we can increment up or down To do this we need to initially set the IN 2 Why is IN 2 set the way it is? Notice the Full Parking Light is on when what condition occurs? 12/4/2018
Data Types WE can compare, add and move a lot of different types of data. Here is a small list INT a number either + - -32768 to + 32,767 DINT double precision stored in 2 conseq. 16 bit data locations -2,147,483,648 to 2,147,483,647 BCD Real floating point 12/4/2018
Greater Than Less Than Gives the ability to evaluate if one input is larger than another See handouts Note how outputs are on verse off Can compare any type of data not just switches 12/4/2018