Man DCU5 2.3 Eng
Man DCU5 2.3 Eng
man_DCU5_2.3_eng
Table of contents
                                                2
Table of contents
Table of contents
3          DCU5 -Hardware............................................................................................................. 13
3.1        MCU5 ............................................................................................................................... 14
3.2        DIM8 ................................................................................................................................ 15
3.3        AIM12_2 ........................................................................................................................... 17
3.4        DOM230_4 ....................................................................................................................... 19
3.5        DIMPT2_1 ........................................................................................................................ 20
3.6        DOMOC_8 ....................................................................................................................... 21
3.7        AOM12_1 ......................................................................................................................... 22
3.8        ADRM_8 – address module 8 bit ..................................................................................... 23
3.9        DKM- display and keyboard module ................................................................................ 23
4          Software .......................................................................................................................... 25
4.1        NMEA- telegram generation with the DCU5 .................................................................... 25
4.1.1      Generation of proprietary NMEA ..................................................................................... 25
4.1.2      Generation of standard NMEA ......................................................................................... 27
4.2        Control of output channels ............................................................................................... 28
4.2.1      Proprietary NMEA to control DCU5 outputs .................................................................... 29
4.2.2      Standard NMEA to control DCU5 outputs ....................................................................... 29
                                                                               3
Table of contents
                                                                      4
List of figures
List of figures
Figure 1: DCU5 with modules without covering plates ................................................................ 10
Figure 2: Complete DCU5 with covering plates ........................................................................... 10
Figure 3: DCU5 in a box ............................................................................................................... 11
Figure 4: Dimensions for MCU5 and all DCU5 modules ............................................................. 13
Figure 5:DIM8 Layout ................................................................................................................... 16
Figure 6: Layout AIM12_2 ............................................................................................................ 18
Figure 7: DOM230_4 Layout ........................................................................................................ 19
Figure 8: DIMPT2_1 layout .......................................................................................................... 20
Figure 9:: Layout DOMOC_8 ...................................................................................................... 21
Figure 10: AOM12_1 layout ......................................................................................................... 22
Figure 11: ADRM8 ....................................................................................................................... 23
Figure 12: DKM module ............................................................................................................... 24
Figure 13: Terminal setup ............................................................................................................ 34
Figure 14: Setup help screen ....................................................................................................... 36
Figure 15: Password input ........................................................................................................... 37
Figure 16: Setup baud rate .......................................................................................................... 38
Figure 17: I/O- configuration ........................................................................................................ 39
Figure 18: Calibration of analogue input channel 0 ..................................................................... 40
Figure 19: Set of calibration points. ............................................................................................. 41
Figure 20: Listing of the actual calibration. .................................................................................. 42
Figure 21: Configuration of proprietary NMEA ............................................................................. 43
Figure 22: Configure Output Control String ................................................................................. 46
Figure 23: Open a "Logfile " ......................................................................................................... 47
Figure 24: Download of parameter has finished .......................................................................... 48
Figure 25: Open the file with "YES" ............................................................................................. 48
Figure 26: Remove the marked parts ahead of the parameter .................................................... 49
Figure 27: Remove the marked parts from the file....................................................................... 50
Figure 28: Replace of all spaces with nothing ............................................................................. 50
Figure 29: The Setup waits for data ............................................................................................. 51
Figure 30: Selection of the parameter file .................................................................................... 52
Figure 31: Download in progress ................................................................................................. 52
Figure 32: Download screen ........................................................................................................ 53
Figure 34: Setting Date and Time ................................................................................................ 54
Figure 34: XPORT configuration .................................................................................................. 55
Figure 35: XPORT setup menu .................................................................................................... 56
Figure 37: EOL- Error screen ....................................................................................................... 57
Figure 37: RTC error screen ........................................................................................................ 58
                                                                           5
List of tables
List of tables
Table 1: Technical data ................................................................................................................ 12
Table 2: MCU5.6.3 X1 –pin out .................................................................................................... 14
Table 3: MCU5.6.1 X1 pin out ...................................................................................................... 14
Table 4: MCU jumper and LED’s ................................................................................................. 14
Table 5: DIM8 connection ............................................................................................................ 16
Table 6: DIM8 jumper settings ..................................................................................................... 16
Table 7: AIM12_ range adjustment .............................................................................................. 18
Table 8: Terminal connections AIM12_2 ..................................................................................... 18
Table 9: DOM230_4 connection .................................................................................................. 19
Table 10: DIMPT2_1 connections ................................................................................................ 20
Table 11: DIMPT2_1 Jumper & settings ...................................................................................... 20
Table 12: DOMOC_8 connections ............................................................................................... 21
Table 13: AOM12_1 Terminal connection ................................................................................... 22
Table 14:Jumper settings of AOM12_1 ....................................................................................... 22
Table 15: Fields in proprietary NMEA .......................................................................................... 26
Table 16: Proprietary NMEA data types ...................................................................................... 26
Table 17: NMEA input description field ........................................................................................ 27
Table 18 : Analogue input parameter 1 ....................................................................................... 27
Table 19: Example calibration table for RSA ............................................................................... 28
Table 20: Fields in proprietary control NMEA .............................................................................. 29
Table 21: DCU output control types ............................................................................................. 29
Table 22: OCS-structure .............................................................................................................. 30
Table 23: Serial connection DCU5- PC ....................................................................................... 34
Table 24: Example of the calibrated table .................................................................................... 44
Table 25: Effective ranges and parameter ................................................................................... 45
                                                                           6
