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 OP5142EX1 FFH1
Block
Mask
Description
This block performs the configuration and control of up to N Foundation Fieldbus H1 buses. The limit N is merely given by the hardware itself.
The configuration covers Hardware, Object Dictionary (OD), and all layers of the communication stack.
The control covers: Processing of Tx/Rx FFH1 messages, updates of OD, recording/retrieval of the current configuration, diagnostics, etc.
Parameters
CSV File | Name of the file containing the Foundation Fieldbus configuration. The CSV file contains the necessary information to configure the complete Fieldbus mapping. Each line within the file represents a specific sensor. The following is an example of a line: |
---|---|
Description of each element of the line in order: |
|
All the elements that follow are repeated the same number of times as there are Function Blocks.
It will be important to manage the association of each mezzanine board to the correct linking device segment.
The order of sensors does not matter, what is important to note is that the input of the FFH1 Simulink block is a one-dimensional array. The values of each array will be associated with the order of appearance of the function blocks in the CSV file. See Inputs section for further information.
Inputs
Data: This input is an N-element vector, carrying the data of each FF functional block (FB) for each of the emulated sensors; it could be temperature, pressure, level, etc. that is been read via Analog Input FB.
This is an example of the content of a CSV file and the position of values of the input.
4433_12612_2_1_1.xml,0011513144-EPM-TEMP-0x98765211,3144A_21,OP5142EX1Ctrl10,10,1A,2,1400,0xF2,U32,1500,0xF1,U32 4433_12612_2_1_1.xml,0011513144-EPM-TEMP-0x98765212,3144B_21,OP5142EX1Ctrl10,10,1A,2,1400,0xF2,U32,1500,0xF1,U32 4433_12369_23_17_7.xml,0011513051093008130935-957556122,3051_22,OP5142EX1Ctrl11,11,1A,1,1400,0xF2,U08
Sensor | Device ID | FB OD Index | Position in input array |
---|---|---|---|
Sensor#1 | 0011513144-EPM-TEMP-0x98765211 | 1400 | 0 |
Sensor#1 | 0011513144-EPM-TEMP-0x98765211 | 1500 | 1 |
Sensor#2 | 0011513144-EPM-TEMP-0x98765212 | 1400 | 2 |
Sensor#2 | 0011513144-EPM-TEMP-0x98765212 | 1500 | 3 |
Sensor#3 | 0011513051093008130935-957556122 | 1400 | 4 |
Outputs
Status: TBD
Characteristics and Limitations
This block has no special characteristics.
Direct Feedthrough | No |
---|---|
Discrete sample time | Yes |
XHP support | Yes |
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