Sign in to follow this  
Followers 0
Riggs

Omron CJ2 serial TXD CRLF problem

4 posts in this topic

Hello, I'm using an Omron CJ2 to communicate with some equipment via the CPUs built in serial port. I've got the TXD instruction working, however my transmitted data frame always has 0D0A (=CRLF) appended to it by the CPU. This is with serial port mode = 'RS-232C', Start Code = 'disabled' and End Code = 'Set End Code' in the PLC settings. If I set End Code = 'ODOA', my output string ends up with '0D0D0A0A0D0A' appended to it. This makes no sense at all to me. Am I missiing something obvious in the manual? Thanks for any help, James.

Share this post


Link to post
Share on other sites
Are you positive the settings have been stored? To verify, make an upload of the settings or compare. Also be sure to power cycle the CPU when changing serial port settings.

Share this post


Link to post
Share on other sites
Problem has gone away now (with a bit of help from Omron support) but didn't fiind out what was causing it in the first place. Thanks for reply. James.

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