String dollar Sign $$$$$$$

latchpad

Member
Join Date
Nov 2018
Location
Michigan
Posts
16
is there a way to put a single dollar sign in front of a string in Studio 5000? I am trying to do that but the reference string i want to use gives me an error if i try to put only one. I am trying to control a device via socket messaging and it required a 4 byte hex syntax with $ infront. for example $0E$DA is the string i need to send it. Ive attached the picture of the error message it gives me.

Thanks

String Error.JPG
 
$$ will give you a single dollar sign in Studio 5000 string.
It's actually at the top right corner of your screenshot.

You can also type $24 that represent HEX ASCII code for "$"
 
If $0E$DA is the only string you need to send, you can just enter that into the string tag. It will be red when you put the $ in, but when you put the next two hex characters in, or the next dollar sign as Contr_Conn suggested, it should turn bold.
 

Similar Topics

I'm trying to compare strings in Studio 5000 on an Allen Bradley 1769-L33ER and came across this weird incorrect string comparison. Neither of the...
Replies
10
Views
236
Hello, I have recently been having trouble assigning a string tag to some characters in rs logix 5000. I initially though you could just do...
Replies
3
Views
109
Hello everyone, Wondering if anybody can help me with this: I have a CompactLogix processor running a little robot cell. Every 200 cycles...
Replies
8
Views
195
All, I am trying to reset timers when a Work Order change occurs. The Work Order comes in as a string and I am comparing it to a tag...
Replies
2
Views
122
Hello, I am using studio 5000 pro and am trying to figure out the structured text. Here's my scenario: An operator scans a barcode, the barcode...
Replies
15
Views
395
Back
Top Bottom