This page describes the device driver and the device window for the NAIS-FP-8-Port-Switch device. This device controls 8 single output ports of a NAiS/Matsushita PLC.
Multiple devices of this type (and other members of the NAIS-FP-* -family) may refer to one single PLC device. To do so, configure these devices to share the serial interface of the PLC and set the configuration parameters of each particular switch/monitoring device to the same PLC (address) but to individual ports.
Device window pages
The following table shows which device window pages are available with this individual device type. Tool-bar functions not mentioned here are described at the general description of device windows .
--- Shows / commands the switch position.
--- The faults page.
--- The device info page.
--- The maintenance page. The configuration parameters described below are set at this page.Configuration parameters
At the maintenance page of the device window there are a couple of configuration parameters which must be set to make the software talk to the alarm monitoring input at the PLC.
| parameter | description |
|---|---|
| address | The packet address of the PLC device. Usually this is "01". |
| port[1..8] | The address of the eight output ports to control. |
| Serial | Remember to set the line parameters for the serial interface connected to the FPx PLC device. It requires the somewhat unusual setting 9600,O,8,1 . With multiple NAIS-FP-* -devices referring to the same PLC, the line speed needs to be setup only once. |
Remarks
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.port | TEXT | R/O | StringRange R/O |
| info.frame | TEXT | R/O | StringRange R/O |
| info.port1 | INTEGER | R/O | IntegerRange R/O (0 .. 2) |
| info.port2 | INTEGER | R/O | IntegerRange R/O (0 .. 2) |
| info.port3 | INTEGER | R/O | IntegerRange R/O (0 .. 2) |
| info.port4 | INTEGER | R/O | IntegerRange R/O (0 .. 2) |
| info.port5 | INTEGER | R/O | IntegerRange R/O (0 .. 2) |
| info.port6 | INTEGER | R/O | IntegerRange R/O (0 .. 2) |
| info.port7 | INTEGER | R/O | IntegerRange R/O (0 .. 2) |
| info.port8 | INTEGER | R/O | IntegerRange R/O (0 .. 2) |
| config.port1 | TEXT | SAVE SETUP | StringRange |
| config.port2 | TEXT | SAVE SETUP | StringRange |
| config.port3 | TEXT | SAVE SETUP | StringRange |
| config.port4 | TEXT | SAVE SETUP | StringRange |
| config.port5 | TEXT | SAVE SETUP | StringRange |
| config.port6 | TEXT | SAVE SETUP | StringRange |
| config.port7 | TEXT | SAVE SETUP | StringRange |
| config.port8 | TEXT | SAVE SETUP | StringRange |
| position | INTEGER | SAVE | IntegerRange (0 .. 9) |