beautypg.com

Rockwell Automation 1775-S4B,D17756.5.3 User Manual SCANNER/MSG HND User Manual

Page 44

background image

Getting Started in Report Generation

Chapter 5

5Ć6

The channel address is the extended address of the 1775-S4B scanner that
executes the procedure. This address has the following format (figure 5.2):

E2.7.t

where:

E2 = the module status area of PLC-3 memory

7 = the 1775-S4B scanner section of the module status area

t = the thumbwheel number on the 1775-S4B scanner

Figure 5.2

MSG Instruction Extended Addressing Format

Module status

area of PLCĆ3

memory

1775ĆS4B scanner

section of module

status area

1775ĆS4B scanner

thumbwheel

number

The message type must always be one, and the message itself should be a
report generation procedure name.

An example program using the message send instruction to execute a
report generation procedure appears in figure 5.3.

Figure 5.3

Example Rung Which Executes a Report Generation Procedure

I0012

12

MESSAGE TYPE

1

CTL=FB005:0000= 0

CHANNEL E2.7.1

@TIME

MSG

STAT

(EN)

12

STAT

(DN)

15

STAT

(ER)

13