Vai al contenuto

Indice manuale programmazione IEC 61131-3

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

  1. TASK_ID, definizione task esecuzione
  2. VR_TYPE, definizione tipo variabili
  3. VAR_CHECK, definizione variable value check mode
  4. DI_MODE, definizione modo acquisizione ingressi digitali
  5. DO_MODE, definizione modo gestione uscite digitali
  6. AI_MODE, definizione modo acquisizione ingressi analogici
  7. AO_MODE, definizione modo gestione uscite analogiche
  8. DTR_MODE, definizione modo gestione DTR
  9. SWAP_MODE, Swap mode definition
  10. FSEEK_ORIGIN, definizione origine ricerca
  11. SPY_MODE, definizione modo spionaggio
  12. FIND_MODE, definizioni modo esecuzione ricerca
  13. CAN_SPEED, definizioni bit rate CAN
  14. SYS_ID, definizione ID di sistema
  15. SYS_ARCH, definizione architettura di sistema
  16. PHR_INFOS_ID, ID informazioni moduli periferici
  17. DAYLIGHT_ZONE, definizione zone luce solare
  18. CHECK_TYPE, definizione tipo controllo frame
  19. TLS_MODE, definizione modo comunicazione TLS
  20. TLS_CERT_VERIFY, definizione certificazione TLS
  21. TLS_CHIPER_SUITE, definizione suite di cifratura
  22. SNMP_VERSION, definizione versione protocollo SNMP
  23. SNMP_PDU, SNMP PDU type definition
  24. SNMP_VT, SNMP variable type definition
  25. SNMP_ERROR, definizione errori protocollo SNMP
  26. MODEM_TYPE, definizione tipo modem
  27. OW_ITYPE, One-Wire interface type
  28. OW_BSTATUS, One-Wire bus status
  29. HTTP_REQUEST, definizione richiesta HTTP
  30. CO_NMT_STS, CANOpen node management status
  31. MODBUS_PROTOCOL, definizione tipo protocollo Modbus
  32. YOTTA_A1_MDEFS, definizione moduli Yottacontrol
  33. FILEMDUMP_MODE, FileMemoryDump operation mode
  34. ARRAYBOOL, Definizione modo funzioni accesso array di bits
  35. STR_CONV, String conversion mode

2. Definizioni strutture dati

  1. SYSSERIALMODE, modo comunicazione porta seriale
  2. SYSCANMESSAGE, messaggio CAN
  3. LDATETIMESTRUCT, long Date/Time struct
  4. ACMODBUS_DATA, Array command Modbus data
  5. TCPDEXCHNODEDEFS, struttura definizione parametri nodo
  6. CO_ABORT, CANOpen abort data
  7. MQTT_TS_DATA, MQTT topic subscribe data structure
  8. NTPv4_PACKET, SNTP data packet

3. Supporto programmazione

  1. Definizione valori di sistema
  2. Gestione void pointer
  3. eTO_POINTER, cast value to a PVOID pointer
  4. eTO_JUNK, junk a function return value
  5. eVMove, move data using pointers
  6. VarVCheck, variable value check
  7. ArrayVarTxfer, array to variable transfer
  8. MemCompare, compares memory buffers

4. Funzioni ed FB standard

  1. F_TRIG, falling edge trigger
  2. R_TRIG, raising edge trigger
  3. RS, Reset/Set flip flop
  4. SR, Set/Reset flip flop
  5. TON, timer On
  6. TOF, timer Off
  7. TP, timer pulse
  8. CTD, counter Down
  9. CTU, counter Up
  10. CTUD, counter Up/Down

5. Conversione dati

  1. ABRead, read BOOL from array
  2. ABWrite, write BOOL to array
  3. BitsToByte, bit to byte conversion
  4. ByteToBit, byte to bit conversion
  5. BytesToWord, byte to word conversion
  6. WordToByte, word to byte conversion
  7. DoubleToWord, double to word conversion
  8. WordsToDouble, word to double conversion
  9. LongToDouble, long to double conversion
  10. DoublesToLong, double to long conversion
  11. SwapData, swap data value
  12. DWSplitBitToVar, DWMergeVarToBit, dividi e concatena variabile 32 bits

6. Libreria matematica

  1. Funzioni di calcolo percentuale
  2. Module, calculates the module
  3. eRound, arrotonda i digits di un numero
  4. Float16To32, Float 16-bit to 32-bit conversion
  5. Float32To16, Float 32-bit to 16-bit conversion
  6. RadToDegCnv, radians to degrees conversion
  7. DegToRadCnv, degrees to radiants conversion
  8. SunRiseSet, sunrise and sunset calculator
  9. SHA1Encryption, encrypt data with SHA1 algorithm
  10. SHA256Encryption, encrypt data with SHA256 algorithm
  11. Base64Encode, Base64 encoding
  12. Base64Decode, Base64 decoding

