PakpoomW

QJ71C24N Reception and Framing Error

5 posts in this topic

Hi All, I connected the controller CS351 to QJ71C24N Module, RS232 setting with non protocol, and got the reading with reception and framing error.

Could some one help on the data seem floating in data memory? 

 

CS351 Data.jpg

Circuit Trace Data.jpg

QJ71C24N_Reading Data.mp4

Edited by PakpoomW

Share this post


Link to post
Share on other sites

An RS-232 framing error indicates that the sender is not using the same bits/parity/stop bits as the receiver.

Share this post


Link to post
Share on other sites

Thanks  Mr. Sparky,

Actually I have set the same bits/parity/stop bits of receiver as same the sender already, as attached below, 

QJ71C24N-R2-Setting.jpg.67e2177e13dae414

And also sender setting as attached below,6311fa14f3dd3_SerialPortSetting.thumb.jp

 

From the circuit trace data shown the framing error on space bar between ASCII Texts

6311fab18bb7c_CircuitTraceData.thumb.jpg

Text File Data 

6311fac860437_TextData.thumb.jpg.b513f4f

PLC Status shown the error code 7F68.

ErrorCode7F68.jpg.0c7b6e3327410649901038

Trouble shooting is

Error7F68.thumb.jpg.aa211da55dfa0668d7c1

I don't know how to solve this issue, we also tried by BAR code scanner every thing fine no error coming.

I amnot sure the space bar between string (ASCII TEXT ) will be the root cause of this error. Is possible PLC don't know space in between letters?

Please advise, Thanks you

Share this post


Link to post
Share on other sites

In your top screenshot, parity bit is "None", so the "Even/Odd" is ignored.

Share this post


Link to post
Share on other sites

Yes All done , thanks so much for your help :-2 just missing the parity bit to set exist haha:-D.

ParityExist.jpg.7ff93829edf80e9440ce31b1

Data shown stable in below,

DataMemory.thumb.jpg.f698c0967ebafe5af17

 

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