This manual lists all the functions and function blocks that can be used in the programming of our systems. For those who need to consult the Off-line manual it is possible to download a mirror site with the complete manual.
1. Data type definitions
- TASK_ID, definition of execution task
- VR_TYPE, definition of variables type
- VAR_CHECK, variable value check mode definition
- DI_MODE, definition of digital input acquisition mode
- DO_MODE, definition of digital output management mode
- AI_MODE, definition of analogue input acquisition mode
- AO_MODE, definition of analogue output management mode
- DTR_MODE, definition of DTR management mode
- SWAP_MODESwap mode definition
- FSEEK_ORIGIN, definition of research origin
- SPY_MODE, definition of espionage mode
- FIND_MODE, search execution mode definitions
- CAN_SPEED, CAN bit rate definitions
- SYS_ID, definition of system ID
- PHR_INFOS_ID, ID information peripheral modules
- DAYLIGHT_ZONE, definition of sunlight areas
- CHECK_TYPE, frame control type definition
- TLS_MODE, TLS communication mode definition
- TLS_CERT_VERIFY, TLS certification definition
- TLS_CHIPER_SUITEcipher suite definition
- SNMP_VERSION, SNMP protocol version definition
- SNMP_PDU, SNMP PDU type definition
- SNMP_VT, SNMP variable type definition
- SNMP_ERROR, SNMP protocol error definition
- MODEM_TYPE, modem type definition
- OW_ITYPE, One-Wire interface type
- OW_BSTATUS, One-Wire bus status
- HTTP_REQUEST, HTTP request definition
- CO_NMT_STSCANOpen node management status
- MODBUS_PROTOCOL, Modbus protocol type definition
- YOTTA_A1_MDEFS, Yottacontrol modules definition
- MILESIGHT_DWID, Milesight variables in downlink
- FILEMDUMP_MODE, FileMemoryDump operation mode
2. Data structure definitions
- SYSSERIALMODE, serial port communication mode
- SYSCANMESSAGE, CAN message
- LDATETIMESTRUCT, long Date / Time struct
- ACMODBUS_DATA, Array command Modbus data
- TCPDEXCHNODEDEFS, structure definition of node parameters
- CO_ABORT, CANopen abort data
- MQTT_TS_DATA, MQTT topic subscribe data structure
3. Programming support
- Definition of system values
- Void pointer management
- eToPVoid, cast value to a PVOID pointer
- VarVCheck, variable value check
- ArrayVarTxfer, arrays to variable transfer
- MemCompare, compares memory buffers
4. Standard functions and FBs
- F_TRIG, falling edge trigger
- R_TRIG, raising edge trigger
- RS, Reset / Set flip flop
- SR, Set / Reset flip flop
- TON, timer On
- TOF, Off timer
- TP, pulse timer
- CTD, counter Down
- CTU, counter Up
- CTUD, counter Up / Down
5. Data conversion
- VBitTest, variable bit test
- VBitSet, variable bit set
- BitToByte, bit to byte conversion
- ByteToBit, byte to bit conversion
- ByteToWord, byte to word conversion
- WordToByte, word to byte conversion
- DoubleToWord, double to word conversion
- WordToDouble, word to double conversion
- VarSwap, swap variable value
- DWSplitBitToVar, DWMergeVarToBit, divide and concatenate variable 32 bits
6. Mathematical library
- Mathematical operations
- Trigonometric operations
- Management of numbers in 16 bit floating format
- SunRiseSet, sunrise and sunset calculator
- SHA1 Encryption, encrypt data with SHA1 algorithm
- SHA256 Encryption, encrypt data with SHA256 algorithm
- Base64Encode, Base64 encoding
- Base64Decode,Base64 decoding
7. System management
- Time management operators
- SysTimeGetMs, returns system time in mS
- SysTimeGetUs, returns system time in US
- SysTimeGetNs, returns system time in nS
- SysGetEndianness, get the system endianness
- SysGetRandom, get random number
- SysPCodeVerify, check the protection code
- SysSetTaskLpTime, set task loop time
- SysOSIDValue, get or set an operating system variable
- SysGetLastError, get last error
- SysGetCheck, gets the check
- SysMAlloc, memory allocation
- SysWrSpyData, system write spy data
- SysRMAlloc, SysRMGetSize, SysRMFree, relocatable memory management functions
8. Date / Time Management
- Date / Time management operators
- IsLeapYear, is leap year
- DayOfYearGet, returns the day of year
- SysDateGetS, get the system date on second
- SysDateGetNs, get the system date on nanoseconds
- SysDateSetS, set the system date on second
- Datetimeformat, format the Date / Time
- SysDateLocalize, locate date and time
- DateTimeToJDay, converts Date / Time to Julian day
- JDayToDateTime, converts Julian day to Date / Time
9. String management
- String management functions
- Sysstrlen, string length
- Sysmemset, memory set
- Sysmemmove, memory move
- Systolower, converts a given letter to lowercase
- Systoupper, converts a given letter to uppercase
- SysStrFind, string find
- SysMemFind, memory find
- SysVsnprintf, variable print to string
- SysCVsnprintf, concat string with variable print
- SysVarsscanf, extracts values from string
10. I / O terminal management (Streams)
- SysFfopen, open file
- Sysfclose, file close
- SysFIsOpen, get the file open status
- SysFGetIBfSize, get file Rx input buffer size
- SysFGetIChars, get input available characters from file
- SysFIBfClear, file input buffer clear
- Sysfgetc, get character from file
- Sysfread, read data from file
- SysFGetOBfSize, get file Tx output buffer size
- SysFGetOSpace, get output available space on file
- SysFOBfClear, file output buffer clear
- Sysfputc, put character to file
- Sysfwrite, write data to file
- SysVfprintf, variable print to file
- SysFOBfFlush, file output buffer flush
11. File system management
- Sysfseek, file seek
- SysGetFileLenfile length
- SysFileRename, rename file
- SysFileRemove, file remove
- SysGetFileInfos, get file infos
- FSFileCopy, file system copy file
12. Communication Streams
- SysSerialPort, manage serial port
- SysTCPServer, accepts TCP / IP connections
- SysTCPClient, opens a TCP / IP connection
- SysUDPServer, accepts UDP connections
- SysUDPClient, opens at UDP connection
- SysGetSerialCTS, get serial CTS signal status
- SysSetSerialDTR, set DTR signal status
- SysGetSerialMode, get serial mode
- SysSetSerialMode, set serial mode
- SysGetPeerInfos, returns peer info
13. CAN bus management
- SysCANSetMode, set the CAN controller mode
- SysIsCANRxTxAv, checks if CAN Rx or Tx is available
- SysCANRxMsg, receives a CAN message
- SysCANTxMsg, transmit a CAN message
- CANopenMaster, manages the CANopen master
- CANopenMNode, manages a CANopen master node
14. Device manager
- SysGetPhrInfos, get infos from peripheral modules
- SysGetPhrDI, get peripheral digital input
- SysSetPhrDO, set peripheral digital output
- SysGetAnInp, get analog input
- SysSetAnOut, set analog output
- SysGetCounter, get counter
- SysGetEncoder, get encoder input
- SysSetPWMOut, set PWM output
- SysPhrVRd, read variable from peripheral module
- SysPhrVWr, write variable to peripheral module
- SysI2CWrRd, writes / reads on I2C extension bus
- SysDMXMng, DMX management
- StrainGaugeAcq, strain gauge acquisition
- HMIAInOnePicoface, Manages the Picoface HMI
- HMIAInOneNetlog, manages the Netlog HMI
- HMICustomMng, manages a custom HMI
15. General utility library
- BLINK, blink command
- BlinkValue, blink out value
- OnOffCycle, on / off cycle with random times
- Step Relay with On / Off commands
- Debouncingsignal debounce
- PWMOUT, PWM output management
- Average, value average
- ValueScale, scales to value
- Hysteresis, manages hysteresis on a value
- VaPotentiometer, acquisition of potentiometer from analogue input
- lINEARIZE, linearize at non linear value
- LRamp, linear ramp
- PIDMng, PID management
- DewPointCalculator, calculates the dew point
- CLIServer, manages a command-line user interface
- CLICKlient managed a command-line user interface
- ArrayToFString, converts a value array to formatted string
- FStringToArray, extracts a value array from formatted string
- DataTransfer, transfer data between systems
- DataStreamExch, exchanges data between two I / O streams
16. Modems library
- ModemCore, modem core management
- ModemSMSReceive, receives SMS messages
- ModemSMSSend, sends a SMS message
17. One-Wire management library
- OWireCore, One-Wire interface core
- OWSearch, One-Wire search devices
- OWRdIdentifier, One-Wire read ROM identifier
- OWRdTemperature, One-Wire read temperature
18. I2C device library
- I2CBusManager, I2C Bus manager
- SHT3xAcquire, SHT3x humidity and temperature sensor
19. Modbus device library
- MModbusFrame, Master modbus frame manager
- ModbusMaster, modbus master
- ModbusSlave, modbus slave
- Modbus Gatewaymodbus protocol gateway
- EastronSDM120, Eastron SDM120 energy meter
- EastronSDM630, Eastron SDM630 energy meter
- SensitSTHC102, Sensit STHC 102 thermometer acquisition
- MBTHLThermostat, Setecna MB-THL Thermostat
- InvtGD20EU, INVT GD20-EU inverter manager
- YottaA1MMng, Yottacontrol remote I/O modules
20. Management of NMEA sentences
- NMEASInterface, NMEA sentence interface
- NMEARMCSentence, Recommended Minimum sentences
- NMEAGLLSentence, Geographic Position sentence
21. Data historicization management
- StringToLogFile, save string in a log file
- FileMemoryDump, dump memory on file
- FIFOFile, manages FIFO registry on file
22. Networking management
- SysPing, execute a ping
- SNTPRequest, sends a SNTP request
- DNSRequest, sends a DNS request
- EMailSend, sends an email
- FTPClient, connects to a FTP server
23. MQTT protocol library
- MQTTClient, client for a MQTT server
- MQTTCBeebotte, Beebotte MQTT client
- MLSGateway, Milesight LoRaWAN gateway manager
- MLSDevice, Milesight devices data decoding
24. HTTP communication library
- HTTPClient, HTTP client
- RESTClient, connected to REST web service
- HTTPServer, HTTP server management
- SysTLSClient, TLS client manager
- Telegram, manages Telegram messenger through web APIs
- JSONE encoder, encodes a JSON message
- JSONDecoder, decodes a JSON object
25. Data exchange library between systems
- TCPDataExchServer, TCP data exchange (Server)
- TCPDataExchClient, TCP data exchange (Client)
26. SNMP protocol management library
- SNMPManager, sends a SNMP message
- SNMPAgent, managed the SNMP Agent
27. Identification and Authentication
- WiegandDcd, decodes the Wiegand code
- RFiDMWD7xSetUp, Netronix MW-D7x RFiD reader set up
- RFiDMWD7xTAGRd, Netronix MW-D7x RFiD TAG read
28. AES encryption library
- AES Encryption, AES data encryption
- AES Decryption, AES data decryption
29. Vending bookshop
- ccTalkProtocol, ccTalk protocol management
30. Motion library
- IOEncoder, incremental encoder over I / O
- EncoderPulses, pulse calculation from encoder
- MotorPositioning, engine positioning management
31. Cloud Service Management Library
32. Tips and tricks
- Access the system from Modbus
- Access bit variables
- Backup & restore PLC program
- Automatic FOTA update of systems
- Expand a DWORD variable in 32 BOOL variables
- Manage LCD display connected to the expansion bus
- Serial string reception and decoding
- ROUND function, truncate digits of a floating
33. LogicLab environment
- LogicLab transition from XTarget to XUnified
- LogicLab project migration on version 5.22.x.xx
- How to use Functions (F) and Function Blocks (FB)
- Documentation not found
34. Appendices
- How to use the examples
- Use connected FB with waterfall model
- Process I / O image
- Placeholders of the printf format
- Format string of the scanf function
- Function and function block protection
- How to use the espionage console
- PLC programming best practices
- “ELLabDTimeAdjLib” library deprecated Date / Time objects
- Library "eLLabObsoleteLib" obsolete objects
- Error list
- Exceptions of execution