6–10
Ejemplos de programación
Rung 2:0
N7:0 contains percentage of valve open.
less than 0, move the minimum value to the analog output
(6242 decimal = 4 mA at the analog output).
|
|
|
| +LES–––––––––––––––+
|–+LESS THAN
| |Source A
| |
| |Source B
| |
| +––––––––––––––––––+
|
|
|
|
|
|
|
|
|
|
|
Rung 2:1
N7:0 contains percentage of valve open.
greater than 100, move the maximum value to the analog output
(31208 decimal = 20 mA at the analog output).
|
|
|
| +GRT–––––––––––––––+
|–+GREATER THAN
| |Source A
| |
| |Source B
| |
| +––––––––––––––––––+
|
|
|
|
|
|
|
|
|
|
|
Publicación 1746 6.4ES - Enero de 1996
Uso de matemáticas estándar
Check for
below
range
+––––––––––––––––––––––––––––––––+––––( )–––––––––––––––+–|
N7:0|
0|
0|
|
Check for
above
range
+––––––––––––––––––––––––––––––––+––––( )–––––––––––––––+–|
N7:0|
0|
100|
|
If this value is
Below
range flag
B3
|
0
|
|
|
|
|
Minimum
|
analog
|
output
|
value
| +MOV–––––––––––––––+ | |
+–+MOVE
|Source
|
|Dest
|
+––––––––––––––––––+
If this value is
Above
range flag
B3
|
1
|
|
|
|
|
Minimum
|
analog
|
output
|
value
| +MOV–––––––––––––––+ | |
+–+MOVE
|Source
|
|Dest
|
+––––––––––––––––––+
La lógica de escalera continúa en la página siguiente.
|
|
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
+–+ |
6242|
|
|
|
O:2.0|
|
|
|
|
|
|
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
+–+ |
31208|
|
|
|
O:2.0|
|
|
|
|