Documentation Home Page ◇ RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.
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 ID | Unique 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 Index | index of the device on the PCI or PXI bus. |
Memory byte ordering | Specifies 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 Index | Name |
---|---|
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 Feedthrough | No |
---|---|
Discrete sample time | Yes |
XHP support | No |
Work offline | No |
OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter