O
PTIONS MANUAL
System parameter
IBSExtraCycle_w
IBSStatusText_w
IBSErrorReg_r
IBSErrorReg_w
Note: The INTERBUS should be monitored in the SAP user programme, through status requests in an
Interbus event handler routine, for example.
2.2.4.4
Interbus error handling
To handle Interbus error messages, the event handler EVIBS can be used. Before the event is activated, the
variable IBSErrorReg_w should be reset. In the error routine, the content of the variable IBSErrorReg_r can
then be analysed or displayed.
Note: The variable IBSErrorReg_r is only a 16-bit integer variable. When it is analysed as a 32-bit integer
variable, the upper 16-bit are of no significance and therefore should be masked out.
2.2.5
Interbus PCAP programming
Accesses via PCAP programming are developed via the universal object interface.
2.2.6
Interbus error messages (error codes)
2.2.6.1
General
The errors are defined such that each error code is unique, but, if necessary, can be generated at different
places in the socket driver of the rwmos.elf operating system software. All functions return a 32-bit value, the
result. In the event of an error, this contains the driver-internal error location and a defined error code. This
gives a simple evaluation and fast processing by the calling function. For analysis, only the error code in the
last two bytes of the result word is relevant.
2.2.6.2
Logical errors (F0XX
Table 2-7: Logical errors
Code
Meaning
F001 hex
IBU_COMNo_is_not_open
F002 hex
IBU_comno_already_open
F003 hex
IBU_comno_not_supported
F004 hex
IBU_Function_not_active
F005 hex
IBU_comresource_already_in_use
F506 hex
IBU_no_timer
Value /
Description
Opcode
Reads Interbus error messages (please also see Chapter 2.2.6)
)
hex
Explanation
The specified COM interface is not open.
Please open it using the IBU_Open()
function
This interface is already open and is being
used
This interface is not supported
Internal error. The status of a non-active
function has been requested.
The corresponding COM interface is not
free.
Timer not available
41
Need help?
Do you have a question about the APCI-8001 and is the answer not in the manual?