2. Controller Architecture and Program Operation
GEM80-400
Page 2-14
ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL
Issue 3 04/99
(4)
On single cycle when the program has been changed since the controller
was last
running.
Compilation not only converts the program into an executable form but also
checks the source program to verify that it can be executed. Any error detected
during compilation prevents the program being executed and if the controller
was previously running a version of the program it continues to run this 'old'
program. The errors are reported by text messages and can be displayed by a
suitable GEM
80 programming tool, such as Gemesys 3; a detailed discussion of
compilation and associated problems is given in Chapter 9 of this manual.
Errors detected during compilation will prevent the program being executed.
2.7.7. On-line Program Changes
There are two versions of the program held in memory, compiled and
uncompiled. The uncompiled source program can be edited while the compiled
program is running and controlling the plant. This edited version can be printed
out or copied to disk without halting the controller. To incorporate the changes
made during an editing session, the user can issue a RECOMPILE command from
a suitable GEM
80 programming tool, such as Gemesys 3. The controller will pause
for a short time (typically one millisecond per 1000 instructions) while compilation is
in progress and during this time, all outputs are frozen and inputs are ignored. If
compilation is successful, the controller will run the modified program. If not, the
controller will run the previous compiled program. A message to this effect will be
displayed on the display on the processor front panel.
Note...
Any change to P-data tables above P149 will affect the running program
immediately without recompilation being necessary. The 'Data Tables' section,
later in this chapter, gives more information about the controller data tables.
The on-line RECOMPILE command does not affect data table contents. After any
RECOMPILE command has been successfully executed, flag bit E0.6 is set ON for
one program cycle, and then set OFF again. This flag bit can be used to initiate
any block of instructions that needs to be executed once only. For instance, after
recompiling, data tables may reside in different locations to those previously
occupied. Therefore, by using the E0.6 bit to initiate a block containing S20, GEM
80 Special Function LOCATE instruction, it is possible to find the absolute addresses
of the table locations used by the ladder program.
Note...
On-line program changes cannot be made on EPROM based systems.
2.7.8. Off-line Program Debugging
Using TEST INPUTS mode, a program can be de-bugged on a system in the office
with no I/O present. Program timing is not significantly altered compared with
when the I/O is present. When the TEST INPUTS mode is selected from a suitable
GEM
80 programming tool:
(1)
The Watchdog contacts do not close.
(2)
Input scanning is executed but the A-tables are not updated.
Содержание GEM80-400 Series
Страница 1: ...GEM80 400 Series Controllers Technical Manual ABCD...
Страница 2: ......
Страница 3: ...ALSPA GEM80 400 Series Controllers Technical Manual Publication No T1614 Issue 3...
Страница 91: ...Page 2 24 ALSPA GEM80 400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04 99 This page left intentionally blank...
Страница 161: ...Page 3 30 ALSPA GEM80 400 SERIES CONTROLLER TECHNICAL MANUAL Issue 3 04 99 Figure 3 13 Typical Module Interlock Circuit...
Страница 170: ...Issue 3 04 99 ALSPA GEM80 400 SERIES CONTROLLER TECHNICAL MANUAL Page 3 39 This page left intentionally blank...
Страница 215: ...Page 5 12 ALSPA GEM80 400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04 99 Figure 5 4 STARNET Module...
Страница 217: ...Page 5 14 ALSPA GEM80 400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04 99 Figure 5 5 GEMLAN D Module...
Страница 252: ...Page 7 16 ALSPA GEM80 400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04 99 This page left intentionally blank...
Страница 273: ...Page 9 6 ALSPA GEM80 400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04 99...
Страница 316: ...Issue 3 04 99 ALSPA GEM80 400 SERIES TECHNICAL MANUAL Page A 5 2 1 1 Cover 2 Base plate Figure A 4 Clamped Cable...