ControlLogix MSG broadcasting over serial port

Malec82

Member
Join Date
Apr 2016
Location
Lodz
Posts
5
Hi Guys,
I'm trying to connect a non-brand LED display to the 1756-L63 ControlLogix. The display can communicate via RS232 (one direction), RS422, RS485, and TCP/IP (both directions). According to the manual available protocols are: Serial RGB and Modbus RTU (Modbus RTU only on RS485). I am able to display messages on the display using Hercules Setup Utility app. I tried RS232 and TCP/IP and both works. But I don't know how to make it work with the PLC. I assume the MSG instruction could be helpful, but i don't know how to configure it. I was trying to broadcast the message (CIP Generic, Parameter Write) over the RS232, but i'm getting the error 16#00f2 "Broadcasting not supported for current system protocol or data size invalid". I was trying all available system protocols, but always the same error. I also have the HMS Anybus Communicator AB7007-C which, i'm guessing, could be useful, but i have never play with it. Any ideas on how to make the display work with PLC?
 
If you want to use the serial port on the processor, You'll want to look into the ASCII instruction set. Should be listed under ASCII Serial Port (AWT, AWA, ARD, ARL, etc)

Note that the serial port is not present on newer ControlLogix processors, so learning the Anybus module might not be the worst idea.
 
Last edited:
I was trying to use AWT, but this is not enough. Except the string to display i have to send some starting, ending, and configuration bytes. And yes, I will learn Anybus definitely, but the deadline is coming, so I'm looking for quick solution :)
 
Well, not knowing anything about your display(model or whatever), When I've had to do ASCII stuff in the past I've used the ASCII string functions to Insert or Concat multiple strings together to build the 'output' string that I would use in my AWT function.
There's some example of the various ascii codes you'll need to perform Carriage Returns and whatnot in the AB manual Logix5000 Controllers ASCII Strings.
 
Dravik, you are the greatest! Thanks for the clue. This is my first time using ASCII, so I didn't know how to use it exactly. Everything works fine just on ASCII serial instructions. Thanks a lot! :geek:
 

Similar Topics

Hey everyone, I feel like this is an easy question, but I can't seem to find an answer for it. Currently have a PLC-5 that we're swapping out...
Replies
3
Views
1,756
Hello, Today I am trying to figure out the best way to write from controllogix to a plc5 only on change. The situation: - Migrated a Winview...
Replies
3
Views
2,078
I have to use a new L81 ControlLogix processor to MSG read a SLC5/05. I've done this before on the older series using an ENBT, but the new...
Replies
17
Views
11,543
Hello all. I need some help setting up a MSG instruction to transmit 10 bits of data from a compact Logix processor to a micrologix 1400. I have...
Replies
31
Views
19,722
hi, i try to connect dvt framework 2.8 to controllogix 1756-L62 using a ENBT module. im able to connect to the i/o of the camera to do...
Replies
0
Views
1,305
Back
Top Bottom