SncDeviceDriverBase.InitOnDownload (METH)ΒΆ
METHOD InitOnDownload : UDINT
- Method to register the initialization callback to EVT_BeforeWritingOutputs.
If this event is posted the address of the F-SPS is set correctly and the corresponding device driver can be initialized.
- InOut:
Scope
Name
Type
Comment
Return
InitOnDownload
UDINT
Input
wModuleType
UINT
module type
dwInstance
UDINT
instance of the device
pConnector
POINTER TO IoConfigConnector
pointer to the IO config connector