Beruflich Dokumente
Kultur Dokumente
GEF
english
Reg 10400/0401
Version 1/04.01
© Systeme Lauer GmbH & Co KG
Systeme Lauer GmbH & CoKG
Postfach 1465
D-72604 Nürtingen
We can not guarantee the accuracy of the programs and data stored
on the diskette and the fault-free state of this information.
0-2 © Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103
Notes for the user
Please read the manual before beginning and keep the manual for later
use.
Target group The manual has been conceived and written for users who are
experienced in the use of PCs and automation technology.
Typographical conventions [KEY] Keys that are to be pressed by the user are given
in square brackets, e.g [CTRL] or [DEL]
Danger!
Possibly dangerous situation. Injury to persons can be the result.
Attention!
Possibly dangerous situation. Property damages can be the result.
© Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103 0-3
Table of contens
Norms 0-7
3 Communication 3-1
3.1 Communication cable ...........................................................3-1
3.2 Configuration cable PCS722 ..................................................3-2
3.3 Data Transfer PCS/PLC ..........................................................3-2
0-4 © Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103
Quality and support
We set up training programs and technical training for you in our mo-
dern training center or alternatively also in your house.
Request the curent training catalog.
From the consultation up to the user support, from the hotline up to the
service, from the reference manual up to the training an all covering
and individual service for the entire product line is waiting for you.
© Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103 0-5
Safety regulations
The device is manufactured to the state of the art and the official
safeguarding regulations. Nevertheless, due to the application,
dangers or impairments can result to the machine or to material
assets.
You find information on this on the type plate and in the specifications
of this reference manual.
0-6 © Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103
Norms
Compliant with the EMC Directive 89/336/EEC and the German law
on electro-magnetic compatibility
© Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103 0-7
0-8 © Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103
1 First Start-Up
1.1 Delimitation
The successful parameter assignment of the PCS 090/095, as described
in section 3 (PCS 091 manual), is assumed as a precondition. This
appendix refers exclusively to the use of the PCS 090/095 together with
a controller from the 90/30 or 90/20 series supplied by GE-FANUC. This
controller is referred to in the following as the PLC (programmable logic
controller), the programming software for the PLC is referred to as
Logicmaster 90 and the driver to be loaded into the PCS as the SNP_DIR
(series 90 protocol). The driver to be loaded into the PCS 090 can be
operated with both the 90/30 and the 90/20 PLC. The GE-FANUC specific
terminology and the programming for the PLC with the Logicmaster 90
software are assumed to be known by the user. The following description
refers to the 90/30 PLC, for using the 90/20 PLC see sections 2.1 and 4.
© Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103 1-1
1 First Start-Up
Since the baud rate and interface are fixed, DIL 5 and 6 on the rear of
the PCS 090 have a different meaning than that printed on them. DIL 5
= ON switches on the status output of the PLC (see also section 2.4 of this
manual). DIL 6 = OFF allows communication via the RS 422 programming
interface with the PCS 708 cable. If DIL 6 = ON use the RS 422 - RS 232
converter for communication via the RS 232 interface.
1. Switch DIL switches 5, 6, 8 and 9 on the rear of the PCS to "OFF", DIL
10 to "ON". DIL 7 must be set to match the programming baud rate
("OFF" = 38.5 kbaud, "ON" = 115 kbaud).
2. Connect the operating voltage (19 - 33 V) on the PCS 090. The ERR
LED at least must now be lit.
3. Load the handling software SNP_DIR or SNP_DI2 into the PLC.
4. Connect the programming interface of the PLC to the PCS using
cable PCS 708.
5. Now the ERR LED on the PCS must be extinguished. Default text 0
appear on the display of the PCS. If this is not the case, see under
point 1.5.
1. DIL switch No. 8 is set to ON. If this is set the PCS goes into a diagnosis
routine when it is switched on, which is only needed for testing
purposes. Remedy: Switch the DIL switch to OFF and restart the PCS
(by switching off the unit briefly or pressing the RESET key above the
DIL switches).
2. The error output %Q97 (%Q1 on the 90/20 PLC) has been set in the
PLC. This is the case if data word 3 is not written by the PCS within
2.5 seconds. Is DIL 6 (interface) on the PCS set correctly? Is the
restart input %I65 (%I1 on the 90/20) on the PLC set to "ON"? Have
your used the correct cable? Is the cable defect?
1-2 © Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103
1 First Start-Up
In this case the connection between the PLC and the PCS is positioned in
a location where there is too much interference, the cable is too long for
the baud rate, the earthing situation is inadequate, the PLC is not set to
RUN (PLC NOT RUNNING).
Ensure good earth connections to the PCS 090 housing on the one
handand to the PLC board on the other. Remember that a copper
earth strapoffers considerably better HF conductivity than normal
interconnecting wires as a result of its larger surface.
Provide clear reference points for the supply voltages. The power
pack is potential free in order to make this easier.
The PCS and the communication cable should be at least 200 mm.
© Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103 1-3
1 First Start-Up
1-4 © Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103
2 PCL Handling Software
For the SNP_DIR driver access to the data block in the PLC is made in
synchronised form, i.e. the PCS accesses and then the PLC software
accesses. The synchronisation is made using words 2 and 3 in the data
block. The procedure is as follows:
The PCS makes access to the data block and copies it (in the length
specified by AL and AM) into the PCS. In the PCS the data are processed
and then the data block is copied back to the PLC. As its last action the
PCS writes a job number into the low byte of data word 3 and terminates
the access. Data word 2 is now different to data word 3 in the PLC. The
PLC software can now process the data block. As its last action the job
number in word 3 is inverted and pushed into the high byte. In addition
word 3 is copied into word 2. This terminates the PLC access and the
communication cycle starts from the beginning again.
In the enclosed handling software the PLC jobs are broken down into
sub-programs for the 90/30 PLC:
The "PCS_INI" sub-program is active in the first cycle and in the event of
a communication failure. Data words 2 - 11 and 23 are set to zero, words
12 - 14 are set to the initialisation values. The sub-program is run once in
the event of a communication failure.
The sub-program "SYNC_A" is always run and checks whether the PLC
may make access. If no error output Q97 is set and word 2 is different
from word 3 then the access marker "ZUGRIFF" is set to 1. If the error
output %Q97 is set and the restart input %I65 is set and word 2 is diffe-
rent from word 3 then ZUGRIFF is set to 1. In all other cases ZUGRIFF is
set to zero. If ZUGRIFF = 1 access may be made to the data block. This
sub-program must be in the software before the first data access.
© Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103 2-1
2 PCL Handling Software
Several data elements are used in the sub-programs. These are all noted
in the variable definition of _MAIN. They are as follows:
If you do not want to use the proposed data elements, simply change
the addresses in the variable declaration table. Please note that if you
move the data block DW0 to DW25 must be moved in full and that your
must tell the PCS about this move in the driver variables AL and AM.
2-2 © Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103
2 PCL Handling Software
If the communication fails, error output %Q97 is set. In this case it is only
possible to restart communication if input %I65 is set to "ON". Naturally
you can replace these inputs and outputs by markers and then control
the communication yourself in the PLC. The special actions required after
a communication failure must then be defined in the sub-program
PCS_INI.
90/20 PLC The PLC software for the 90/20 PLC has a equivalent structure and is
called SNP_DI2. There are differences in the following points:
The data block is from %R100 = DW0 to %R256 = DW156. The
remaining data words DW157 to DW255 are not available in this
PLC, please note this when addressing your variables. For your
applications the register words %R1 - %R96 are available %I1, %R97
- %R99, %M1 - %M3 and %Q1 are assigned. DW3 (sync word) is at
address %R103.
The average cycle time use is 6 ms.
Of the 2048 program bytes available, approx. 600 are assigned.
Design your program accordingly.
Since there are no sub-programs for the 90/20 PLC all program
parts must be included in _MAIN.
You can now connect the PCS as described in section 1.4. The program
_MAIN can be used as a basis for your PLC program.
© Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103 2-3
2 PCL Handling Software
Timeout Both in the PCS and in the PLC there is a time monitoring system for the
serial data exchange and for processing the sync word. The timeout
time in the PCS is 2.5 seconds. After this an error message is displayed in
the PCS and the ERROR LED is lit. In the background, however, the PCS
attempts to re-establish the communication. If it manages to do so the
error message will be deleted.
Too many repetitions The data exchange is made in data blocks and each block is checked for
length, content and block check. If an error is discovered the block is
requested again. The number of repetitions per 100 write/read cycles
may be called up in the internal variable @ZX. After three consecutive
repetitions the communication is aborted and the following error message
is displayed:
PLC not running For communication it is essential that the jobs are processed in the PLC.
Therefore a communication error message is output is the PLC is not in
RUN mode.
2.4 Status
To check the communication your can have the status of the PLC displayed
in the PCS. To do this you must switch DIL 5 to ON. A display is only made
if the communication is running perfectly.
2222 = RUN or STOP. Must be set to RUN, i.e. the PLC must be running.
33, 44 = values in hexadecimal form. SWEEP is the last cycle time of the
2-4 © Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103
2 PCL Handling Software
PLC time 100 µS. 33 is the high byte, 44 is the low byte. Example: 01.A3
corresponds to 419 times 100 µs = 41 ms. Since the maximum allowed
cycle time is 200 ms, the largest value is 07, D0.
© Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103 2-5
2 PCL Handling Software
2-6 © Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103
3 Communication
© Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103 3-1
3 Communication
3-2 © Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103
3 Communication
PCS PLC
----------------------------------------------------
PCS PLC
----------------------------------------------------
© Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103 3-3
3 Communication
PCS PLC
----------------------------------------------------
3-4 © Systeme Lauer GmbH & Co KG Kelterstr.59 72669 Unterensingen Tel. (07022) 96 60-0 Fax (07022) 96 60-103