IDEC High Performance Series User Manual

Page 170

Advertising
background image

5 User Communication

3-68

WindO/I-NV2 User’s Manual

Not set

Set

Set

Not set

Reception is started from the beginning and terminated with the terminal code.

Not set

Not set

Set

Reception is started from the beginning 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 from the beginning and terminated when the data is received
according to the length of the command.

Start code Terminal

code

Variable

Description of the procedure for terminal of data reception

<[LDR0100] N 2 2 U>

Receive data:

<<1:”AB” 2:”CD” [LDR0200]>>

Registering Constant (HEX)

Device

'34' '35' '0d'

Constant (HEX)

Receive

Command settings:

Start code: None

Terminal code 0dh

Skip(2)

<[LDR0100] N 2V 2 U>

Receive data:

Skip

“123”

Device With Variable

Maximum command length

Receive

Command settings:

Constant

(Character)

Start code: None

Terminal code: None

Skip(2)

<[LDR0100] N 2V 2 U>

Receive data:

Skip

“123”

Constant

(Character)

Device With Variable

Receive

Command settings:

Start code: None

Terminal code: None

Receiving character time out occurs.

<[LDR0100] N 2 2 U>

Receive data:

<<1:”AB” 2:”CD” [LDR0200]>>

Registering Constant (HEX)

Device Without Variable

Command length

Receive

BCC(1 0 XOR N 1)

BCC

Command settings:

Start code: None

Terminal code: None

• 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.

Advertising
This manual is related to the following products: