Jump to content
Sign in to follow this  
colinovsky

V570 + PRT62MF-G PCOM communication

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...