Sending something from 1 plc to another via IP address with 2 SLC500s

Osborne

Member
Join Date
Apr 2007
Location
Cleveland
Posts
13
Sending command from 1 plc to another via IP address with 2 SLC500s
and viewing change on 2nd PLC from computer.
I am testing for a job and need to send command from 1 SLC500 to another via IP address. I don't have 2 SLC500s to test with. I need a short program for PLC 1 to send command and PLC 2 to receive command and show change. Trying to use (message) command on both PLCs. Can either turn on input or output or show data register change. Thanks for any help.
 
I am testing for a job... I don't have 2 SLC500s to test with.
So how exactly are you testing without the equipment?

You need to configure the Ethernet channels on both PLCs, then use the Message instruction (MSG) one on of the PLCs to either write data to the 2nd unit or read data from it. Look up MSG in the RSLogix online help.
 
Thats part of the problem. I can't test so I need to know before the test the proper way to do this.

How can I trigger the msg command to update of data every 5 sec? Isn't there a command to close a contact repeatedly base on a set time ?
Also Can I send the msg write and msg read to same IP address for testing ?
 
How can I trigger the msg command to update of data every 5 sec? Isn't there a command to close a contact repeatedly base on a set time ?
Search the help files in RSLogix for TON [Timer-On-Delay]
 
Sample SLC500 prgs to send and receive with msg command

Can someone send me a sample prg using msg command to send from 1 plc and another 1 to receive on the other plc ? I just can't get the 2nd plc to show the msg received.
 
I am testing for a job and need to send command from 1 SLC500 to another via IP address. I don't have 2 SLC500s to test with.

I just can't get the 2nd plc to show the msg received.


Do you or don't you have 2 SLC to test with?
Show that you have tried and I am sure someone will step in and help.
 
No I don't have 2 PLCs to test with. I have allready taken the test six months back and tried for 4 hours. I did the msg write and msg read on plc 2. But could not figure out how to trigger the update and see the change on plc 2. All I have to test with is RSlogic and a ML1100. I have programmed PLCs since the software was DOS base in 1990, but never had a need to talk to another plc. There is a lot more to the test but this is the only part I am having a problem with.
 
Simply put, you don't use a pair of instructions. It's best, if you just use a MSG READ instruction on the target SLC. The READ has less overhead then a WRITE. Search the forums here on MSG READ SLC perhaps.

To run it cyclically, as mentioned above, just use a free-running 5 second timer.
 
I thought you had to do both msg write and read

What kind of date can you read ? Counter, timer, bit, etc ? How would you show the data being read ?
 
The help file has some good information about the MSG instuction Without two controllers, you can't see what has been sent.

I have a little test program for reading and writing values to a DVT camera using a ML1100 that I can post if the MSG setup would help.


Let me know.
 
Osborne said:
Isn't there a command to close a contact repeatedly base on a set time ?

Osborne said:
I have programmed PLCs since the software was DOS base in 1990

I'm thinking I'm misunderstanding something when the same person makes these two statements.

Osborne said:
I have allready taken the test six months back and tried for 4 hours.

When is the current test? </SARCASM ON> There are about 4320 hours in six months...:unsure: </SARCASM OFF>
 

Similar Topics

I’m attempting to send a temperature from a SLC-5/02 to an EZiMarquee display. The vendor said to use a MSG instruction to send the data to the...
Replies
1
Views
93
Hi I need to send a null command down a comms port. But in the crimson software when i used /x00 it coming back "Cannot use null character is...
Replies
2
Views
423
I've been having some trouble figuring out how to get the ip address for the mail relay server, is it something that I need to create separately...
Replies
10
Views
917
Hi Everyone, We have Silo System which has temperature sensor and these sensor data will be communicating through RTU unit to the Dedicated PC...
Replies
2
Views
617
I've been trying to get this Ethernet module configured to send emails to our relay server but cannot get it to work. the EN2T is running...
Replies
7
Views
1,764
Back
Top Bottom