![msg instruction rslogix 500 msg instruction rslogix 500](https://www.automationdirect.com/microsites/c-more/software-help/Content/CompactLgxStartScr1.gif)
Notice that the array has to be of type INT, otherwise the message instruction will fail and display an "illegal target file type" error message. In this case it's slot 0.ĬontrolLogix Configuration OverviewWe have created an array of ten elements of type INT called "technote_data" in the controller scope of the ControlLogix project. The value that has to be entered in this second row is the slot in the ControlLogix chassis that the processor resides. To get a second line press the Insert key on the keyboard. The first line of the configuration defines the IP address for the ControlLogix Ethernet module.The path from the Ethernet module to the processor is defined here. MultiHop allows you to configure where the message has to go once it reaches the ControlLogix Ethernet module. When this value is entered, the MultiHop tab will appear.
![msg instruction rslogix 500 msg instruction rslogix 500](https://i.ytimg.com/vi/_6Dy_98LLxU/hqdefault.jpg)
For communications to a ControlLogix processor it is important that MultiHop is set to Yes. In the Target Device section the data will be read from N7:0.In this case 3A is the 1785-ENET module, for an Ethernet processor this will be 2. The port number is changed to specify the Ethernet port of the processor. This will ultimately be from a ControlLogix processor. This message is configured to perform a PLC-5 Typed Read of 10 integers words and place them in N7:0 onwards.When complete the dialog should match the one above. Work through the dialog from the top to the bottom in field order. the fields that are left change, depending on what has been selected. As fields in this dialog are filled in.Configure the message by clicking on the Setup Screen text in the instruction. The following dialog box is displayed.NOTE: If an integer file is used in place of the MG file, the message will be directed to the 1A port only Classis PLC5 issue. In the case below, these are MG9:0 and MG9:1. For Ethernet messages, the MSG instruction uses 2 consecutive MG elements. PLC-5 MSG Configuration OverviewThe ladder below shows a simple MSG instruction. Ensure both the PLC-5 and ControlLogix Ethernet modules are correctly configured on the Ethernet.