Specifications

© Systeme Lauer GmbH & Co KG • Kelterstr.59 • 72669 Unterensingen • Tel. (07022) 96 60-0 • Fax (07022) 96 60-103
D-8
D Buep 19e-Direct driver
D1.3 Description of the handling software
OB1
Call of the programs using parameters. Change the settings for the
PCS_KOMM program here. Thus, no changes are required in PCS_KOMM.
The „TEST“ data access program is selected in PCS_KOMM.
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
The program evaluates whether an access to the data area is allowed
in the programmable controller program. The „TEST“ program is
called if an access is enabled. The sync word is processed after a
data access. Also, a timeout timer will be using „TIMER“ to monitor
the communica-tion. „COFF“ is selected and the M100.0. flag is set
if the timer times out. With the E0.0 restart input set to „1“,
communication will be restarted automatically. Otherwise it remains
disabled.
Attention!
Check the functioning of the handling software to avoid malfunc-tioning
of the PCS and/or programmable controller.
Parameterization of the PCS_ KOMM handling block:
P0: PCS transfer data block (here: DB1, 256 words)
The programmable controller and the PCS exchange informations via
this data block.
P1: 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.
P2: Time value for timeout monitoring
Structure:
e.g. K2.2 = 2 seconds timeout
multiplication element 1 = 100 ms, 2 = 1 s
value
P3: General error message (bit, here M100.0)
The P5 general fault bit is set for any error in the connection between
the programmable controller and the PCS. This bit is automatically
reset as soon as the communication is running without a fault.
P4: Initialization program
The data words for the programmable controller start are pre-
assigned in this PB.
P5: Communication loss program
The data words for the communication loss are pre-assigned using
this PB. The block will be executed once in case of an error.