Support for FC protocol for Danfoss-VLT2800 added - UI Part
This commit is contained in:
@@ -201,7 +201,7 @@ namespace TBF.BenchControl.Danfoss.VLT2800
|
||||
UInt16 serialComReference = (UInt16)(Int16)((float)0x4000 * powerArg / 100.0f + 0.5f);
|
||||
|
||||
byte[] msg = new byte[13];
|
||||
msg[0] = (byte)pumpCfg.ModbusAddress;
|
||||
msg[0] = (byte)pumpCfg.BusAddress;
|
||||
msg[1] = (byte)Function.ForceMultipleCoils;
|
||||
msg[2] = 0; /// Data Hi
|
||||
msg[3] = 0; /// Data Lo
|
||||
@@ -236,7 +236,7 @@ namespace TBF.BenchControl.Danfoss.VLT2800
|
||||
UInt16 serialComReference = 0;
|
||||
|
||||
byte[] msg = new byte[13];
|
||||
msg[0] = (byte)pumpCfg.ModbusAddress;
|
||||
msg[0] = (byte)pumpCfg.BusAddress;
|
||||
msg[1] = (byte)Function.ForceMultipleCoils;
|
||||
msg[2] = 0; /// Data Hi
|
||||
msg[3] = 0; /// Data Lo
|
||||
|
||||
Reference in New Issue
Block a user