SML_TelegramWriter_ETC.IsActive (METH) ¶ METHOD IsActive : BOOL InOut: Scope Name Type Return IsActive BOOL
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 10.03.2023, 14:13:39 companyName string 3S-Smart Software Solutions GmbH libraryFile SML_Drive_ETC.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile SML_Drive_ETC.clean.json version version 2.0.0.0 ProjectInformation Released bool True ShowSmartCodingInfo True LastModificationDateTime date 10.03.2023, 14:13:39 LibraryCategories library-category-list Intern|SoftMotion Author string 3S - Smart Software Solutions GmbH Company 3S - Smart Software Solutions GmbH CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 DefaultNamespace SML_Drive_ETC Description See: Description Placeholder SML_Drive_ETC Project SML_Drive_ETC Title SML_Drive_ETC Version version 4.14.0.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. IoStandard ¶ Library Identification ¶ Placeholder: IoStandard Default Resolution: IoStandard, * (System) Namespace: IoStandard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoStandard SM3_Shared ¶ Library Identification ¶ Placeholder: SM3_Shared Default Resolution: SM3_Shared, * (3S - Smart Software Solutions GmbH) Namespace: SM0 Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: SM3_Shared SML_Basic ¶ Library Identification ¶ Placeholder: SML_Basic Default Resolution: SML_Basic, * (3S - Smart Software Solutions GmbH) Namespace: SML Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SML_Basic SML_ETC_ITF ¶ Library Identification ¶ Placeholder: SML_ETC_ITF Default Resolution: SML_ETC_ITF, * (3S - Smart Software Solutions GmbH) Namespace: SML_ETC_ITF Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SML_ETC_ITF Standard ¶ Library Identification ¶ Placeholder: Standard Default Resolution: Standard, * (System) Namespace: Standard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Standard SysMem23 ¶ Library Identification ¶ Placeholder: SysMem Default Resolution: SysMem23, * (System) Namespace: SysMem Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: SysMem
SML_ETC_ITF Library Documentation ¶ Company : CODESYS Title : SML_ETC_ITF Version : 4.16.0.0 Categories : Intern|SoftMotion Namespace : SML_ETC_ITF Author : CODESYS Development GmbH Placeholder : SML_ETC_ITF Description [ 1 ] ¶ SoftMotionLight base interface driver for EtherCAT fieldbus stacks Contents: ¶ SMCL_ETC_ITF CoE SML_ETC_PROTOCOL (Enum) SML_ETC_STATE (Enum) SML_ETC_Slave (FunctionBlock) Indices and tables ¶ [ 1 ] Based on SML_ETC_ITF.library, last modified 13.12.2023, 09:28:04. LibDoc 4.4.0.0-b.37 The content file SML_ETC_ITF.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 13.12.2023, 09:28:11.
SMCL_ETC_ITF ¶ CoE SML_ETC_CO_ERROR (Enum) SML_ETC_CO_MODE (Enum) SML_ETC_CO_SdoRead (FunctionBlock) SML_ETC_CO_SdoRead4 (FunctionBlock) SML_ETC_CO_SdoWrite (FunctionBlock) SML_ETC_CO_SdoWrite4 (FunctionBlock) SML_ETC_PROTOCOL (Enum) SML_ETC_STATE (Enum) SML_ETC_Slave (FunctionBlock) AddSDOConfig (Method) CanAddSDOs (Property) ConfigFinished (Property) MasterNumber (Property) OutOfSync (Property) Protocol (Property) ReinitAxis (Method) SetReferences (Method) State (Property) TimeoutForBootup (Property) WaitForDC (Method)
CoE ¶ SML_ETC_CO_ERROR (Enum) SML_ETC_CO_MODE (Enum) SML_ETC_CO_SdoRead (FunctionBlock) SML_ETC_CO_SdoRead4 (FunctionBlock) SML_ETC_CO_SdoWrite (FunctionBlock) SML_ETC_CO_SdoWrite4 (FunctionBlock)
SML_ETC_CO_ERROR (ENUM) ¶ TYPE SML_ETC_CO_ERROR : InOut: Name Initial SML_ETC_CO_NO_ERROR 0 SML_ETC_CO_FIRST_ERROR 1 SML_ETC_CO_OTHER_ERROR ETC_CO_FIRST_ERROR + 16#1 SML_ETC_CO_DATA_OVERFLOW ETC_CO_FIRST_ERROR + 16#2 SML_ETC_CO_TIMEOUT ETC_CO_FIRST_ERROR + 16#3 SML_ETC_CO_FIRST_MF ETC_CO_FIRST_ERROR + 16#20 SML_ETC_CO_LAST_ERROR ETC_CO_FIRST_ERROR + 16#FF
SML_ETC_CO_MODE (ENUM) ¶ TYPE SML_ETC_CO_MODE : InOut: Name SML_ETC_CO_AUTO SML_ETC_CO_EXPEDITED SML_ETC_CO_SEGMENTED
02 Device Drivers and Bus Datahandlers ¶ This folder provides the function blocks to handle SNC service data over various bus driver types (EtherCAT, SharedMemory) and contains further function blocks of the corresponding F-SPS device drivers. Bushandler EtherCAT DEVDRV_ETC (GVL) SncEtherCATDriver (FunctionBlock) BlockTimeoutMs (Property) BlockTimeoutMultiplier (Property) CommBufferSize (Property) CommTimeout (Property) FSpsBusID (Property) InitDeviceSpecificFSps (Method) MsgTimeoutMs (Property) ScanDeviceSpecificFSps (Method) ScanTimeoutMs (Property) Single FSps SncSingleDevDriver (FunctionBlock) BlockTimeoutMs (Property) CommBufferSize (Property) FSpsBusID (Property) InitDeviceSpecificFSps (Method) MsgTimeoutMs (Property) ScanDeviceSpecificFSps (Method)
SenseHat (FB) ¶ FUNCTION_BLOCK SenseHat EXTENDS i2c This Function Block is instanciated along with the Sense Hat device of the raspberry PI. It’s inputs and outputs allow to easily access the sensors, inputs and LED outputs of the Sense Hat Device. InOut: Scope Name Type Initial Comment Inherited from Input usiAddress USINT i2c adwPixel ARRAY [0..63] OF DWORD Pixel array for LED-Output of Sensehat (0..7 Row 1, 8..17 Row 2, etc.). Use 32Bit ARGB color coding to set the color of each pixel. xUpdatePixel BOOL TRUE Update Pixel Output: default TRUE xUpdateJoystick BOOL TRUE Update Joystick Input: default TRUE xUpdateLSM9DS1 BOOL TRUE Update LSM9DS1 Input: default TRUE xUpdateAccelerometer BOOL TRUE xUpdateGyroscope BOOL TRUE xUpdateMagnetometer BOOL TRUE xUpdateHTS221 BOOL TRUE Update HTS221 Input: default TRUE xUpdateLPS25H BOOL TRUE Update LPS25H Input: default TRUE Output xJoystickUp BOOL FALSE Joystick input interpretated in senses of the given booleans xJoystickDown BOOL FALSE xJoystickLeft BOOL FALSE xJoystickRight BOOL FALSE xJoystickEnter BOOL FALSE rTemperatureHTS221 REAL Temperature of HTS221 in degree celcius (°C). rHumidity REAL Humidity of HTS221 in percent of 100 (%). rTemperatureLPS25H REAL Temperature of LPS25H in degree celcius (°C). lrPressure LREAL Pressure of LPS25H in hecto pascal (hPA). rGyroX REAL Gyroscope X direction data of LSM9DS1 (dps - degree per second) rGyroY REAL Gyroscope Y direction data of LSM9DS1 (dps - degree per second) rGyroZ REAL Gyroscope Z direction data of LSM9DS1 (dps - degree per second) lrGyroYIntegral LREAL integral of Gyroscope X direction data of LSM9DS1 [°] lrGyroXIntegral LREAL integral of Gyroscope Y direction data of LSM9DS1 [°] lrGyroZIntegral LREAL integral of Gyroscope Z direction data of LSM9DS1 [°] aiMagRaw ARRAY [0..2] OF INT raw values of magnet, gyroscope, accelerometer aiGyrRaw ARRAY [0..2] OF INT aiAccRaw ARRAY [0..2] OF INT arGyrCalib ARRAY [0..2] OF REAL calibration data (average offset to 0 arAccCalib ARRAY [0..2] OF REAL udiAccSamples UDINT number of accelerometer samples udiGyrSamples UDINT number of gyroscope samples rAccelX REAL Acceleration X direction data of LSM9DS1 (G ~ 9,81 m/s^2) rAccelY REAL Acceleration Y direction data of LSM9DS1 (G ~ 9,81 m/s^2) rAccelZ REAL Acceleration Z direction data of LSM9DS1 (G ~ 9,81 m/s^2) lrAccelXIntegral LREAL Acceleration X direction data of LSM9DS1 [m/s] lrAccelYIntegral LREAL Acceleration Y direction data of LSM9DS1 [m/s] lrAccelZIntegral LREAL Acceleration Z direction data of LSM9DS1 [m/s] rCompX REAL Compass X direction data of LSM9DS1 (microTesla) rCompY REAL Compass Y direction data of LSM9DS1 (microTesla) rCompZ REAL Compass Z direction data of LSM9DS1 (microTesla) Properties: GyroXCalibrated GyroXIntegral GyroYCalibrated GyroYIntegral GyroZCalibrated GyroZIntegral Operational Methods: Fb_Exit GammaReset GetGamma GetRecommendedODRSetting LowLight SetGamma AfterReadInputs BeforeWriteOutputs Structure: Fb_Exit (Method) GammaReset (Method) GetGamma (Method) GetRecommendedODRSetting (Method) Gyroscope GyroXCalibrated (Property) GyroXIntegral (Property) GyroYCalibrated (Property) GyroYIntegral (Property) GyroZCalibrated (Property) GyroZIntegral (Property) LowLight (Method) SetGamma (Method) connector AfterReadInputs (Method) BeforeWriteOutputs (Method) status Operational (Property)