The logical device Compare, compares two values from other devices and returns true or false.
Device window pages
The following table shows which device window pages are available with this individual device type.
--- The device info page.
--- The maintenance page. The configuration parameters described below are set at this page.Configuration parameters
At the maintenance contains settings to configure this logical device.
| parameter | description |
|---|---|
| input-A.Id | Parameter ID of first parameter |
| input-B.Id | Parameter ID of second parameter |
| compareType | Select between comparison methods |
compare methods
The result is provided via the state parameter.
Variables defined by this device driver
| name | type | flags | range |
|---|---|---|---|
| info.driver | TEXT | R/O | StringRange R/O |
| lowLevel.cmd | TEXT | StringRange | |
| lowLevel.reply | TEXT | R/O | StringRange R/O |
| faults.99 | ALARM | R/O | AlarmFlagRange R/O (Communication) |
| faults.commstat | TEXT | R/O | StringRange R/O |
| info.type | TEXT | R/O | StringRange R/O |
| info.frame | TEXT | R/O | StringRange R/O |
| config.input-A.Id | TEXT | SAVE SETUP | StringRange |
| config.input-B.Id | TEXT | SAVE SETUP | StringRange |
| config.compareType | CHOICE | SAVE SETUP | EnumRange (EQ NE GT LT) |
| input-A | TEXT | StringRange | |
| input-B | TEXT | StringRange | |
| state | BOOLEAN | R/O | BooleanRange R/O (true false) |