GPIO.AfterReadInputs (METH) ¶ METHOD AfterReadInputs : INT This method can be overloaded by extending FBs. It is used to read in the inputs of the device in the beginning of the cycle. Always including a call of the base implementation with super^.AfterReadInputs() In the base implementation, the body of the FB is called. InOut: Scope Name Type Return AfterReadInputs INT
GPIO.BeforeWriteOutputs (METH) ¶ METHOD BeforeWriteOutputs : INT This method can be overloaded by extending FBs. It is used to write the outputs to the device at the end of the cycle. Always including a call of the base implementation with super^.BeforeWriteOutputs() In the base implementation, the body of the FB is called. InOut: Scope Name Type Return BeforeWriteOutputs INT
GPIO.Initialize (METH) ¶ METHOD Initialize : UDINT This method can be overloaded by extending FBs. It is called once during initialization phase, before the PLC goes into “run”. Always including a call of the base implementation with super^.Initialize(wModuleType, udiInstance, pConnector) Typically, parameter values from the configuration are read here. InOut: Scope Name Type Return Initialize UDINT Input wModuleType UINT dwInstance UDINT pConnector POINTER TO IoConfigConnector
internal ¶ {attribute ‘libdoc_include’} DetermineConstants (Method) DetermineProcessorType (Method)
GPIO.DetermineConstants (METH) ¶ METHOD DetermineConstants
GPIO.DetermineProcessorType (METH) ¶ METHOD DetermineProcessorType : ProcessorType InOut: Scope Name Type Return DetermineProcessorType ProcessorType
status ¶ Operational (Property)
GPIO.Operational (PROP) ¶ PROPERTY Operational : BOOL This property has to return TRUE, when the device is configured and running
GPIOType (ENUM) ¶ TYPE GPIOType : InOut: Name Initial I 2#0 O 2#1 ALT0 2#100 ALT1 2#101 ALT2 2#110 ALT3 2#111 ALT4 2#11 ALT5 2#10
IoDrvGPIO (FB) ¶ FUNCTION_BLOCK IoDrvGPIO EXTENDS IoDrvBase IMPLEMENTS ICmpIoDrvParameter