[r819]: / trunk / mqttsparkplug / mqttsparkplug / SparkplugB / Function Blocks / FB_Device / FB_Device_1 / FB_Init / svnobj  Maximize  Restore  History

Download this file

11 lines (10 with data), 3.9 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
Diag();
//FB_Init is always available implicitly and it is used primarily for initialization.
//methods explicitly and provide additional code there with the standard initialization
//code. You can evaluate the return value.
{attribute 'hide'}
METHOD FB_Init : BOOL
VAR_INPUT
    bInCopyCode  : BOOL; // TRUE: the instance will be copied to the copy code afterward (online change)   
END_VAR
VAR