Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
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.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings
