FUXA icon indicating copy to clipboard operation
FUXA copied to clipboard

[BUG] Writing with scale script

Open timmpo opened this issue 5 months ago • 4 comments

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:

  1. fire up a modbus sim (open ModSim) change to 16bit integer in menu, connect
  2. create a simple write script
  3. connect to sim
  4. 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

timmpo avatar Sep 09 '24 17:09 timmpo