Omron C200HX Operation Manual page 459

Hide thumbs Also See for C200HX:
Table of Contents

Advertisement

The Protocol Macro Function
8-6-3 Communications Procedure
Communications Sequence
Structure
Item
Sequence
Transmission control
settings
Link words
Monitor time
Response notification
Step
Repeat counter
settings
se
gs
Command
Number of retries
Transmission wait time
Transmission message Sets the transmission data for the Send
Reception message
Reception matrix
Response notification
Next process
Error processing
Parameter
Setting
Baud rate
00
01
02
03
04
The Protocol Macro's communications sequences must be created with the Pro-
tocol Support Software and transferred to the Communications Board in ad-
vance. In the PC, the PMCR(––) instruction is executed to execute a commu-
nications sequence stored in the Communications Board.
Up to 1,000 communications sequences with sequence numbers 000 to 999 can
be created with the Protocol Support Software. Each communications se-
quence is composed of a maximum of 16 steps. The following table shows the
communications sequence settings.
Function
Sets the transmission control method,
such as X-on/X-off flow control or RS/
CS flow control.
Sets the link words for the data link be-
tween the PC and Communications
Board.
Sets the monitor time (watchdog timer)
for communications processing.
Sets the timing for writing the received
data.
Sets the number of times to repeat the
step.
Sets the communications command.
Sets the number of retries when errors
occur for the Send&Recv command.
Sets the time to wait before sending
the data when transmitting
or Send&Recv commands.
Sets the expected reception data for
the Recv or Send&Recv commands.
Sets the expected reception data (up to
15 types) for the Recv or Send&Recv
commands and adjusts processing de-
pending on the data type.
Sets whether or not to write the re-
ceived data.
Sets the next step to go to when the
current step has been completed suc-
cessfully.
Sets the next step to go to when an er-
ror has occurred in the current step.
Baud rate
1,200 bps
2,400 bps
4,800 bps
9,600 bps
19,200 bps
Parameter settings
X-on/X-off, RS/CS, modem control, de-
limiter control, or contention control
IR/SR, LR, HR, AR, DM, and EM areas
Reception standby, reception com-
pleted, transmission completed
0.01 s, 0.1 s, 1 s, and 1 minute units
Scan notification or interrupt notification
Constant 0 to 255
IR/SR, LR, HR, AR, DM, and EM areas
Send, Recv, or Send&Recv
0 to 9
0.01 s, 0.1 s, 1 s, and 1 minute units
Header, address, length, data, error
check code, and terminator
Header, address, length, data, error
check code, and terminator
Header, address, length, data, error
check code, terminator, and next pro-
cess
Yes/No
End, Goto, Next, or Abort
End, Goto, Next, or Abort
Section 8-6
441

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200hgC200he

Table of Contents