Sony MG40 Series Command Reference Manual page 128

Table of Contents

Advertisement

Data transmission port number
Th is function is used to set the number of the port which is to be used by the data interface.
With internet, since port numbers 1 to 1023 are generally used by regular internet services and port
numbers 1024 to 49151 may have already been registered, 49152 or a higher number is usually used as the
port number.
However, this does not apply for a network operating inside a company so the MG40 series supports all
the port numbers in the range of 1 to 65535 under the IP standards with the exception of numbers 20, 21,
23 and 80.
When an error occurs in the setting command, it may be that the port number concerned cannot be used,
so try a diff erent port number.
Set
The command sets the number of the port which is to be used by the data interface.
Command format
Return format
Target
Save setting values
Examples of use
Compatible command
Acquire
The command acquires the number of the port used by the data interface.
Command format
Return format
Target
Examples of use
Compatible command
4-40
(E)
Setup
mode
NPN=<Value>
<Value>
1 to 65535 (with the exception of numbers 20, 21, 23, 80, 52023 and
52024) (Factory setting: 49154)
Execution results
MG41 main unit
Setting values saved.
NPN=49153
Transmission :
Return
: OK000
None
Setup
mode
NPN?
NPN=<Value>
<Value>
1 to 65535 (with the exception of numbers 20, 21, 23, 80, 52023 and
52024)
MG41 main unit
NPN?
Transmission :
Return
: NPN=49153
None
Ethernet
Measurement
Ethernet
mode
MG40 Series

Advertisement

Table of Contents
loading

Table of Contents