Using Scale With Parameters (Scp) Instruction - Rockwell Automation Allen-Bradley 1746-HSCE User Manual

4-channel analog i/o modules
Table of Contents

Advertisement

Using Scale with Parameters (SCP) Instruction

Rung 2:0
Check for below allowable range.
|
|
| +LES–––––––––––––––+
|–+LESS THAN
| |Source A
| |
| |Source B
| |
| +––––––––––––––––––+
Rung 2:1
Check for above allowable range.
|
|
| +GRT–––––––––––––––+
|–+GREATER THAN
| |Source A
| |
| |Source B
| |
| +––––––––––––––––––+
Rung 2:2
Turn on the below range alarm output when the analog
input is below the acceptible range.
| Below
| range flag
|
B3
|––––] [––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––( )––|
|
0
Rung 2:3
Turn on the above range alarm output when the analog
input is above the acceptible range.
| Above
| range flag
|
B3
|––––] [––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––( )––|
|
1
Rung 2:4
| Below
|Above
| range flag
|range flag
|
B3
|––––]/[––––––––]/[–––––––––––––––––––––––––––––––––––––––+SCALE W/PARAMETERS+–|
|
0
Rung 2:5
|
|–––––––––––––––––––––––––––––––––––––+END+––––––––––––––––––––––––––––––––––––|
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
+–––––––––––––––––––––––––––––––––––––––––––––––––( )–––––|
I:1.1|
0|
14344|
|
+–––––––––––––––––––––––––––––––––––––––––––––––––( )–––––|
I:1.1|
0|
16383|
|
B3
1
Programming Examples
Below
range flag
B3
0
Above
range flag
B3
1
Below
range alarm |
O:2
Above
range alarm |
O:2
Scale
analog input
+SCP–––––––––––––––+ |
|Input
I:1.1| |
|
|Input Min.
|
|Input Max.
32767|
|
|Scaled Min.
100|
|
|Scaled Max.
500|
|
|Scaled Output N7:0|
|
+––––––––––––––––––+
Publication 1746-UM005B-EN-P - June 2004
6-7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
1 |
|
|
0|
0|
|
|
|
|
0|
|

Advertisement

Table of Contents
loading

Table of Contents