Rockwell Automation 1746-FIO4V SLC 500 Fast Analog I/O/ User Manual User Manual

Page 58

Advertising
background image

Publication 1746-UM009B-EN-P - September 2007

58 Write Ladder Logic

Example Program for SLC 5/02 (or later) Processors (scaled voltage input and
output)

Rung 2:0

Rung 2:1

Rung 2:2

Rung 2:3

Rung 2:4

Rung 2:5

IMMEDIATE INPUT w MASK
Slot
Mask
Length

I:1.0
FFFF
1

PID
Control Block
Process Variable
Control Variable
Control Block Length

IMMEDIATE OUT w MASK
Slot
Mask
Length

O:1.0
FFFF
1

MULTIPLY
Source A
Source B
Dest

I:1.0
4
N7:0
0

SCALE
Source

Rate (/10000)
Offset
Dest

N10:29
0
19999
0
O:1.0

N10:0
N7:0
N10:29
23

IIM

MUL

PID

SCL

IOM

+END+

Advertising
This manual is related to the following products: