beautypg.com

Rockwell Automation 1395 Multi-Comm Hardware/Software User Manual

Page 47

background image

Chapter 3

Configuration & Interfacing

3–36

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

Rung 2:2

B3

Drive 1
Parameter
Write

This rung will write to parameters 500 – 999 in the drive when bit B3/1 is toggled from a zero to a one. The parameter
values to be sent to the drive are stored in N30: 0 – 499.

Enable
Message
Read
From
Drive 1

1

MSG

SEND/REC MESSAGE

Control Block N7: 20

(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 WRITE
N30:0
500
LOCAL
N/A
N/A
N/A
11
N10: 500

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:20

control bit addr: N7: 20/15

ERROR CODE: 0 (DEC)

BLOCK SIZE = 10 WORDS

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

Size in
Elements

5/10 File TEMP
Toggle
Bit

Rung 2:3

END OF FILE

NO MORE FILES