connector ¶ AfterReadInputs (Method) BeforeWriteOutputs (Method)
IBusSpecificDataHandler.ScanDeviceSpecificFSps (METH) ¶ METHOD ScanDeviceSpecificFSps : ERROR Method to check if a specific F-SPS physically exists and to synchronize the buffer size of CODESYS / Std-SPS with the F-SPS InOut: Scope Name Type Comment Input eFSpsBusId FSPSBUSDRV F-SPS bus driver ID hWriter RTS_IEC_HANDLE writer for the reply udiStdSpsBufferSize UDINT size of the communication buffer of CODESYS / the standard SPS Return ScanDeviceSpecificFSps ERROR
SenseHat.AfterReadInputs (METH) ¶ METHOD AfterReadInputs : INT InOut: Scope Name Type Return AfterReadInputs INT
IBusSpecificDataHandler.SyncdWriterSize (PROP) ¶ PROPERTY SyncdWriterSize : UDINT Property of type ‘UDINT’ to save the size of the writer buffer which is set by the standard RTS. This size is used to synchronize with the buffer size of the F-SPS because there is no writer’s interface yet to get the size
SenseHat.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
IBusSpecificDataHandler.TransmitDeviceSpecificData (METH) ¶ METHOD TransmitDeviceSpecificData : ERROR Method to transmit the content of a SNC service request to a specific F-SPS and to transform its reply as a SNC service reply InOut: Scope Name Type Comment Input eFSpsBusId FSPSBUSDRV F-SPS bus driver ID szSafetySvcDevAddr STRING device address to which the service should be directed pbySafetySvcData POINTER TO BYTE pointer to the specific safety service data udiSafetySvcDataSize UDINT size of this data hWriter RTS_IEC_HANDLE writer for the reply udiStdSpsBufferSize UDINT new synchronized size of the communication buffer of the standard SPS and the F-SPS Return TransmitDeviceSpecificData ERROR
ISncDevDesc (ITF) ¶ INTERFACE ISncDevDesc Interface for the device specific description of a F-SPS ability to get the F-SPS address as UDINT ability to get the complete device address of the F-SPS as STRING in the format <busAddr>:<FSpsAddr> ability to get the master index of the F-SPS ability to get the vendor ID of the F-SPS Properties: FSpsAddress FSpsDevAddress FSpsMasterIdx FSpsVendorID Structure: FSpsAddress (Property) FSpsDevAddress (Property) FSpsMasterIdx (Property) FSpsVendorID (Property)
status ¶ Operational (Property)
ISncDevDesc.FSpsAddress (PROP) ¶ PROPERTY FSpsAddress : UDINT Property of type ‘UDINT’ to get the F-SPS address
ISncDevDesc.FSpsDevAddress (PROP) ¶ PROPERTY FSpsDevAddress : STRING Property of type ‘STRING’ to get the complete device address of the F-SPS in the format <busAddr>:<FSpsAddr>