Rockwell Automation 1775-S5_SR5,D17756.5.5 User Manual PLC-3 FAMILY I/0 User Manual

Page 94

Advertising
background image

Programming DH and DH+

Message Procedures

Chapter 6

6-3

Figure 6.1

Examples of Message Instructions

EN

MESSAGE TYPE
CTL=FB200:0000=000

CH:E2.3.1

$N4:17=#H045$B3:5

DN

I0012

01

ER

1

Destination

(local)

Source

(remote)

MSG

STAT

12

STAT

15

STAT

13

Reading word 5 of binary file 3 at station 045 into word 17 of integer file 4.

Execute procedure @PROC_A

EN

MESSAGE TYPE
CTL=FB200:0000=000

CH:E2.3.1

@PROC_A

DN

I0012

01

ER

1

MSG

STAT

12

STAT

15

STAT

13

Allocating Memory

Before the scanner can transfer data to or from any file in memory, the file
must exist and be large enough to accommodate the data transfer. You can
create and allocate a file using memory management through your
programming terminal. Refer to the user’s manual for your programming
terminal for detailed information.

Advertising