Ascii Commands in Structured Text

Jmeadows7676

Member
Join Date
Oct 2013
Location
Alabama
Posts
158
I'm having some trouble getting this code to work. Currently I have a Ladder Logic version working perfectly. I converted the Code to Structured Text by using what I had in Ladder and also used the Studio 5000 Instruction Reference.
Can someone take a look at it and see what i'm missing. The (TermChar_Found) bit just stays on all the time and i'm not getting the Data from the Serial Port.

Thanks,



See Attachment

View attachment Ascii_ST.pdf
 
Here is a Picture of the ST Code.

Thanks,


Ascii_ST_PIC.PNG

This is a Picture of the Ladder Logic Code that is currently working.

Ascii_LD_PIC.PNG
 
Last edited:

Similar Topics

I have a current source and I want to control the output state, the voltage setpoint and the current setpoint. Also I have to monitor the current...
Replies
1
Views
2,511
: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,059
Hi, I am trying to get Allen Bradley Micrologix 1400 to send ASCII commands over a RS-485 2 wire connection. I can get PuTTy to communicate just...
Replies
5
Views
9,105
Hey Everyone, I'm trying to communicate to an external device using ASCII Read and Write commands with RSLogix 5000. I need to Write an ASCII...
Replies
4
Views
3,528
This is my first time posting. I am using a SLC5/03 since we had an extra one laying around to mess with ascii commands before hooking up to the...
Replies
7
Views
4,022
Back
Top Bottom