Using Protocol Macros

Section 5-5

Level

Item

Setting

Send message

Header <h>

“@”

SD (00) _1

Terminator <t>

[2A0D]

 

Error check code <c>

LRC (horizontal parity) (0) (2 bytes of ASCII)

 

Length <l>

---

 

Address <a>

$ (R (1) ) ,2)

 

Message edited

<h> + <a> + “1” + “00” + “0000” + <c> + <t>

 

 

Data

Receive message

Header <h>

“@”

RV (00) _1

Terminator <t>

[2A0D]

 

Error check code <c>

LRC (horizontal parity) (0) (2 bytes of ASCII)

 

Length <l>

---

 

Address <a>

& (R (1) ) ,2)

 

Message edited

<h> + <a> + “00” + “00” + & (W (1) ,4) + <c> + <t>

 

 

Data

Handling Communications Problems for Standard System Protocols

The CQM1H-series PCs provide standard system protocols to enable commu- nications with OMRON components without having to create communications sequences. The sequences in the standard system protocols can be executed merely by setting operands for the PMCR(––) instruction.

Processing for communications line problems during communications for the standard system protocols are set to normal settings, as shown in the following table. If these settings are not suitable to the application or if improvements are desired, use the CX-Protocol to modify the following settings in the required se- quences. For details on the use of the CX-Protocol, refer to the CX-Protocol Op- eration Manual (W344). Refer to the appendices for the settings in the standard system protocols.

Level

Item

Possible changes in settings

 

 

 

Sequence

Link words

No reason to change.

parameters

 

 

Transmission control

 

 

 

 

parameters

 

 

 

 

 

Response

 

 

notification method

 

 

 

 

 

Reception wait time

The monitoring times are set to 3 seconds

 

Tr

for most sequences. The settings are

 

 

different for send-only and receive-only

 

Reception finished

 

sequences, as well as for sequences that

 

wait time Tfr

 

require time for responses.

 

 

 

Send finished wait

 

 

 

time Tfs

 

 

 

 

Step

Repeat counter

No reason to change.

parameters

 

 

Command

 

 

 

 

 

 

 

Retry count

The retry count is general set to 3 retries (4

 

 

tries total) for sequences that use the

 

 

SEND&RECEIVE command. Different

 

 

settings are used for sequences that have

 

 

other commands.

 

 

 

 

Send wait time

No reason to change.

 

 

 

 

Send message

 

 

 

 

 

Receive message

 

 

 

 

 

Response write

 

 

enable

 

 

 

 

 

Next process

 

 

 

 

 

Error process

 

79

Page 90
Image 90
Omron CQM1H-SCB41 operation manual Level Possible changes in settings