CS8C
D28070504A
97 / 248
Chapter 5 - Integration
Overrun
error
If execution of a
PLC
cycle takes longer than the specified cycle time, the current cycle ends normally, and then
the following
PLC
cycle starts immediately. An
Overrun
error is generated (on the
dOverrun
digital output by
default) to enable a reaction to the
PLC
or
VAL3
program.
The
dOverrun
digital output thus shows during each
PLC
cycle whether the previous cycle was carried out within
the specified time lapse or not. The name of the output can be changed (see"Configuration"). The value
1
shows
the
Overrun
error.
Input/Output error
If an Input/Output reading / writing error is detected, a
RwError
error is generated by the default
dRwError
digital
output to enable a reaction by the
PLC
or
VAL3
program. The name of the output can be changed
(see"Configuration").
Interaction with the
VAL3
program
When the
PLC
cycle time is not null:
Execution of the
PLC
program takes priority over the
VAL3
program. The
VAL3
program is only executed once
the
PLC
program is waiting, between two
PLC
cycles.
Execution of a
VAL3
program can be interrupted at any time by a repeat of a
PLC
cycle. If synchronization is
required between the
PLC
and the
VAL3
, it has to be programmed using the Inputs/Outputs.
When the
PLC
cycle time is null:
Execution of the
VAL3
program takes priority over the
PLC
program. The
PLC
program is only executed once the
VAL3
program is waiting, between two
VAL3
cycles.
Inputs/Outputs are refreshed with each
PLC
cycle, each
VAL3
synchronous cycle and each
VAL3
asynchronous
cycle.
PLC
utility for the
MCP
The main menu of the
CS8C
includes a
"PLC"
utility that displays the main characteristics of the
PLC
program
being executed:
•
Requested
PLC
cycle time (as defined in the
PLC
programming environment)
•
Measurement of the execution period for the last
PLC
cycle (this period includes the execution time for
the critical system tasks)
•
Maximum execution time measured for the
PLC
cycles since the previous
PLC
start
•
TCP
port for communication with the
PLC
programming environment
CPU
load
The ratio between the execution period for the previous
PLC
cycle and the requested
PLC
cycle time gives the
current
CPU
load for the
PLC
program. The ratio between the maximum execution period for the
PLC
cycle and
the requested
PLC
cycle time gives the maximum
CPU
load for the
PLC
program.
The unused
CPU
load is allocated as a priority to the
VAL3
, and then to non-critical system tasks (screen
refreshing,
Ethernet
communication). As a rough guide, it is necessary to leave about
30%
of the
CPU
load to
obtain correct execution of a
VAL3
program and the system. For a very simple
VAL3
program, we can let the
PLC
use
90%
of the
CPU
load. For a complex
VAL3
program, the
PLC
program should not exceed
50%
of the
CPU
load.
CAUTION:
If the delay between two
PLC
cycles is not long enough, execution of the
VAL3
program can
be slowed down considerably. It is then necessary to increase the
PLC
cycle time to leave
more time for the
VAL3
, or to specify a null cycle time for the
PLC
(see "
CPU
load").
Summary of Contents for CS8C
Page 1: ...CS8C Controller Instruction manual D28070504A 26 03 2009 CS8C St ubli 2009...
Page 4: ...St ubli 2009 D28070504A CS8C 4 248...
Page 6: ...St ubli 2009 D28070504A CS8C 6 248...
Page 8: ...St ubli 2009 D28070504A CS8C 8 248...
Page 9: ...CS8C St ubli 2009 D28070504A 9 248 Chapter 1 Introduction CHAPTER 1 INTRODUCTION...
Page 10: ...St ubli 2009 D28070504A CS8C 10 248...
Page 13: ...CS8C St ubli 2009 D28070504A 13 248 Chapter 1 Introduction...
Page 14: ...St ubli 2009 D28070504A CS8C 14 248...
Page 16: ...St ubli 2009 D28070504A CS8C 16 248...
Page 20: ...St ubli 2009 D28070504A CS8C 20 248...
Page 21: ...CS8C St ubli 2009 D28070504A 21 248 Chapter 3 Safety CHAPTER 3 SAFETY...
Page 22: ...St ubli 2009 D28070504A CS8C 22 248...
Page 31: ...CS8C St ubli 2009 D28070504A 31 248 Chapter 3 Safety...
Page 32: ...St ubli 2009 D28070504A CS8C 32 248...
Page 33: ...CS8C St ubli 2009 D28070504A 33 248 Chapter 4 Installation CHAPTER 4 INSTALLATION...
Page 34: ...St ubli 2009 D28070504A CS8C 34 248...
Page 43: ...CS8C St ubli 2009 D28070504A 43 248 Chapter 4 Installation Holder measurements Figure 4 5...
Page 52: ...St ubli 2009 D28070504A CS8C 52 248...
Page 53: ...CS8C St ubli 2009 D28070504A 53 248 Chapter 5 Integration CHAPTER 5 INTEGRATION...
Page 54: ...St ubli 2009 D28070504A CS8C 54 248...
Page 77: ...CS8C St ubli 2009 D28070504A 77 248 Chapter 5 Integration Figure 5 13 Switches...
Page 81: ...CS8C St ubli 2009 D28070504A 81 248 Chapter 5 Integration Figure 5 14 Switches...
Page 111: ...CS8C St ubli 2009 D28070504A 111 248 Chapter 5 Integration...
Page 112: ...St ubli 2009 D28070504A CS8C 112 248...
Page 113: ...CS8C St ubli 2009 D28070504A 113 248 Chapter 6 Operation CHAPTER 6 OPERATION...
Page 114: ...St ubli 2009 D28070504A CS8C 114 248...
Page 153: ...CS8C St ubli 2009 D28070504A 153 248 Chapter 6 Operation...
Page 154: ...St ubli 2009 D28070504A CS8C 154 248...
Page 155: ...CS8C St ubli 2009 D28070504A 155 248 Chapter 7 PC utilities CHAPTER 7 PC UTILITIES...
Page 156: ...St ubli 2009 D28070504A CS8C 156 248...
Page 161: ...CS8C St ubli 2009 D28070504A 161 248 Chapter 7 PC utilities...
Page 162: ...St ubli 2009 D28070504A CS8C 162 248...
Page 163: ...CS8C St ubli 2009 D28070504A 163 248 Chapter 8 Maintenance CHAPTER 8 MAINTENANCE...
Page 164: ...St ubli 2009 D28070504A CS8C 164 248...
Page 243: ...CS8C St ubli 2009 D28070504A 243 248 Chapter 8 Maintenance...
Page 244: ...St ubli 2009 D28070504A CS8C 244 248...
Page 245: ...CS8C St ubli 2009 D28070504A 245 248 Chapter 8 Maintenance APPENDIX...