Skip to main content
1-Visitor
Apr 3, 2024 4:55 AM UTC
Solved

How can i convert decimal value to ascii Character with kepwareEx Server?

Hi~ all. 

 

I'm Kim. 

 

I'm inquiring because there is a function I need while setting KepwareExServer up.

How can i convert decimal value to ascii Character with kepwareEx Server?
PLC only send string value by ascii code
(ASCII numbers to srting.)

for example value 65 to 'A' or 065066 to 'AB'

 

I would like to thank you in advance.

VladimirNAnswer
24-Ruby IV
Apr 3, 2024 7:55 AM UTC

Take a look - "Is there a way to convert decimal data coming from a Siemens PLC to ASCII in Kepware/Thingworx": https://community.ptc.com/t5/Kepware/Is-there-a-way-to-convert-decimal-data-coming-from-a-Siemens-PLC/td-p/922210 

4 replies

VladimirN24-Ruby IVAnswer
24-Ruby IV
Apr 3, 2024 7:55 AM UTC

Take a look - "Is there a way to convert decimal data coming from a Siemens PLC to ASCII in Kepware/Thingworx": https://community.ptc.com/t5/Kepware/Is-there-a-way-to-convert-decimal-data-coming-from-a-Siemens-PLC/td-p/922210 

Translate
1-Visitor
Apr 4, 2024 4:52 AM UTC

Thank you for reply.

 

but i already tested above method. that is not what i want.

 

is there any method using advanced Tag function?

 

Advanced Tag > derrived tag > Function TAG(Simulator.Device1.Tag1)  is not convert Ascii decimal to ascii code convert function.

(Ex. 65 --> 'A')

 

Translate
Emeritus
Apr 10, 2024 4:56 AM UTC

Hello @SK_9135781,

 

It looks like you have some responses on your topic. If it helped you solve your question please mark the appropriate reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Community Moderation Team.

Translate
Support
Apr 16, 2024 6:45 PM UTC

Greetings,

Does this Post answers your question.  For the benefit of other Community Members who may have the same question, it would be great if you could designate it as the Accepted Solution.

In the event that this response did not answer your question, please post your current status so that we can continue to support.

Thanks for using the PTC Community!

Regards,

Mohit

Translate