beautypg.com

Rockwell Automation 1395 Multi-Comm Hardware/Software User Manual

Page 46

background image

Chapter 3

Configuration & Interfacing

3–35

Figure 3-21. PLC5/15 - 1395 DC Drive Sample Program cont.

Rung 2:1

N7 : 0

Drive 1
Parameter
Read

This rung will read parameters 100 – 109 on a continuous basis by using the Message Block enable bit to toggle the
next message The parameter information is stored in N20: 0 –9 in this PLC. The drive DH+ station ID is 11.

Message
Enable
Bit
Drive 1

15

MSG

SEND/REC MESSAGE

Control Block N7: 10

(EN)

(DN)
(ER)

Communication Command:
PLC–5 Data Table Address:
Size in Elements:
Local/Remote:

Remote Station:
Link ID:
Remote Link Type

Local Node Adress:
Destination Data Table Address:

PLC–5 TYPED READ
N20:0
10
LOCAL
N/A
N/A
N/A
11
N10: 100

ignore if timed-out:

to be retried:

awaiting execution:

continuous:

error:

message done:

message transmitting

message enabled:

0 TO
0 NR
0 EW
0 CO
0 ER
0 DN
0 ST
0 EN

MESSAGE INSTRUCTION DATA MONITOR FOR CONTROL BLOCK N7:10

control bit addr: N7: 0/15

ERROR CODE: 0 (DEC)

BLOCK SIZE = 9 WORDS

Press a function key to change a value.
>
Rem Prog Forces: None Data: Formatted

Size in
Elements

5/10 File TEMP
Toggle
Bit