48 / 58
SUBNET MASK
Register Address Register
Name Function Read/Write
Control
0x13
SUBNETMASK
IP subnet mask
Read/Write
Register Size Register
structure Unit
4 Bytes
4 x Unsigned Bytes
none
Description:
Network IP subnet mask used for TCP/IP and UDP/IP.
Notes:
The module will change for a new subnet mask only when all of its
communications ports are closed.
Do not forget to use a
SAVEUSERPARAMETERS
command.
If you do not want to use subnets, use the following subnet mask when IP
address byte 0 is:
>0 and <=127 :
255.0.0.0
(Class A addresses)
>127 and <=191 :
255.255.0.0
(Class B addresses)
>191 and <=223 :
255.255.255.0 (Class C addresses)
Default value:
255.255.0.0
Example:
For the IP=10.2.6.45 and subnet mask = 255.255.0.0:
IP address class = A
Æ
netID = 10, subNetID = 2 and hostID = 6.45
FMod-TCP User Manual v.2.8