atdesign (Customer) asked a question.

I have a CLICK C0-01DR-D I am trying to send a print instruction serially with ascii to a Brother printer. The brother printer uses a template setting and has a start print of ^FF command. Do I jtype this in the static box like "^FF" or convert to ascii

image


  • ADC Community_02 (Automationdirect.com)

    Do you need to send any other ascii string messages or just this one? You can just send a static "^FF" or embed TXT memory addresses.

  • atdesign (Customer)

    the template is already saved on the printer. The only other string I could think of is the following screen shot. Right now even with just the static"^FF" it seems to be sending but I do not get a success until I turn the input off and nothing was printed. image

  • ADC Community_02 (Automationdirect.com)

    1.) Does the printer require a termination code and/or byte swap?

    2.) Also try using a rising edge contact to trigger the SEND instruction to see if that helps.

    3.) Can you provide screen shots of your current code?

  • atdesign (Customer)

    imageimage imageimageIt should be a simple straight forward but I am also still learning a lot of this. We just have a leak tester that will send a pass input to the plc then a print signal to the printer. The plc is just used for this and nothing else. I have been using what they called the available return code of CR but I still get nothing to print if there is another termination code I could use I am not sure. Pardon my lack of knowledge but could you explain byte swap? I also attached the command language the printer is using.image 

    Expand Post
  • atdesign (Customer)

    imageThis is what I get with the printers indicator light I know that it is receiving something but it never goes to success on the plc nor does it print

    • atdesign (Customer)

      I get the same with the static "^FF"

    • ADC Community_02 (Automationdirect.com)

      Take a look at topic CL183 or open the send instruction and select help then look under 'byte swap'. In the send instruction try selecting byte swap -> All and see that triggers a print.

      • ADC Community_02 (Automationdirect.com)

        In addition, change X101 to edge contact rising edge or it will continue to send print commands continuously.

        image

      • atdesign (Customer)

        I did not try the rising edge though I will try that today

         

10 of 15