1 / 9

Advanced Math Functions

Advanced Math Functions. MAIN 222 Industrial Controllers. 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

Download Presentation

Advanced Math Functions

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Advanced Math Functions MAIN 222 Industrial Controllers

  2. 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

  3. Jump • Jump Command is similar to ZCL • 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

  4. 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

  5. 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

  6. 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

  7. 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?

  8. 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

  9. 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

More Related