Is it normal DIO event not fired when the signal has set not by the system but by PDSDK?
Options
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.4K RobotStudio
- 385 UpFeed
- 15 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 285 IRC5
- 47 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 748 RAPID Programming
- 15 Wizard Easy Programming
- 110 Collaborative Robots
- 3 Job listings