Rockwell Automation 1772-LS_LSP,D17726.8.6 PROG/OPER MANUAL-MINI PLC-2/05 User Manual

Page 55

Advertising
background image

Relay-type Instructions

Chapter 6

6Ć3

Each input and output bit has a five-digit address. Reading from left to right:

the first number denotes the type of I/O module:

- 0 output
- 1 input

the second number denotes an I/O chassis and it always is a 1.
the third number denotes a module group. This number will range from 0-7.
the fourth and fifth numbers denote a terminal designation:

- 00-07 left slot of the module group
- 10-17 right slot of the module group

Important: Remember a Mini-PLC-2/05 processor can use only one rack.

Important: For addressing purposes, I/O modules in a given I/O rack are
organized into “module groups.” A module group is a pair of adjacent I/O
modules. Thus, the module group number of an individual I/O module depends
only on the I/O slot the module occupies. It is important to note that the first
module group in any I/O chassis is always module group 0.

You can use seven programming instructions to write a program. These
instructions are divided into three categories: bit examining, bit controlling, and
branch instructions.

Bit Examining

Examine On and Examine Off
Purpose: The Examine On -] [- and Examine Off -]/[- instructions tell the
processor to examine a bit at a specified data table location

112

04

112

05

012

13

Bit Examining

Examine On

Bit Examining

Examine Off

012

14

Determines the bit condition. The bit condition becomes:

True - Examine On detects a bit in the data table that is set.
True - Examine Off detects a bit in the data table that is reset.
False - Examine On detects a bit in the data table that is reset.
False - Examine Off detects a bit in the data table that is set.

Programming Instructions

Advertising