Ascii Data in Proficy (Pac) Machine Edition

timryder

Member
Join Date
Feb 2007
Location
Macomb MI
Posts
176
Hey working on a project where I need to send a String Command to a device in order for the device to perform an operation. It's over Profinet but there is a range of INT registers where the ASCII data for the command string needs to be moved before triggering a bit. The issue I'm having is the end of the string needs to have a Carriage Return (Dec: 013) in order for the device to recognize it as a complete command.

My Question, is how do I store a static non-printable ascii value in a variable initial value area.

Ex: CommandGoCheckThing,0,1,0,0,0[CR]

I stored the first part in the initial value no problem, but how about the CR?
Anybody know in Emerson GE how to do this? Also does anyone have any good string manipulation examples for me i can reference?

Thanks
 
My Question, is how do I store a static non-printable ascii value in a variable initial value area.
Cut-n-paste from Notepad.

Is there a GE HMI target in your project? If so, the scripting languages have some string handling functions. Also the MOVE_TO_FLAT instruction may work. I've never tried it though. It ignores strict typecasting
 

Similar Topics

Hello, Thanks in advance. How can I send more than 82 characters using AWA or AWT? to Zepra Printer via serial Rs232 communication? Normally I...
Replies
1
Views
774
Does anyone know how to inhibit the 232 module from sending data during PLC power-up? To send data during normal operation, the Transmit Record...
Replies
3
Views
1,914
I am working on a project, inside an AB CLX, I implemented the Modbus TCP Client AOI published on AB website, to interreact with a Modbus ASCII...
Replies
7
Views
3,591
Hello all, as you probably are all aware I have been trying to interface an A&D GX4002A balance to a 1769-L24ER-QBFC1B controller by the use of a...
Replies
7
Views
1,508
I am using an AB1769-ASCII card and a 1796-L24ER controller to read data from a scale. The data I am currently receiving is all Line Feed data...
Replies
7
Views
2,569
Back
Top Bottom