Publication 1762-RM001C-EN-P
7-2 Relay-Type (Bit) Instructions
expansion I/O, or internal addresses (data or function files). Examples of
devices that turn on or off:
•
a push button wired to an input (addressed as I1:0/4)
•
an output wired to a pilot light (addressed as O0:0/2)
•
a timer controlling a light (addressed as T4:3/DN)
•
a bit in the bit file (addressed as B3/16)
The instructions operate as follows:
Addressing Modes and File Types can be used as shown in the following
table:
Table 7.2 XIO and XIC Instruction Operation
Rung State Addressed
Bit
XIC Instruction XIO Instruction
True Off Returns a False Returns a True
True On Returns a True Returns a False
False -- Instruction is not evaluated Instruction is not evaluated
Table 7.3 XIC and XIO Instructions Valid Addressing Modes and File Types
For definitions of the terms used in this table see Using the Instruction Descriptions on page4-2.
Parameter
Data Files
Function Files
(1)
(1) DAT files are valid for the MicroLogix 1500 only. PTO and PWM files are only recommended for use with MicroLogix
1200 and 1500 BXB units.
CS - Comms
IOS - I/O
DLS - Data Log
(2)
(2) The Data Log Status file can only be used by the MicroLogix 1500 1764-LRP Processor.
Address
Mode
(3)
(3) See Important note about indirect addressing.
Address
Level
O
I
S
B
T, C, R
N
ST
L
MG, PD
RTC
HSC
PTO, PWM
STI
EII
BHI
MMI
DAT
TPI
Immediate
Direct
Indirect
Bit
Word
Long Word
Element
Operand Bit •••••• •••••••••••••• • ••
IMPORTANT
You cannot use indirect addressing with: S, ST, MG, PD, RTC,
HSC, P TO , PWM, STI, E I I, BHI, MMI, D AT, T P I, CS, IOS, and
DLS files.