Industrielle styresystemer - Wiki
To send and receive data on Master side we need to use 2 channels:
To get or read data we need to use channel 0 with access type Read Input Registers (Function Code 04).
Since we have decided to use approximately 8 variables, the length will be set to 10 (this value can be changed).
To sent or write data we need to use channel 1 with access type Write Multiple Registers (Function Code 16)
Since we have decided to use approximately 8 variables, the length will be set to 10 (this value can be changed).
NB!
As a result:
NB! The register 0 we have for BOOL variables.
En example for Reading registers.
En example for Writing registers.
Now we need to map the server/slave side