Port/IO Device-specific Parameters
- Last UpdatedJan 13, 2022
- 1 minute read
To apply a parameter globally to every device, place it under the [OMFINS] section of the Citect.ini file.
To apply a parameter to a specific device, or every device connected to a specific port, use one of the following sections in the Citect.ini file:
-
[OMFINS.<PortName>]
-
<PortName> is the name specified for the port in your Plant SCADA project.
For example, parameters set within the section [OMFINS.PrimaryPort1] impact every device connected to the port defined as "PrimaryPort1".
-
-
[OMFINS.<PortName>.<DeviceName>]
-
<PortName> defines the name specified for the port in your Plant SCADA project.
-
<DeviceName> defines the name of the I/O device.
For example, parameters set within the section [OMFINS.PrimaryPort1.PrimaryIODev128] only impact the device connected to the port defined as "PrimaryPort1" and named "PrimaryIODev128."
-
You can set the following parameters for a specific I/O device:
-
Source
-
Block
-
Delay
-
IgnoreNonFatalError
You can set the following parameters for a specific port:
-
Source
-
Block
-
Delay
-
IgnoreNonFatalError
-
Retry
-
Timeout
Example
The following Citect.ini file format is an example of specifying the source parameter differently for different I/O devices communicating with the OMFINS PLC.
Assume that there are two ports in use: PORT1 and PORT2.
-
PORT1 has two I/O devices attached: DEV1A and DEV1B.
-
PORT2 has two I/O devices attached: DEV2A and DEV2B.
The Citect.ini file contains the following entries:
[OMFINS]
Source = 1/0/0
[OMFINS.PORT1]
Source =1/0/1
[OMFINS.PORT2]
Source =1/1/0
[OMFINS.PORT1.DEV1A]
Source =0/1/0
[OMFINS.PORT2.DEV2B]
Source =1/1/1
The resultant sources for the I/O devices are as follows:
|
I/O Device |
Source |
A result of |
|---|---|---|
|
DEV1A |
0/1/0 |
[OMFINS.PORT1.DEV1A] |
|
DEV1B |
1/0/1 |
[OMFINS.PORT1] |
|
DEV2A |
1/1/0 |
[OMFINS.PORT2] |
|
DEV2B |
1/1/1 |
[OMFINS.PORT2.DEV2B] |