Riggs Posted June 17, 2011 Report Posted June 17, 2011 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.
PdL Posted June 17, 2011 Report Posted June 17, 2011 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.
Riggs Posted June 17, 2011 Author Report Posted June 17, 2011 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.
ParaffinPower Posted June 17, 2011 Report Posted June 17, 2011 Don't leave us in suspenders...what was it??
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now