Socket ¶ Bind (Method) FdIsSet (Method) FdSet (Method) GetOption (Method) IoControl (Method) SetOption (Method)
UDPDriver (FB) ¶ FUNCTION_BLOCK UDPDriver UDP driver creates, maintains and closes sockets Methods: ClosePort CreatePort Select Structure: ClosePort (Method) CreatePort (Method) Select (Method)
UDPDriver.ClosePort (METH) ¶ METHOD ClosePort : SysTypes.RTS_IEC_RESULT Close the udp port InOut: Scope Name Type Comment Return ClosePort SysTypes.RTS_IEC_RESULT Input pPort POINTER TO Port Port to close Output eLogCode ErrorCode
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
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)
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>
ISncDevDesc.FSpsAddress (PROP) ¶ PROPERTY FSpsAddress : UDINT Property of type ‘UDINT’ to get the F-SPS address
ISncDevDesc.FSpsMasterIdx (PROP) ¶ PROPERTY FSpsMasterIdx : UINT Property of type ‘UINT’ to get the master index of the F-SPS
ISncDevDesc.FSpsVendorID (PROP) ¶ PROPERTY FSpsVendorID : UDINT Property of type ‘UDINT’ to get the vendor ID of the F-SPS