Sign in to follow this  
Followers 0
netdomain

RXDU (255) Serial Port Receive Function Help!

3 posts in this topic

Hello all, I am using a RXDU Function on CJ2M Processor. If I understood the manual correctly, I can only receive upto 256 bytes of data with this function. Here's my problem. I have a barcode scanner attached to the plc, which sends around 350 bytes of data. How can I receive all that without loosing any of the data? When the trigger on barcode is activated, it sends all that 350 bytes of data to the plc port 1. Can I receive data in parts? Lets say 200 bytes in first attempt and then another 150 bytes again? Any help? Thankyou very much!

Share this post


Link to post
Share on other sites
You will need to learn protocol macro. This will allow you to recieve a 1000 bytes of data max. I think you need a SCU21 card as i am unsure if the build in RS232 port can use protocol macro. (RS232 port can receive with the simpler RXD command)

Share this post


Link to post
Share on other sites
Definately need an SCU21 or 31 - the built in port is restrictive.

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