Safety instructions
1 Safety instructions
Please read carefully the safety and instruction manual before using this device! Follow all
instructions that are in the User Guide (Manual) to achieve the optimal performance. These
safety and operating instructions should be kept good.
refers to an information
                 indicates a hazardous situation which may cause to heavy and serious injury or
                 death
1.1 Personnel
                 The installation, commissioning and dismantling of the device should be made only
                 by trained and authorized personnel. During installation, it is necessary to pay atten-
                 tion to the safety instructions which is defined by the user.
       The equipment is designed exclusively for the intended purpose specified in the manual. Any
       other use and / or misuse of the device can lead to unpredictable risks including death and
       causes the loss of all the claims against the manufacturer.
                 The manufacturer would not take over any liability for damages resulting from:
                 - the usage of the device by untrained and unauthorized personnel,
                 - use of device not for intended purpose
                 - opening and/or manipulation of the device
                 - not following the manual and safety instructions
                                                      7
Safety instructions
                   If the objects (e.g. hairpins, needles or coins) or liquids fall into the device, which
                   can cause to life threatening electrical short-circuits and leads to fire. The user must
                   make sure that all above mentioned objects specially made of metal and/ or liquid
                   things not fall in to the device intentionally or unintentionally.
The operation and use of the device done by instructed and authorized personnel.
The equipment exclusively operated with the operating voltage indicated in the manual.
                   When installing the cable connections, the user pay attention to the safety regula-
                   tion. Always pay attention to the connection to the protective earth ground! Attention
                   to be paid in connection with other devices has to be of the same earth potential
                   (same heavy current/voltage side).
1.9. Ventilation
        The equipment must be installed in such a way that good ventilation is ensured. On the device
        is not allows to put any articles such as newspapers.
                   The device is not allowed to operate in close vicinity of electrical conductive liquids
                   and moist areas. On the device or nearby area of device is not allow to place any
                   liquid things.
                   Attention: Danger of Electric Shocks!
                                                          8
Safety instructions
        The operating temperature of the device is defined in the specifications. The device must not
        be placed near the things which produce heat such as to blowers, heaters, furnaces or other
        devices.
                   Never open the housing. Touching the internal parts lead to risk of electric shock. It
                   is not permitted to make any changes in the device.
1.13. Cleaning
                   Do not use any volatile solvents such as alcohol, diluents, gasoline etc. for the
                   cleaning of the housing. Only use dry, clean cloth.
                   If any unusual smoke or smell occurs, immediately switch off of the device and re-
                   move it from the main power supply! Contact your dealer or the manufacturer.
1.15.    Fuses
                   The replacement of the fuses in the device is only permitted by trained and
                   authorized technical personnel.
                   The change of the fuses only allowed when the device is switched off and removes
                   from main power supply. Otherwise there is a risk of electric shocks. The security
                   functions and the safety values are mentioned in the manual. In the case of using
                   the other fuse specified in the manual expire the guarantee for this equipment.
1.16. Repairing
        The user is not allowed to perform the maintenance work as specified in the manual. All main-
        tenance and repair work only allowed by trained and authorized technical personnel.
For the specific safety information about the device, please refer to manual!
                                                        9
System description
2      System description
 The DCU5 system is a modular I/O system to control digital and analogue signals. It is designed
 for DIN rail mounting at switchboard. It is used during installing of data logger, Voyage Data Re-
 corder (VDR), alarm systems but also for controlling motors or lighting applications. The DCU5 is for
 capturing signals from various sensors, relays or PWM outputs. Communication can take place via
 RS 422 or Ethernet 10/100 Mbps.
 TCP/IP, UDP, NMEA 0183, MODBUS RTU or customer-specific solutions are possible. It is tested
 according to IEC 60 945 and has the approval of Germanischer Lloyd.
 Each system consists of one control unit MCU and at least one module AIM, DIM, DOM etc. The
 configuration of the hardware is automatically detected and generates the appropriate NMEA tele-
 gram. With parameters the baud rate, the telegram header and the output frequency of the
 telegrams can be set.
 The configuration and combination of the modules are optional selectable.
 At the core of the MCU the 5V power for the connected modules will provided.
                                                    10
System description
               The use in area subject to explosion hazards and in medical equipment is not allowed!
               So it should be protected against access from unauthorized persons.
               The proof voltage of the galvanic isolated inputs is maximal 1, 5 kV. This must be
               checked before connect.
                                                     11
