beautypg.com

BECKHOFF C1300 User Manual

Page 36

background image

C1300 VME to II/O Interface Unit

Beckhoff II/O-System

Page 36 of 44

Version : 2.01

Date : 18.12.95

3.4.3. Initialisation of "Fast Fiber Optic - Interrupts"

Function 0fh : Transmit interrupt request mask

The interface C1300 has 4 interrupt channels to transmit the 4 interrupt channels
of the II/O-Lightbus to the VME master via the GCB block.

The interrupt bits are generated by any module of the II/O Lightbus in any
occuring telegram frame. The IR- bit field of the control byte transports the
interrupt requests to the interface.

With the help of function 0fh, the interface C1300 is configured. It is possible to
enable a number of interupts from the four channels and to specify the signal type
to generate an interrupt request transmission from the C1300 interface to the VME
system.

Channel

Length

Function

Argument

0

Argument

1

Argument

2

Argument

3

Argument

4

Request

07

0f

0m

Criterium

Interrupt-

Channel 0

Criterium

Interrupt-

Channel 1

Criterium

Interrupt-

Channel 2

Criterium

Interrupt-

Channel 3

Response

03

0f

0m

The LOW - nibble in argument 0 specifies, which of the 4 possible Interrupt
channels are enabled.

Example:

m = 00h

all interrupt channels disabled ( default )

m = 01h

interrupt channel 0 enabled

m = 06h

interrupt channels 1 and 2 enabled

m = 0fh

interrupt channels 0, 1, 2 and 3 enabled

Every single interrupt channel can be characterized with signal criteria.

Following criterias can be definded:

Criterium

Argument code

no interrupt

0

interrupt at signal rise

1

interrupt at signal fall

2

interrupt at signal toggle

3

The argument codes 0 to 3 are defined in the function parameters Argument 1 to 4
for the equivalent interrupt channels.