IDEC MICRO/I HG4G-CJT22 F-B Series User Manual page 174

Micro/i operator interfaces for windo/i-nv4
Table of Contents

Advertisement

5 User Communication
Example 8
Item
Conversion Type
Device Address
Use Reference Device Address
Number of bytes
Words
Variable
When the trigger condition is satisfied, the received data is stored in device addresses in the following order.
Data from the beginning of the received data to Constant (Hexadecimal) data is stored in the device address.
Constant (Hexadecimal) data is not stored.
Received data
Stored data
Constant (Hexadecimal) data
1
2
3
(31h)
(32h)
(33h)
Order of reception
Example 9
Item
Conversion Type
Device Address
Use Reference Device Address
Storage Method of data
Words
Variable
When the trigger condition is satisfied, the received data is stored in device addresses in the following order.
When the LDR200 value is 2
Received data
1
2
3
(31h)
(32h)
(33h)
Order of reception
3-68
ASCII to Decimal
LDR100
OFF
2
3
ON
ETX
(03h)
2 bytes
Constant (Character) data
0 is stored.
The stored data is smaller than the
size specified for Words.
No conversion
LDR100
ON, Device Address: LDR200
from Upper byte
2
OFF
Upper
4
1
(34h)
(31h)
Bytes: 2
3
(33h)
WindO/I-NV4 User's Manual
Setting
ASCII to Decimal
1
2
LDR100:
(31h)
(32h)
LDR101:
NUL
3
LDR102:
(00h)
(33h)
Insufficient by 1 word
0 is stored.
Setting
Value of Device Address
LDR100:
Lower
LDR101:
2
LDR102:
(32h)
LDR103:
4
(34h)
No conversion
Value of Device Address
12
(DEC)
3
(DEC)
Words: 3
0
(DEC)
0000h
0000h
LDR200=2
3132h
Words: 2
3334h

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents