Specifications

8
© Systeme Lauer GmbHLauer-driver
A1.1 Settings at the board
A1.1.1Addressing of the board
The KOS 201/202 board is only pluggable in the base magazine, i.e. DTA 200
(slots 1, 2 and 3). Slot 1 however, is required by the DNP 205 power supply board,
at least when using the ALU 201 or 202. Thus, slot 2 or 3 remains in the DTA 200
rack. The communication with the ALU is performed via a dual port RAM and
the PAB1 parallel equipment bus of the system. In addition, 128 IBs and 128
OBs are used. The programmable controller user however, has only contact to
the PCS via 128 OBs (64 words altogether).
Slot selection
Slot 2: use handling software from the 9002 programming unit directory.
Slot 3: use handling software from the 9003 programming unit directory.
Basically, slot 1 can also be used since the DNP 205 power supply board can be
operated on slot 2 or 3. In addition, all function blocks belonging to the handling
software would have to be rewritten however (replace EBx.y and ABx.y with
EB1.y and AB1.y).
A1.1.2 Baud rate settings
The baud rate setting for the communication between the PCS and the KOS 201
board is made by the software in OB1. The position (first line; instruction: L
KHxx) is mark by a comment! This constant is assigned a flag byte which in
turn submits an FB 200 parameter (BAUD). The following baud rates are possible:
1200 baud (L KH00), 4800 baud (L KH01), 9600 baud (L KH02) and 19200 baud (L
KH03).
A1.2 Description of the handling software
The enclosed FB 200 manages the data traffic between a transfer area (ABx.1 -
ABx.128) and the KOS board.
PB 200 is selected by the FB 200. This is used to copy all Ebx.y (data from the
PCS 200) onto ABx.y.
PB 201 and PB 202 are used to offer the user the possibility to install customer
specific presettings at restart (PB 201) or fault situations (PB 202) without
intervening in FB 200.
Apart from the cyclical call of FB 200 at the beginning of the programmable
controller cycle, incl. setting the baud rate with the BAUD parameter, the
implementation limits itself to reading and writing ABx.1 - ABx.128. A summary
fault bit (ERROR) enables the communication status to be evaluated via the
ladder diagram program. If this fault bit is = 1, then the data transfer has been
stopped. It can be restarted by presetting a flag (RESET). A further flag (TOGGLM)
is required for short/long cycles. This will be toggled and indicates in each
programmable controller cycle whether the programmable controller cycle can be
terminated after calling FB 200 (short cycle), or whether it is useful to process
further statement list commands (long cycle).
Description of KOS 201/202
A1. Description of KOS 201/201
A