IDK MSD-54 Series Command Guide User Manual

Page 87

Advertising
background image

MSD-54 Series Users Guide (Command Guide)

87

@SLP

Set TCP port number

Command
format

@SLP, connection_1, port_1 (, connection_2, port_2・・・)

Return value
format

@SLP, connection_1, port_1 (, connection_2, port_2・・・)

Parameter

connection_1-8

: Connection number

0 = All connections, 1 = Connections 1 to 8 = Connection 8

port_1-8

: Port number

23, 80, 1100, 5000 to 5999, 6000 to 6999

[Default]: Connection 1 to 3 = 1100, Connection 4 to 6 = 23,

Connection 7 to 8 = 80

Example Send

Receive

@SLP,8,6000

@SLP,8,6000

Set port number of connection 8 to 6000.
Terminated normally.

Related info. 8.11.5 TCP port number
Note

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

@GLP

Get TCP port number

Command
format

@GLP

Return value
format

@GLP, connection_1, connection_2, connection_3, connection_4, connection_5,
connection_6

, connection_7, connection_8

Parameter

connection _1-8

: Port numbers of each connections

23, 80, 1100, 5000 to 5999, 6000 to 6999

[Default]: Connections 1 to 3 = 1100, Connections 4 to 6 = 23,

Connections 7 to 8 = 80

Example Send

Receive

@GLP

@GLP,1100,1100,1100,
23,23,23,80,80

Get port number.
Connections 1 to 3: 1100; connections 4 to 6:
23; connections 7 and 8: 80.

Related info. 8.11.5 TCP port number

@GMC

Get MAC address

Command
format

@GMC

Return value
format

@GMC, unit_1, unit_2, unit_3, unit_4, unit_5, unit_6

Parameter

unit_1

: Upper but of the MAC address to unit_6 : Lower bit of the MAC address

00 to FF = 8 bit (in hexadecimal)

Example Send

Receive

@GMC

@GMC,00,08,E5,55,00,01

Get MAC address.
Reply MAC address.

Related info. 8.11.6 Displaying MAC address

Advertising