Jump to content
Sign in to follow this  
kratmel

Scan barcode and print lable via one RS232 on Samba

Recommended Posts

In one of my projects, I measured the length of the material using an encoder.
The customer initially wanted to print the measurement results on a thermal printer (Zebra GK420d)  locally and be able to view the status remotely over the network.
However, after buying Samba SM35-J-T20 and conducting tests, he wanted to implement reading the order number using a barcode scanner.
I could not install the optional com port because it was replaced by a network adapter.

After testing with the printer, I found that it only needed two wires GND and TX.
The barcode scanner (LS2208  RS232) also work with only  two wires GND and RX.

By configuring this two devices at the same speed, I was able to connect them simultaneously on the same com port via Protocol FB.
For the printer, I used an example posted by
Ofir from the topic
I think for the readers of the forum will be a useful link to the online label generator
This helps to create a print label quickly and efficiently with minimum PLC requirements. 

Share this post


Link to post
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.

Guest
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.

Sign in to follow this  

×
×
  • Create New...