|
@@ -572,7 +572,7 @@ void SetWalkInConfig(byte group, byte enable, byte sec)
|
|
|
SendCmdToPsu(cmd, data, sizeof(data));
|
|
|
}
|
|
|
|
|
|
-void SetDirModulePresentOutput(byte group, int voltage, int current, byte _switch)
|
|
|
+void SetDirModulePresentOutput(byte group, int voltage, int current, byte _switch, byte _interRelay)
|
|
|
{
|
|
|
byte data[8];
|
|
|
uint cmd = TEST_PRESENT_OUT; //0x180100E5
|
|
@@ -587,6 +587,8 @@ void SetDirModulePresentOutput(byte group, int voltage, int current, byte _switc
|
|
|
data[3] = current & 0xFF;
|
|
|
// ¶} / Ãö
|
|
|
data[4] = _switch;
|
|
|
+ // Internal Relay
|
|
|
+ data[5] = _interRelay;
|
|
|
|
|
|
if (group == SYSTEM_CMD)
|
|
|
cmd |= INFYPWR_BROADCAST;
|