Switch Alarm
Posted: Wed Feb 27, 2019 5:07 pm
Greetings,
I am using the KFlop to run our automated factory equipment. I would like to use a hardware switch connected to the KFlop to signal to communicate with an application running on the PC. An example would be, we are making a dashboard for the engineering team to watch status of all the equipment. When an operator turns the switch I need some way to detect that in order to notify the dashboard.
The only way I am aware of to communicate from the KFlop to the PC is by writing a text file. Is there any other way? Can the KFlop start an executable on the PC? Could it write to a SQL server? I know an M code under "execute PC" will do something similar. Can I do the same thing from a C program running on the KFlop?
Thanks,
Scott
I am using the KFlop to run our automated factory equipment. I would like to use a hardware switch connected to the KFlop to signal to communicate with an application running on the PC. An example would be, we are making a dashboard for the engineering team to watch status of all the equipment. When an operator turns the switch I need some way to detect that in order to notify the dashboard.
The only way I am aware of to communicate from the KFlop to the PC is by writing a text file. Is there any other way? Can the KFlop start an executable on the PC? Could it write to a SQL server? I know an M code under "execute PC" will do something similar. Can I do the same thing from a C program running on the KFlop?
Thanks,
Scott