5/11/2023 7:45 AM | |
Joined: 1/17/2013 Last visit: 8/26/2025 Posts: 1116 Rating:
|
Dear SimSlide, How to use and call this scripts in project file ? ' Telegram_Update for use with S120_Interface UNIT for each obj in PROJ.TOs ' Script is used Deactivate Drive by setting p105 to zero if (obj.typename = "TOServoSL.2.5") or (obj.typename = "TOVectorSVC.2.5") then ret = MsgBox("Disable Drive p105 for " & obj.name & " Pick: ""Yes"", or ""No"" to skip",3+32+512, " this S120 Drive") If ret = 6 Then obj.Parameters(105, 0) = 0 'Deactivate Drive by setting p105 to zero END IF If ret = 2 Then ' Cancel selected WBScript.Quit End If END IF NEXT Best Regards, Vorapob ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 05/11/2023 12:12:35New subject after splitting Best Regards, |
|
Follow us on