D28070504A
CS8C
96 / 248
5.7.
PROGRAMMABLE LOGIC CONTROLLER (
PLC
OPTION)
The
CS8C
controller can be programmed using
IEC61131-3
standard PLC languages: IL, SFC (GRAFCET), FBD,
LD, ST.
The PLC program must be written on a
PC
in the
PLC
programming environment supplied with
Stäubli Robotics Studio
. It can then be downloaded and executed on the
CS8C
controller.
The
PLC
option requires a
PLC
licence for the
SRS
programming environment, and a runtime licence for each
CS8C
controller.
Without a licence, it is possible to use the
PLC
programming environment for
30
minutes and execute the PLC
program on a
CS8C
for
15
minutes.
5.7.1.
INSTALLATION
SRS
The
PLC
programming environment is supplied with
SRS
. During installation, it is necessary to keep to the
selected
PLC
option.
To activate the
PLC
programming licence, it is necessary to connect the
PLC
key to the
PC
and enter the licence
number using the
SRS
utility (Tools > PLC > Licence).
CS8C
The
PLC
option can be activated on a
CS8C
using the
SRS
options manager (Tools > PLC > Options manager).
After restarting, the option must be shown in the list of software component versions on the
MCP
(Control panel
> Controller > Versions).
5.7.2.
OPERATION IN THE
CS8C
CONTROLLER
PLC
cycle
The
PLC
program in the
CS8C
has access to all the digital and analog inputs and outputs in the system. It can
communicate with a
VAL3
program via the analog or digital outputs of the system.
The
PLC
cycle is carried out as follows:
1.
Reading the inputs and outputs
2.
Execution of a cycle in the
PLC
program
3.
Writing the outputs
4.
Waiting for the rest of the time lapse required to reach the specified cycle time
The cycle time for the
PLC
program is defined in the
PLC
development environment (Generate > Execution
options). It can be modified at any time.
The
CS8C
supports cycle times that are multiples of
4ms
. The sequencing accuracy of the
PLC
cycle (period
between two successive
PLC
cycle starts) is about
± 0.1 ms
.
When the specified cycle time is null, the system automatically adapts the
PLC
cycle time to the system CPU load,
and more specifically to the
VAL3
program. The
PLC
program has then less priority than the
VAL3
program.
Starting
The
PLC
program is physically stored in the controller, in the
/usr/plc
directory. When the controller starts up, the
PLC
program stored in this location is started automatically. The only way of inhibiting the automatic start is to
delete the file from the controller using
Ftp
.
During start-up, if an error is detected in the
PLC
program (
PLC
Input/Output not found in the
CS8C
, or
PLC
output
corresponding to a
CS8C
input), the unit does not start up and the error is displayed in the "Events logger" utility
of the
MCP
.
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...