6 set words instruction (setw) – Yaskawa Ladder Works Programming Manual User Manual

Page 109

Advertising
background image

6.6 SET WORDS Instruction (SETW)

6-12

6.6 SET WORDS Instruction (SETW)

[Outline]

The SETW instruction stores the designated data (Set Data) in all registers designated by the transfer
destination register number (Dest) and the number of destination registers (Width). The storage
process is performed one word at a time in the direction in which the register number increases.

xxxxx

Transfer data

Transfer destination area

V = S, I, O, M, D

Transfer
destination
register no.

xxxxx

xxxxx

xxxxx

xxxxx

xxxxx

xxxxx

Number of
Transfers

VWxxxxx+(n-1)

VWxxxxx+n

VWxxxxx

VWxxxxx+1

VWxxxxx+2

VWxxxxx+3

[Format]

Symbol : SETW
Full Name : Set Word
Category : MOVE

Icon :

[Parameter]

Parameter Name

Setting

Dest

· Any integer type register (except for # and C registers)
· Any integer type register with subscript (except for # and C registers)

Set Data

· Any integer type register (except for # and C registers)
· Any integer type register with subscript (except for # and C registers)
· Constant

Width

· Any integer type register
· Any integer type register with subscript
· Constant

Advertising