5/21/2023 0 Comments Rslogix 500 msg instructionIn 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. In this example I chose a size of just 1 word. Step 6) Then I set how many “ Elements” I'd want to send, starting from the previously chosen Data Table Address. 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. 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 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: ![]() ![]() ![]() ![]() Each 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 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.
0 Comments
Leave a Reply. |