Questo manuale riporta l’elenco di tutte le funzioni e blocchi funzioni utilizzabili nella programmazione dei nostri sistemi. Per chi ha necessità di consultare il manuale Off-line è possibile eseguire il download di un sito mirror con il manuale completo.
1. Definizioni tipo dati
- TASK_ID, definizione task esecuzione
- VR_TYPE, definizione tipo variabili
- VAR_CHECK, definizione variable value check mode
- DI_MODE, definizione modo acquisizione ingressi digitali
- DO_MODE, definizione modo gestione uscite digitali
- AI_MODE, definizione modo acquisizione ingressi analogici
- AO_MODE, definizione modo gestione uscite analogiche
- DTR_MODE, definizione modo gestione DTR
- SWAP_MODE, Swap mode definition
- FSEEK_ORIGIN, definizione origine ricerca
- SPY_MODE, definizione modo spionaggio
- FIND_MODE, definizioni modo esecuzione ricerca
- CAN_SPEED, definizioni bit rate CAN
- SYS_ID, definizione ID di sistema
- SYS_ARCH, definizione architettura di sistema
- PHR_INFOS_ID, ID informazioni moduli periferici
- DAYLIGHT_ZONE, definizione zone luce solare
- CHECK_TYPE, definizione tipo controllo frame
- TLS_MODE, definizione modo comunicazione TLS
- TLS_CERT_VERIFY, definizione certificazione TLS
- TLS_CHIPER_SUITE, definizione suite di cifratura
- SNMP_VERSION, definizione versione protocollo SNMP
- SNMP_PDU, SNMP PDU type definition
- SNMP_VT, SNMP variable type definition
- SNMP_ERROR, definizione errori protocollo SNMP
- MODEM_TYPE, definizione tipo modem
- OW_ITYPE, One-Wire interface type
- OW_BSTATUS, One-Wire bus status
- HTTP_REQUEST, definizione richiesta HTTP
- CO_NMT_STS, CANOpen node management status
- MODBUS_PROTOCOL, definizione tipo protocollo Modbus
- YOTTA_A1_MDEFS, definizione moduli Yottacontrol
- FILEMDUMP_MODE, FileMemoryDump operation mode
- ARRAYBOOL, Definizione modo funzioni accesso array di bits
- STR_CONV, String conversion mode
2. Definizioni strutture dati
- SYSSERIALMODE, modo comunicazione porta seriale
- SYSCANMESSAGE, messaggio CAN
- LDATETIMESTRUCT, long Date/Time struct
- ACMODBUS_DATA, Array command Modbus data
- TCPDEXCHNODEDEFS, struttura definizione parametri nodo
- CO_ABORT, CANOpen abort data
- MQTT_TS_DATA, MQTT topic subscribe data structure
- NTPv4_PACKET, SNTP data packet
3. Supporto programmazione
- Definizione valori di sistema
- Gestione void pointer
- eTO_POINTER, cast value to a PVOID pointer
- eTO_JUNK, junk a function return value
- eVMove, move data using pointers
- VarVCheck, variable value check
- ArrayVarTxfer, array to variable transfer
- MemCompare, compares memory buffers
4. Funzioni ed FB standard
- F_TRIG, falling edge trigger
- R_TRIG, raising edge trigger
- RS, Reset/Set flip flop
- SR, Set/Reset flip flop
- TON, timer On
- TOF, timer Off
- TP, timer pulse
- CTD, counter Down
- CTU, counter Up
- CTUD, counter Up/Down
5. Conversione dati
- ABRead, read BOOL from array
- ABWrite, write BOOL to array
- BitsToByte, bit to byte conversion
- ByteToBit, byte to bit conversion
- BytesToWord, byte to word conversion
- WordToByte, word to byte conversion
- DoubleToWord, double to word conversion
- WordsToDouble, word to double conversion
- LongToDouble, long to double conversion
- DoublesToLong, double to long conversion
- SwapData, swap data value
- DWSplitBitToVar, DWMergeVarToBit, dividi e concatena variabile 32 bits
6. Libreria matematica
- Funzioni di calcolo percentuale
- Module, calculates the module
- eRound, arrotonda i digits di un numero
- Float16To32, Float 16-bit to 32-bit conversion
- Float32To16, Float 32-bit to 16-bit conversion
- RadToDegCnv, radians to degrees conversion
- DegToRadCnv, degrees to radiants conversion
- SunRiseSet, sunrise and sunset calculator
- SHA1Encryption, encrypt data with SHA1 algorithm
- SHA256Encryption, encrypt data with SHA256 algorithm
- Base64Encode, Base64 encoding
- Base64Decode, Base64 decoding
7. Gestione sistema
- Operatori gestione tempo
- SysTimeGetMs, returns system time in mS
- SysTimeGetUs, returns system time in uS
- SysTimeGetNs, returns system time in nS
- SysGetEndianness, get the system endianness
- SysGetArchitecture, get the system architecture
- SysGetRandom, get random number
- SysPCodeVerify, verify the protection code
- SysSetTaskLpTime, set task loop time
- SysOSIDValue, get or set an operative system variable
- SysGetLastError, get last error
- SysGetCheck, gets the check
- SysMAlloc, memory allocation
- SysWrSpyData, system write spy data
- SysRMAlloc, SysRMGetSize, SysRMFree, funzioni gestione memoria rilocabile
8. Gestione Data/Ora
- Operatori gestione Data/Ora
- 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, localize date and time
- DateTimeToJDay, converts Date/Time to Julian day
- JDayToDateTime, converts Julian day to Date/Time
9. Gestione stringhe
- Funzioni gestione stringa
- Sysstrlen, string length
- Sysmemset, memory set
- Sysmemmove, memory move
- StringConv, string conversion
- SysStrFind, string find
- SysMemFind, memory find
- SysVsnprintf, variable print to string
- SysCVsnprintf, concat string with variable print
- SysVarsscanf, extracts values from string
10. Gestione terminali (Streams) di I/O
- SysFfopen, file open
- FClose, 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. Gestione file system
- Sysfseek, file seek
- SysGetFileLen, file length
- SysFileRename, file rename
- SysFileRemove, file remove
- SysGetFileInfos, get file infos
- FSFileCopy, file system copy file
12. Streams di comunicazione
- SysSerialPort, manage serial port
- SysTCPServer, accepts TCP/IP connections
- SysTCPClient, opens a TCP/IP connection
- SysUDPServer, accepts UDP connections
- SysUDPClient, opens a UDP connection
- SysGetSerialCTS, get serial CTS signal status
- SysSetSerialDTR, set DTR signal status
- SysGetSerialMode, get serial mode
- SysSetSerialMode, set serial mode
- SysGetPeerInfos, returns peer infos
13. Gestione CAN bus
- 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. Gestione periferiche
- 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. Libreria utilità generale
- BLINK, blink command
- BlinkValue, blink out value
- OnOffCycle, on/off cycle with random times
- Step Relay with On/Off commands
- Debouncing, signal debounce
- PWMOut, PWM output management
- Average, value average
- ValueScale, scales a value
- Hysteresis, manages hysteresis on a value
- VaPotentiometer, acquisizione potenziometro da ingresso analogico
- Linearize, linearize a non linear value
- LRamp, linear ramp
- PIDMng, PID management
- DewPointCalculator, calculates the dew point
- TimeBalancing, ottimizzazione tempo di funzionamento
- CLIServer, manages a command-line user interface
- CLIClient manages a command-line user interface
- ArrayToFString, converts a value array to formatted string
- FStringToArray, estracts a value array from formatted string
- DataTransfer, transfer data between systems
- DataStreamExch, exchanges data between two I/O streams
16. Libreria Modem
- ModemCore, modem core management
- ModemSMSReceive, receives SMS messages
- ModemSMSSend, sends a SMS message
17. Libreria gestione One-Wire
- OWireCore, One-Wire interface core
- OWSearch, One-Wire search devices
- OWRdIdentifier, One-Wire read ROM identifier
- OWRdTemperature, One-Wire read temperature
18. Libreria dispositivi I2C
- I2CBusManager, I2C Bus manager
- SHT3xAcquire, SHT3x humidity and temperature sensor
19. Libreria protocollo Modbus
- ModbusMaster, modbus master
- ModbusSlave, modbus slave
- ModbusGateway, modbus protocol gateway
20. Libreria dispositivi Modbus
- 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
21. Gestione sentenze NMEA
- NMEASInterface, NMEA sentence interface
- NMEARMCSentence, Recommended Minimum sentence
- NMEAGLLSentence, Geographic Position sentence
22. Gestione storicizzazione dati
- StringToLogFile, salva stringa in un file di log
- FileMemoryDump, dump memory on file
- FIFOFile, gestisce registro FIFO su file
23. Gestione networking
- SysPing, execute a ping
- SNTPServer, istanzia un server SNTP
- SNTPClient, invia richiesta SNTP
- DNSRequest, sends a DNS request
- EMailSend, sends an eMail
- FTPClient, connects to a FTP server
24. Libreria protocollo MQTT
- MQTTClient, client for a MQTT server
- MQTTCBeebotte, client MQTT Beebotte
- MlsDevice, Milesight device manager
- MlsDOutput, Milesight digital output command
25. Libreria comunicazione HTTP
- HTTPClient, HTTP client
- RESTClient, connects to a REST web service
- HTTPServer, HTTP server management
- SysTLSClient, TLS client manager
- Telegram, manages Telegram messenger through web APIs
- JSONEncoder, encodes a JSON message
- JSONDecoder, decodes a JSON object
26. Libreria scambio dati tra sistemi
- TCPDataExchServer, TCP data exchange (Server)
- TCPDataExchClient, TCP data exchange (Client)
27. Libreria gestione protocollo SNMP
- SNMPManager, sends a SNMP message
- SNMPAgent, manages the SNMP Agent
28. Identificazione ed autenticazione
- WiegandDcd, decodes the Wiegand code
- RFiDMWD7xSetUp, Netronix MW-D7x RFiD reader set up
- RFiDMWD7xTAGRd, Netronix MW-D7x RFiD TAG read
29. Libreria crittografia AES
- AESEncryption, AES data encryption
- AESDecryption, AES data decryption
30. Libreria vending
- ccTalkProtocol, ccTalk protocol management
31. Libreria motion
- IOEncoder, incremental encoder over I/O
- EncoderPulses, calcolo impulsi da encoder
- MotorPositioning, gestione posizionamento motore
32. Suggerimenti e trucchi
- Accedere da Modbus al sistema
- Accedere alle variabili a bit
- Backup & restore programma PLC
- Aggiornamento automatico FOTA dei sistemi
- Espandere una variabile DWORD in 32 variabili BOOL
- Gestire display LCD connesso al bus di espansione
- Ricezione e decodifica stringa seriale
33. Ambiente LogicLab
- Suggerimenti programmazione con LogicLab
- LogicLab passaggio da XTarget ad XUnified
- LogicLab migrazione progetti su versione 5.22.x.xx
- Manutenzione sistemi e programmi LogicLab
- Come utilizzare Funzioni (F) e Blocchi funzione (FB)
- Documentazione non trovata
34. Appendici
- Come utilizzare gli esempi
- Immagine di processo I/O
- Oggetti privati di libreria
- Segnaposti del formato printf
- Stringa formato della funzione scanf
- Informazioni sulla memoria dei sistemi
- Protezione funzioni e blocchi funzione
- Come si utilizza la console di spionaggio
- Utilizzare FB connesse con modello a cascata
- Libreria “eLLabDTimeAdjLib” oggetti Data/Ora deprecati
- Libreria “eLLabObsoleteLib” oggetti obsoleti
- Eccezioni di esecuzione
- Elenco errori