Sign in to follow this  
Followers 0
potch

Micro 1100 to import barcode from dataman over serial

5 posts in this topic

I have a micrologix 1100 and am trying to read a string from a Cognex dataman barcode reader. My ch0 is setup as ASCII and has a baud rate of 9600 and no parity. The dataman is also setup with a baud rate of 9600 and no parity. I can clear the buffer and try to do a read, read line, or test buffer for line and it won't find anything. If I hook the dataman up to a hyperterminal I see the string. I haven't used ASCII over serial before and I'm not real sure if my termination characters are correct. For term. 1 I have /d and term. 2 I have /ff which are the defaults. In the Cognex I am sending a 8 character string and then a carriage return. Can anybody help?? Thanks

Share this post


Link to post
Share on other sites
I have been using this box from RTA. It would really well and is easy to set up. http://www.rtaautomation.com/ethernetip/435nba2/ I can't help you out with your problem but thought the info would. Marv

Share this post


Link to post
Share on other sites
Could you post the code some body will help you out

Share this post


Link to post
Share on other sites
Does anyone know what the error "OEh" is. I am getting that on my ARD instruction. And secondly does anyone know what the cure would be? Thanks

Share this post


Link to post
Share on other sites
Just FYI if anyone uses the Cognex Dataman it cannot communicate through both ports at the same time. I found my problem!! I was hooked up to the Dataman with the USB cable which wouldn't allow the plc to make a connection over rs232. I unplugged the USB and it started to work.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0