
5 User Communication
3-82
WindO/I-NV4 User’s Manual
●
Example 2
This section describes an example of user communication protocol settings for creating the following commands and
command operations.
• Transmission command for transmitting data using Constant (Hexadecimal), Registering Constant (Character),
Device Address, BCC, Constant (Hexadecimal) command settings when the trigger condition device address
changes to 1
• Receive command for receiving, processing, and storing data in device addresses, using Constant (Hexadecimal),
Registering Constant (Character), Skip, Device Address, BCC, Constant (Hexadecimal) command settings, for data
transmitted from an external device, when the trigger condition device address is 1
■
Settings in the User Communication tab on the Project Settings dialog box
Transmission command: Command Settings dialog box settings
Operation for transmission command
1
Write a value of 10 (Dec) to LDR200 for
Registering Constant (Character)
for transmission command data.
AB
is selected.
2
Write a value of 3132h to LDR210 and 3334h to LDR211 for
Device Address
for transmission command data.
3
Change the value of the trigger condition LM200 from 0 to 1 to send the command.
The transmission data is as follows.
• When data transmission is successfully completed, the Completed Device Address LM201 changes to 1.
• When the value of each bit of address 0 for Status Device Address LDR220 is 0, transmission is completed
without an error.
Item
Setting
Protocol Name
Sample 2
Receiving Character Time Out
30 (×100 msec)
Item
Setting
Type
TXD
Trigger Condition
Rising-edge, LM200
Completed Device Address
LM201
Status Device Address
LDR220
Transmission Wait
0 (×100 msec)
Comment
TXD command
Command
Data Settings dialog box settings
Constant
(Hexadecimal)
'05'
Registering
Constant
(Character)
10: "AB", 20: "CD", Index Device Address: LDR200
Device Address
No conversion, from Upper byte, Number of bytes: 2,
Words: 2, Device Address: LDR210
BCC
Start Calculation Position: 1, End Calculation Position: 0,
XOR, Hexadecimal to ASCII, 2 bytes
Constant
(Hexadecimal)
'0D''0A'
AB
10:
CD
20:
Index Device Address
LDR200=10
Data
Index No.
Number of Registering Constants: 2
Transmission data
A
(41h)
B
(42h)
Order of transmission
3
(33h)
4
(34h)
1
(31h)
EQN
(05h)
2
(32h)
CR
(0Dh)
LF
(0Ah)
A
(41h)
B
(42h)
0
(30h)
2
(32h)
BCC
Transmission data:
Constant
(Hexadecimal)
Registering
Constant (Character)
Device Address
Command settings:
Constant
(Hexadecimal)
Summary of Contents for MICRO/I HG4G-CJT22 F-B Series
Page 1: ...B 1701 11 User s Manual ...
Page 26: ...Preface 25 WindO I NV4 User s Manual ...
Page 106: ...5 WindO I NV4 Common Operations and Settings 2 74 WindO I NV4 User s Manual ...
Page 254: ...7 BACnet Communication 3 148 WindO I NV4 User s Manual ...
Page 362: ...5 Screen Restrictions 5 28 WindO I NV4 User s Manual ...
Page 402: ...3 Text 7 30 WindO I NV4 User s Manual ...
Page 574: ...9 Potentiometer 8 172 WindO I NV4 User s Manual ...
Page 1052: ...4 Using the Data 15 22 WindO I NV4 User s Manual ...
Page 1170: ...6 Important Notes 20 60 WindO I NV4 User s Manual ...
Page 1200: ...5 Restrictions 22 18 WindO I NV4 User s Manual ...
Page 1260: ...5 Editing User Accounts on the MICRO I 23 60 WindO I NV4 User s Manual ...
Page 1322: ...2 Monitoring on the MICRO I 25 28 WindO I NV4 User s Manual ...
Page 1414: ...4 E mail Function 28 66 WindO I NV4 User s Manual ...
Page 1554: ...3 Settings 34 14 WindO I NV4 User s Manual ...
Page 1642: ...2 Handling Problems 36 6 WindO I NV4 User s Manual ...
Page 1652: ...5 Text Alignment A 10 WindO I NV4 User s Manual ...
Page 1664: ...Index 12 WindO I NV4 User s Manual ...