OpScramnet Controller

Block

Mask

Description

This block is used to define the settings of a PCI or PXI SCRAMNet+ SC150e device. All OpScramnet Read and Write blocks refer to this controller using the unique Controller and node ID which can range from 1 to 255.

General Parameters

Controller and Node IDUnique ID that will be used to identify the node on the network and by the Write and Read blocks. The value must be ranging from 1 to 255.
PCI/PXI Indexindex of the device on the PCI or PXI bus. 
Memory byte orderingSpecifies whether the compatibility with the physical device will be little-endian or Big-endian. The x86 architecture is little-endian. For example, the hexadecimal number 0x12345678 is stored in memory using little-endian as:

Address

Content

0

0x78

1

0x56

2

0x34

3

0x12

A Big-endian format would store the data in the following order:

Address

Content

0

0x12

1

0x34

2

0x56

3

0x78

Sample time: The sample period in second. Use 0 for continuous and -1 for inherited. This is the sample time parameter commonly encountered in the Simulink block library.

Inputs

This block has no inputs.

Outputs

Status: This output is available only if the Use status output parameter is checked. This output is a 16 signals wide vector reporting the contents of the CSR1 status register of the SCRAMNet+ board. The signification of each signal is described below (refer to the SCRAMNet+ documentation for more details):

Signal IndexName

1

Transmit FIFO full

2

Transmit FIFO Not Empty

3

Transmit FIFO 7/8 Full

4

Always 0

5

Interrupt FIFO Full

6

Protocol Violation

7

Carrier Detect

8

Bad Message

9

Receiver Overflow

10

Transmit Retry

11

Transmit Retry Time-out

12

Redundant Transmit/Receive Fault

13

General Purpose Counter/Timer Overflow

14

Current Link

15

Interrupts Armed

16

Fiber Optic Bypass Not Connected

Restarting the application may be required to clear some of the errors and resume operation.

Characteristics and Limitations

This block has no special characteristics.

Direct FeedthroughNo
Discrete sample timeYes
XHP supportNo
Work offlineNo