Indice manuale programmazione IEC 61131-3

  1. Home
  2. Knowledge Base
  3. Manualistica
  4. Programmazione IEC 61131-3
  5. Indice manuale programmazione IEC 61131-3

Questo manuale riporta l'elenco di tutte le funzioni e blocchi funzioni utilizzabili nella programmazione dei nostri sistemi. Il manuale è attualmente in fase di realizzazione, per un elenco completo è possibile consultare il precedente manuale in forma pdf (Scarica manuale).

1. Definizione tipo dati

  1. TASK_ID, definizione task esecuzione
  2. VR_TYPE, definizione tipo variabili
  3. DI_MODE, definizione modo acquisizione ingressi digitali
  4. DO_MODE, definizione modo gestione uscite digitali
  5. AI_MODE, definizione modo acquisizione ingressi analogici
  6. AI_MODE, definizione modo acquisizione ingressi analogici
  7. DTR_MODE, definizione modo gestione DTR
  8. FSEEK_ORIGIN, definizione origine ricerca
  9. SPY_MODE, definizione modo spionaggio
  10. FIND_MODE, definizioni modo esecuzione ricerca
  11. CAN_SPEED, definizioni bit rate CAN
  12. SYS_ID, definizione ID di sistema
  13. PHR_INFOS_ID, ID informazioni moduli periferici
  14. DAYLIGHT_ZONE, definizione zone luce solare
  15. CHECK_TYPE, definizione tipo controllo frame
  16. SYSSERIALMODE, modo comunicazione porta seriale
  17. SYSCANMESSAGE, messaggio CAN

2. 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. eTON, timer On
  6. eTOF, timer Off
  7. eTP, timer pulse
  8. CTD, counter Down
  9. CTU, counter Up
  10. CTUD, counter Up/Down

3. Conversione dati

  1. VBitTest, variable bit test
  2. VBitSet, variable bit set
  3. BitToByte, bit to byte conversion
  4. ByteToBit, byte to bit conversion
  5. ByteToWord, byte to word conversion
  6. WordToByte, word to byte conversion
  7. DoubleToWord, double to word conversion
  8. WordToDouble, word to double conversion
  9. LEArrayToVar, little endian array to variable conversion
  10. BEArrayToVar, big endian array to variable conversion
  11. VarToLEArray, variable to little endian array conversion
  12. VarToBEArray, variable to big endian array conversion
  13. VarSwap, swap variable value
  14. IEE754DoubleToFloat, IEE754 double to float

4. Gestione sistema

  1. SysGetEndianness, get the system endianness
  2. SysGetRandom, get random number
  3. SysPCodeAccept, accepts the protection code
  4. SysOSIDValue, get or set an operative system variable
  5. SysGetLastError, get last error
  6. SysMAlloc, memory allocation
  7. SysRMAlloc, relocatable memory allocation
  8. SysRMFree, relocatable memory free

5. Gestione Data/Ora

  1. SysGetSysTime, get system
  2. SysGetUTCDateTime, get the system Date/Time on UTC
  3. SysSetUTCDateTime, set the system Date/Time on UTC
  4. SysETimeToDate, epoch time to date conversion
  5. SysDateToETime, date to epoch time conversion

6. Gestione stringhe

  1. Sysstrlen, string length
  2. Sysmemset, memory set
  3. Sysmemmove, memory move
  4. Systolower, converts a given letter to lowercase
  5. Systoupper, converts a given letter to uppercase
  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

7. Gestione terminali (Streams) di I/O

  1. SysFfopen, file open
  2. Sysfclose, 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

8. Gestione file system

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

9. 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. SysGetIpInfos, returns IP infos

10. 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

11. Libreria CANopen

  1. CANopenMaster, manages the CANopen master
  2. CANopenMNode, manages a CANopen slave node
  3. CANopenMData, adds object to master data

12. 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. StrainGaugeAcq, strain gauge acquisition

13. 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. PWMOut, PWM output management
  6. IOEncoder, incremental encoder over I/O
  7. Average, value average
  8. ValueScale, scales a value
  9. Linearize, linearize a non linear value
  10. LRamp, linear ramp
  11. PIDMng, PID management
  12. ModbusMaster, modbus master
  13. ModbusSlave, modbus slave
  14. DewPointCalculator, calculates the dew point
  15. CLIClient manages a command-line user interface
  16. HMIAInOnePicoface, Manages the Picoface HMI
  17. HMIAInOneNetlog, Manages the Netlog HMI

14. Libreria gestione One-Wire

  1. OWRdIdentifier, One-Wire read ROM identifier
  2. OWRdTemperature, One-Wire read temperature
  3. OWRdBatteryMonitor, One-Wire read smart battery monitor

14. Libreria dispositivi I2C

  1. I2CBusManager, I2C Bus manager
  2. SHT3xAcquire, SHT3x humidity and temperature sensor
  3. AM23xxAcquire, Aosong AM23xx sensor acquisition

15. Libreria dispositivi Modbus

  1. ACModbus, Array command Modbus
  2. EastronSDM120, Eastron SDM120 energy meter
  3. EastronSDM630, Eastron SDM630 energy meter
  4. SensitSTHC102, Sensit STHC 102 thermometer acquisition
  5. MBTHLThermostat, Setecna MB-THL Thermostat
  6. InvtGD20EU, INVT GD20-EU inverter manager

16. Gestione sentenze NMEA

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

17. Gestione storicizzazione dati

  1. FIFOFile_v1, gestisce registro FIFO su file
  2. StringToLogFile, salva stringa in un file di log

18. Gestione networking

  1. SysPing, execute a ping
  2. SNTPRequest, sends a SNTP request
  3. DNSRequest, sends a DNS request
  4. UDPDataTxfer_v1, data transfer by UDP connection
  5. RESTClient, connects to a REST web service
  6. EMailSend, sends an eMail
  7. ModbusTCPGateway, modbus TCP gateway
  8. DataStreamExch, exchanges data between two I/O streams
  9. FTPClient, connects to a FTP server

19. Libreria comunicazione HTTP

  1. HTTPClient, HTTP client
  2. HTTPServer, HTTP server management
  3. JSONEncode, encodes a JSON message
  4. JSONDecode, decodes a JSON object

20. Libreria scambio dati tra sistemi

  1. TCPDEXCHNODEDEFS, struttura definizione parametri nodo
  2. TCPDataExchServer, TCP data exchange (Server)
  3. TCPDataExchClient, TCP data exchange (Client)

21. Libreria gestione protocollo SNMP

  1. SNMPAgent, manages the SNMP Agent

22. Libreria gestione servizi cloud

  1. Comunicazione con Beebotte
    1. MQTTBeebotte, connettersi al servizio cloud Beebotte
    2. TSBeebotte, sottoscrizione al servizio cloud Beebotte
    3. TPBeebotte, pubblicazione al servizio cloud Beebotte

Ti è stato utile questo articolo ?

Ultimo aggiornamento: 10 Agosto 2020