
4 |
Enhanced DO I/O Function for 331 and Later CPUs
Caution
If the Enhanced DO I/O function is used in a program, the program should not be loaded by a version of Logicmaster
An enhanced version of the DO I/O (DOIO) function is available for Release 4.20, or later, of Models 331 and later CPUs. This enhanced version of the DOIO function can only be used on a single discrete input or discrete output
The ALT parameter identifies the slot in the main rack that the module is located in. For example, a constant value of 2 in this parameter indicates to the CPU that it is to execute the enhanced version of the DOIO function block for the module in slot 2.
Note
The only checking done by the enhanced DOIO function block is to check the state of the module in the slot specified to see if the module is okay.
The enhanced DOIO function only applies to modules located in the main rack. Therefore, the ALT parameter must be between 2 and 5 for a
The start and end references must be either %I or %Q. These references specify the first and last reference the module is configured for. For example, if a
|
|
| |
_____ |
|
| |
%I0001 | %Q0001 | ||
| |||
| |||
%I0001 |
| ||
| |||
| |||
%I0016 |
| ||
| |||
| |||
IO |
| ||
_____ |
| ||
|
|
|
The following table compares the execution times of a normal DOIO function block for an
| Normal DOIO | Enhanced DOIO |
Module | Execution Time | Execution Time |
|
|
|
|
|
|
224 microseconds | 67 microseconds | |
208 microseconds | 48 microseconds | |
|
|
|
224 microseconds | 68 microseconds | |
211 microseconds | 47 microseconds | |
|
|
|
247 microseconds | 91 microseconds | |
226 microseconds | 50 microseconds | |
|
|
|
Chapter 4 Series |