[Newbie] DINT -> String -> ASCII

Tols

Member
Join Date
Apr 2016
Location
Michigan
Posts
1
(Using Studio5000) Hi all, little bit about what's going on:

I'm doing this program for my dad, I've never worked on a PLC until I started doing this about 6 months ago and so far I've figured pretty much everything out by myself and with a bit of help. I'm almost done with the project I just need to do one more thing that no one can figure out.

We are trying to send an ASCII string (translated by an RTA Module) to an Matthews MPeria printer. One of the ASCII values needs to be a FS value, but I cannot figure out how to get that to convert to a string.

Currently I am using DTOS and it converts "28" (the decimal value for FS) literally to "28" as a string and thus being incorrectly interpreted by the RTA module.

Any help is greatly appreciated! Even more so if you explain what needs to be done as simply as possible :p

If you need any additional information please let me know.

PLEASE DELETE: I FIGURED OUT IF I USE THE HEX VALUE AS THE STRING VALUE IT TRANSLATES PROPERLY.
 
Last edited:

Similar Topics

Hi guys, Im a complete PLC newbie, I am trying to complete a Uni assignment. I am struggling on my last step, I need to save a unique identifier...
Replies
9
Views
2,921
Hello all, I'm a new member here. I've joined as I want to learn about PLC programming. I've got a few questions to begin with. To get me...
Replies
37
Views
4,548
Howdy folks. Been doing PLC programming for like 15 years now in LD and ST, but I'm trying to learn SFC now and have a kind of dumb question... I...
Replies
4
Views
1,388
Hello. New to Unity and had a couple quick questions. Can a Modicon M340 output to a small multiline LCD screen and not a full HMI?
Replies
4
Views
962
Hi. I'm learning AOI programming in RSLogix 5000. I created an AOI with several input and output parameters but when I choose the AOI in the main...
Replies
17
Views
3,200
Back
Top Bottom