SenseHat.Operational (PROP) ¶ PROPERTY Operational : BOOL This property has to return TRUE , when the device is configured and running
ISncDevDesc.FSpsMasterIdx (PROP) ¶ PROPERTY FSpsMasterIdx : UINT Property of type ‘UINT’ to get the master index of the F-SPS
fmod (FUN) ¶ FUNCTION fmod : LREAL This function returns the value x modulo m . It is defined as fmod(x,m) = x - floor(x/m)*m, except for m = 0. fmod has the following properties: m != 0 => x = floor(x/m)*m + fmod(x,m), m > 0 => 0 <= fmod(x,m) < m, m < 0 => 0 >= fmod(x,m) > m. m = 0 => fmod(x,m) = 0. InOut: Scope Name Type Input lrX LREAL lrM LREAL Return fmod LREAL
ISncDevDesc.FSpsVendorID (PROP) ¶ PROPERTY FSpsVendorID : UDINT Property of type ‘UDINT’ to get the vendor ID of the F-SPS
SncDeviceDriverBase.WasInitialized (PROP) ¶ PROPERTY WasInitialized : BOOL Property of type ‘BOOL’ to get / set if the service provider has been already Initialized
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. CAA SerialCom ¶ Library Identification ¶ Placeholder: CAA SerialCom Default Resolution: CAA SerialCom, * (CAA Technical Workgroup) Namespace: COM Library Properties ¶ LinkAllContent: False Optional: False PublishSymbolsInContainer: True QualifiedOnly: True SystemLibrary: False Key: CAA SerialCom CAA Types Extern ¶ Library Identification ¶ Placeholder: CAA Types Default Resolution: CAA Types Extern, * (CAA Technical Workgroup) Namespace: CAA Library Properties ¶ LinkAllContent: False Optional: False PublishSymbolsInContainer: True QualifiedOnly: True SystemLibrary: False Key: CAA Types
SncDeviceDriverBase.WriteScanReply (METH) ¶ METHOD PROTECTED WriteScanReply : ERROR Method to write the reply of the field bus specific scan result InOut: Scope Name Type Comment Input hWriter RTS_IEC_HANDLE writer for the reply bAlive BOOL flag if F-SPS is still alive eError ERROR SNC ERROR Return WriteScanReply ERROR
DEVDRV_ETC (GVL) ¶ Global constants for the EtherCAT device driver for reading config parameters from the device description Attributes: qualified_only InOut: Scope Name Type Initial Comment Constant VoE_COMMBUFFERSIZE_ID UDINT 16#88000000 size of the comm buffer of the EtherCAT mailbox VoE_TIMEOUT_ID UDINT 16#88000001 timeout of the EtherCAT mailbox BLOCK_TIMEOUT_MULTIPLIER_ID UDINT 16#88000002 multiplier to get a block timeout on base of the above timeout MSG_TIMEOUT_ID UDINT 16#88000003 message timeout for a complete reply
SncEtherCATDriver (FB) ¶ FUNCTION_BLOCK FINAL SncEtherCATDriver EXTENDS SncDeviceDriverBase IMPLEMENTS IBusSpecificDataHandler Function block for an EtherCAT device driver to handle the SNC services addressed to its connected F-SPS extends ‘SncDeviceDriverBase’ and implements the interface ‘IDeviceSpecificDataHandler’ represents one connected EtherCAT F-SPS and registers it to the SncServiceProvider scans for this specific F-SPS and synchronizes its communication buffer size with the one from the Std-SPS handles the service requests coming from the SNC service handler with the help of the EtherCAT bus handler Properties: BlockTimeoutMs BlockTimeoutMultiplier CommBufferSize CommTimeout FSpsBusID MsgTimeoutMs ScanTimeoutMs FSpsDeviceAddress , inherited from SncDeviceDriverBase SyncdWriterSize , inherited from SncDeviceDriverBase WasInitialized , inherited from SncDeviceDriverBase Methods: InitDeviceSpecificFSps ScanDeviceSpecificFSps InitOnDownload , inherited from SncDeviceDriverBase Initialize , inherited from SncDeviceDriverBase TransmitDeviceSpecificData , inherited from SncDeviceDriverBase WriteScanReply , inherited from SncDeviceDriverBase Structure: BlockTimeoutMs (Property) BlockTimeoutMultiplier (Property) CommBufferSize (Property) CommTimeout (Property) FSpsBusID (Property) InitDeviceSpecificFSps (Method) MsgTimeoutMs (Property) ScanDeviceSpecificFSps (Method) ScanTimeoutMs (Property)
SncEtherCATDriver.BlockTimeoutMs (PROP) ¶ PROPERTY BlockTimeoutMs : UDINT Property of type ‘UDINT’ to get the block timeout in ms of the underlying block driver The block timeout is used while sending a data block