Cpu Bus Link Area - Omron SYSMAC CV500-BSC11 Operation Manual

Basic units
Table of Contents

Advertisement

Memory Areas
Word
Bit
m + 2
00 to 07
Error Code
08
Fatal Error Flag
09
Port 1 Error Flag
10
Port 2 Error Flag
11
Port 3 Error Flag
12 to 14
---
15
BASIC Unit Execution Flag

3-1-3 CPU Bus Link Area

28
Name
Words from word n+3 onwards are for the user.
Note
1. The error contents are the same as those displayed on the terminal con-
nected to the BASIC Unit. For details on error codes, refer to 8-1 Trouble-
shooting.
2. The Memory Overflow and Compiler Error Flags indicate the cause of errors
when commands are input or when program execution is not possible.
These flags can be turned OFF from the terminal with TROFF.
The CPU Bus Link Area in the CPU Unit is used to automatically pass data back
and forth between the BASIC Unit and the CPU Unit or between the BASIC Unit
and another CPU Bus Unit. The default setting is for no CPU bus links. To use
CPU bus links, specify them using the computer with terminal mode.
• The CPU Bus Link Area is refreshed in the CPU Unit at 10-ms intervals.
• Words in the CPU Bus Link Area are allocated by the CPU Unit according to the
unit numbers of the CPU Bus Units.
• Data can be read from or written to this area by using the PC READ or PC
WRITE commands.
Function
These bits indicate the contents of the system variable ERR
in hexadecimal between 00 and FF. The Error Code is reset
to 00 when the program is executed again.
This flag turns ON when an error that causes the BASIC Unit
to stop has occurred while the program is executed. This flag
is turned OFF when the program is executed again.
These flags turn ON when an error has occurred in the
corresponding ports. The possible causes that turn ON these
corresponding ports The possible causes that turn ON these
flags are incorrect usage of the port, parity errors, overrun
errors, and framing errors. These flags turn OFF when the
errors and framing errors These flags turn OFF when the
program is executed again.
Vacant (These bits are undefined.)
This flag is turned ON when the BASIC Unit is executing a
program. It is also turned ON when executable codes are
being created or while a command is executed.
Section 3-1

Advertisement

Table of Contents
loading

Table of Contents