FUXA
FUXA copied to clipboard
[BUG] Writing with scale script
Describe the bug First of all, all cred to this nice scada software, i like it!
The function to have scale script is a verry nice thing, a must have when working with time schedules.
Read with scale script works fine but when i try to write with scale script i got : ERR setValue script error, returned buffer invalid must be mod 2
mode 2 is what i can understand execute i server, that setting is set
To Reproduce Steps to reproduce the behavior:
- fire up a modbus sim (open ModSim) change to 16bit integer in menu, connect
- create a simple write script
- connect to sim
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Environment
- FUXA version: Version 1.2.0-1815
- Node.js version: 18
- npm version:
- Platform/OS: windows 10
- Browser: firefox