Subroutines with invalid characters (such as a period or an ampersand) in a subroutine name, cause an Undefined command error when the strategy is downloaded to a controller.
The OptoControl compiler allows invalid characters in subroutine names.
To correct the problem, rename the subroutines using valid characters.
These 2 subroutines need to be renamed.
←This name has a period (.)
←This name has an ampersand (&)
To rename them, open the subroutine in OptoControl and select File→Save As. Save the subroutine using a valid name. In our example, the subroutines can be saved as:
Note: The invalid character is replaced with an underscore (_). A suffix such as "_z" is also added in case an item is named the same in OptoScript.
After saving the new subroutine names, they need to be added to the strategy. Use Edit→Replace to replace all instances of the old name with the new name. After the new subroutines are added, remove the old subroutines from the strategy.
The strategy can now be downloaded to the controller.
Opto 22 is aware of this issue.