Yesterday, 07:42
The recommended way is to use profiles instead of scripts: https://forum.logicmachine.net/showthread.php?tid=5911
Each value for writemultipleregisters is passed as a separate argument, not a table:
You can write to both registers with one call:
Each value for writemultipleregisters is passed as a separate argument, not a table:
Code:
mb:writemultipleregisters(32, 1)
mb:writemultipleregisters(33, 1)
You can write to both registers with one call:
Code:
mb:writeregisters(32, 1, 1)