beautypg.com

2 word write command, 1 how the word write command is used, Word write command -9 – IDEC High Performance Series User Manual

Page 745: How the word write command is used -9, Commands, 2word write command

background image

WindO/I-NV2 User’s Manual

12-9

2 Word Write Command

12

Commands

2.1 How the Word Write Command is Used

Writes a value to a word device. Can be used to indirectly specify the destination address or to perform operations on
the written value.

• Writes a fixed value to a word device when the trigger condition is satisfied.

• Writes the value of device to a word device when the trigger condition is satisfied.

• Performs arithmetic on the value to write before writing it to a word device when the trigger condition is satisfied.

2

Word Write Command

HG3G

HG2G-5F

HG2G-5S

HG2G-S

HG4G HG1F HG2F HG2S HG3F HG4F

MICRO/I

Host device

D1=

0

100

D1=

100

Write

DesƟnaƟon word device

100

Value

Condition

Condition

Satisfied

Satisfied

Satisfied

Not satisfied

Not satisfied

Not satisfied

MICRO/I

Host device

D0=

123

D1=

0

D0=

123

D1=

123

Move

Value in device

DesƟnaƟon word device

Condition

Condition

Satisfied

Satisfied

Satisfied

Not satisfied

Not satisfied

Not satisfied

MICRO/I

Host device

D0=

100

D1=

23

D2=

0

D0=

100

D1=

23

D2=

123

Add

Write

Value to write

Operator value

DesƟnaƟon word device

Condition

Condition

Satisfied

Satisfied

Satisfied

Not satisfied

Not satisfied

Not satisfied

This manual is related to the following products: