4Ć4
4.2
Configuration
Before any application programs can be written, it is necessary to
configure, or set, the definitions of systemĆwide variables, i.e. those
that must be globally accessible to all tasks.
For DCS 5000 andAutoMax Version 2.1 andearlier, you define
systemĆwide variables by writing a Configuration task. For AutoMax
Version 3.0 and later, you define systemĆwide variables using the
AutoMax Programming Executive. After these variables are defined,
you can generate the configuration file automatically, which
eliminates the requirement to write a configuration task for the rack. If
you are using AutoMax Version 2.1 or earlier, refer to Appendix E for
example that show how to define variables in the configuration task. If
you are using AutoMax Version 3.0 or later, see the AutoMax
Programming Executive (JĆ3750) for information about configuring
variables.
4.3
Reading And Writing Data In Application
Tasks
In order for an input module to be referenced by application
software, it is first necessary to assign symbolic names to the
physical hardware. In AutoMax Version 2.1 and earlier, this is
accomplishedby IODEF statements in the configuration task. See
Appendix E for an example. In AutoMax version 3.0 and later, you
assign symbolic names using the Programming Executive.
Each application program that references the symbolic names
assigned to the input module in configuration must declare those
names COMMON.
The frequency with which tasks, or application programs, readtheir
inputs and write their outputs depends on the language being used.
Ladder logic and control block tasks read inputs once at the
beginning of each scan andwrite outputs once at the endof scan.
BASIC tasks readan input andwrite an output for each reference
throughout the scan.
Содержание 57C409
Страница 1: ......
Страница 2: ......
Страница 3: ......
Страница 4: ......
Страница 5: ......
Страница 6: ...fafadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa afdfdsfdsfdfdsfdsfsadfda asfdfaddfdd...
Страница 7: ......
Страница 8: ...fafadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa afdfdsfdsfdfdsfdsfsadfda asfdfaddfdd...
Страница 9: ......
Страница 10: ......
Страница 11: ......
Страница 12: ...fafadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa afdfdsfdsfdfdsfdsfsadfda asfdfaddfdd...
Страница 13: ......
Страница 14: ......
Страница 15: ......
Страница 16: ......
Страница 17: ......
Страница 18: ......
Страница 19: ......
Страница 20: ......
Страница 21: ......
Страница 22: ......
Страница 23: ......
Страница 24: ......
Страница 25: ......
Страница 26: ...fafadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa afdfdsfdsfdfdsfdsfsadfda asfdfaddfdd...
Страница 27: ......
Страница 28: ......
Страница 29: ......
Страница 30: ......
Страница 31: ......
Страница 32: ...fafadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa afdfdsfdsfdfdsfdsfsadfda asfdfaddfdd...
Страница 33: ......
Страница 34: ...fafadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa afdfdsfdsfdfdsfdsfsadfda asfdfaddfdd...
Страница 35: ......
Страница 36: ...fafadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa afdfdsfdsfdfdsfdsfsadfda asfdfaddfdd...
Страница 37: ......
Страница 38: ...fafadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa afdfdsfdsfdfdsfdsfsadfda asfdfaddfdd...
Страница 39: ......
Страница 40: ......
Страница 41: ......
Страница 42: ...fafadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa afdfdsfdsfdfdsfdsfsadfda asfdfaddfdd...
Страница 43: ...fafadfdfdasfdsfdsdsdfdsfdsfdsfsdfdsa afdfdsfdsfdfdsfdsfsadfda asfdfaddfdd...