J
I am new to the PLC world. I want to understand how can I control a PLC via RS232 to allow or disallow a particular input to have any effect on the output.
I am new to the PLC world. I am working on Omron CP1E-N40DR-A. With 24 inputs and 16 outputs. I have a slightly bigger project at hand but to get hold of the PLC working, I want to demonstrate this basic model.
1. An on-off switch at the input side
2. A 0.5 watt LED bulb on the output side
3. A computer (MacOS) connected to PLC via usb-RS232 using hostlink protocol.
A software program on computer should be able to control whether the on-off switch will work or not. If the program says <b>ALLOW</b> then the switch-on should light the bulb. If the computer program says <b>DISALLOW</b> then the switch-on should have no effect.
I am completely new to the PLC world. I have read about hostlink etc. But I am unaware about,
1. How the wiring will be done
2. What program/script to write on computer. I am very well versed with programming languages - C/Java/Python etc.
Any guidance in the above project will be a great help.
Thanks
Pankaj Jangid
I am new to the PLC world. I am working on Omron CP1E-N40DR-A. With 24 inputs and 16 outputs. I have a slightly bigger project at hand but to get hold of the PLC working, I want to demonstrate this basic model.
1. An on-off switch at the input side
2. A 0.5 watt LED bulb on the output side
3. A computer (MacOS) connected to PLC via usb-RS232 using hostlink protocol.
A software program on computer should be able to control whether the on-off switch will work or not. If the program says <b>ALLOW</b> then the switch-on should light the bulb. If the computer program says <b>DISALLOW</b> then the switch-on should have no effect.
I am completely new to the PLC world. I have read about hostlink etc. But I am unaware about,
1. How the wiring will be done
2. What program/script to write on computer. I am very well versed with programming languages - C/Java/Python etc.
Any guidance in the above project will be a great help.
Thanks
Pankaj Jangid