Tom749 Posted October 8, 2012 Report Posted October 8, 2012 I have a CPU 317-2 DP and CP 341 module that is for communicate with a barcode scanner by RS-232 port. I have some question as follows. (1) How can I use the FC5,FC6 / FB7,FB8 in the ladder Program for the communication? (If there are some example for that, Send me for a reference.) (2) In the indicator lamp on the CP 341 module the SF Lamp is always on as RED color. What is the error status for that? Thanks for your help in advance. Quote
TienN Posted November 7, 2012 Report Posted November 7, 2012 (1) First you must specify the protocol of barcode scanner. + Baudrate + Stop bits + Parity then config the CP341 in the hardware config You can use the FC5,FC6 / FB7,FB8 in the example program to accomplish your task. (2) To see the error, go to Hardware config, use online mode, double click CP341 module. Then you can see the diagnostic messages. Hope this help, Tien Quote
Recommended Posts
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.