MSD-402 Command Guide
65
@GIP / @SIP
IP address
Function
Getting
Setting
Format
@GIP
@SIP, unit_1, unit_2, unit_3, unit_4
Return value
@GIP, unit_1, unit_2, unit_3, unit_4
@SIP, unit_1, unit_2, unit_3, unit_4
Parameter
unit_1: Upper bit of the IP address to unit_4: lower bit of the IP address
0 to 255 = 8 bit (Decimal notation) [Default] 192.168.1.199
Example
@GIP
@GIP,192,168,3,2
Getting IP address of the MSD
IP address: 192.168.3.2.
@SIP,192,168,3,2
@SIP,192,168,3,2
Setting IP address to 192.168.3.2
Completed normally.
Remarks
Once IP address or RS-232C communication setting is changed, the communication
may be disabled. Change the environmental settings of communication based on the
MSD settings.
@GSB / @SSB
Subnet mask
Function
Getting
Setting
Format
@GSB
@SSB, unit_1, unit_2, unit_3, unit_4
Return value
@GSB, unit_1, unit_2, unit_3, unit_4
@SSB, 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.0
Example
@GSB
@GSB,255,255,192,0
Getting subnet mask of the MSD.
255.255.192.0 ( = 18 bit)
@SSB,255,255,192,0
@SSB,255,255,192,0
Setting subnet mask to 255.255.192.0
(=18 bit).
Completed normally.
Remarks
Once IP address or RS-232C communication setting is changed, the communication
may be disabled. Change the environmental settings of communication based on the
MSD settings.
@GGW / @SGW
Gateway address
Function
Getting
Setting
Format
@GGW
@SGW, unit_1, unit_2, unit_3, unit_4
Return value
@GGW, unit_1, unit_2, unit_3, unit_4
@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.1.200
Example
@GGW
@GGW,192,168,1,254
Getting gateway address.
192.168.1.254.
@SGW,192,168,1,254
@SGW,192,168,1,254
Setting gateway address to
192.168.1.254.
Completed normally.
Remarks
Once IP address or RS-232C communication setting is changed, the communication
may be disabled. Change the environmental settings of communication based on the
MSD settings.