EasyManuals Logo

Kuka Interbus 1.1 User Manual

Kuka Interbus 1.1
65 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #43 background imageLoading...
Page #43 background image
43 / 65Issued: 29.11.2012 Version: KR C4 Interbus 1.1 V2 en (PDF)
8 Diagnosis
If an error occurs during the restart, the corresponding error treatment is car-
ried out.
8.5.3 Switching segments on and off
IODRV_IOCTL_ACTIVATE_DEVICE,
IODRV_IOCTL_DEACTIVATE_DEVICE
These IOCTL commands can be used to activate and deactivate alternative
groups (segments). In the event of a warm start, the Interbus driver saves the
last active segment during the shut-down procedure and automatically acti-
vates it again on rebooting. In the case of a cold start, the segment to be acti-
vated (if any) must be communicated to the Interbus by means of an IOCTL
command from the kernel system. In the event of an error, the IOCTL com-
mand returns the following values:
If the segment was switched correctly, the command returns the number of the
switched segment.
8.5.4 Extended state polling of slave
CP_IB_GET_SLAVE_STATE
As the slave can be operated independently of the master, the slave also has
its own states. The read and write functions are the same for the master and
slave.
The slave can have the following states:
Slave Data Transfer (bit 1)
Fail (bit 2)
Slave Initialized (bit 3)
Power On (bit 4)
Ready (bit 5)
8.5.5 Polling the state of a module
CP_IB_GET_DEVICE_STATE
This IOCTL command can be used to poll the state of a module. The return
value given by this command is the state of the module. This command must
be sent to the driver along with the number of the module in the form of the
segment and position number.
Message Value Description
ERROR -1 Unable to send message
IBS_PCI_SWITCH_WRONG_MODULE -2 Invalid segment number
IBS_PCI_TRY_SWITCH_ON_SECOND_SEG
M
-3 Attempt to switch on a second alter-
native segment
IBS_PCI_TRY_SWITCH_OFF_FIRST_SEGM -4 Attempt to switch off the first device
IBS_PCI_NO_EXCLUSIVE_RIGHTS -5 No exclusive rights for the service
IBS_PCI_SWITCH_GROUP_ERR -6 Group conflict when devices
switched on or off
IBS_PCI_SWITCH_MODULE_ERR -7 Device conflict when devices
switched on or off
IBS_PCI_BLOCKING_COMMANDO -8 A service that is already active is
blocking execution of this service.
IBS_PCI_UNKNOWN_ERR -100 Unknown error

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Kuka Interbus 1.1 and is the answer not in the manual?

Kuka Interbus 1.1 Specifications

General IconGeneral
BrandKuka
ModelInterbus 1.1
CategoryIndustrial Equipment
LanguageEnglish

Related product manuals