beautypg.com

Customizing the ua32s configuration, Serial port, Cyclic output pulses – Meinberg UA32S User Manual

Page 11: Programming turn-on and turn-off times

background image

11

Customizing the UA32S Configuration

The chapters below describe how to configure the serial port parameters and the output
switching characteristics using the byte tables in the on-board EPROM. The configurati-
on parameters start address is 0E00h. All numbers are in hex notation (rsp. packed
BCD), e.g. the 59th second is coded as "59h". The listing of the default configuration is
given as an example.

Serial Port

The first two bytes are used to configure the serial port's mode of operation and
transmission speed. If the first byte SERMODE is 00h, the time message is sent
automatically at the beginning of every new second. If that byte is not zero, the string is
sent on request only.

The second byte sets up the transmission speed. See the comments in the listing below

for valid entries.

Cyclic Output Pulses

Each of the switching outputs can be turned on or off either cyclically or at predefined
times. In order to generate cyclic pulses at one of the outputs, the corresponding byte in
one (and only one) of the tables SEKTAB (seconds), MINTAB (minutes), or STDTAB
(hours) must be set to a value not equal 0FFh. The pulse length is configured in the table
IMPLTAB in units of 0.1 second.

Example:

Optocoupler 3 shall be enabled once every 10 minutes for a time interval of 1.3 seconds.
The values below must be entered in the four tables listed above at the positions
corresponding to optocoupler 3:

SEKTAB:

0FFh

;not depending on minutes

MINTAB:

10h

;enable once every 10 minutes

STDTAB:

0FFh

;not depending on hours

IMPLTAB:

13h

;pulse length 13 x 0.1 sec = 1.3 sec

Programming Turn-On And Turn-Off Times

Switch times have a higher priority than cyclic pulses. So if any turn-on/turn-off times
are programmed for an output, no cyclic pulses are generated for that output even if there
are entries in the tables for cyclic pulses.