Digital Output Level Command SDC2130 no run

10 years 1 month ago #29528274 by edmodi
Hi, I\'m try to change the value of digital 1 and 2 output level to hight activation in my SDC2130 with the command ^DOL 1 0 and ^DOL 2 0 in the console tab and run ok but when I try to do the same in the script with setConfig(_DOL, 1, 0) and setConfig(_DOL, 2, 0) and load the controller configuration this values not change. What am I doing wrong?

Thanks

Please Log in or Create an account to join the conversation.

10 years 1 month ago #29528275 by Griffin Baker
Replied by Griffin Baker on topic Re:Digital Output Level Command SDC2130 no run
Are you actually running the script after downloading to device? There is a Run button near the top of browser where it says script (Run and stop).

To make sure, go to the run tab, and the run script status led should be red.

Then check to see if values change.

If you are loading from the controller settings, the reason why you probably aren\'t seeing the changes are because you may not be saving the data to eeprom before loading from controller settings.

Please Log in or Create an account to join the conversation.

10 years 1 month ago #29528276 by edmodi
My script only has this command, the red led is turn on for a moment. I\'m tried save to eeprrom but not run. However un the console tab the command run perfect. What can I do more?

Thanks

Please Log in or Create an account to join the conversation.

10 years 1 month ago #29528277 by Griffin Baker
Replied by Griffin Baker on topic Re:Digital Output Level Command SDC2130 no run
Try using setcommand instead of setconfig.

Please Log in or Create an account to join the conversation.

10 years 1 month ago #29528278 by Griffin Baker
Replied by Griffin Baker on topic Re:Digital Output Level Command SDC2130 no run
Sorry, use the setconfig and not the setcommand.

Try setting your digital outputs to no action and save to controller. Then try running the script again.

Please Log in or Create an account to join the conversation.

10 years 1 month ago #29528279 by edmodi
I tried and nothing happens.

Could be the firmware?. I think that not but...

Thanks for your time

Please Log in or Create an account to join the conversation.

10 years 1 month ago #29528280 by Griffin Baker
Replied by Griffin Baker on topic Re:Digital Output Level Command SDC2130 no run
I will try to replicate on my end.

Please Log in or Create an account to join the conversation.

10 years 1 month ago #29528281 by Griffin Baker
Replied by Griffin Baker on topic Re:Digital Output Level Command SDC2130 no run
It is confirmed a bug that we will look into. Meantime to invert digital output polarity, use the _Dres.

Please Log in or Create an account to join the conversation.

Time to create page: 0.066 seconds