Changes

Line 15: Line 15:  
* RS-485 TCP (ASCII/Binary) modes:
 
* RS-485 TCP (ASCII/Binary) modes:
 
In TCP ASCII/Binary mode a link with an external device using text messages can be established. In TCP ASCII/Binary mode all data received from external device through RS-485 is sent directly to server (if link is currently active). Data is encapsulated in codec 12 format.  
 
In TCP ASCII/Binary mode a link with an external device using text messages can be established. In TCP ASCII/Binary mode all data received from external device through RS-485 is sent directly to server (if link is currently active). Data is encapsulated in codec 12 format.  
 +
 +
 +
* RS-485 TCP Binary settings:
 +
[[Image:TCP_Binary.png|250px|none]]
 +
TCP Binary has a setting Prefix. It is possible to set Prefix 1, Prefix 2 or Prefix 3. These prefixes can be used seperately or in unison.
 +
To configure this setting a value from 0 to 255 in decimal has to be entered. Device will convert this value to HEX and compare the 1st, 2nd or 3rd byte from incoming data. If the values do not match, device will not accept incoming data.
 +
 +
Example:<br>
 +
Incoming packet through RS232/RS485 using TCP Binary/TCP Binary Buffered mode -  <font color="red">50</font> <font color="green">72</font> <font color="blue">65</font> 66 69 78 20 57 6f 72 6b 69 6e 67
 +
<ul>
 +
<li>If Prefix 1 is set to 80 in decimal, it is equal to <font color="red">50</font> in HEX.
 +
<ul><li>FMB device will then check the 1st byte of incoming data and compare to the set Prefix 1.</li></ul></li>
 +
<li>If Prefix 2 is set to 114 in decimal, it is equal to <font color="green">72</font> in HEX.<br>
 +
<ul><li>FMB device will then check the 1st byte of incoming data and compare to the set Prefix 2.</li></ul></li>
 +
<li>If Prefix 3 is set to 101 in decimal, it is equal to <font color="blue">65</font> in HEX.<br>
 +
<ul><li>FMB device will then check the 1st byte of incoming data and compare to the set Prefix 3.</li></ul></li>
 +
</ul>
 +
When values match, data will be accepted and saved to Buffer (using TCP Binary Buffered mode) or sent to server (using TCP Binary mode).
    
[[Image:Fmb125_rs485_block.png|500px|none]]
 
[[Image:Fmb125_rs485_block.png|500px|none]]

Navigation menu