ES100j Digital Controller Protocol

 

 

Appendix H

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Offset

Contents (data format)

Data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+0

 

Number of send data words

0001 to 0128

 

 

 

 

 

 

 

(4 digits BCD)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+1

 

Number of send data bytes

0001 to 0251

 

 

 

 

 

 

 

 

 

The number of send bytes not including @,

 

 

 

 

 

 

 

 

 

the FCS, or the terminator.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+2

 

Send data (ASCII 2 characters)

Refer to the manual for the ES100j.

 

 

 

 

 

 

 

 

 

Use ASCII (Up to 251 characters total.)

 

 

 

 

 

 

 

D

 

 

 

 

 

 

 

D

 

 

 

 

 

 

 

 

D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+127

 

Send data (ASCII 1 characters)

 

 

 

 

 

 

(max.)

 

 

 

 

 

 

 

 

 

 

 

Receive Data Word Allocation (3rd Operand of PMCR)

 

 

 

 

 

 

 

 

 

 

 

 

Receive data

+0

 

 

Number of receive data words

 

 

 

 

storage words

 

 

 

 

 

 

 

 

 

+1

 

 

Receive data (ASCII code)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+2

 

 

Receive data (ASCII code)

 

 

 

 

 

 

 

 

 

 

 

 

 

~~

+126

Receive data

(Undefined)

(max.=251 characters)

Offset

Contents (data format)

Data

+0

Number of receive data words

0001 to 0127

 

(4 digits BCD)

 

+1

Receive data

Refer to the manual for the ES100V.

 

(ASCII 2 characters)

Returned as ASCII (Up to 251 characters

 

 

 

D

total.)

 

D

 

 

D

 

+126

Receive data

 

(max.)

(ASCII 1 characters)

 

Note 1. At transmission, a header code “@” is attached before the data and the FCS and a terminator “*”CR are attached following the send data.

First word of send +0

0006

 

data

+1

0007

 

 

 

 

+2

“AB”

@ABCDEFG[FCS]*CR

 

+3

“CD”

 

2 bytes

 

+4

“EF”

 

 

+5

“GH”

 

 

 

 

2.At reception, data excluding the header code “@” at the beginning of the receive data and the FCS and terminator “*”CR at the end of the data is stored in the receive data storage words.

First word of send +0

data

+1

@ABCDEFG[FCS]*CR +2

2 bytes

+3

 

 

+4

 

+5

0006

0007

“AB”

“CD”

“EF”

“G”

3. Refer to the manual for the ES100j for the contents of send data and receive data.

282

Page 287
Image 287
Omron CQM1H-SCB41 operation manual 282