# symbol in structured text of Beckhoff TwinCAT

sallysan

Member
Join Date
Sep 2019
Location
Oakland, CA
Posts
7
Hi all,

I've inherited someone else's program and can't for the life of me figure out his use of the # symbol in one of his structured text routines. The usage is essentially as follows:

GUI_flow := int_to_real(flow) / 16#6000 * 200;

He uses this same calculation for the flow rates of various gases used on the tool. What does 16#6000 mean? I figured it was some obscure mathematical operator like modulo or something, but google turned up nothing for me on that front.

Thanks,
Sally
 
Thank you so much! I checked the datasheet for the device from which the flow input is coming from and it does list the flow in hex format so it's all making sense now.

Follow-up question, why does 16#6000 have to be hex, but 200 doesn't have to be? Or is it all just for display purposes anyway (i.e. 16#6000 could alternatively just be converted to its 24756 decimal value and written in decimal format instead)?
 

Similar Topics

Hello everyone, Recently, my Archestra IDE shut down while I was editing. After restarting the IDE, I noticed warning symbols under my opened...
Replies
1
Views
101
I was looking for this function, so that i doesn´t need to do it in the PLC. If there are an alarm in the alarm list, i want to flash the...
Replies
2
Views
525
Hello, fairly new to plcs I’m tasked with installing a PE to a micrologix1200, in the attached picture I/14 is the PE I’m installing it’s going to...
Replies
6
Views
942
Hello Thank you all for your support. I am actually experience same issues with TIA portal V17 update5 as well as V18. The problem is with the...
Replies
0
Views
799
Hello Mitusbishi experts, I hope you are bored on Sunday and look at this post:wish:. I have worked with Mitsubishi for many years and I now...
Replies
9
Views
2,047
Back
Top Bottom