Specifications

© Systeme Lauer GmbH & Co KG • Kelterstr.59 • 72669 Unterensingen • Tel. (07022) 96 60-0 • Fax (07022) 96 60-103
B-6
B Buep 19-Expander driver
B1.2 Description of the handling software
The 3P90BUEP communication block is located on the PCS 91.BOS
floppy disk. The scan time without user program (only PCSKOMM and
the I/O cycle) totals about 40 ms. A maximum of 80 ms are possible.
Since the maximum scan time of the ZE300 totals 1600ms the user pro-
gram should not require more than approx. 1500 ms.
The effective response time speed between programmable controller and
PCS depends on the baud rate and the cyclical call time of PCSKOMM.
The response time is approx. 0.2 seconds without user program and
19200 baud communication rate. Please match the P6 timeout time and
the PCS Timeout time parameters correspondingly (refer to 2.1). However,
the actual response time can be increased for variables since a changed
set value variable is read 2 times before it is assumed accepted.
Description of the programs OB 1
Call of the programs using parameters. Change the settings for the
PCSKOMM program here. Thus, no changes are required in PCSKOMM.
Link your application program in after calling the PCSKOMM program.
Thereby, activated keys are immediately processed.
OB7, OB8
Set the flag for the programmable controller start.
PCSKOMM communication program.
Reads reception buffer of TRANSDB and processes a received order
packet. Enters corresponding data into PCSDB and reads from it.
Writes data to be read into the transmitting buffer of TRANSDB. The
communication is monitored using the timer P7. P3 and P5 are set if
the P7 timeout time has expired without a new order being entered.
IF P2 is = 1, the communication starts automatically again after com-
munications error if an order packet has been received. Please specify
the presettings for the PCS at the -PCSVORB label: LEDs, display
and memory behavior, enable priorities, ect. Please specify the
reactions to communication loss at the -PCSNOTF 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.
Parameterization of the PCSKOMM handling block:
P0: Communication data block (here: DB0, 64 words)
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 64 data words.
P1: PCS control block (here: DB1, 255 words)
The programmable controller and the PCS exchange information
via this data block. It is activated during the processing of the handling
block.
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.