Sending commands with an SLC5/05

masonpanic

Member
Join Date
Jan 2007
Location
Casper, WY
Posts
4
I am trying to receive status off of a Powerware UPS by sending it an "F" or "Format" command which in turn will give me an 80 character string of info related to the status. I am trying to do this via the serial port on the SLC 5/05. Im not quite sure how to set this up in ladder. I do know how I have to set up my channel configuration but am just not sure how to send the message "F" or "Format" to get the string of info back. I believe Ive figured out what to do with the string once I have it to start pulling out the info I need. If anyone knows plese give up some tips.
 
I am trying to receive status off of a Powerware UPS by sending it an "F" or "Format" command which in turn will give me an 80 character string of info related to the status. I am trying to do this via the serial port on the SLC 5/05. Im not quite sure how to set this up in ladder. I do know how I have to set up my channel configuration but am just not sure how to send the message "F" or "Format" to get the string of info back. I believe Ive figured out what to do with the string once I have it to start pulling out the info I need. If anyone knows plese give up some tips.[/QUOTE]
 
if you'll open the .RSS file attached to the bottom of this post you might be able to get some tips from the end of the "transmit" ladder file ... I had to add all of that junk at the top of the file in order to build a text string in a very specific format ... you probably won't need any of that ...

if I understand your problem, you just need to stick the "F" (or whatever needs to go out) in an ST-type location ... then try using the AWA instruction to push the string out the Channel 0 port ...

try that and see what happens ...

survival tip: sometimes it's easiest to use HyperTerminal as a "dummy" receiver while you're debugging something like this ... that way you can "see" what's actually being transmitted from the SLC ... once that's done, then hook up the real field device ...
 

Similar Topics

I'm trying to use a Allen Bradley 1769-L24ER-QB1B PLC to send a command from my Studio5000 logic to a Cognex DataMan 262Q barcode scanner...
Replies
3
Views
3,669
I have a setup which communicates as follows: Wonderware InTouch HMI . . Kepware OPC Server . . DirectLogic 06 PLC (local) . . The Internet...
Replies
3
Views
1,579
Hi everyone, not a native PLC programmer here, just an engineer trying to make the thing work. I have a sensor that I'm working with that...
Replies
5
Views
3,404
Good Morning everyone, Working on the next phase of my Crimson Project. I need to send 4 different Modbus Commands off of one button push. I...
Replies
13
Views
4,345
:wish:Hello I want to sent the commands attached from PLC to DMX Controller.When i00 command is sent it replies as shown as fig in hyperterminal...
Replies
2
Views
2,056
Back
Top Bottom