EasyManuals Logo

IDEC WindO/I-NV4 User Manual

IDEC WindO/I-NV4
1738 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #186 background imageLoading...
Page #186 background image
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)
BCCDevice 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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC WindO/I-NV4 and is the answer not in the manual?

IDEC WindO/I-NV4 Specifications

General IconGeneral
BrandIDEC
ModelWindO/I-NV4
CategoryOrganizer
LanguageEnglish