System description
Degree of protection  IP 20
                                               12
DCU5 -Hardware
3      DCU5 -Hardware
The DCU5 is a flexible, modular I/O- system designed for DIN rail mounting.
Each DCU5 consist of one MCU5 and one or more I/O modules. The maximum of modules depends
on the type of the I/O module.
The MCU5 supplies 5V/ 3A and 24 V/1,85A fused to the connected modules
All together 9 modules are possible anyway.
There is no specific order to combine the modules. At the last module in line and only there the EOL –
jumper must be closed! The system recognizes the module automatically at start up and sets itself up
according to the stored configuration data.
The DCU5 system can be delivered with one compact enclosure or with separate casing for each
module as shown in Figure 4: Dimensions for MCU5 and all DCU5 modules.
Anyway the complete unit has to fix on a DIN- rail to give the necessary stability.
                                                     13
DCU5 -Hardware
3.1        MCU5
 The Main Control Unit called MCU5 is the base to control the connected modules. The data ex-
 change takes place via the X2 connector.
 Furthermore, the 5V supply for the AIM10_2 and DOM230_4 modules is provided via the X2 con-
 nector. The query is internally approx. 10 ms cycle time per module, so that changes are promptly
 recorded on the digital inputs. Only for the duration of sending telegrams, the query is suspended.
 The relatively high sampling rate and the event-driven telegram output results in a high probability
 of detection of short pulses, as tiller signals to steer.
 The closing of a contact input or applying a voltage to the voltage inputs immediately sends the
 proprietary edited telegrams that reflect the process image. The output frequency of these tele-
 grams is adjustable via parameter and defaults to 1 second. The software also allows the control of
 the DOM230_4, AOM12_1 or other output module –using a proprietary NMEA telegram.
 Communication takes place via a serial interface of type RS 422/RS 485 or optional via Ethernet
 10/100 Mbps at the RJ45 jack. The protocols are described in the section 3.6.
      X1             Signal                              X1              Signal
      1              +24V / max. 1,75 A                  1               Guard
      2              0V                                  2               Alarm output 30V/50mA
      3              Alarm output 30V/50mA               3               +24V/ / max. 1,75 A
      4              RS422 C (0V RS422, iso-             4               0V
      5              lated) A (RX+)
                     RS422                               5               RS422 A (RX+)
      6              RS422 B (RX-)                       6               RS422 B (RX-)
      7              RS 422 Z (TX-)                      7               RS 422 Z (TX-)
      8              RS 422 Y (TX+)                      8               RS 422 Y (TX+)
!!Attention!!
 X1 of the MCU5 Rev.: 5.6.3 differs from older revisions because the serial interface according
IEC62162-2 requires a ground connection (X1:4). The earth connector of the MCU5.6.3 is a fast on
connector beside X1.
  Jumper & LED Comment
  JP1              Flash programming interface
  RES              Restart , about 2 sec to close
  PROG             If set while restart Flash programming starts.
  Z8, green        Power on
  Z1,yellow        Serial data RXD- indication
  Z2,yellow        Serial data TXD- indication
  Z11, green       System OK-> ALARM output is closed to 0V
                                                    14
DCU5 -Hardware
3.2 DIM8
The DIM8 module contains 8 electrically decoupled digital inputs. The inputs can be configured
independently to each other for the input from contacts or 24 DC.
In case of 24V signals the following limits needs to mind:
Logical High: 8 ... 48V
Logical Low: 0...3V.
The galvanic isolation of the channels between them and the system is designed for 1.5 KV. If the
inputs configured to contact query, the operating voltage of the MCU5 is used for self- powering. By
two resistors of 1.3 KΩ the current is limited, so the power supply range from 10-32 V is no prob-
lems with by this setting. For contact input the upper terminals 1,3,5,7... ,15 may be connected to a
common line to save cable wires. The EOL jumper must be set when the module is the last on
the bus otherwise the jumper must remain open!
                                                    15
DCU5 -Hardware
                                    Signal Hexadecimal
                              X3
                                           value if con-
                                           tact
                                           is closed or
                              1     DI 0+  0x80
                                           24V
                              2     DI 0-
                              3     DI 1+   0x40
                              4     DI 1-
                              5     DI 2+   0x20
                              6     DI 2-
                              7     DI 3+   0x10
                              8     DI 3-
                              9     DI 4+   0x08
                              10 DI 4-
                              11 DI 5+      0x04
                              12 DI 5-
                              13 DI 6+      0x02
                              14 DI 6-
                              15 DI 7+      0x01
                              16 DI 7-
                        16
