Proceeding To Use The Interbus; Interbus Configuration Parameters; Table 2-6: Interbus Features - Addi-Data APCI-8001 Option Manual

Positioning and contouring control system
Hide thumbs Also See for APCI-8001:
Table of Contents

Advertisement

40
System
parameter
IBSClose_w
IBSInit_r
IBSInit_w
IBSRun_w
IBSReset_w
Note: All _w variables are write variables, and all _r variables are read variables.
2.2.4.2

Proceeding to use the Interbus

2.2.4.3

Interbus configuration parameters

The Interbus functionality can be used by reading and writing pre-defined system variables. Using these
variables, you can communicate directly with the "socket driver" that is integrated in the rwmos.elf operating
programme. The definitions of the variables described below are in the INTERBUS_AT_SPECS.INC include
file. As already mentioned above, the variable access is regulated in accordance with the IEC1131
programming language, with the aid of the AT mechanism. This is described in detail in [Universal Object
Interface / section 2.2].

Table 2-6: Interbus features

System parameter
IBSMaxRep_r
IBSMaxRep_w
IBSMaxDevice_r
IBSMaxDevice_w
IBSMaxIoPoints_r
IBSMaxIoPoints_w
IBSBusyMode_r
IBSBusyMode_w
IBSExtraCycle_r
Value /
Description
Opcode
1
Releases resources, such as memory and timer, that have already been
initialised with IBSOpen_w. Furthermore, a hardware reset is performed on
the IBS UART protocol chip.
This function must be executed before exiting the programme.
See also the error codes in [section 2.2.6].
Checks if the Interbus driver has already been initialised.
0
Interbus has not yet been initialised
1
Interbus has already been initialised
1
Commissions the INTERBUS network and, if possible, provides the current
executable configuration to the rwmos.elf operating programme. This
function is therefore also used for error location. See also the error codes
in [section 2.2.6].
Note: This command requires the systems for approx. 1 second. During
this period PC and SAP accesses are switched OFF. To prevent error
functions e.g. by starting a task in mcfg, a delay time can be set for this
command (e.g. 100ms).
1
A secure data exchange is executed in this function. This includes a data
cycle being triggered for each IBSRun_w write access. If an error is
discovered during this cycle, the function is exited with the corresponding
error message.
Important: This function is only available for test purposes and should not
be called directly. Cyclical calling takes place automatically through the
rwmos.elf operating system software.
See also the error codes in [chapter 2.2.6].
1
Returns all INTERBUS subscribers to the reset state until the IBUInit_w
function is called.
See also the error codes in [chapter 2.2.6].
Value /
Description
Opcode
402 hex Reads the maximum number of IBS devices
402 hex Writes the maximum number of IBS devices
O
PTIONS MANUAL

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the APCI-8001 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Apci-8008

Table of Contents