11 Link DUST2 - Sppaview.com

12 Link DUST2
11 Link DUST2
Printing message texts from a message sequencing system requires printers to be connected to SIMADYN D that
have a serial communications protocol X--ON / X--OFF with additional telegram protection block (ETX / ACK).
11.1 Hardware Structure
1) All processor boards with configurable serial interface; interface module SS1 (20mA). The cable SC56
is available for connecting the printer to a SIMADYN D processor module.
SS2 (V24) and SS3 (RS485) are not permitted !
2) Communications board CS7 with interface module SS4. The cable SC56 can also be utilized for
connection to the communications processor CS7 with SS4 interface module, when the corresponding
adaptor is used. This adaptor converts from a 25 pin high density connector to a 25 pin Sub--D
socket.
The printer must be equipped with the correct interface board and have parameters adapted to the settings (i.e. baud
rate, parity) configured in SIMADYN D.
Review User Manual:
The Printer DR 215-- N
(Review Catalog IC40 from AUT and SIMADYN D Update 94/14)
is to be used as a message printer.
11.2 Configuring
11.2.1 DUST2 Addresses
The DUST2 protocol operates according to the ‘‘Peer to Peer’’principle and therefore can only service a message
printer as the communications partner. The output of messages therefore does not require a transmit address
(for the CS7/SS4 application, specify a channel name at the corresponding output block; address stage 1 and 2 can
be omitted).
11.2.2 Central Block
Two central blocks are available for configuring the DUST2 link and for setting the formats for the printer output:
-- @DU2
For Serial Links via Processor Module
-- @CSD02
For Links via CS7/SS4
Siemens AG 465 980.7107.22
SIMADYN D Configuring Manual Communication
Release 02.96
12--1
12 Link DUST2
The DUST2 central block is responsible for the initialization of the communication interface (hardware driver and
DUST2 software). In addition, it offers the possibility of a minimum protocol set-up using the connectors:
PAR B1 --: Parity Set-Up:
Defines the parity in the telegram character (0 = even or 1 = odd number of ones).
FRM B1 --: Format Selection:
An optical improvement of the text output can be selected between a standard format (FRM = 0) (left-hand and
right-hand edge, small font, page break) or an unformatted output (FRM = 1). The format instruction is transmitted
by the DUST2 only in connection with the 20mA interface and always after detecting a break:
-- SIMADYN is Powered Up; (Current source 20mA from SIMADYN D is active as transmitter)
-- Printer is Powered Down: (Current source 20mA from the Printer as transmitter is inactive)
-- 20mA Connection Cable SIMADYN<-->Printer is not installed.
11.2.2.1 DUST2 via the Processor Interface
The central block @DU2 is available to be configured for the DUST2 link. The block has the task of installing and
reporting the data interface to a processor board serial interface. It must be configured on the processor board
whose serial interface it is to utilize.
The block possesses various initialization connectors, for parameter setting and initialization purposes, with the aid
of which it is possible to modify the parameter set-up of the DUST2 even on-line. The block connector QTS indicates
successful completion of the link initialization.
11.2.2.2 DUST2 via CS7/SS4
The central block @CSD02 is available to be configured for the DUST2 via an SS4 module on a CS7 board. This
block is given the task of initializing and setting the parameters of the data interface on an SS4 module on a CS7
board. All processor modules can access the CS7 board.
The data interface to the DUST2 communication via CS7/SS4 is 16 K byte.
11.2.3 Text Output Block
Text outputs to a printer in the P16 environment requires the message output block MSC1 to be configured (review
chapter ‘‘Message System’’). It only operates in the transmit mode of operation ‘‘Non Overwrite’’, which is the
default setting.
The MSC1 can be configured in both the permanent FP or interrupt FP.
Interconnection Versions for MSC1:
The following shows various interconnection versions for the protocol output, by which the message is immediately
deleted after it is read.
Version 1 : EN=1, IMF=1, IML=0, IMP=0, IMN=0, IMO=1, IME=1
Version 2 : EN=1, IMF=1, IML=0, IMP=0, IMN=0, IMO=1, IME=QMF
Version 3 : EN=1, IMF=0, IML=0, IMP=1, IMN=0, IMO=1, IME=QMF
Version 4 : EN=1, IMF=QMA, IML=0, IMP=0, IMN=0, IMO=QMA, IME=QMA
Version 5 : EN=1, IMF=0, IML=0, IMP=0, IMN=1, IMO=1, IME=1
etc.
12--2
Release 02.96
Siemens AG 465 980.7107.22
SIMADYN D Configuring Manual Communication
12 Link DUST2
Description:
The MSC1 always reads the oldest message, sets its binary output QMF=1 (read ‘‘Oldest Message’’), outputs
the message (inserts the message into the transmit telegram to the printer) and deletes this message from the
message buffer. The transmission subsequently takes place. If the last message has been read from the
message buffer, then the ‘‘Oldest Message’’is equal to the ‘‘Newest Message’’and QMF=QML=1.
Interconnection example for the protocol output with common message delete when all messages have been read:
EN=1, IMF=0, IML=0, IMP=0, IMN=1, IMO=1, IME=QML
Description:
The MSC1 starts at the very first read of the oldest message and sets its binary output QMF=1 (read ‘‘Oldest
Message’’). It then continues to read the next messages until the connector IMN remains at 1. It sets the
binary connector QML=1 (read ‘‘Newest Message’’), when it reaches the last ‘‘Newest Message’’.
When IME = QML then the complete message buffer is automatically deleted after the message output.
Utilize the message output block MSI2 for P32 (review chapter ‘‘Message System’’).
Siemens AG 465 980.7107.22
SIMADYN D Configuring Manual Communication
Release 02.96
12--3
12 Link DUST2
12--4
Release 02.96
Siemens AG 465 980.7107.22
SIMADYN D Configuring Manual Communication