DCU5 -Hardware
3.3     AIM12_2
The AIM12_2 provides an A/D conversion of signals with a resolution of 12 bits at two galvanic iso-
lated channels.
Thus, there are two values in the corresponding AIM per telegram. The position corresponds to the
position in the telegram counted from the left (MCU-page). This module becomes compatible to the
older AIM 10_2 if a special soldering jumper is set.
The inputs are operating independently. With the help of jumpers, the voltage input ranges or the
current range can be selected. The galvanic isolation is designed for 1.5 KV. The current inputs are
protected with a self-resetting fuse of 50 mA against overload.
The input impedance of the voltage range is greater than 1 MΩ, so that may be obtained from open
terminals indefinite readings. The output value is only calibrated by software, however, ensures that
no clipping occurs in the specified ranges. For example, the maximum value of 4095 is achieved at
+ 10.2 V. The assignment to the physical quantity, such as the steering angle, speed, etc. will there-
fore be made with the aid of calibration over the entire system in compiling the telegrams from the
DCU software or in its parent system. If the inputs are shorted and no current flows into the input, the
output in the bipolar range is 2047 and 0 in the unipolar range (J3/J6 closed). This corresponds to
the zero point. If the sensors are not linear, relevant tables have identified with supporting values,
and interpolate the intermediate values. This calculation can also be carried out internally by the MCU
with appropriate calibration, so that the numerical values correspond to the nominal values in the
analogue telegram. The EOL jumper must be set when the module is the last on the bus other-
wise the jumper must remain open!
                                                     17
DCU5 -Hardware
J1 J2 J3 J5 J4 J6
                                X3    Signal
                            1         +Input 0
                            2         -Input 0
                            3         Guard
                            4         Guard
                            5         +Input 1
                            6         +Input 1-
                           Table 8: Terminal connections AIM12_2
                                 18
DCU5 -Hardware
3.4 DOM230_4
  The digital output module (DOM) can be connected with 4 relay circuits. There is always a
  changer contact on the terminal block available. The maximum loading capacity of contacts is
  250VAC/8A or 24VDC/3A. The assignments of values to chapter DCU Control telegrams are
  based proprietary NMEA telegrams.
  After Power On of the DCU, all bits of the DOM are set (LED = ON). This is also the power-
  less status of the relays as given in Table 9 (C-NC contact is closed). From now the software in
  the MCU5 controls the behaviour of the contact. A reset by software or the watchdog while the
  power is on does not change the actual state of the switches
                                                          X3      signal             remark
                                                          1       C4                 Bit3/7
                                                          2       NC4
                                                          3       NO4
                                                          4       spare
                                                          5       C3                 Bit2/6
                                                          6       NC3
                                                          7       NO3
                                                          8       spare
                                                          9       C2                 Bit 1/5
                                                          10      NC2
                                                          11      NO2
                                                          12      spare
                                                          13      C1                 Bit 0/4
                                                          14      NC1
                                                          15      NO1
                                                          16      spare
                                                        Table 9: DOM230_4 connection
                                                   19
DCU5 -Hardware
3.5      DIMPT2_1
With     the    2   inputs       of      the     module digital signals         can be     recorded. An
additional analogue input in 4 wire technologies is available for measuring temperatures in the
range of -50 ° C to +150 °C with PT100 sensors. There is an A/D conversion of signals with a reso-
lution of 10 bits. The galvanic isolation      is designed for 1.5KV. In the MCU are already
tables with interpolation points for conversion factors for PT 100 sensors deposited and can adjust if
necessary.
                                                          X3                  Signal
                                                          1                   PT100 +
                                                          2                   Sense+
                                                          3                   PT100 -
                                                          4                   Sense-
                                                          5                   Guard
                                                          6                   Guard
                                                    20
DCU5 -Hardware
3.6     DOMOC_8
The Digital Output Module Open Collector 8 (DOMOC_8) contains 8 bipolar transistor switches. They
are galvanic isolated to the System and to each other. The limits for each switch are 60V and 0,75A
DC. The output control byte is of Little Endean type as shown in Table 12: DOMOC_8 connections .
After Power On all bits are set to ‘1’ means the LED’s are bright and the switch is closed.
If one bit is set to ‘0’ the switch will open and the LED will be off.
A reset by software or the watchdog while the power is on does not change the actual state of the
switches.
                                                                    Signal               Remark
                                                           X3
                                                           1        NO+                  Bit 7
                                                           2        C-
                                                           3        NO+                  Bit 6
                                                           4        C-
                                                           5        NO+                  Bit 5
                                                           6        C-
                                                           7        NO+                  Bit 4
                                                           8        C-
                                                           9        NO+                  Bit 3
                                                           10       C-
                                                           11       NO+                  Bit 2
                                                           12       C-
                                                           13       NO+                  Bit 1
                                                           14       C-
                                                           15       NO+                  Bit 0
                                                           16       C-
                                                   21
