IDEC WindO/I-NV4 User Manual page 193

Automation organizer
Table of Contents

Advertisement

Example 3
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), Constant
(Hexadecimal), BCC, Constant (Hexadecimal) command settings when the value of the trigger condition device
address is 1
Settings in the User Communication tab on the Project Settings dialog box
Item
Protocol Name
Receiving Character Time Out
Inching Function
Execution Interval
Transmission command: Command Settings dialog box settings
Item
Type
Function Key
Trigger Condition
Completed Device Address
Status Device Address
Transmission Wait
Comment
Command
Data Settings dialog box settings
Operation for transmission command
1
When the value of Trigger Condition LSD31 is 5, press the Function Key F7 and command is transmitted in one
hundred milliseconds intervals.
The transmission data is as follows.
Constant
(Hexadecimal)
Command settings:
SOH
Transmission data:
(01h)
• When data transmission is successfully completed, the Completed Device Address LM301 changes to 1.
• When the value of each bit of address number+0 for Status Device Address LDR330 is 0, transmission is completed
without an error.
Sample 3
- (Cannot be configured)
Enable
10 (x10 msec)
Inching
F7
While satisfying the condition, LSD31==5
LM301
LDR330
- (Cannot be configured)
TXD Inching command
Constant
(Hexadecimal)
Constant
(Character)
Constant
(Hexadecimal)
BCC
Constant
(Hexadecimal)
Constant
Constant
(Character)
(Hexadecimal)
BCC
K
1
SOH
0
(4Bh)
(31h)
(01h)
(30h)
WindO/I-NV4 User's Manual
Setting
Setting
'01'
"K"
'31''01'
Calculation Start Position: 1, Calculation End Position: 0,
XOR, Hexadecimal to ASCII, 2 bytes
'0D'
Constant
(Hexadecimal)
2
CR
(32h)
(0Dh)
5 User Communication
3
3-85

Advertisement

Table of Contents
loading

Table of Contents