
SWC-2000 Command Guide
19
@GLP / @SLP
TCP port number
Function
Getting
Setting
Format
@GLP
@SLP, connection_1, port_1 (,
connection_2, port_2
・・・
)
Return value
@GLP, port_1, port_2, port_3, port_4,
port_5, port_6, port_7
@SLP, connection_1, port_1 (,
connection_2, port_2
・・・
)
Parameter
port_1-7: TCP port number
23, 80, 1100, 5000 to 5999, 6000 to 6999
[Default] Connection 1 to 3 = 1100, Connection 4 to 6 = 23,
Connection 7 = 80
connection_1-7: Connection number
0 = All connections, 1 to 7 = Connection 1 to Connection 7
Example
@GLP
@GLP,1100,1100,1100,23,23,23,80
Getting the set TCP port number
- Connection 1 to 3 : 1100
- Connection 4 to 6 : 23
- Connection 7
: 80
@SLP,7,6000
@SLP,7,6000
Setting port number of Connection 7 to
“6000”
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.
@GMC
MAC address
Function
Getting
Format
@GMC
Return value
@GMC, unit_1, unit_2, unit_3, unit_4, unit_5, unit_6
Parameter
unit_1: Upper bit of the MAC address to unit_6: lower bit of the MAC address
00 to FF = 8 bit (in hex)
Example
@GMC
@GMC,00,08,E5,69,00,00
Getting the MAC address
MAC address: 00,08,E5,69,00,00
Remarks
-