
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
Содержание MICRO/I HG4G-CJT22 F-B Series
Страница 1: ...B 1701 11 User s Manual ...
Страница 26: ...Preface 25 WindO I NV4 User s Manual ...
Страница 50: ...1 WindO I NV4 Specifications 2 18 WindO I NV4 User s Manual Baltic Font ANSI 1257 Cyrillic Font ANSI 1251 ...
Страница 106: ...5 WindO I NV4 Common Operations and Settings 2 74 WindO I NV4 User s Manual ...
Страница 254: ...7 BACnet Communication 3 148 WindO I NV4 User s Manual ...
Страница 362: ...5 Screen Restrictions 5 28 WindO I NV4 User s Manual ...
Страница 402: ...3 Text 7 30 WindO I NV4 User s Manual ...
Страница 574: ...9 Potentiometer 8 172 WindO I NV4 User s Manual ...
Страница 1052: ...4 Using the Data 15 22 WindO I NV4 User s Manual ...
Страница 1170: ...6 Important Notes 20 60 WindO I NV4 User s Manual ...
Страница 1200: ...5 Restrictions 22 18 WindO I NV4 User s Manual ...
Страница 1260: ...5 Editing User Accounts on the MICRO I 23 60 WindO I NV4 User s Manual ...
Страница 1286: ...4 Clear 24 26 WindO I NV4 User s Manual 4 Click Yes 5 Click Close This concludes clearing data ...
Страница 1288: ...4 Clear 24 28 WindO I NV4 User s Manual 6 Click Yes 7 Click Close This concludes clearing data on the external memory device ...
Страница 1322: ...2 Monitoring on the MICRO I 25 28 WindO I NV4 User s Manual ...
Страница 1414: ...4 E mail Function 28 66 WindO I NV4 User s Manual ...
Страница 1554: ...3 Settings 34 14 WindO I NV4 User s Manual ...
Страница 1642: ...2 Handling Problems 36 6 WindO I NV4 User s Manual ...
Страница 1652: ...5 Text Alignment A 10 WindO I NV4 User s Manual ...
Страница 1664: ...Index 12 WindO I NV4 User s Manual ...