writeAllBits (FUN) ¶ FUNCTION writeAllBits : DINT Write all bits InOut: Scope Name Type Comment Return writeAllBits DINT 0: Success, else -1 Input uidValToWrite UDINT value to write
writeAllBitsByHandle (FUN) ¶ FUNCTION writeAllBitsByHandle : DINT Export GPIO pin InOut: Scope Name Type Comment Return writeAllBitsByHandle DINT 0: Success, else -1 Input hFile RTS_IEC_HANDLE uidValToWrite UDINT
GPIOTP600 (FB) ¶ FUNCTION_BLOCK GPIOTP600
GPIOTP600Diag (FB) ¶ FUNCTION_BLOCK GPIOTP600Diag EXTENDS GPIOTP600 IMPLEMENTS DED.IDevice2 This function block implements the diagnosis code for CAA Device Diagnosis. Properties: ChildNodeCount Connector Enable FirstChildNode Index IsRootNode NextSiblingNode ParentNode SiblingNodeCount Methods: GetDeviceInfo GetDeviceState Structure: IDevice GetDeviceInfo (Method) GetDeviceState (Method) INode ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property)
IDevice ¶ GetDeviceInfo (Method) GetDeviceState (Method)
GPIOTP600Diag.GetDeviceInfo (METH) ¶ METHOD GetDeviceInfo : DED.ERROR Returns the device information of the current node InOut: Scope Name Type Comment Return GetDeviceInfo DED.ERROR Inout deiInfo DED.DEVICE_INFO Device information struct
GPIOTP600Diag.GetDeviceState (METH) ¶ METHOD GetDeviceState : DED.DEVICE_STATE Returns the state of the device; if device state is ERROR further information can be read by GetDeviceError InOut: Scope Name Type Comment Return GetDeviceState DED.DEVICE_STATE Output xDiagnosisInfoAvailable BOOL if true, diagnosis info can be read by calling GetDeviceDiagnosisInfo eError DED.ERROR
INode ¶ ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property)
GPIOTP600Diag.ChildNodeCount (PROP) ¶ PROPERTY ChildNodeCount : CAA.COUNT Returns the number of childs below the current node
GPIOTP600Diag.Connector (PROP) ¶ PROPERTY Connector : POINTER TO IoStandard.IoConfigConnector