Hi,
I'm not new to programming PLC's but I have never done anything with serial communication from a PC to a PLC. I have a project I'm working on that I need to have a PC and a Keyence KV-24AR PLC communicate. I am writing a program in Visual Basic for the PC. There are 2 things that I need to do. I need to check the status of a contact (Open or Closed) with Visual Basic. I also need to be able to force the contact open or closed with Visual Basic. Does anybody know were I can find a sample of Visual Basic code that is being used to communicate with a Keyence PLC or even know how to do what I'm asking? I know that it can be done from what I've read in the Keyence programming manual but they are not clear on how to do it.
Thanks in advance,
Rick Jones
[email protected]
I'm not new to programming PLC's but I have never done anything with serial communication from a PC to a PLC. I have a project I'm working on that I need to have a PC and a Keyence KV-24AR PLC communicate. I am writing a program in Visual Basic for the PC. There are 2 things that I need to do. I need to check the status of a contact (Open or Closed) with Visual Basic. I also need to be able to force the contact open or closed with Visual Basic. Does anybody know were I can find a sample of Visual Basic code that is being used to communicate with a Keyence PLC or even know how to do what I'm asking? I know that it can be done from what I've read in the Keyence programming manual but they are not clear on how to do it.
Thanks in advance,
Rick Jones
[email protected]