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.

OpFcn Status Register

Block

Mask

Description

ControllerNameThe controller name uniquely specified in an OpCtrl block's parameter enables the binding between a specific controller block and the present functionality block. Binding between OpFcnand OpCtrl blocks that define the same Controller Name is performed during the initialization phase of the model. If no OpCtrl block is found that defines the same Controller Name as the OpFcnStatusRegister block, the OpFcnStatusRegister is simply disabled.
SampleTime (s)

This parameter allows the user to specify the sample time for this block and the TestDrive board in seconds. The default value is 0, which specifies a continuous sample time (note that the sample time is then borrowed from the separated subsystem).

Some rules must be respected:

  • A controller block and its related functionality blocks must share the same sample time.

Inputs

This block has no inputs.

Outputs

Chassis IdThis output returns the number of the chassis where the board is installed. Typically this number is0.
Slot IdThis output returns the number of the slot where the board is installed. Typically this number is 1 to 11when the board is in a chassis, and 0 when the board is standalone.
Rail Over-Current StatusThis output returns1 when an over-current condition is detected on the board, and 0 otherwise. Acknowledgment of this error depends on the type of board.
Rail Over-Voltage StatusThis output returns1 when an over-voltage condition is detected on the board, and 0 otherwise. Acknowledgment of this error depends on the type of board.
Thermostat Output StatusThis output returns1 when an over-temperature condition is detected on the board, and0 otherwise. Acknowledgment of this error depends on the type of board.
Software Fault RailThis flag is more relevant for modules that support different power rail values. The flag is raised when 2 power rails are selected for the same output line.
Software Fault StateNot implemented yet. This flag is more relevant for modules that support different states values. The flag is raised when 2 states (high and low) are selected for the same output line.
Software Fault From HostNot implemented yet.
CRC Fault StatusNot implemented yet.
Cable IdentificationThis output returns the state of the cable identification lines ID-CBL0-4 of the module board. The default value is 31.
Device revisionThis output returns the revision number of the associated device.
Carrier InfoThis output returns information about the IO card revision. This output has a size of 2 and will ultimately return the hardware revision and the serial number of the board. Presently the first value is 1 if the driver detects that the card holds an EEPROM for storing revision and serial number information. The second value is presently fixed to 65535.
Module IdThis output returns information about the TestDrive carrier board type. Expected values are : Base Module, 0; RPG, 1; Switch Module, 2; ASM, 3; POM, 4; PDL, 5; RSM, 6. For TestDrive boards modified for 24V input voltage, add 8 to these values. OP5130 cards return 31.
Minor IdThis output returns the ProductMinorId of the bitstream programmed in the card.

Characteristics and Limitations

Connector Pin Assignments

Since the OpFcnStatusRegister block may attach itself to different boards that support the Status Register functionality, the user should refer to the documentation of his specific module board for connector pin assignments.

Direct FeedthroughYes
Discrete sample timeYes
XHP supportYes
Work offlineNo

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