DCU5 -Hardware
3.7     AOM12_1
The AOM12_1 provides one analogue output channel with 12 bit resolution
Voltage or current output is selectable by jumper. This module may be used to convert digital values
to analogue signals for electrical instruments or actors.
                                                                    Signal
                                                    X3
                                                    1               Ground
                                                    2               Ground
                                                    3               Current output +
                                                    4               Current output -
                                                    5               Voltage output+
                                                    6               Voltage output –
                                                    7               Sense +
                                                    8               Sense -
 J1      J2     J3     Output              Remark
 1-2     X             0 - 20 mA           The current loop must be closed to avoid error messages.
 1-2     X      X      4 - 20 mA           The burden should be less than 500 Ohm.
 1-2                   0 - 10 V            The burden should be more than 1000 Ohm!
 1-2            X      0 - 5V              Sense+ must have a connection to voltage output + and
 2-3            X      +- 5 V              Sense- must have a connection to voltage output – !
 2-3                   +- 10 V
                                                        22
DCU5 -Hardware
The DKM is a low level interface to connect a display and a keyboard matrix via X3 and 26 wire rib-
bon cable. Shielded cable may have a length up to 2,5 m.
If the cable is shielded the screen should be connected via X4 to ground.
The keyboard section can serve up to a 16 keys.
The Display interface can drive LCD with up to 4 lines and up to 40 characters.
Also up to 4 x 7 segments LED are possible. The brightness of the display is controlled by galvanic
isolated PWM output.
Please connect the maker for more details.
                                                    23
DCU5 -Hardware
                        24
Software
4       Software
The operating software of the MCU determined after a self test the configuration of the DCU5 system.
All module types have their own ID to control the system.
On the last module in the DCU, the “End Of Line” (EOL) jumper must be set to finish the poll cycle.
If an error occurs in the DCU system a corresponding error message about an alarm telegram will be
generated and the ERR LED on the MCU starts lighting as seen in Figure 2: layout MCU, dimensions
for all Modules the same The integrated watchdog reset is triggered and the system reboots.
The I/O data will be managed independently from the module into 4 groups:
1. Digital inputs (DI) on the module types DIM, DIMPT
2. Analogue inputs (AI) on the module types AIM, DIMPT
3. Digital outputs (DO) on the module types DOM230_4, DOMOC_8
4. Analogue outputs (AO) - on the module types AOM12_1
This abstraction from different hardware configurations simplifies the configuration of the system.
The counting method is suitable for all types of data separately, starting from the left (MCU
side) with 0.
The first is the analogue input channel AI0, for example, on the first AIM-module CH0 (X3:1-2)
for the MCU.
The digital inputs are available, depending on the module up to 8 channels on DIM_8.
The analysis of the telegram dependents on the configuration of the DCU.
                                                      25
 Software
                  Description                                  Example
 PHEADER          Address field, max 8 capital characters      PV00
 TYPE             Specification of the data X1-Xn              DI, AI ,DO, AO
 F                Number of telegram in a group                0...9
 N                Number of data fields                        1...8
 X1... Xn         Data field
 LRC              LRC Checksum according IEC61162-1
 CR, LF           Limiter of the telegram                      0x0D0x0A
 When programming the telegram header the IEC 61162-1 should be respected! The maximum frame
 length of 82 characters is limited by the software itself.
 If more than 8 data fields are necessary to form a telegram ‘f’ increments and a second telegram will
 be generated.
1. PV00AI,08,X1,X2,X3,X4,X5,X6,X7,X8*[LRC]<CR><LF>
2. PV00AI,14,X9,X10,X11,X12*[LRC]<CR><LF>
DI     8-bit input values (DI), hexadecimal with LSB right = terminal 15/16 of the DIM8
       Example :
 2x DIM8:$PV00DI,2,0,FF*25
AI     Analogue
       Example values of the AIM, 10 or 12bit resolution, range and output format according to
       the calibration (see Section 3.3)
       Example:
 1x AIM12_2: $PV00AI,2,0,4095*28
DO     This type gives the current status of all digital outputs as byte in hexadecimal notation.
       Example for the state digital output:
AO     This type gives the current value of all analogue outputs in the system as digits (0...4095).
           
       Example for analogue output from 1x AOM12_1 : $PV00AO,1,2047*0C
       The physical value is determined by the jumper settings!
                                                        26
Software
If the DCU receives a control telegram to set the digital or analogue outputs, proprietary telegrams of
the type DO or AO responds from the DCU as the result.
If the parameter DOTIME and AOTIME is different from 0 the telegrams will be repeated within these
times.
These types NMEA- telegrams are formed with help of NMEA Format Strings in the following called
NFS.
The general format of the NFS is [field 1],[field 2],....[field n][CR][LF].
The fields are separated by commas and the string is limited by 0x0D0x0A (Enter) like NMEA sen-
tences. All characters of the NFS will print out as given excepted from the ‘~’ marked special fields.
That means the NFS is the expected NMEA with special fields in place of the variable outputs.
If the first character in the field is ‘~’ (0x7E) the following data of this field describe the input source
which generates the printout in the NMEA.
                                                           27
Software
The digits of set point 2 and 4 are set by the statistic mean value of digits for -10 V and 10V.
The value of 4085 represents a electrical value of 10V or 20 mA or a rudder angle of 35° (SB). If the
voltage rises over this limit the measurement becomes invalid. The same happens at 15 digits which
may represent -10V or 4 mA or – 35°( PS). See also Table 7: AIM12_ range adjustment and section
5.1 Configuration of the MCU5.
                                                       28
 Software
