Message command between two AB PLC 5's running in RSLogix Emulate 5

jarodl

Member
Join Date
Mar 2008
Location
Prince George
Posts
2
I have two PLC programs running in RSLogix Emulate 5, and I am trying to set up a message command so that one PLC can read data from the other PLC. When I opened the programs in Emulate, I chose address 1 for the first program, and address 2 for the second program, and that's how they are showing up in RSLinx Classic. When I set up the message command in PLC #1, under "This PLC-5", I choose "PLC-5 Typed Read", Data Table Address "N9:6", and Size In Elements "4". Under "Target Device" I choose Data Table Address "N7:31", Local Station Address "2", and "Local".

I am getting an unknown error of 80, and the data isn't transferring. I can see the message command executing once per second in the program, so I know it's running.

I have a feeling my "Target Device" settings are incorrect. Should I have it set to "Local", and should I be using the address (2) that I selected when I opened the program in Emulate?
 
Welcome to the Forum !

RSEmulate 5 and 500 don't support the MSG instruction.

From RA Knowledgebase Article ID#55723, "What Instructions are not supported in RSEmulate 5 and 500 ?"


MSG, Message

Even though the software provides Data Highway Plus emulation and Channel 0 emulation, the MSG instruction emulates only the enable (.EN) and disable (.DN) bits.When the emulator scans a MSG instruction, the EN bit is set during the first scan, and the DN bit is set during the second scan.If you wish, you may use debug files to emulate the data transfer.
 
Thanks, Ken. So can you think of any way to transfer data between two emulated PLCs? I am able to read and write data to/from each PLC from FactoryTalk View Machine Edition (using RSLinx Classic and OPC), but I can't think of a way to use that to transfer data automatically between the PLCs.
 

Similar Topics

I'm hooking up a scale to an EWEB card on a 1756 PLC through ethernet/IP sockets, and I've run into an issue that seems to defy ladder logic. See...
Replies
9
Views
2,644
Hi all! I have s7-1200 cpu 1214c and Coner ER75i router. Router have settings to send SMS by AT commands. Also there is settings in router that...
Replies
1
Views
3,029
I am currently working on a system that involves messaging to and from a central control logix5555 processor. I am having trouble message to a...
Replies
7
Views
4,434
I am making a elevator and have all the code writen for it but i cant seem to get the jsr routine to work. all i want is to jump to the below...
Replies
3
Views
1,568
Dear AB Experts, I am very much in the beginning stage...we use SLC 5/02 and DTAM 1471 is connected to it. The system contains a conveyor and...
Replies
6
Views
2,035
Back
Top Bottom