7. Gestione sistema

  1. Operatori gestione tempo
  2. SysTimeGetMs, returns system time in mS
  3. SysTimeGetUs, returns system time in uS
  4. SysTimeGetNs, returns system time in nS
  5. SysGetEndianness, get the system endianness
  6. SysGetArchitecture, get the system architecture
  7. SysGetRandom, get random number
  8. SysPCodeVerify, verify the protection code
  9. SysSetTaskLpTime, set task loop time
  10. SysOSIDValue, get or set an operative system variable
  11. SysGetLastError, get last error
  12. SysGetCheck, gets the check
  13. SysMAlloc, memory allocation
  14. SysWrSpyData, system write spy data
  15. SysRMAlloc, SysRMGetSize, SysRMFree, funzioni gestione memoria rilocabile

8. Gestione Data/Ora

  1. Operatori gestione Data/Ora
  2. IsLeapYear, is leap year
  3. DayOfYearGet, returns the day of year
  4. SysDateGetS, get the system date on second
  5. SysDateGetNs, get the system date on nanoseconds
  6. SysDateSetS, set the system date on second
  7. DateTimeFormat, format the Date/Time
  8. SysDateLocalize, localize date and time
  9. DateTimeToJDay, converts Date/Time to Julian day
  10. JDayToDateTime, converts Julian day to Date/Time

9. Gestione stringhe

  1. Funzioni gestione stringa
  2. Sysstrlen, string length
  3. Sysmemset, memory set
  4. Sysmemmove, memory move
  5. StringConv, string conversion
  6. SysStrFind, string find
  7. SysMemFind, memory find
  8. SysVsnprintf, variable print to string
  9. SysCVsnprintf, concat string with variable print
  10. SysVarsscanf, extracts values from string

10. Gestione terminali (Streams) di I/O

  1. SysFfopen, file open
  2. FClose, file close
  3. SysFIsOpen, get the file open status
  4. SysFGetIBfSize, get file Rx input buffer size
  5. SysFGetIChars, get input available characters from file
  6. SysFIBfClear, file input buffer clear
  7. Sysfgetc, get character from file
  8. Sysfread, read data from file
  9. SysFGetOBfSize, get file Tx output buffer size
  10. SysFGetOSpace, get output available space on file
  11. SysFOBfClear, file output buffer clear
  12. Sysfputc, put character to file
  13. Sysfwrite, write data to file
  14. SysVfprintf, variable print to file
  15. SysFOBfFlush, file output buffer flush

11. Gestione file system

  1. Sysfseek, file seek
  2. SysGetFileLen, file length
  3. SysFileRename, file rename
  4. SysFileRemove, file remove
  5. SysGetFileInfos, get file infos
  6. FSFileCopy, file system copy file

12. Streams di comunicazione

  1. SysSerialPort, manage serial port
  2. SysTCPServer, accepts TCP/IP connections
  3. SysTCPClient, opens a TCP/IP connection
  4. SysUDPServer, accepts UDP connections
  5. SysUDPClient, opens a UDP connection
  6. SysGetSerialCTS, get serial CTS signal status
  7. SysSetSerialDTR, set DTR signal status
  8. SysGetSerialMode, get serial mode
  9. SysSetSerialMode, set serial mode
  10. SysGetPeerInfos, returns peer infos

13. Gestione CAN bus

  1. SysCANSetMode, set the CAN controller mode
  2. SysIsCANRxTxAv, checks if CAN Rx or Tx is available
  3. SysCANRxMsg, receives a CAN message
  4. SysCANTxMsg, transmit a CAN message
  5. CANOpenMaster, manages the CANOpen master
  6. CANOpenMNode, manages a CANOpen master node

14. Gestione periferiche

  1. SysGetPhrInfos, get infos from peripheral modules
  2. SysGetPhrDI, get peripheral digital input
  3. SysSetPhrDO, set peripheral digital output
  4. SysGetAnInp, get analog input
  5. SysSetAnOut, set analog output
  6. SysGetCounter, get counter
  7. SysGetEncoder, get encoder input
  8. SysSetPWMOut, set PWM output
  9. SysPhrVRd, read variable from peripheral module
  10. SysPhrVWr, write variable to peripheral module
  11. SysI2CWrRd, writes/reads on I2C extension bus
  12. SysDMXMng, DMX management
  13. StrainGaugeAcq, strain gauge acquisition
  14. HMIAInOnePicoface, Manages the Picoface HMI
  15. HMIAInOneNetlog, Manages the Netlog HMI
  16. HMICustomMng, manages a custom HMI

15. Libreria utilità generale

  1. BLINK, blink command
  2. BlinkValue, blink out value
  3. OnOffCycle, on/off cycle with random times
  4. Step Relay with On/Off commands
  5. Debouncing, signal debounce
  6. PWMOut, PWM output management
  7. Average, value average
  8. ValueScale, scales a value
  9. Hysteresis, manages hysteresis on a value
  10. VaPotentiometer, acquisizione potenziometro da ingresso analogico
  11. Linearize, linearize a non linear value
  12. LRamp, linear ramp
  13. PIDMng, PID management
  14. DewPointCalculator, calculates the dew point
  15. TimeBalancing, ottimizzazione tempo di funzionamento
  16. CLIServer, manages a command-line user interface
  17. CLIClient manages a command-line user interface
  18. ArrayToFString, converts a value array to formatted string
  19. FStringToArray, estracts a value array from formatted string
  20. DataTransfer, transfer data between systems
  21. DataStreamExch, exchanges data between two I/O streams

