wazed Posted Sunday at 02:56 PM Report Posted Sunday at 02:56 PM Good morning, Im reaching out to you for an inquiry about SCU22 serial card. Currently Im working on this project where Im trying to integrate NJ PLC and HX nitro inject printer through RS-232 serial cable. I have programmed the printer and the PLC but for some reason it's not sending the data Im looking for. I have double checked the baud rate, stop bits and Parity. They are similar to the printer. At this point I think it might be the serial card or PLC program and there's no way to verify it. Inject printer is looking for ASCII data to receive. But sometimes I receive "??" randomly and most of the time I dont receive anything at all. I have attached a few images for your review. It would be great to have your input.
IO_Rack Posted Monday at 12:54 PM Report Posted Monday at 12:54 PM 21 hours ago, wazed said: At this point I think it might be the serial card or PLC program and there's no way to verify it. I would start by testing with a terminal emulator like RealTerm. This will help to isolate the issue. I haven't used the CJ card but had some experience with the NX_SerialSend. I found I needed a small delay between Send and Receive. It certainly wouldn't hurt for troubleshooting. I would certainly start by verifying the Send command. As for the Receive, what does the expected String look like? Does it always start with the same characters or end with the same characters? 1
realisator Posted Tuesday at 08:05 AM Report Posted Tuesday at 08:05 AM I was working only with NX-CIF210 but from what i see in your program You're not sending any start or end code in your frame - how does the communication frame look like for Your printer? Second thing I would rather use CTS/RTS flow control. 1
wazed Posted Tuesday at 05:33 PM Author Report Posted Tuesday at 05:33 PM 9 hours ago, realisator said: I was working only with NX-CIF210 but from what i see in your program You're not sending any start or end code in your frame - how does the communication frame look like for Your printer? Second thing I would rather use CTS/RTS flow control. Im printer is looking for ASCII data as external input from PLC. Im only focusing on sending the data. Im not sure what you meant by start or end code. If you elaborate, that would be great
realisator Posted Wednesday at 06:32 AM Report Posted Wednesday at 06:32 AM I'm not familiar with MapleJet printers but i'm pretty sure it needs correct frame to know when the text starts and ends. here is what AI says. Be careful because AI may be wrong 🙂 best is to contact MapleJet directly and ask for manual.
wazed Posted Wednesday at 05:13 PM Author Report Posted Wednesday at 05:13 PM Thanks for the detailed explanation. Ill try it out either way.
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