Fix decode connected x robotservice
This commit is contained in:
@@ -88,7 +88,11 @@ namespace IOB_WIN_NEXT
|
||||
// bit 0 (poweron) imposto a 1 SE connected...
|
||||
if (currPLC.IsConnected)
|
||||
{
|
||||
byteSignals += (1 << 0);
|
||||
byteSignals |= (1 << 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
byteSignals &= ~(1 << 0);
|
||||
}
|
||||
|
||||
// salvo!
|
||||
|
||||
Reference in New Issue
Block a user