5 Script Coding Examples
20-52
WindO/I-NV4 User’s Manual
Script
Operation description
Copies the value of 10 word device addresses from LDR200 (up to LDR209) to 10 word device addresses from
LDR100 (up to LDR109).
Script
Operation description
Copies the third bit of 10 words from LDR100 (up to LDR109) to the bit state for 10 of device addresses from LM0 (up to
LM9).
■
Example 5.7.24
Word-unit data copy
MEMCPY([LDR 100], [LDR 200], 10);
LDR100
LDR101
LDR102
LDR108
LDR109
LDR200
LDR201
LDR202
LDR208
LDR209
Copy each
LDR107
LDR207
Even if the
Data Type
is set to
UBIN32(D)
,
BIN32(L)
,
BCD8(EB)
, or
Float32(F)
, the data is copied
from the start device address in word units.
■
Example 5.7.25
Bit-unit data copy
MEMCPY([LM 0], [LDR 100-2], 10);
3rd bit of LDR100
3rd bit of LDR101
3rd bit of LDR102
3rd bit of LDR108
3rd bit of LDR109
LM0
LM1
LM2
LM8
LM9
3rd bit of LDR107
LM7
Copy each
Even if the
Data Type
is set to
UBIN32(D)
,
BIN32(L)
,
BCD8(EB)
, or
Float32(F)
, the bits are copied
from the start device address in bit units.
Summary of Contents for WindO/I-NV4
Page 1: ...B 1701 16 User s Manual...
Page 108: ...5 WindO I NV4 Common Operations and Settings 2 76 WindO I NV4 User s Manual...
Page 256: ...7 BACnet Communication 3 148 WindO I NV4 User s Manual...
Page 372: ...6 Screen Restrictions 5 32 WindO I NV4 User s Manual...
Page 390: ...5 Part Library Function 6 18 WindO I NV4 User s Manual...
Page 420: ...3 Text 7 30 WindO I NV4 User s Manual...
Page 628: ...2 Multi State Lamp 9 34 WindO I NV4 User s Manual...
Page 924: ...4 Meter 11 76 WindO I NV4 User s Manual...
Page 990: ...7 Timer 12 66 WindO I NV4 User s Manual...
Page 1030: ...4 Using Data and Detected Alarms 13 40 WindO I NV4 User s Manual...
Page 1098: ...4 Using the Data 15 22 WindO I NV4 User s Manual...
Page 1248: ...5 Restrictions 22 18 WindO I NV4 User s Manual...
Page 1370: ...2 Monitoring on the MICRO I 25 28 WindO I NV4 User s Manual...
Page 1388: ...4 Restrictions 26 18 WindO I NV4 User s Manual...
Page 1546: ...5 Module Configuration Dialog Box 30 36 WindO I NV4 User s Manual...
Page 1614: ...3 Settings 34 14 WindO I NV4 User s Manual...
Page 1726: ...5 Text Alignment A 10 WindO I NV4 User s Manual...