5 User Communication
3-80 WindO/I-NV4 User’s Manual
5.4 Example of User Communication Settings
This section describes examples of user communication settings and command operations.
●
Example 1
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), Constant (Character), Device Address,
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),
Constant (Character), Device Address, 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 100 (Dec) to LDR100 of transmission command data Device Address.
2 Change the trigger condition LM100 from 0 to 1 to start command transmission.
After the transmission wait duration (five seconds), the transmission data is sent. The transmission data is as follows.
• When data transmission is successfully completed, the Completed Device Address LM101 changes to 1.
• When the value of each bit of address number+0 for Status Device Address LDR110 is 0, transmission is completed
without an error.
Item Setting
Protocol Name Sample 1
Receiving Character Time Out 30 (×100 msec)
Item Setting
Type TXD
Trigger Condition Rising-edge, Device Address: LM100
Completed Device Address LM101
Status Device Address LDR110
Transmission Wait 50 (×100 msec)
Comment TXD command
Command
Data Settings dialog box settings
Constant
(Hexadecimal)
'05'
Constant
(Character)
"D"
Device Address
Conversion Type: Decimal to ASCII,
Number of bytes: 4, Words: 1
Device Address: LDR100
Constant
(Hexadecimal)
'0D'
D
(44h)
0
(30h)
0
(30h)
0
(30h)
EQN
(05h)
1
(31h)
CR
(0Dh)
Transmission data:
Constant
(Hexadecimal)
Constant
(Character)
Device Address
Command settings:
Constant
(Hexadecimal)