16. Libreria Modem

  1. ModemCore, modem core management
  2. ModemSMSReceive, receives SMS messages
  3. ModemSMSSend, sends a SMS message

17. Libreria gestione One-Wire

  1. OWireCore, One-Wire interface core
  2. OWSearch, One-Wire search devices
  3. OWRdIdentifier, One-Wire read ROM identifier
  4. OWRdTemperature, One-Wire read temperature

18. Libreria dispositivi I2C

  1. I2CBusManager, I2C Bus manager
  2. SHT3xAcquire, SHT3x humidity and temperature sensor

19. Libreria protocollo Modbus

  1. ModbusMaster, modbus master
  2. ModbusSlave, modbus slave
  3. ModbusGateway, modbus protocol gateway

20. Libreria dispositivi Modbus

  1. EastronSDM120, Eastron SDM120 energy meter
  2. EastronSDM630, Eastron SDM630 energy meter
  3. SensitSTHC102, Sensit STHC 102 thermometer acquisition
  4. MBTHLThermostat, Setecna MB-THL Thermostat
  5. InvtGD20EU, INVT GD20-EU inverter manager
  6. YottaA1MMng, Yottacontrol remote I/O modules

21. Gestione sentenze NMEA

  1. NMEASInterface, NMEA sentence interface
  2. NMEARMCSentence, Recommended Minimum sentence
  3. NMEAGLLSentence, Geographic Position sentence

22. Gestione storicizzazione dati

  1. StringToLogFile, salva stringa in un file di log
  2. FileMemoryDump, dump memory on file
  3. FIFOFile, gestisce registro FIFO su file

23. Gestione networking

  1. SysPing, execute a ping
  2. SNTPServer, istanzia un server SNTP
  3. SNTPClient, invia richiesta SNTP
  4. DNSRequest, sends a DNS request
  5. EMailSend, sends an eMail
  6. FTPClient, connects to a FTP server

24. Libreria protocollo MQTT

  1. MQTTClient, client for a MQTT server
  2. MQTTCBeebotte, client MQTT Beebotte
  3. MlsDevice, Milesight device manager
  4. MlsDOutput, Milesight digital output command

25. Libreria comunicazione HTTP

  1. HTTPClient, HTTP client
  2. RESTClient, connects to a REST web service
  3. HTTPServer, HTTP server management
  4. SysTLSClient, TLS client manager
  5. Telegram, manages Telegram messenger through web APIs
  6. JSONEncoder, encodes a JSON message
  7. JSONDecoder, decodes a JSON object

26. Libreria scambio dati tra sistemi

  1. TCPDataExchServer, TCP data exchange (Server)
  2. TCPDataExchClient, TCP data exchange (Client)

27. Libreria gestione protocollo SNMP

  1. SNMPManager, sends a SNMP message
  2. SNMPAgent, manages the SNMP Agent

28. Identificazione ed autenticazione

  1. WiegandDcd, decodes the Wiegand code
  2. RFiDMWD7xSetUp, Netronix MW-D7x RFiD reader set up
  3. RFiDMWD7xTAGRd, Netronix MW-D7x RFiD TAG read

29. Libreria crittografia AES

  1. AESEncryption, AES data encryption
  2. AESDecryption, AES data decryption

30. Libreria vending

  1. ccTalkProtocol, ccTalk protocol management

31. Libreria motion

  1. IOEncoder, incremental encoder over I/O
  2. EncoderPulses, calcolo impulsi da encoder
  3. MotorPositioning, gestione posizionamento motore

32. Suggerimenti e trucchi

  1. Accedere da Modbus al sistema
  2. Accedere alle variabili a bit
  3. Backup & restore programma PLC
  4. Aggiornamento automatico FOTA dei sistemi
  5. Espandere una variabile DWORD in 32 variabili BOOL
  6. Gestire display LCD connesso al bus di espansione
  7. Ricezione e decodifica stringa seriale

33. Ambiente LogicLab

  1. Suggerimenti programmazione con LogicLab
  2. LogicLab passaggio da XTarget ad XUnified
  3. LogicLab migrazione progetti su versione 5.22.x.xx
  4. Manutenzione sistemi e programmi LogicLab
  5. Come utilizzare Funzioni (F) e Blocchi funzione (FB)
  6. Documentazione non trovata

34. Appendici

  1. Come utilizzare gli esempi
  2. Immagine di processo I/O
  3. Oggetti privati di libreria
  4. Segnaposti del formato printf
  5. Stringa formato della funzione scanf
  6. Informazioni sulla memoria dei sistemi
  7. Protezione funzioni e blocchi funzione
  8. Come si utilizza la console di spionaggio
  9. Utilizzare FB connesse con modello a cascata
  10. Libreria “eLLabDTimeAdjLib” oggetti Data/Ora deprecati
  11. Libreria “eLLabObsoleteLib” oggetti obsoleti
  12. Eccezioni di esecuzione
  13. Elenco errori
Was this article helpful?