Using controlnet message instructions, Chapter 4 – Rockwell Automation 1785-L20C_L40C, D17856.5.14 ControlNet PLC-5 Programmable Controllers User Manual User Manual
Page 57

Chapter 4
Programming Your ControlNet System
4-2
You can use the existing MG data type to send two message commands
over the ControlNet system within the local ControlNet link—PLC-5
TYPED WRITE and PLC-5 TYPED READ.
Follow the steps on the left to go to the Instruction Entry for Message
Block screen.
Instruction Entry for Message Block MG20:50
Communication Command: PLC-5 TYPED WRITE
PLC-5 Data Table Address: N8:0
Size in Elements: 1
Local ControlNet Node: 1
Destination Data Table Address: N11:0
Port Number: 2
BLOCK SIZE = 56 WORDS
Press a key to change a parameter or
>
Rem Prog Forces:None Edits:None 5/40C File CN
Command PLC-5 Size in Local Destin Port
Type Address Elemnts Node Address Number
F1 F2 F3 F8 F9 F10
If you want to:
Do this:
change the command type
Press
[F1]—Command
Type
to toggle between:
•
PLC-5
TYPED
WRITE
Ċto select a write operation to
another PLCĆ5 processor
•
PLC-5
TYPED
READ
Ċto select a read operation from
another PLCĆ5 processor
enter a PLCĆ5 dataĆtable address
1. Press
[F2]—PLC-5
Address
2. Type the PLCĆ5 dataĆtable address
3. Press
[Enter]
enter the size in elements
1. Press
[F3]—Size
in
Elemnts
2. Type a number of elements from 1 to 1000
3. Press
[Enter]
enter the destination network address 1. Press
[F8]—Local
Node
2. Type a number from 1 to 99
3. Press
[Enter]
enter a destination dataĆtable address 1. Press
[F9]—Destin
Address
2. Type the destination dataĆtable address
3. Press
[Enter]
Using ControlNet Message
Instructions
Monitor
File
F8
F10
Insert
Rung
F4
Edit
Message
F5
Insert
Instruction
F4
Port
F10
Enter message control block address
using file type MG
Number
Type 2 and press
Others
F10
I/O
F3
Message
Enter