IDEC WindO/I-NV4 User Manual page 937

Automation organizer
Table of Contents

Advertisement

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.
State of condition
Example:
State of condition
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.
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.
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.
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:
Not satisfied
Not satisfied
Not satisfied
Satisfied
Satisfied
Satisfied
Condition
Condition
Arithmetic operation
Action
Write
Data written
Result
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.
Not satisfied
Not satisfied
Not satisfied
Satisfied
Satisfied
Satisfied
Condition
Condition
Addition
Action
Write
Data written
Result
Select this check box to enter the ON Data and OFF Data values as a
hexadecimal.
WindO/I-NV4 User's Manual
Not satisfied
Not satisfied
Not satisfied
Satisfied
Satisfied
Satisfied
Condition
Condition
Arithmetic operation
Write
Result
Not satisfied
Not satisfied
Not satisfied
Satisfied
Satisfied
Satisfied
Condition
Condition
Addition
Write
Result
2 Word Write Command
12-13
12

Advertisement

Table of Contents
loading

Table of Contents