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
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. CAA Types Extern ¶ Library Identification ¶ Placeholder: CAA Types Default Resolution: CAA Types Extern, * (CAA Technical Workgroup) Namespace: CAA Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA Types CmpBinTagUtilIec ¶ Library Identification ¶ Placeholder: CmpBinTagUtilIec Default Resolution: CmpBinTagUtilIec, * (System) Namespace: CmpBinTagUtilIec Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpBinTagUtilIec CmpErrors2 Interfaces ¶ Library Identification ¶ Name: CmpErrors2 Interfaces Version: newest Company: System Namespace: CmpErrors Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpErrors2 Interfaces, * (System) CmpEventMgr ¶ Library Identification ¶ Placeholder: CmpEventMgr Default Resolution: CmpEventMgr, * (System) Namespace: CmpEventMgr Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpEventMgr CmpIecTask ¶ Library Identification ¶ Placeholder: CmpIecTask Default Resolution: CmpIecTask, * (System) Namespace: CmpIecTask Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpIecTask CmpLog ¶ Library Identification ¶ Placeholder: CmpLog Default Resolution: CmpLog, * (System) Namespace: CmpLog Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpLog CmpSrv ¶ Library Identification ¶ Placeholder: CmpSrv Default Resolution: CmpSrv, * (System) Namespace: CmpSrv Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpSrv Component Manager ¶ Library Identification ¶ Placeholder: Component Manager Default Resolution: Component Manager, * (System) Namespace: Component_Manager Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Component Manager IoStandard ¶ Library Identification ¶ Placeholder: IoStandard Default Resolution: IoStandard, * (System) Namespace: IoStandard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoStandard Rts Service Handler ¶ Library Identification ¶ Placeholder: Rts Service Handler Default Resolution: Rts Service Handler, * (3S - Smart Software Solutions GmbH) Namespace: GSH Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Rts Service Handler SNCM ECAT Slave ¶ Library Identification ¶ Placeholder: SNCM_ECATSlave Default Resolution: SNCM ECAT Slave, * (3S - Smart Software Solutions GmbH) Namespace: SNCM_ETC_ITF Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SNCM_ECATSlave SNCM ECATSlave Interfaces ¶ Library Identification ¶ Name: SNCM ECATSlave Interfaces Version: newest Company: 3S - Smart Software Solutions GmbH Namespace: SNCM_ECATSLAVE_ITF Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: SNCM ECATSlave Interfaces, * (3S - Smart Software Solutions GmbH) Standard Monitoring Data Server Driver ¶ Library Identification ¶ Placeholder: Standard Default Resolution: Standard Monitoring Data Server Driver, * (System) Namespace: Standard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Standard SysMem ¶ Library Identification ¶ Placeholder: SysMem Default Resolution: SysMem, * (System) Namespace: SysMem Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysMem SysShm ¶ Library Identification ¶ Placeholder: SysShm Default Resolution: SysShm, * (System) Namespace: SysShm Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysShm SysTarget ¶ Library Identification ¶ Placeholder: SysTarget Default Resolution: SysTarget, * (System) Namespace: SysTarget Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTarget SysTask ¶ Library Identification ¶ Placeholder: SysTask Default Resolution: SysTask, * (System) Namespace: SysTask Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTask SysTime ¶ Library Identification ¶ Placeholder: SysTime Default Resolution: SysTime, * (System) Namespace: SysTime Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTime SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System)
SncDeviceDriverBase.FSpsBusID (PROP) ¶ PROPERTY FSpsBusID : FSPSBUSDRV Property of type ‘FSPSBUSDRV’ to get the unique ID for the F-SPS bus driver type
SncDeviceDriverBase.FSpsDeviceAddress (PROP) ¶ PROPERTY FSpsDeviceAddress : STRING Property of type ‘STRING’ to get the device address of the F-SPS bus in the format <busAddress>:<FSpsAddress>
SncDeviceDriverBase.InitDeviceSpecificFSps (METH) ¶ METHOD InitDeviceSpecificFSps : ERROR Method to do some specific bus initialization and its underlying components It should be implemented by derived FB InOut: Scope Name Type Return InitDeviceSpecificFSps ERROR
SncDeviceDriverBase.InitOnDownload (METH) ¶ METHOD InitOnDownload : UDINT Method to register the initialization callback to EVT_BeforeWritingOutputs. If this event is posted the address of the F-SPS is set correctly and the corresponding device driver can be initialized. InOut: Scope Name Type Comment Return InitOnDownload UDINT Input wModuleType UINT module type dwInstance UDINT instance of the device pConnector POINTER TO IoConfigConnector pointer to the IO config connector
SncDeviceDriverBase.Initialize (METH) ¶ METHOD Initialize : ERROR Method to initialize the corresponding device driver to a given F-SPS and to register it to the global service provicder. If not done yet the global service provider is initialized, too. By initializing the service provider its linked SNC service handler is registered to the RTS service handler. Error return values: ERROR.ERR_OK -> success ERROR.ERR_NO_SERVICE_PROVIDER -> the given service provider is invalid (null pointer) ERROR.ERR_START_SERVICE_PROVIDER -> the given service provider could not be started because the registering of the SNC service handler to the RTS service handler failed ERROR.ERR_DRIVER_INVALID -> this driver is invalid for registering ERROR.DRIVER_IS_ALREADY_REGISTERED -> this driver is already registered to the given service provider InOut: Scope Name Type Comment Input dwVendorID DWORD vendor ID from the device description dwFSpsAddress DWORD address from the device description wMasterIdx WORD index of first master Return Initialize ERROR
SncDeviceDriverBase.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 It should be implemented by derived FB 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 the standard SPS Return ScanDeviceSpecificFSps ERROR