
SWC-2000 Command Guide
17
3.2.4 LAN communication
@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 the IP address of the SWC
IP address: 192.168.3.2
@SIP,192,168,3,2
@SIP,192,168,3,2
Setting the IP address to 192.168.3.2
Completed
Remarks
If IP address or RS-232C communication setting is changed, the communication may
be disabled. Change the environmental settings based on the SWC 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 the set subnet mask of the SWC
Subnet mask: 255.255.192.0 (= 18 bit)
@SSB,255,255,192,0
@SSB,255,255,192,0
Setting the subnet mask to 255.255.192.0
(= 18 bit)
Completed
Remarks
If IP address or RS-232C communication setting is changed, the communication may
be disabled. Change the environmental settings based on the SWC 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 the set gateway address
Gateway address: 192.168.1.254
@SGW,192,168,1,254
@SGW,192,168,1,254
Setting the gateway address to
192.168.1.254
Completed
Remarks
If IP address or RS-232C communication setting is changed, the communication may
be disabled. Change the environmental settings based on the SWC settings.