Hello,
I saw the DCC function block interlock parameters when you click on properties
Are not browseable. I was wondering how I might be able to bulkedit the expression,delay on/off, description, etc.
Thanks
Hi,
If you want to browse the DCC parameters, you first need to set the number of conditions to value different from 0.
When you change this parameter, you will see additional parameters available corresponding to the conditions that you want to use.
This number of interlock conditions is called I_USED_CND, and it is one of the DCC block, Note that you can also bulk edit this parameter.
If you bulk edit the conditions, you should do that in 2 steps:
- first you update via bulk edit the I_USED_CND of your modules, so that the condition parameters will be added to the DCC blocks
- second you import via bulk edit the other parameters
This I_USED_CND has been added for multiple reasons:
- The DCC block can support up to 16 interlock conditions, but you see at the instance level only the parameters of the conditions that you want to use => no confusion: you see what you can configure
- The controller loading is adjusted to this number of used conditions, therefore, you load the controller only with what you need
By using the DCC in a class-module, this gives you the flexibility to have a generic structure and to configure the instances to exactly what you need for that instance. Moreover, you can change the number of conditions at the instance level (in configuration) at any time without affecting the class module or the other entities, and still, it will consume exactly what you need and not more.
Note that it is exactly the same principle for the permissive and force setpoint conditions in this DCC block.
And it is also the same thing in the AT block.
Hope this will help!
Frederic
Frédéric
In reply to Frederic Menard:
In reply to vmvmhatre:
When you change the parameter DCC/I_USED_CND to a value different from 0, you will see additional parameters (in the example below, DCC/I_USED_CND = 3) that you can configure and bulk edit:
These parameters correspond to the columns that you see on the properties window of the DCC block.
The suffix (1, 2, 3, ...) is the condition number, e.g. DCC1/I_DESC_1 is the description of the first interlock condition.
Note that column Name is only there to indicate the condition number and cannot be configured.
If you want to give a name to your condition, use the description parameter.
You can see these parameters from the Detail Display: