IDEC MICRO/I HG4G-CJT22 F-B Series User Manual page 185

Micro/i operator interfaces for windo/i-nv4
Table of Contents

Advertisement

Terminal
Start code
Variable
code
Set
Not set
Set
Not set
Set
Not set
Not set
Not set
• When trigger conditions are satisfied for two or more receive commands for which both start code and
terminal code are set, all commands are analyzed and processed for receive processing. Since
commands with and without errors may be mixed depending on the results of data reception analysis of
each command, take extra caution regarding error handling.
• While the trigger condition is satisfied for a receive command for which either a start code or terminal
code is not set, only this command is processed for data reception when the trigger condition of another
command is being satisfied. When two or more commands exist for which either start code or terminal
code is not set, the command with the biggest number for managing the protocol is processed.
• When a start code of the receive command for which a start code is set cannot be received, all of the
receive data is ignored and abandoned. No error occurs.
• When start code is received with a receive command for which start code and terminal code are set, the
data reception is completed after the maximum number of bytes received in case of continuous
reception of data that does not match the terminal code of all receive command in which the trigger
conditions is satisfied.
Description of the procedure for terminal of data reception
Reception is started from the beginning and terminated with the terminal code.
Registering
Command settings:
Constant (Hexadecimal)
<<1:"AB" 2:"CD" [LDR0200]>>
Receive data:
Start code: None
Reception is started from the beginning and the data is received according to the
maximum command length.
Skip
Command settings:
Skip(2)
Receive data:
Start code: None
Maximum command length
Reception is terminated when the Receiving Character Time Out occurs.
Skip
Command settings:
Skip(2)
Receive data:
Start code: None
Receive
Reception is started from the beginning and terminated when the data is received
according to the length of the command.
Command settings:
Device Address Without Variable
<[LDR0100] N 2 2 U>
Receive data:
Start code: None
WindO/I-NV4 User's Manual
Device Address
<[LDR0100] N 2 2 U>
Receive
Constant
(Character)
Device Address With Variable
"123"
<[LDR0100] N 2V 2 U>
Terminal code: None
Receive
Constant
(Character) Device Address With Variable
"123"
<[LDR0100] N 2V 2 U>
Terminal code: None
Receiving character time out occurs.
Registering Constant (Hexadecimal)
<<1:"AB" 2:"CD" [LDR0200]>>
Command length
Receive
5 User Communication
Constant
(Hexadecimal)
'34' '35' '0d'
3
Terminal code 0dh
BCC
BCC(1 0 XOR N 1)
Terminal code: None
3-79

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents