Wr sets the instrument information output, Wi sets the relay operations, Wf sets the modbus connection limitation – Yokogawa Removable Chassis DX1000N User Manual
Page 175
3-58
IM 04L41B01-17E
of channels 003 to 006 in registers 40003 to
40006 in the slave device at address 7.
YM3,W,003,006,7,40003,INT16
To set a command that writes to computation
channels
Syntax
YM p1,p2,p3,p4,p5,p6,p7
p1 Registration number (1 to 16)
p2 Command type (W-M)
p3 First channel (computation channel number)
p4 Last channel (computation channel number)
p5 Slave device address (1 to 247)
p6 First register number (40001 to 49999,
400001 to 465535)
p7 Type of data assigned to the registers
(INT16, UINT16, INT32_B, INT32_L,
FLOAT_B,FLOAT_L)
To set a command for communication input
channel data exchange
p1 Registration number (1 to 16)
p2 Command type (E-M)
p3 First channel (communication input data
number)
p4 Last channel (communication input data
number)
p4 can only be set to the same value as
p3. (Only one register can be loaded per
command.)
p5 Address of the slave device (1 to 247).
p6 First register number (40001 to 49999,
400001 to 465536)
p7 Register data type (INT16, UINT16,
INT32_B, INT32_L, UINT32_B, UINT32_L,
FLOAT_B, FLOAT_L)
Query
YM[p1]?
Example Register the following command in command
registration number 2: Write the computed 16-bit
signed integer data of channels 101 to 105 to the
first register 40003 in the slave device at address
5.
YM2,W-M,101,105,5,40003,INT16
Description • You can use this command on models with the
/C2 or /C3 serial interface option.
• You can use this command when the serial
interface protocol is set to “Master.” For
information about the serial interface settings,
see section 2.3.
• Set p3 to a value that is less than or equal to
p4.
• The number of registers that are read from
or written to is determined by the values that
you set for p3, p4, and p7. An error occurs if
the specified number of registers exceeds the
number of registers that actually follow the first
register (p6).
WR
Sets the instrument information
output
Syntax
WR p1,p2,p3,p4,p5
p1 Memory and media status (OFF, ON)
p2 Self diagnosis (OFF, ON)
p3 Communication errors (OFF, ON)
p4 Memory stop (OFF, ON)
p5 Alarms (OFF, ON)
Query
WR?
Example Set the DX to transmit various types of
information.
WRON,ON,ON,ON,ON
WI
Sets the relay operations
On DXs without the /AS1 Advanced Security
Option
Syntax
WI p1,p2
p1 FAIL relay (Fail, Status)
p2 Status relay (Fail, Status)
Fail
FAIL
Status Instrument information
Query
WI?
Example
Output FAIL to the FAIL relay and the
instrument information to the status relay.
WIFail,Status
Description This command is valid on models with the /F1 or
/F2 option.
On DXs with the /AS1 Advanced Security Option
Syntax
WI p1,p2
p1 FAIL relay (Fail, Status, MemorySample,
UserLocked, Login)
p2 Status relay (Fail, Status, MemorySample,
UserLocked, Login)
Fail
FAIL
Status
Instrument
information
MemorySsmple
Memory sampling
UserLocked
Invalid user
Login
Login
Query
WI?
Example
Output FAIL to the FAIL relay and login
information to the status relay.
WIFail,Login
Description This command is valid on models with the /F1 or
/F2 option.
WF
Sets the Modbus connection
limitation
Syntax
WF p1
p1 Modbus connection limitation (USE, NOT)
Query
WF?
Example Place limitations on Modbus connections.
WFUSE
3.6 Basic Setting Commands