Jump to content

Having issues sending data from NJ plc to HX nitro inject printer


Recommended Posts

Posted

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.

Screenshot 2025-10-05 101819.png

Screenshot 2025-10-05 101610.png

Screenshot 2025-10-05 101712.png


Posted
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?

  • Like 1
Posted

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.

 

  • Like 1
Posted
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

IMG_1339.jpg

Posted

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. 

obraz.thumb.png.cd6669506e45da6485bc3e3a626e17ba.png

obraz.thumb.png.66e70d34571f7dd6eb1803b3c92bc471.png

obraz.thumb.png.4626e3835dbe4d23d84ad68d96c2c287.png

 

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
×
×
  • Create New...