maff1

MrPLC Member
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About maff1

  • Rank
    Hi, I am New!

Contact Methods

  • ICQ 0

Profile Information

  • Gender Male
  • Location UK
  1. 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.