1.4.3.4 PAL_PLC_Deinitialize Function

C

void PAL_PLC_Deinitialize(SYS_MODULE_OBJ object);

Summary

De-initializes the specified instance of the PLC PAL module.

Description

This function de-initializes the specified instance of the PLC PAL module, disabling its operation and invalidates all of the internal data.

Precondition

Function PAL_PLC_Initialize must have been called before calling this routine and a valid SYS_MODULE_OBJ must have been returned.

Parameters

ParamDescription
objectPLC PAL module object handle, returned by PAL_PLC_Initialize.

Returns

None.

Example

// This code example shows how the PLC PAL can be deinitialized. 
// It is assumed the PLC PAL module was already initialized.

SYS_MODULE_OBJ palPlcobj;

PAL_PLC_Deinitialize(palPlcobj);