Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

Info
titleAn example of communication

The attached ZIP contains the configuration of two lines and two stations with the Modbus MODBUS Client/Modbus MODBUS Server protocol that communicate via TCP (Modbus MODBUS Server listens on a TCP port 9999). Data written through one line is received through the other line. 

Four I/O tags are configured on each line (Float, with address 3.0, Signed with addresses 4.0 and 4.1, and Bool with address 1.0). Modbus MODBUS Server I/O tags values ​​are controlled by the system second (Sec) and use linear conversion (Float is divided by 1000, Signed with address 4.0 is multiplied by 10). The value of the Bool I/O tag is controlled by the eval tag P.TrueFalse, which changes the value True/False every second.

View file
nameModbus_test.zip
height250

...