Specifications
© Systeme Lauer GmbH & Co KG • Kelterstr.59 • 72669 Unterensingen • Tel. (07022) 96 60-0 • Fax (07022) 96 60-103
C-6
C Buep 19e-Expander driver
C1.2 Description of the handling software
The 3P90BUEP communication block is located on the BOSCH floppy
disk. The scan time load is less than 1 ms. The effective response time
speed between PLC and PCS depends on the baud rate and the cyclical
call time of PCS_KOMM. The response time is approx. 0.2 seconds without
user program and 19200 baud communication rate.
Description of the programs • OB1
Call of the programs using parameters. Change the settings for the
PCS_KOMM program here. Thus, no changes are required in PCS_
KOMM. Link your application program in after calling the PCS_KOMM
program. Thereby, activated keys are immediately processed.
TEST Example for a data access:
F1 activates the menu 1, F2 disabled all menus, F3 sets the message
bits M0..15, F4 disables these message bits again. The keys are
copied to the LEDs.
• PCS_KOMM communication program
Reads reception buffer in P1 and processes a received order packet.
Enters corresponding data into P0 and reads from it. Writes data to
be read into the transmitting buffer of P1. The communication is
monitored using the timer P3. P5 is set if the P4 timeout time has
expired without a new order being entered. IF P2 is = 1, the com-
munication starts automatically again after communications error if
an order packet has been received. Please specify the presettings
for the PCS at the -START_KO label: LEDs, display and memory
behavior, enable priorities, ect. Please specify the reactions to
communication loss at the -KOMM_FEL label: reset the PCS status
(keys,..), reset of variables (the communication can fail during a
menu), and start conditions of the PCS for the restart.
• INIT
Typical presets for a restart (e.g. release of massage texts)
• COFF
Emergency case presets (e.g. keys set zero)
Parameterization of the PCSKOMM handling block:
P0: PCS communication data block (here: DB1, 256 words)
The programmable controller and the PCS exchange informations
via this data block.
P1: Send and receive data block (here: DB2, 138 bytes)
The send and receive buffers are specified by this block. Orders of
the PCS and processed data (for reading orders) are stored in
these buffers. The block must consist of 69 data words.
P2: Switch for restart after faults (bit, here E0.0)
Using this bit, the communication can be restarted if a communi-
cations error appears (faults are then reset automatically!). It is to
be considered that no edge evaluation is made, i.e. with bit P2 set,
the communication is automatically restarted after a fault has
appeared.