Communic ation – IDEC High Performance Series User Manual

Page 159

Advertising
background image

WindO/I-NV2 User’s Manual

3-57

5 User Communication

3

Communic

ation

Example 8

When the trigger condition is satisfied, the received data is stored in devices in the following order.
Data from the beginning of the received data to Constant (Hexadecimal) data is stored in the device. Constant
(Hexadecimal)
data is not stored.

Example 9

When the trigger condition is satisfied, the received data is stored in devices in the following order.

When the LDR200 value is 2

Item

Setting

Conversion Type

ASCII (DEC) to Binary

Device

LDR100

Use Reference Device

OFF

Number of bytes

2

Words

3

Variable

ON

Item

Setting

Conversion Type

No Conversion

Device

LDR100

Use Reference Device

ON, Device: LDR200

Storage Method of data

from Upper byte

Words

2

Variable

OFF

LDR100:
LDR101:
LDR102:

2

(32h)

Value of Device

1

(31h)

3

(33h)

NUL

(00h)

1

(31h)

2

(32h)

3

(33h)

ETX

(03h)

Words: 3

12

3

(DEC)
(DEC)

0

ASCII (DEC)
to Binary

(DEC)

2 bytes

Received data

Constant (HEX) data

Stored data

Order of reception

Constant (Character) data
0 is stored.

The stored data is smaller than the
size specified for Words.

Insufficient by 1 word
0 is stored.

0000h

LDR100:

0000h

LDR101:

3132h

LDR102:

3334h

LDR103:

No conversion

1

(31h)

Upper

Lower

Value of Device

2

(32h)

3

(33h)

4

(34h)

Received data

1

(31h)

2

(32h)

3

(33h)

4

(34h)

Order of reception

LDR200=2

Words: 2

Bytes: 2

Advertising
This manual is related to the following products: