Retentive analog output, Non-retentive analog output – Rockwell Automation 1746-FIO4V SLC 500 Fast Analog I/O/ User Manual User Manual
Page 40
Publication 1746-UM009B-EN-P - September 2007
40 Write Ladder Logic
We give you the following examples for programming a different
response.
• Retentive analog output
• Non-retentive analog output
• Clear the output for changing mode or cycling power
Retentive Analog Output
This example loads a program constant into an analog output
channel. Consider a digital I/O module in slot 1, and an analog I/O
module in slot 2. When bit 0 of the digital I/O module is set, the rung
is true, and the full-scale value of 32,764 is moved into the output
image table location corresponding to slot 2, analog output channel 0.
At the end of the scan, the value is transferred to the module and
converted to a corresponding full-scale voltage or current output.
Retentive Example
Non-retentive Analog Output
This example loads a program constant into an analog output channel
and clears it, based on logical conditions. Consider a digital I/O
module in slot 1, and an analog I/O module in slot 2. When bit 0 is set
in word 0 of the digital I/O module, the first rung is true and the
full-scale value of 32,764 is transferred to channel 0. When the bit is
reset to zero, the second rung is true, and the value of zero is
transferred to the channel.
Non-retentive Example
] [
MOVE
Source
Dest
I:1.0
0
32764
O:2.0
MOV
] [
] [
MOVE
Source
Dest
I:1.0
0
32764
O:2.0
MOV
MOVE
Source
Dest
I:1.0
0
0
O:2.0
/