IDK MSD-54 Series Command Guide User Manual

Page 84

Advertising
background image

MSD-54 Series Users Guide (Command Guide)

84

@GSB

Get subnet mask

Command
format

@GSB

Return value
format

@GSB, unit_1, unit_2, unit_3, unit_4

Parameter

unit_1 : Upper bit of the subnet mask to unit_4 : Lower bit of the subnet mask

0 to 255 = 8 bit (Decimal notation) [Default]: 255.255.255.000

Example Send

Receive

@GSB

@GSB,255,255,192,0

Get subnet mask.
Subnet mask: 255.255.192.0 (=18 bit).

Related info.

8.11.2 Subnet mask

@SGW Set

gateway

address

Command
format

@SGW, unit_1, unit_2, unit_3, unit_4

Return value
format

@SGW, unit_1, unit_2, unit_3, unit_4

Parameter

unit_1 : Upper bit of the gateway address to unit_4 : Lower bit of the gateway
address

0 to 255 = 8 bit (Decimal notation) [Default]: 192.168.001.200

Example Send

Receive

@SGW,192,168,1,254

@SGW,192,168,1,254

Set gateway address to “192.168.1.254”.
Terminated normally.

Related info.

8.11.3 Gateway address

Note

After IP address or serial communication setting is changed, communication may be
disabled. Change environmental settings based on the settings of the MSD.

@GGW

Get gateway address

Command
format

@GGW

Return value
format

@GGW, unit_1, unit_2, unit_3, unit_4

Parameter

unit_1 : Upper bit of the gateway address to unit_4 : Lower bit of the gateway
address

0 to 255 = 8 bit (Decimal notation) [Default]: 192.168.001.200

Example Send

Receive

@GGW

@GGW,192,168,1,254

Get gateway address
Gateway address:“192.168.1.254”

Related info. 8.11.3 Gateway address

Advertising