OD       X[n]= address of digital output channel: range 0...max. number of digital output channels
         X[n+1]= State to set this output channel : range 0= LED OFF or 1= LED ON
         Example: DCU5 with 2xDOM230_4:
OA       X[n]= address of analogue output channel: range 0...max. number of analogue output channels
         X[n+1]= value to set this output channel: range 0...4095 (12 bit ) or 0...1023 ( 10bit)
         Example:DCU5 with 5x AOM12_1:
                NMEA send to DCU5: $PV00OA,0,0,1,2047,4,128<CR><LF>
 It is possible to control DCU5 outputs with NMEA according IEC 61 162-1.The received NMEA is ex-
 amined for the start symbol ‘$’, valid characters and LF (0x0A) at least on the 82’th character. If the
 LRC checksum *hh is present this is being examined. All received NMEA messages are send un-
 changed. Only if the syntax check is successful, the NMEA- string will be checked with all pro-
                                                         29
Software
grammed Output Control Strings (OCS). Each DCU5 – Output channel has his own OCS. If more
than one value in the NMEA should be converted you need one OCS for each value!
If a Set Timeout > 0 is programmed the serial input line is monitored for received telegrams within this
time gap. In case of timeout all outputs of the DCU are set to 0!! It means all digital outputs become
ON and all analogue Outputs will be set to 0 digits!
This behaviour may be suppressed with setting 0 to the Set Timeout parameter.
General structure of such a OCS is:
[HEADER],[POS],[STATUS],[DCU-Output],[Para.1],[Para.2],[Para.3]<CR><LF>
Each OCS consists of 7 fields (field 0... field 6) separated by commas.
No Field Description
0    HEADER          -Up to 10 capital letters, it will be compared with field 0 of the NMEA telegram.
                     -Wildcards ‘?’ are possible.
1    POS             -Number of the field in the received NMEA which contains the control string .
2    STATUS          Position of the field with the valid status,
                     A Null field (“,,”) is used if no status is available or the status should be omitted.
3    DCU-Output      Type and number, counted from MCU to right, D0..Dn or A0... An
                     Type D - digital output                      Type A- analogue output
4    PARA.1          LIMIT_ON or the text which has to            Minimum of the control value
                     match with the string at POS
5    PARA.2          LIMIT_OFF                                    Maximum of the control value
     PARA.3          Position of unit for the speed value
                     conversion; 0 if no conversion is re-
                     quired
     CRLF            Return Line feed ( 0x0D0x0A)
Table 22: OCS-structure
                                                       30
Software
The meaning of the Parameter1 and 2 is determined by type of the DCU output.
Example 1:
An alarm should be active if the wind speed exceeds 10m/s and should be inactive if the wind speed
falls below 6m/s.
The DCU5 consists of one MCU5 and one DOM230_4.
The alarm contact D0 is X3:1- 2 at the DOM230_4, see also Figure 7: DOM230_4 Layout
The wind speed is given in the NMEA telegram $WIMWV at position 3 and the speed unit in position 4
                                                       31
Software
Example 2 :
A rudder indicator with a range of +- 45° @ +- 10V should be controlled by $IIRSA,x.x,a,,,
The internal resistance of the indicator electronic must be more than 1 KOhm!
The DCU5 consists of a MCU5 and one AOM12_1 (A0) with a +- 10 V selection.
The necessary OSC for the starboard rudder sensor is: $IIRSA,1,2,A0,-45,+45,0
The output channel A0 is the first analogue output in this DCU5 system.
The rudder angel is read from field 1 in the RSA telegram (SB or single rudder)
The minimum should be – 45° and the maximum 45°.
Field 2 is the valid status. If there is a ‘V’ the NMEA- input is skipped from output control!
The resulting voltage or current output is determined by the jumper of the AOM12_1.
See also Figure 10: AOM12_1 layout!
If a second analogue output channel (2x AOM12_1) is available the port rudder sensor value can be
used to control this output.
The necessary OSC for the port rudder sensor is: $IIRSA,3,4,A1,-45,+45,0
                                                       32
Installation and set to work
 On the last module (far right) and only on this module, the EOL jumper is to set. The modules are
 mounted on a DIN rail TS 35 and stick to each other. The correct fit between plug and socket of the
 bus is observed. The system is to fix with suitable end braces left and right. Before connecting the
 analogue and digital signal sources whose voltage range is to check with a voltmeter! The permis-
 sible operating voltage is 24 V (12 - 32V). The digital inputs are strain resistant up to 48 V.
 The analogue inputs are strain resistant up to +/- 30 VDC. In the current input a self-resetting
 fuse is installed, which protects the internal shunt, and after breaking the circuit even roll back.
 For the connection of 110VAC up to 230VAC VEINLAND delivers suitable ballast module of type
 VSM230AC. Are contact inputs configured, the operating voltage of the DCU is fed through a re-
 sistor of 2.7 KΩ. There should be no external voltage applied from external. If voltage inputs are
 configured, “+” terminals are on the upper row (odd numbers) and the “-“ terminal on the bottom
 row (even numbers). Contact inputs and voltage inputs are freely mixable on each module and
 are to the system and with each other electrically isolated.
 Grounding of the module
 The system should be connected via shielded cables to the signal sources. Here, the screen is
 one-sided, centrally located near  the MCU on the hull (GND). The guard ports of the
 MCU and the AIM modules are also grounded at this point. All signal lines, especially the ana-
 logue one are as short as possible, leading to the terminals of the modules and hang up.
                                                      33
