Using standard math -4, Using standard math – Rockwell Automation 1746-XXXX SLC 500 4-Channel Analog I/O Modules User Manual User Manual

Page 66

Advertising
background image

Publication 1746-UM005B-EN-P - June 2004

6-4 Programming Examples

Using Standard Math

Rung 2:0

Check for below allowable range

| Below |

| range flag |

| +LES–––––––––––––––+ B3 |

|–+LESS THAN +–––––––––––––––––––––––––––––––––––––––––––––––––( )–––––|

| |Source A I:1.1| 0 |

| | | |

| |Source B 14344| |

| | | |

| +––––––––––––––––––+ |

Rung 2:1

Check for above allowable range

| Above |

| range flag |

| +GRT–––––––––––––––+ B3 |

|–+GREATER THAN +–––––––––––––––––––––––––––––––––––––––––––––––––( )–––––|

| |Source A I:1.1| 1 |

| | | |

| |Source B 16383| |

| | | |

| +––––––––––––––––––+ |

Rung 2:2

Turn on the below range alarm output when analog

input is below acceptible range

| Below | Below |

| range flag| range alarm |

| B3 O:2 |

|––––] [–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––( )–––––|

| 0 0 |

Rung 2:3

Turn on the above range alarm output when analog

input is above acceptible range

| Above | Above |

| range flag| range alarm |

| | |

| B3 O:2 |

|––––] [–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––( )–––––|

| 1 1 |

Ladder logic continued on the next page .

Advertising