RS232 Serial block reading garbage value during PC startup

RS232 Serial block reading garbage value during PC startup

Hello,

While reading the data from scanner through RS232 serial block in zenon logic, at very first time when PC is started or restarted and zenon Runtime is started then it is reading garbage values while scan and it is continuously reading the same for all scan's.

After that if i scan in Hyperterminal or other serial port software's for one time and again if i started the zenon logic then onwards it is reading correct value's.

I request you to suggest me how to solve this issue, like port initialization or serial buffer clear etc.,

Regards,

Dhanapal.L




This is a migrated post! Originally posted on 07.12.2017 by user Dhanapal. Please be aware that information can be outdated.