Set DO default value based on variable value
Daper
✭
Hi everyone,
I have a DO that is sometimes switched during the program execution. It is used for communication with an external PLC.
At controller restart, the value of the DO is reset to its default value, specified In the system parameters topic I/O system - Signal.
I want my DO to be set to the value it was before controller shutdown, and not its default value
I was thinking about setting the DO before program restart based on a PERS variable contained in one of the program module.
Can I do something alike ? Is there any alternative ?
I have a DO that is sometimes switched during the program execution. It is used for communication with an external PLC.
At controller restart, the value of the DO is reset to its default value, specified In the system parameters topic I/O system - Signal.
I want my DO to be set to the value it was before controller shutdown, and not its default value
I was thinking about setting the DO before program restart based on a PERS variable contained in one of the program module.
Can I do something alike ? Is there any alternative ?
0
Comments
-
See section4.10 of the RW6 system parameter manual for the Type Signal Safe level, particularly:4.10.6 Action when System ShutdownParentAction when System Shutdown belongs to the type Signal SafeLevel, in the topicI/O System.Cfg nameActionWhenShutdownDescriptionSpecifies the value for a logical output signal when the robot system is shutdown.Default valueSet last valueAllowed valuesSet default valueSet last valueSet zero valueLee Justice1
-
Many Thanks @lemster68 !! It matches my expectation perfectly0
Categories
- All Categories
- 5.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 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