Using Protocol Macros

 

 

 

 

 

Section 5-1

 

 

 

 

 

 

 

 

 

 

 

Item

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

 

 

Message con-

*1:

Con-

ASCII data, hexadecimal data, or control code

 

 

tents

Header and

stant

 

 

 

 

 

 

 

 

terminator

 

 

 

 

 

 

 

 

 

data attrib-

 

 

 

 

 

 

 

 

 

utes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

*2:

Con-

ASCII data, hexadecimal data, or control code (with an address, no control

 

Data attrib-

stant

code is possible)

 

 

 

 

 

 

utes of ad-

 

 

 

 

 

 

 

 

 

Vari-

No conversion, conversion to ASCII data, or conversion to hexadecimal data

 

dresses and

 

ables

(the read/write direction can be specified)

 

 

 

 

data in send/

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Desig-

(X, Y)

 

 

 

 

 

 

receive mes-

 

 

 

 

 

 

 

 

nation

 

 

 

 

 

 

 

sages

 

X: Effective address (where read from, or where written to)

 

 

method

 

 

 

Y: Data size (1 to 256)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Note The data size is the number of bytes on the transmission

 

 

 

 

path.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X

Word

Word read (I/O

 

Specify using

Set leading

 

 

 

 

designation

memory to

 

the 2nd oper-

address + n

 

 

 

 

 

send data)

 

and of the

(The linear ex-

 

 

 

 

 

 

 

PMCR(––)

pression aN +

 

 

 

 

 

 

 

instruction.

b, including re-

 

 

 

 

 

 

 

 

peat counter

 

 

 

 

 

 

 

Specify using

 

 

 

 

 

 

 

N, is also pos-

 

 

 

 

 

 

 

a link word.

 

 

 

 

 

 

 

sible for n.)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I/O memory di-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

rect designa-

 

 

 

 

 

 

 

 

 

tion

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Word write (re-

 

Specify using

 

 

 

 

 

 

 

ceive data to

 

the 3rd oper-

 

 

 

 

 

 

 

I/O memory)

 

and of the

 

 

 

 

 

 

 

 

 

PMCR(––)

 

 

 

 

 

 

 

 

 

instruction.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Specify using

 

 

 

 

 

 

 

 

 

a link word.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I/O memory di-

 

 

 

 

 

 

 

 

 

rect designa-

 

 

 

 

 

 

 

 

 

tion

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Wild card

*

 

Any data or address can be re-

 

 

 

 

 

 

 

ceived (only in receive mes-

 

 

 

 

 

 

 

sages)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Repeat

N

 

 

 

 

 

 

 

counter

 

 

 

 

 

 

 

 

Y

Linear expres-

aN + b

 

a: 0 to 255; b: 1 to 255

 

 

 

 

sion including

 

 

N: Repeat counter value

 

 

 

 

repeat counter

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Wild card

*

 

Can be received regardless of

 

 

 

 

 

 

 

the length (only in receive mes-

 

 

 

 

 

 

 

sages)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Word designa-

Word read (I/O

 

Specify using

Set leading

 

 

 

 

tion

memory to

 

the 2nd oper-

address + n

 

 

 

 

 

send data)

 

and of the

(The linear ex-

 

 

 

 

 

 

 

PMCR(––)

pression aN +

 

 

 

 

 

 

 

instruction.

b, including re-

 

 

 

 

 

 

 

 

peat counter

 

 

 

 

 

 

 

Specify using

 

 

 

 

 

 

 

N, is also pos-

 

 

 

 

 

 

 

a link word.

 

 

 

 

 

 

 

sible for n.)

 

 

 

 

 

 

 

I/O memory di-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

rect designa-

 

 

 

 

 

 

 

 

 

tion

 

 

62

Page 73
Image 73
Omron CQM1H-SCB41 Description Message con Con, Tents Header Stant Terminator Data attrib Utes Con, Data attrib Stant