Owner's manual
1-37
IM MW100-17E
Commands
1
2
3
AppApp
Index
p6 Data Types
BIT Bit Data (Firmware version
R3.04 or later)
INT16 Signed 16-bit integer
UINT16 Unsigned 16-bit integer
INT32_B Signed 32-bit integer (from
upper to lower)
INT32_L Signed 32-bit integer (from
lower to upper)
UINT32_B Unsigned 32-bit integer
(from upper to lower. )
UINT32_L Unsigned 32-bit integer
(from lower to upper)
FLOAT_B 32-bit floating decimal
(from upper to lower)
FLOAT_L 32-bit floating decimal
(from lower to upper)
p7
First channel (001 to 060, A001 to
A300, C001 to C300)
p8 Last channel (001 to 060, A001 to
A300, C001 to C300)
Query
WB[p1]?
Example
Set command number to 003, command to valid,
command type to READ, slave address to 1, register
address to 30001, data type to INT16, first channel to
C001, and last channel to C005.
WB003,ON,READ,1,30001,INT16,C001,C005
Explanation • Y
ou can set this command on products with the /M1
MA
TH function option.
• When p3 is READ, p7 and p8 can only be set to
C001 to C300.
• p7 and p8 can only be set to the same type of
channel.
• If the data type is INT16 or UNIT16, the maximum
number of channels that can be set from first to last
channel is 127. For other data types, the maximum
is 63.
UL Validation of Login Function
Setting
ULp1<terminator>
p1 Login function ON/OFF
Query
UL[p1]?
Example Enables the login function.
ULON
WC Validation of Client Function
Setting
WCp1,p2<terminator>
p1 Client type
DHCP DHCP client
FTP FTP client
SMTP SMTP client
SNTP SNTP client
MODBUS_M Modbus master
MODBUS_C Modbus client
p2 Enable client function (ON/OFF)
Query
WC[p1]?
Example Enable the FTP client.
WCFTP,ON
Explanation • The MODBUS_C of p1 can only be set with the /M1
MATH function option.
•
The MODBUS_M of p1 can be set with the serial
interface option /C2 or /C3, or with the MATH
function option /M1.
WS Validation of Server Function
Setting
WSp1,p2,p3<terminator>
p1 Server type
MODBUS Modbus server
FTP FTP server
HTTP HTTP server
SNTP SNTP server
GENE MW100 dedicated protocol
server
DIAG
Maintenance/diagnostics
server
p2 Enable server function (ON/OFF)
p3
Port number (1 to 65535)
Query
WS[p1]?
Example Enables FTP server on port number 21.
WSFTP,ON,21
YQ Communication Timeout
Settings
Setting
YQp1,p2,p3<terminator>
p1 TCP keep alive (OFF/30 s)
p2 Timeout time (OFF, 1 to 120)[min]
p3 Modbus Delay Response (OFF, 10ms,
20ms, 50ms)(Firmware version R3.04 or
later)
OFF
No delay
0mS, 20mS, 50mS: Specify delay
Query
YQ?
Example Set TCP keep alive to 30 seconds, communication
timeout time to 3 minutes, and Modbus Delay Response
to 10mS.
YQ30S,3,10mS
1.6 Setting Commands (Communication Related)