Installation and set to work
                                                  34
Installation and set to work
The connection between RS 422 and RS232 is non standard and may cause failures! It is recom-
mended to use a suitable converter for the PC- port. Alternatively, the parameter input can also be
done via the network.
       Connect X1 with a PC (COM - port) according Table 23: Serial connection DCU5- PC
       Start a terminal program like “OC Console” etc.
      Configure “OC Console“ as shown in Figure 13: Terminal setup .
Switch Power on or short “RES” for app. 1 second if the power is already on.
 At first the actual software version is print out. The modules check follows and gives the actual con-
figuration of the DCU- IO system.
The splash screen is always transmitted with 4800 8 N1 up to the printout “Serial line runs...”. Thus,
regardless of the set baud rate, the parameters can be determined and, if applicable, the baud rate of
the terminal program may be adjusted.
The actual setup- parameters are shown until the printout “---------- Running-----------“.
The output of NMEA – telegrams is controlled by parameter and the hardware configuration.
So the repeat time for the telegram type must not be set zero and the input module (DIM8,AIM12_2...)
should be listed in the start up screen.
                                                      35
Installation and set to work
Each item can be selected with a simple key hit (0...T). It is important to use uppercase letters.
Than a small sub menu will present the next steps to edit the parameter. In general, it is not a
complete integrated editor in the software! For incorrect input, only the BACSPACE key can
delete the letter.
[ENTER]: Completed a command and assumes the new value temporarily. Will not enter a
value the old parameters remains unchanged and the current help text is displayed. [ESC]: leave the
current to the previous menu level and cancel the command without changing the parameter. Please
be observed the help texts.
5.2.1 Password
[Enter] without any input before deletes the current password. In this way, the dialogue can be
terminated without assigning passwords. A password with up to 8 characters is possible. The as-
signed password is validated during each call of "setup". To upper- and lowercase letters must be
respected.
                                                    36
Installation and set to work
                               37
Installation and set to work
The configuration of the analogue channels is necessary for the generation of standard NMEA- tele-
grams.
In general it is an assignment of physical values to the measured digits.
The software calculates with help of a calibration list.
This list contains 11 pairs of digital values and the assigned set point like rudder angel, rpm and so
on.
Before starting the calibration it is necessary to set the range of the analogue input. See also Figure 6
                                                     38
Installation and set to work
The decimal places in the print out is selected by a code 0..6. For NMEA sentences mostly one deci-
mal place is needed. Therefore code 1 should be selected.
Figure 18 shows the calibration table with the default settings. It consists only of 2 set points and
would result a print out of 10.0 at a measurement of 4095 digits. But the AIM12_2 delivers 4095 at
app. 10.2 V! Therefore a further calibration is recommended to get the correct result.
The next steps give an example to generate an print out range -35 ...35 at a voltage range from -10 V
to 10 V.
It can be used to prepare this analogue channel 0 to use it for RSA – NMEA
                                                      39
Installation and set to work
The result of the new minimum and maximum is permanently displayed in the bottom line of Figure
19.If the value of s differs from 0 the measurement is invalid. Two additional set points are required
for valid measurements.
The best result will achieve if the real voltage (±10 V) or the real rudder angel (± 35) are applied to the
input.
Then press ‘s’ if exactly 10V or 35° are present on the terminals of the channel and type this set point
in. Figure 20 shows the procedure. It should be done also for -10V or -35° in the same way. The
manually input is also possible if a suitable calibration list exists.
The item ‘l’ displays the actual calibration list. It is useful to give a overview and for documentation
purpose. In Figure 21 is the calibration list for AI0 displayed. The calibration may finished with ESC.
                                                       40
Installation and set to work
                                        41
Installation and set to work
The structure of the proprietary NMEA telegrams is fixed. The repeat time of the telegrams can be
adjusted within the possible range. If it is set to zero the output is disabled. Unattached of that a AO-
or DO – type will be send if a proprietary setting telegram ( OA,OD- types ) was received before.
                                                      42
Installation and set to work
                                               43
