5-5SectionUsing Protocol Macros
79
Level SettingItem
Send message
Header <h> “@”
SD (00) _1
Terminator <t> [2A0D]
SD (00) _1
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]
RV (00) _1
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
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
Tr
The monitoring times are set to 3 seconds
for most sequences. The settings are
Reception finished
wait time Tfr
different for send-only and receive-only
sequences, as well as for sequences that
Send finished wait
time Tfs
require time for responses.
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
Handling
Communications
Problems for Standard
System Protocols