Jump to content

Modbus and serial printer

Recommended Posts

  Hi have a Jazz application where I was hoping to use a MJ20-RS4 with 1 output driving a couple of scales via modbus/RS485 and the 2nd output to drive a serial printer via RS232. Both outputs appear to work fine if I use them separately however every time I poll the scales via modbus I appear to also be sending a character or character group to the printer which is being interpreted as an = . After 80 characters (I think) hit the printer it prints a line of ='s. I only need to print out about 10 lines of text from the printer over a half hour batch whereas the modbus is updating at a few Hz. I can't think of a solution to isolating the 2 ports communications from each other. If necessary I could fiddle with baud rates when I need to swap between devices but that may generate an issue with weird characters being interpreted by the printer. I can't appear to clear the printers cache as it requires an ascii control c code to be sent and it doesn't look like I can put that into a SMS message.

  Any ideas on how I can stop the extraneous ='s would be great.


Thanks in advance.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...