I would like to communicate with a PLC using parallel I/Os, I have 5 inputs and 1 output, Is there any standard method or protocol for doing this ???
I have thought of a scheme, for example when the PLC sends a numeric code (say 12), the 5 Input ports are set as 01100 (here 1- High, 0- Low), the 5 th input is pulsed from low to high (this is the strobe input), the inputs are captured after application of the strobe input.
The output is toggled low to high, indicating the input has been received.
I was wondering if there were any standard methods of communication that are used in PLCs.
I have thought of a scheme, for example when the PLC sends a numeric code (say 12), the 5 Input ports are set as 01100 (here 1- High, 0- Low), the 5 th input is pulsed from low to high (this is the strobe input), the inputs are captured after application of the strobe input.
The output is toggled low to high, indicating the input has been received.
Yes there are, most PLCs have a serial communication port, often the same one used for the programming tool.
There are standard protocols, one commonly used protocol is MODBUS.