Darrin Martin

CJ1m RS-232 output to printer

4 posts in this topic

Having problem connecting CJ1M to printer via RS-232.  Have CJ1M-13 with ID211, IO211, and MAD24.  Have been able to get data from A registers to D registers in ASCI format.  Unfortunately do not have peripheral connection, so I have to program with CX-Programmer and then disconnect.  Cannot get data to transmit to Windows Hyperlink.  Have attached program.  Any help is appreciated.  I am new to programming Omron. 

RS323 PRINT COM.cxp

Share this post


Link to post
Share on other sites

Hello Darrin,

Welcome to the forum.

Best guess is the cable.  Omron DB9 pin out is not a standard pin out.

Please see the attached document for a cable from Omron port to computer.

You will also need to setup the port for RS232 protocol.  Default would be either Toolbus or Sysmac Way (aka Host Link).

Hope this will help.

 

GTC99CC.pdf

Share this post


Link to post
Share on other sites

Thank you very much for the advice!  The printing is working perfectly, problem was needing the short pins 4 & 5 on the Omron.  Also, the pin outs are different as you noted, I wasn't expecting this.  Thanks again. 

Share this post


Link to post
Share on other sites

Glad I was able to help.

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