Communications Errors - Omron C200H-ASC11 Manual

Ascii units
Hide thumbs Also See for C200H-ASC11:
Table of Contents

Advertisement

Communications Errors

RTS
RTS_ON
RTS_OFF
DTR
CTS
CTS_ON
CTS_OFF
DSR
DSR_ON
DSR_OFF
4-6
Communications Errors
Port #2: SCRN or LPRT
Command
Mode
RUN
Open
ON
OFF
ON
OFF
ON
OFF
No check No check
No check No check
No check No check
No check No check
When a communications error occurs while a BASIC program is being exe-
cuted, the ERR1 or ERR2 indicator on the ASCII Unit will be lit and at the
same time the CPU Unit's port 1/2 error flag (bit 04/05 of word n+5) will be
turned ON (be set to 1). Execution of the BASIC program will continue. If the
ON ERROR command has been used in the BASIC program, the program will
be diverted to the specified interrupt subroutine when a communications error
occurs.
If another error occurs during the execution of the error interrupt subroutine
however, the BASIC program will stop executing (regardless of whether the
error affects the error subroutine). If the following situation is likely, program
execution may be stopped, so be careful when using the ON ERROR com-
mand. Alternatively, do not use the ON ERROR command in a situation like
the one below, where execution of the BASIC program should be continued
even if a communications error occurs.
• Other errors occur during an interrupt subroutine due to communications
errors.
Note ON ERROR Command
The ON ERROR command is used for processing with other errors, so it will
be necessary to use the IF-type statements for processing. When error pro-
cessing is complete, use the RESUME command to return to the origin of the
diversion and continue processing. Error status can be cleared after error pro-
cessing is complete by using the ERC command.
Receive data
Send data
None
None
Status depends on DTR command
Check
(during send)
No check
Check
No check
Section 4-6
Command
Mode
Close
No check
No check
No check
No check
No check
No check
No check
No check
59

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200h-asc21C200h-asc31

Table of Contents