[r852]: / trunk / mqttsparkplug / mqttsparkplug / SparkplugB / Function Blocks / FB_Device / FB_Device_1 / IsPluggedIntoEoN / svnobj  Maximize  Restore  History

Download this file

7 lines (6 with data), 3.7 kB

1
2
3
4
5
6
IsPluggedIntoEoN := FALSE;
    // we were allready connected, so we deregister that connection
    IF ItfPrevEoN <> 0 THEN
        ItfPrevEoN.DeregisterDevice( itfDevice := THIS^ );
        ItfPrevEoN := 0;
    END_IF