Broadcast Messages over Serial Port
Some
Logix Designer
controllers are equipped with one or two serial ports.
NOTE:
Logix Designer versions 37 and later do not support controllers with serial ports. This topic applies only to Logix Designer versions 36 and earlier.
With the
Logix Designer
application versions 36 and earlier, you can use serial ports to send broadcast messages from a master controller to all its slave controllers using one of these protocols:- DF1 Master
- DF1 Radio Modem
- DF1 Slave
Broadcast messages are sent to receiving controllers. Because of this, you can use Write message types with broadcast messages. Write message types include:
- CIP Generic
- CIP Data Table Write
- PLC-2Unprotected Write
- PLC-3Typed Write
- PLC-3Word Range Write
- PLC-5Typed Write
- PLC-5Word Range Write
- SLCTyped Write
To broadcast messages over the Serial Port
You can set up broadcast messages in ladder logic and structured text programs.
- In ladder logic, add the Message instruction and structure and then select to access theMessage Configurationdialog box to set up the message.
- In structured text, type MSG (aMSG) and then right-click on aMsg and chooseConfigureto access theMessage Configurationdialog box to set up the message.
To configure a broadcast message
- In theController Organizer, right-click the Controller and chooseProperties.TheController Propertiesdialog box appears.
- Select theSystem Protocoltab. This tab appears only for controllers that have a serial port.
- From theProtocolmenu, chooseDF1 Master,DF1 Radio Modem, orDF1 Slave.Depending on the protocol you chose, various parameters appear on the screen.
- Enter the information for the protocol. Select Controller Properties Dialog Box - System Protocol Tab Overview for help.
- SelectOK.
- Do one of these options:
- In your ladder logic program, select inside the MSG instruction.
- In your structure text program, right-click a Msg and chooseConfigure.TheMessage Configurationdialog box appears with theConfigurationtab open.
- From theMessage Typemenu, choose a Write message type to enable theBroadcastbutton on theCommunicationtab. See above for a list of Write message types.Depending on the type of message you choose, various parameters appear on the screen.
- Configure the rest of the fields and selectApply. Select Configuring Message Instructions for help.
- Select theCommunicationtab.
- SelectBroadcast.
- In the field next toBroadcast, choose a channel from the menu. The number of available channels depends on the controller.When you select channel 0, the message path in theMessage Configurationdialog box defaults to 2,255. When you select channel 1, the message path in theMessage Configurationdialog box defaults to 3,255. Note that 255 is the address for broadcasts.Path is not available so you can not manually enter a path value.
- SelectOK.
Provide Feedback