colinovsky Posted December 12, 2019 Report Share Posted December 12, 2019 Hello, In info mode -> serial -> monitor I can read card numbers in ASCII but I have no idea how to get to that data on HMI. How can I get to it in ladder program? I would like to create a program that read card numbers and if card number = some exact number then it would set some memory bit to 1 for few seconds. Please help. Serial port properties are: PCOM, RS232, 9600, 8, n, 1, 9984 us, card numbers are shown on Rx. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted December 12, 2019 MVP 2022 Report Share Posted December 12, 2019 Look at the Help on the Protocol block - it allows you to create a "stream" variable which will map the contents of the serial port to a block of MI registers. You can compare these registers to another block of registers containing your "exact value" and set a bit. Joe T. Quote Link to comment Share on other sites More sharing options...
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.