Is it normal DIO event not fired when the signal has set not by the system but by PDSDK?
By the result of many test I`ve done so far, it seems that DIO Changed event is not fired when I(the program that uses PCSDK) changed the signal.
What I have done for test so far...
1. Create a handler for listening DIO using PDSDK. (wrote some code to leave logs whenever the handler is called)
2. Get DIO Signal objects(instances) from Virtual Controller.
3. Change state of the signals.
4. Check the log I wrote the code in step 1 <== handler never be fired
5. Change the signal using by the signal controller on Robot Studio.
6. Check the log I wrote the code in step 1 <== logs have been written as I expected.
No DIO event need to be fired when I change the signal because I know the signal has changed, but I want to know my understand is correct or not.
Any help will be appreciated.
Thank you.
What I have done for test so far...
1. Create a handler for listening DIO using PDSDK. (wrote some code to leave logs whenever the handler is called)
2. Get DIO Signal objects(instances) from Virtual Controller.
3. Change state of the signals.
4. Check the log I wrote the code in step 1 <== handler never be fired
5. Change the signal using by the signal controller on Robot Studio.
6. Check the log I wrote the code in step 1 <== logs have been written as I expected.
No DIO event need to be fired when I change the signal because I know the signal has changed, but I want to know my understand is correct or not.
Any help will be appreciated.
Thank you.
Tagged:
0
Best Answer
-
Kunouk_Kim said:By the result of many test I`ve done so far, it seems that DIO Changed event is not fired when I(the program that uses PCSDK) changed the signal.
What I have done for test so far...
1. Create a handler for listening DIO using PDSDK. (wrote some code to leave logs whenever the handler is called)
2. Get DIO Signal objects(instances) from Virtual Controller.
3. Change state of the signals.
4. Check the log I wrote the code in step 1 <== handler never be fired
5. Change the signal using by the signal controller on Robot Studio.
6. Check the log I wrote the code in step 1 <== logs have been written as I expected.
No DIO event need to be fired when I change the signal because I know the signal has changed, but I want to know my understand is correct or not.
Any help will be appreciated.
Thank you.
Please ignore this question.
I`m sorry for these question without deep research.5
Categories
- All Categories
- 5.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings