Configuring an I/O Device involves specifying its properties using the Project Editor. The properties depend on both the protocol and I/O Device.
To configure an I/O Device:
Note: For Numbers, Protocol and Port Type - The same network number is used for redundancy (as stated above), however this implies that the Protocol is usually the same (though there maybe some special circumstances where devices support multiple protocols) and the Port modes are similar. i.e. a real world port reference, DISKDRV or MEMORY . If DISKDRV is being used, then redundant units (i.e. the same NUMBER) needs to be DISKDRV. This also applies for MEMORY mode.
Primary |
Enable immediate use of this communications channel. This is the default mode if no mode is specified. |
Standby |
This channel will remain unused until the I/O Device configured with the primary channel becomes inoperative. |
StandbyWrite |
This channel will remain unused until the I/O Device configured with the primary channel becomes inoperative. Write requests sent to the primary channel are also sent to this channel. Note: Do not use this mode for scheduled I/O devices because there is the possibility that the Standby I/O device write queue will never be cleaned up. When writing to a scheduled I/O device which it is not communicating, write requests are queued up until communication resumes. In case of using I/O device redundancy and StandbyWrite mode, Primary and Standby I/O devices have their own queues of pending write requests. If I/O device communication is controlled automatically by the communication schedule, then both queues are flushed when the schedule dial-time occurs. Where manual communication is controlled by the IODeviceControl Cicode function, only the Primary I/O device write queue is flushed and the Standby I/O device write queue will never be cleaned up. |
Note: To use Standby or StandbyWrite modes, you need to also configure a Primary I/O Device with the same I/O Device name, number and address.
If there is more than one standby I/O Device configured for a cluster, you can use this field to give precedence to a particular standby device. If this field is left blank, priority will be automatically allocated to the device during project compilation, based on the priority settings of other standby devices and/or the order the devices were configured in.
See I/O Device promotion.
Note: If a device is configured with Memory set to TRUE, the Port Name and Address fields can be left blank as they will not be used by the compiler or the I/O server at runtime.
See Also
Fields implemented with extended forms (press F2).