Commands – IDEC High Performance Series User Manual

Page 749

Advertising
background image

WindO/I-NV2 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.2 Available Data” on page 2-2.
BIN16(+) and BIN32(+) 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 Device Address Settings dialog box. For the device address configuration procedure, refer

to Chapter 2 “5.1 Device Address Settings” on page 2-67.
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 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

Satisfied

Satisfied

Satisfied

Not satisfied

Not satisfied

Not satisfied

Satisfied

Satisfied

Satisfied

Not satisfied

Not satisfied

Not satisfied

State of condition

Data written

Action

Result

Result

Addition

Write

Addition

Write

Condition

Condition

Condition

Condition

Satisfied

Satisfied

Satisfied

Not satisfied

Not satisfied

Not satisfied

Satisfied

Satisfied

Satisfied

Not satisfied

Not satisfied

Not satisfied

BIN16(+) and BIN32(+) can only be set if Action Mode is set to Move. Because the number of devices
to transfer is specified in Advanced mode, you do not need to set Data Type.

If BCD4, BCD8 or float32 is selected and the arithmetic data contains a value inexpressible in BCD, a 1 is
written to System Area 2 Arithmetic error bit (address+2, bit 5) and an error message is displayed.
For details, refer to Chapter 4 “Arithmetic error” on page 4-34.

Value:

Use a constant.
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.

Advertising
This manual is related to the following products: