beautypg.com

Write_to_array – Yaskawa FSP Amplifier FlexWorks User Manual

Page 191

background image

Command Reference

191

WRITE_TO_ARRAY

G

ROUP

Variables

S

YNTAX

WRITE_TO_ARRAY

O

P

. C

ODE

158

M

ODES

Immediate; Sequential; Program

D

ESCRIPTION

Write into array element, according to .

Index

Decimal value in range of 1-512
representing the index of the member in the
data array.

Serial 2 U V

S

YNTAX

A

RGUMENTS

Value

Long type.

Serial 4 V

E

XAMPLE

Array value before:

Index

1 2 3 ...

17

...

512

Value

98

WRITE_TO_ARRAY 17 5432
Array value after:

Index

1 2 3 ...

17 ...

512

Value

5432

E

XAMPLE

E

XPLANATION

Data array [17] was equal to 98. After the
WRITE_TO_ARRAY command it was changed to 5432.

S

EE

A

LSO

SET_VAR, READ_FROM_ARRAY, GET_FROM_ARRAY
(Only in immediate or sequential mode)

This manual is related to the following products: