Sign in to follow this  
Followers 0
maff1

SLC 504 Ascii Out Put to Thermal Transfer Printer

2 posts in this topic

Could anyone assit me with the following: I am currently trying to transfer a message from an SLC 504 CPU Ch 0 configured for ASCII to a thermal transfer printer which accepts strings to print labels with values sent via RS 232. The command I want to send to the printer is shown below: JDA|PBC1=1|PBC2=2|PBC3=3|LBC1=4|LBC2=5|LBC3=6|<Character Return> JDA = Command to tell the printer to update the named fields (i.e. PBC1 - LBC3) with numbers contained in the string PBC1 - LBC 3 = Named Fieds within the printer label to be updated by the PLC The number values for the named fileds must be dynamic and will be stored in integer files within the PLC so I also need to be able to convert the values held in the integers for use with in the string that I am sending to the printer. I imagine I will have to convert the integer to a string and combien all the converted strings into 1 overall string to send to the printer. Any assitance on this would be greatly appreciated.

Share this post


Link to post
Share on other sites
Did you search the forums for help: I found the following which might help: http://forums.mrplc.com/index.php?showtopi...=serial+printer http://forums.mrplc.com/index.php?showtopi...=serial+printer

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0