WindO/I-NV4 User’s Manual 12-13
2 Word Write Command
12
Commands
■ Data Type
Select the data type handled by the operation selected for Action Mode.
For details, refer to Chapter 2 “1.1 Available Data” on page 2-1.
UBIN16(W) and UBIN32(D) can only be set if Action Mode is set to OR, AND, or XOR.
■ Source 1
Specify the source word device.
Click to display the Tag Editor. For the device address configuration procedure, refer to Chapter 2 “5.1 Device
Address Settings” on page 2-70.
This setting is enabled only if Action Mode is set to Add, Sub, Multi, Div, Mod, OR, AND, or XOR.
■ Source Data
Select the data handled by the operation selected for Action Mode.
Add, Sub, Multi, Div, Mod, OR, AND, XOR:
Performs arithmetic on the value in a reference device address and a fixed value, or the value at a
device address and writes the result to a word device when the trigger condition is satisfied.
Example: Add (Addition)
When the trigger condition is satisfied, the value in the Source 1 is added to the value in
Source 2 and the result is written to the word device.
State of condition
Data written
Action
Result
Arithmetic operation
↓
Write
Result
Arithmetic operation
↓
Write
Condition Condition Condition Condition
SatisfiedSatisfiedSatisfiedNot satisfiedNot satisfiedNot satisfied SatisfiedSatisfiedSatisfied
Not satisfiedNot satisfiedNot satisfied
State of condition
Data written
Action
Result Result
Addition
↓
Write
Addition
↓
Write
Condition Condition Condition Condition
SatisfiedSatisfiedSatisfiedNot satisfiedNot satisfiedNot satisfied SatisfiedSatisfiedSatisfied
Not satisfiedNot satisfiedNot satisfied
UBIN16(W) and UBIN32(D) can only be set if Action Mode is set to Move. Because the number of
device addresses to transfer is specified in Advanced mode, you do not need to set Data Type.
If BCD4(B), BCD8(EB), or Float32(F) is selected and the arithmetic data contains a value inexpressible
in BCD, a 1 is written to System Area 2 Processing error bit (address number+2, bit 5) and an error
message is displayed. For details, refer to Chapter 4 “Processing error” on page 4-32 and Chapter 36
“Processing error” on page 36-3.
Value: Use a constant value.
Only a Value can be handled if Action Mode is set to Set or Momentary.
If Action Mode is set to Momentary, the value in the ON Data is written when the trigger
condition is satisfied, and the value in the OFF Data when the trigger condition is no longer
satisfied.
Hexadecimal: Select this check box to enter the ON Data and OFF Data values as a
hexadecimal.