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

Publication 1746-UM005B-EN-P - June 2004
6-16 Programming Examples
Using Standard Math
Rung 2:0
N7:0 contains the percentage of the valve open.
| Check for |
| below range |
| +LES–––––––––––––––+ B3 |
|–+LESS THAN +––––––––––––––––––––––––––––––––+––( )–––––––––––––––––+–|
| |Source A N7:0| | 0 | |
| | 0| | | |
| |Source B 90| | | |
| | | | | |
| +––––––––––––––––––+ | | |
| | +MOV–––––––––––––––+ | |
| +–+MOVE +–+ |
| |Source 6242| |
| | | |
| |Dest O:2.0| |
| | | |
| +––––––––––––––––––+ |
Rung 2:1
| Check for |
| above range |
| +GRT–––––––––––––––+ B3 |
|–+GREATER THAN +––––––––––––––––––––––––––––––––+––( )–––––––––––––––––+–|
| |Source A N7:0| | 1 | |
| | 0| | | |
| |Source B 100| | | |
| | | | | |
| +––––––––––––––––––+ | | |
| | +MOV–––––––––––––––+ | |
| +–+MOVE +–+ |
| |Source 31208| |
| | | |
| |Dest O:2.0| |
| | | |
| +––––––––––––––––––+ |
Ladder logic continued on the next page .