Applying Ladder Logic
19
Applying Ladder Logic
General Concepts
The OP-1212 uses memory mapping in order to link itself to a PLC. Memory
mapping is a technique that maps the memory of the OP-1212 to the memory of the
PLC. During initial configuration, the beginning address must be selected in the PLC
memory where the mapping process will start. By knowing where the data of the
specific panel is mapped, this data can be moved, changed or monitored using
ladder logic.
Direct
LOGIC
Allen-Bradley
Mapping Assignments
PC
During configuration, you determine the starting address
for the memory mapping process.
The pushbuttons
and lamps are
numbered left to
right starting in
the upper left
corner of their
respective area.
Mapped Memory Location
Function
m+0 (such as V40600) C0-C17
m+1 (such as V40601) C20-C37
m+2 (such as V40602) C40-C57
m+3 (such as V40603) C60-C77
Indicator Lamps ON/OFF
Indicator Lamps Flash Control
Button LEDs ON/OFF
Button LEDs Flash Control
Button ON/OFF Status
Force Pushbuttons Data & Comnd
m+4 (such as V40604) C100-C117
m+5 (such as V40605) C120-C137
Mapped Memory Location
Function
m+0 (such as N7: 0/0--0/15)
m+1 (such as N7: 1/0--1/15)
m+2 (such as N7: 2/0--2/15)
m+3 (such as N7: 3/0--3/15)
m+4 (such as N7: 4/0--4/15)
m+5 (such as N7: 5/0--5/15)
Indicator Lamps ON/OFF
Indicator Lamps Flash Control
Button LEDs ON/OFF
Button LEDs Flash Control
Button ON/OFF Status
Force Pushbuttons Data & Comnd
1
2
3
4
5
6
7
8
9
10 11 12
1
2
3
4
5
6
7
8
9 10 11 12
Memory Mapping