Installation and set to work
In this group of NMEA telegrams describes for e.g. by RSA, RPM, XDR or others in which analog or
digital input signals are used. Please see section 4.1.2 for more information
These predefined NMEA messages can be generated with the help of so-called NMEA Format
Strings. These NFS represent the desired NMEA telegram with special fields for the dynamic input
values.
In the variable fields, for example where it appears analog measurements are special scripts to gen-
erate the wording of the present position of the NMEA telegram. The checksum is automatically calcu-
lated and added at the end.
The general structure of a NFS is: <Field0>,<Field1>,<Field 2>….<CR><LF>
The total length of the one NFS is limited to 128 bytes. The resulting NMEA specifications must meet
the IEC 61162 standards. A review of the generated NMEA telegrams through the software will take
place only on according to the length. Over lengths are then cut off easily!
The scripts are connected with the analog or digital inputs, start with a reserved character, the tilde (~
= 0x7E) then follow an input channel number and type with 3 parameters that are defined in Table 3
below. The parameters within this field are separated with a semicolon (;). There the comma is the
separator of the fields and the fields to the next field. If in the script is the last field before the check-
sum then no comma is set accordingly, here before * ' in NMEA, no comma will be set.
The results of testing of the analog measurement are based on the fact that the inputs have an over
ranges. In the calibration of the respective channels of the measuring range is associated with two AD
readings. Table 25 shows the relationships and the impact on the NMEA output, which are generated
with $IIRSA,~A0,~?;A;V,,.
Calibration points for the + 10V,- 10V, 0 mA, 4mA und 20 mA are set from the factory. However, it is
also possible to omit the analog parameters 1-3 (~ A0, ...). Then the output is controlled according to
the stored calibration table. It's always useful when non-linear sensors must be adjusted, or the sen-
sors which possess no standardized interface such as 4 - 20mA.
5.2.6 Summary
It is important that the setting of the measuring ranges fits together on the board with the calibration.
If the measuring ranges of jumper changed, the change in the calibration is also required. This must
be done through the new NFS!
                                                       44
Installation and set to work
 Parameter1     AIM- settings      Resulting effective rang-    Allocation para-     Allocation para-
                ( see Table 7)     es according parameter1      meter2               meter3
 1              +- 10V             +- 10V                       -10V                 +10V
 11             +- 10 V            0- 10 V                      0V                   +10V
 2              0-20mA             0- 20 mA                     0mA                  20mA
 21             0-20mA             4- 20 mA                     4mA                  20mA
If parameters1 is missing then a direct calibration of the channel must be a carried out.
                                                     45
Installation and set to work
It is possible to store all parameter in a file with help of the terminal program.
For OC-Console the procedure is as follow:
1. Open a “Logfile”:
                                                       46
Installation and set to work
2. Press ‘S’ to send the parameter via the serial interface or the Ethernet port.
                                                     47
Installation and set to work
4. Open the Logfile and remove all recordings ahead and towards of the parameter data. The pa-
rameter data starts with “;B,(Baud rate.... and ends with “#<CR><LF>!
                                                  48
Installation and set to work
                                                49
Installation and set to work
Then the corrected file can be saved for later download to the DCU5.
                                                   50
Installation and set to work
With this function it is possible to setup the complete parameter within some seconds.
It can be used to have identical settings in a series of units. Also it is possible to edit the file before
download. You can change the parameter offline in the office and save time while installation.
Please keep in mind that the analogue parameter of the AIM- modules may depend from the sensors
on board and must be finally checked!
Attention!!
There is no check of the received data while the download is running. If the content or the syntax is
wrong it will be saved as received!!
Be sure that the download settings are made according Figure 13: Terminal setup.
                                                        51
Installation and set to work
                                             52
Installation and set to work
After each received record the setup sends a handshake character ‘*’ = 0x42 to the terminal.
There is an internal timeout in the OC-Console download which breaks the download if the hand-
shake is missing for a certain time.
Press ‘R’ to init all parameter to default. The system restarts automatically.
                                                      53
Installation and set to work
The MCU5 contains a RTC-unit for generating date and time stamps in NMEA like ZDA or ALR.
Be sure that the 3V battery at the bottom side of the MCU5 is OK ! If this battery is missing or low the
sage “$UPALR,,4,A,V,Init RTC” appears every time when power is switches on.
                                                     54
Installation and set to work
The configuration can be done by Internet Explorer with IP: 192.168.1.151. In the factory default set-
ting is no password assigned, and the screen shown in Figure 35 can confirmed with OK. About Fig-
ure 36 it then passes to the other settings.
                                                    55
Installation and set to work
                               56
Service and trouble shooting
                                                     57
Service and trouble shooting
If the 3V battery of the MCU5 is empty a print out $UPALR,,4,A,V,Init RTC happens every time when
the power turns on. If other error codes as ‘4’ are sent out the MCU5 needs to exchange and repair by
the manufacturer.
                                                         58
Contact information
7 Contact information
VEINLAND GmbH
Pappelallee 19
14554 Seddiner See OT Neuseddin
Germany
Phone: +49 33205 2697 0
Fax: +49 33205 2697 29
e-mail: info@veinland.net
web: www.veinland.net
59