5 User Communication
3-78
WindO/I-NV4 User’s Manual
●
Start Code and Terminal Code
A start code starts data reception and a terminal code judges the terminal of data reception. A start code and a
terminal code can be configured for either
Constant (Character)
or
Constant (Hexadecimal)
settings for receive
command. The first 1 byte of the constant is recognized as the start code and the last 1 byte as the terminal code.
Code 00h to 7Fh can be set when
Data Length
under
Interface Settings
is 7 bits, and 00h to FFh when the data length
is 8 bits.
Data Length
is configured under the
Communication Interface
tab on the Project Settings dialog box.
The procedure for terminal of data reception varies whether or not the receive data contains a start code and a
terminal code, and whether the
Variable
check box for
Device Address
for receive command data is selected.
In the following description,
With Variable
indicates that the
Variable
check box for
Device Address
for receive
command data is selected and
Without Variable
indicates that the
Variable
check box is not selected. Also, when
there are multiple
Device Address
set for receive command data, and at least 1 command has the
Variable
check
box selected, this corresponds to
With Variable
.
Start code Terminal
code
Variable
Description of the procedure for terminal of data reception
Set
Set
Set
Not set
Reception is started with the start code and terminated with the terminal code.
When the terminal code is followed by BCC, the data including the number of bytes of
BCC is received.
Set
Not set
Set
Reception is started with the start code and the data is received according to the
maximum command length.
Reception is terminated when the Receiving Character Time Out occurs.
Not set
Reception is started with the start code and the data is received according to the length of
the command.
'02' '31' '32' '33' <[LDR0100] N 2 2 U>
Receive data:
Constant
(Hexadecimal)
'34' '35' '0d'
Constant
(Hexadecimal)
Device Address
Command settings:
Start code 02h
Terminal code 0dh
'02' '31' '32' '33' <[LDR0100] N 2 2 U>
Receive data:
'34' '35' '0d'
Device Address
Receive
Constant
(Hexadecimal)
Constant
(Hexadecimal)
Command settings:
Start code 02h
Terminal code 0dh
'02' '31' '32' '33' <[LDR0100] N 2 2 U>
Receive data:
'34' '35' '0d'
BCC(1 0 XOR N 1)
BCC
Device Address
Receive
Constant
(Hexadecimal)
Constant
(Hexadecimal)
Command settings:
Start code 02h
Terminal code 0dh
'02' '31' '32' <[LDR0100] N 2V 2 U>
Receive data:
Constant
(Hexadecimal)
<<1:”AB” 2:”CD” [LDR0200]>>
Registering Constant (Hexadecimal)
Device Address With Variable
Maximum command length
Receive
Command settings:
Start code 02h
Terminal code: None
'02' '31' '32' <[LDR0100] N 2V 2 U>
Receive data:
Constant
(Hexadecimal)
'03'
<<1:”AB” 2:”CD” [LDR0200]>>
Constant
(Hexadecimal)
Registering Constant
(Hexadecimal)
Device Address
With Variable
Receive
Command settings:
Start code 02h
Terminal code: None
Receiving character
time out occurs.
'02' '31' '32'
<[LDR0100] N 2 2 U>
Receive data:
Constant
(Hexadecimal)
<<1:”AB” 2:”CD” [LDR0200]>>
Registering
Constant (Hexadecimal)
Device Address Without Variable
Command length
Receive
Command settings:
Start code 02h
Terminal code: None
Summary of Contents for WindO/I-NV4
Page 1: ...B 1701 16 User s Manual...
Page 108: ...5 WindO I NV4 Common Operations and Settings 2 76 WindO I NV4 User s Manual...
Page 256: ...7 BACnet Communication 3 148 WindO I NV4 User s Manual...
Page 372: ...6 Screen Restrictions 5 32 WindO I NV4 User s Manual...
Page 390: ...5 Part Library Function 6 18 WindO I NV4 User s Manual...
Page 420: ...3 Text 7 30 WindO I NV4 User s Manual...
Page 628: ...2 Multi State Lamp 9 34 WindO I NV4 User s Manual...
Page 924: ...4 Meter 11 76 WindO I NV4 User s Manual...
Page 990: ...7 Timer 12 66 WindO I NV4 User s Manual...
Page 1030: ...4 Using Data and Detected Alarms 13 40 WindO I NV4 User s Manual...
Page 1098: ...4 Using the Data 15 22 WindO I NV4 User s Manual...
Page 1248: ...5 Restrictions 22 18 WindO I NV4 User s Manual...
Page 1370: ...2 Monitoring on the MICRO I 25 28 WindO I NV4 User s Manual...
Page 1388: ...4 Restrictions 26 18 WindO I NV4 User s Manual...
Page 1546: ...5 Module Configuration Dialog Box 30 36 WindO I NV4 User s Manual...
Page 1614: ...3 Settings 34 14 WindO I NV4 User s Manual...
Page 1726: ...5 Text Alignment A 10 WindO I NV4 User s Manual...