

Which was still as close to history as could be after a catastrophic start to my campaign. I know you’ll love to play with the Oda as much as I did – especially if you’re looking for a challenging session.In Today's article I walk you through how to Message data from a SLC-5/05 to a MicroLogix 1400 over Ethernet using the MSG instruction. Step 3) Next I leave Target Device and Local/Remote at their default states: Step 2) Since I'm writing data from a SLC-5/05 to a MicroLogix 1400, I next change the Read/Write type to Write: Step 1) To start, I add a new rung to Program File 2 of my SLC-5/05 program, and then I add a MSG instruction to that rung:Įach program also had the N7 file expanded to 10 words, and the SLC-500 program has a free running Timer in Rung 0 of Program File 2 as shown below: Both have the same subnet address, and are attached to the same network via an Ethernet switch. In this example I chose a starting point of N10:0, and the MSG instruction will use N10:0 through N10:50 for it's control words: Step 4) And then I assign a Control Block starting address for a block of 51 unused integers.

Step 5) Now in the Setup Screen I set the “This Controller” Data Table Address that I'll be messaging from our SLC-5/05 to our target MicroLogix controller.

Step 6) Then I set how many “ Elements” I'd want to send, starting from the previously chosen Data Table Address. In this example I chose a size of just 1 word. In this example Channel 1 is chosen as that is the Ethernet channel on the SLC-5/05: Step 7) The next selection is the setting for the SLC Communication Channel the MSG instruction will use. Step 8) Moving on to the “Target Device” settings, I set the Data Table Address I want to write the data to, which in this example is also N7:0: Note: The Target Device's Data Table Address does not have to be the same address as the Source Address. Step 9) Here, because I'm messaging a MicroLogix over Ethernet, I also need to change the MultiHop setting to Yes.

Step 10) With MultiHop now enabled, I move to the new MultiHop tab: Note: If this setting is not changed, the message will fail. Step 11) Where I fill in the IP address of the target MicroLogix 1400 in the To Address field. Step 12) Back in Ladder File 2, I place an XIC in front of the MSG instruction. For the XIC instruction's address, I use the Done Bit of my existing two second free running Timer.
