CompoWay/F Master Protocol

Appendix B

 

 

 

CompoWay/F Master Protocol Sequences

The CompoWay/F Master Protocol provides six communications sequences that can be used for the following:

Converting to ASCII data or not converting to ASCII data

Sending to a specified Unit or broadcasting

Specifying from the command code or specifying from the subaddress and SID.

Structure of the Protocol

The following table shows the structure of the CompoWay/F Master Protocol.

Sequence

Communications

Function

Ladder interface

No.

sequence name

 

 

 

 

Send word

Receive word

 

 

 

 

 

 

allocation

allocation

 

 

 

 

 

600

Send with ASCII conver-

Converts the specified data beginning with

Yes

Yes

 

sion, with response

the command code to ASCII and sends it

 

 

 

 

to the specified Unit. The response is con-

 

 

 

 

verted to hexadecimal and stored starting

 

 

 

 

at the specified word.

 

 

 

 

 

 

 

601

Broadcast with ASCII

A broadcast version of sequence No. 600.

Yes

No

 

conversion, no response

No responses are received.

 

 

 

 

 

 

 

602

Send with no conversion

Sends specified data beginning with the

Yes

Yes

 

and with response

command code to the specified Unit. The

 

 

 

 

response is stored starting at the specified

 

 

 

 

word. This is the same as sequence No.

 

 

 

 

600 without data conversion and can be

 

 

 

 

used when conversion is not required.

 

 

 

 

 

 

 

603

Broadcast with no con-

A broadcast version of sequence No. 602.

Yes

No

 

version and no response

No responses are received.

 

 

 

 

 

 

 

604

General-purpose send

Sends specified data beginning with the

Yes

Yes

 

with no conversion and

subaddress and SID to the specified Unit.

 

 

 

with response

The response is stored starting at the spe-

 

 

 

 

cified word. This sequence can be used

 

 

 

 

whenever it is necessary to specify the

 

 

 

 

subaddress or SID.

 

 

 

 

 

 

 

605

General-purpose broad-

A broadcast version of sequence No. 604.

Yes

No

 

cast with no conversion

No responses are received.

 

 

 

and no response

 

 

 

Sequence No. 600 can be used for the normal CompoWay/F Master function (ASCII conversion, specification from command code).

Refer to the communications specifications for the OMRON CompoWay/F component to which the command is being sent and set the command code and required data starting at the words specified for the 3rd operand of PMCR(260).

The relationship between the CompoWay/F command and response frames and the operands of PMCR(260) is described next.

142

Page 149
Image 149
Omron CQM1H-SCB41 operation manual CompoWay/F Master Protocol Sequences, Structure of the Protocol