MCC Controls Posted May 7, 2017 Report Posted May 7, 2017 Good morning. I am trying to print messages using the send protocol from a Vision120 to an epson lx350 dot matrix printer. I have the Com Init command and the protocol config command setup. I have it wired up correctly (I believe) from the RJ11 to RJ45 to the DB25 adapter to plug into the printer. This system has worked in the past, I inherited the project from a customer who's controls engineer left, and now I'm stuck on getting the printer to work. I have downloaded the program and HMI config and they are working fine. Does anyone have experience in something similar to this? Is there something on the printer side I have to do? Let's assume that I have the communication wiring 100% correct. I still have to verify that again in the morning. Thanks a lot, Adam McCormick
MVP 2023 Ausman Posted May 7, 2017 MVP 2023 Report Posted May 7, 2017 Hi Adam, Have not done an LX350. However, I'd first be throwing things at the printer via your PC using any of the serial port software out there like Hercules, to check that it is indeed working as expected via the serial line connections you've done. And also to check that that command structure works as expected. Then check what the PLC is doing by monitoring it's outputs. Somewhere between these two operations you'll likely find the stumbling block and be able to correct things. If it has indeed worked in the past, I would initially be suspicious of your total wiring config to the printer. Extra connections needed onto odd pins is not uncommon, or perhaps it is something as simple as a 2 & 3 switch. You may even end up needing to use a breakout box to help figure things out. cheers, Aus.
MCC Controls Posted May 8, 2017 Author Report Posted May 8, 2017 Thanks Aus, I will try with Hercules and see how I make out. I'm also suspicious of the wiring, but that part shouldn't be too diffuicult to troubleshoot. I've ordered a proper rj45 to db25 connector that I hope should help so I will update with my progress. Thanks, Adam
Gabriel Franco Posted May 8, 2017 Report Posted May 8, 2017 You may want to check if your printer has serial interface enabled and serial parameters properly set.
MVP 2014 Simon Posted May 10, 2017 MVP 2014 Report Posted May 10, 2017 FWIW, a "proper" RJ45 to DB25 convertor isn't a "get out of jail free" card. It might help hold things together but you still need to know where the pins are going. As Ausman said, testing is key and the basics are RX, TX and Ground, and turn off hardware handshaking. If you can't turn off hardware handshaking then a loopback is needed on the handshake lines.
MCC Controls Posted May 12, 2017 Author Report Posted May 12, 2017 Thanks a lot guys, turns out it was a poor cable connection.... anti-climactic I know... I am going RJ11 to RJ45/Ethernet to DB25... I was treating the RJ11 cable as a straight through, but it was in fact a crossover which I didn't realise. I don't like the application to begin with, sending an RS232 signal to an old dot matrix printer is a little archaic for me but I got it going so thats the important part! Thanks a lot for the feedback everyone.
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