DSEM835 Operator Manual
DSEM835 Operator Manual
057-313 ISSUE: 1
DSEM835 Operator Manual
E-mail: sales@deepseaelectronics.com
Website: www. deepseaelectronics.com
The DSE logo and the name DSEControl® are UK registered trademarks of Deep Sea Electronics Ltd.
Any reference to trademarked product names used within this publication is owned by their respective
companies.
Deep Sea Electronics reserves the right to change the contents of this document without prior notice.
Revision History
TABLE OF CONTENTS
Section Page
1 INTRODUCTION .................................................................................................. 5
1.1 CLARIFICATION OF NOTATION ............................................................................................ 6
1.2 GLOSSARY OF TERMS .......................................................................................................... 6
1.3 RELATED INFORMATION ...................................................................................................... 8
1.3.1 TECHNICAL INFORMATION ............................................................................................ 8
1.4 SAFETY INSTRUCTIONS ....................................................................................................... 9
1.4.1 GENERAL ......................................................................................................................... 9
1.4.2 INSTALLATION NOTES ................................................................................................... 9
2 SPECIFICATIONS ............................................................................................. 10
2.1 PROCESSOR ......................................................................................................................... 10
2.2 MEMORY ................................................................................................................................ 10
2.3 DC SUPPLY ........................................................................................................................... 10
2.3.1 FUSING ........................................................................................................................... 10
2.4 ENVIRONMENTAL ................................................................................................................ 10
2.5 USER INTERFACE ................................................................................................................ 11
2.5.1 CONTROLS..................................................................................................................... 11
2.5.2 DISPLAY ......................................................................................................................... 11
2.6 INPUTS ................................................................................................................................... 12
2.6.1 DIGITAL INPUTS ............................................................................................................ 12
2.6.1.1 DIGITAL ................................................................................................................... 12
2.6.2 ANALOGUE INPUTS ...................................................................................................... 12
2.6.2.1 VOLTAGE ................................................................................................................ 12
2.6.2.2 CURRENT ................................................................................................................ 13
2.6.2.3 RESISTIVE............................................................................................................... 13
2.7 OUTPUTS ............................................................................................................................... 13
2.7.1 POSITIVE SWITCHING .................................................................................................. 13
2.7.2 VREF OUTPUT ............................................................................................................... 13
2.8 COMMUNICATIONS .............................................................................................................. 14
2.8.1 CAN ................................................................................................................................. 14
3 INSTALLATION ................................................................................................. 15
3.1 DIMENSIONS AND MOUNTING ........................................................................................... 15
3.1.1 DIMENSIONS .................................................................................................................. 15
3.1.2 PANEL CUTOUT ............................................................................................................. 16
3.1.3 WEIGHT .......................................................................................................................... 17
3.1.4 FIXING ............................................................................................................................. 17
3.1.4.1 TORQUE SETTING OF FIXING NUT ...................................................................... 17
3.2 APPLICABLE STANDARDS ................................................................................................. 17
3.2.1 ENCLOSURE CLASSIFICATIONS ................................................................................. 18
3.2.1.1 IP CLASSIFICATIONS ............................................................................................. 18
3.3 FUSING .................................................................................................................................. 19
3.4 USER CONNECTIONS .......................................................................................................... 20
3.5 TYPICAL WIRING DIAGRAM ................................................................................................ 21
3.5.1 EARTH SYSTEMS .......................................................................................................... 22
3.5.1.1 NEGATIVE EARTH .................................................................................................. 22
3.5.1.2 POSITIVE EARTH ................................................................................................... 22
3.5.1.3 FLOATING EARTH .................................................................................................. 22
3.5.2 TYPICAL ARRANGEMENT OF CAN LINK ..................................................................... 23
4 CONNECTING TO CODESYS ........................................................................... 24
4.1 INSTALL THE PCAN DRIVER .............................................................................................. 24
4.2 SETUP THE CODESYS GATEWAY ..................................................................................... 24
4.2.1 LOCATING WHERE TO STORE THE GATEWAY CONFIGURATION FILE ................. 24
4.3 START NEW PROJECT ........................................................................................................ 26
4.4 CAN CONNECTION ............................................................................................................... 27
4.4.1.1 STOPPING AND STARTING THE GATEWAY ....................................................... 28
1 INTRODUCTION
This document details the operation and setup requirements of the DSEM835 Mobile Controller and
Display, part of the DSEControl® range of products.
The manual forms part of the product and should be kept for the entire life of the product. If the
product is passed or supplied to another party, ensure that this document is passed to them for
reference purposes.
This is not a controlled document. DSE do not automatically inform on updates. Any future updates of
this document are included on the DSE website at www.deepseaelectronics.com
Observe the operating instructions. Non-observance of the instructions, operation not in accordance
with use as prescribed below, wrong installation or incorrect handling seriously affects the safety of
operators and machinery.
A robust moulded case designed for fascia (panel) mounting houses the module. Connections are via
locking plug and socket.
The controller is supplied with no application program. The equipment manufacturer is responsible for
creating and managing the application program and installing it in the controller. This is achieved
using CODESYS V3.5 programming. Contact DSE Technical Support for further details.
Term Description
PCAN-USB USB to CAN converter interface for Windows™ PCs. See section entitled
Maintenance, Spares, Repair and Servicing elsewhere in this document for
part number details.
PLC Programmable Logic Controller. Industrial computer used primarily for the
automation of electromechanical machinery.
Pin A male or female pin connection in a housing (plug or socket).
Qxyyy An Output, where x is the connector and yyy is the output number. For
example, QA002 means Output 2 on Connector C.
SAE Society of Automotive Engineers (USA)
1.4.1 GENERAL
• These instructions are for authorised persons according to the EMC and low-voltage directives.
The device must be installed, connected and put into operation by a qualified electrician.
• It is not permissible to open the controller or to modify or repair the controller. Modification or
repairs to the wiring could result in dangerous malfunctions. Repairs to the controller must be
performed by DSE. Contact your original equipment supplier in the case of malfunction.
• When the device is unpowered, ensure that no connection pins are connected to a voltage
source. Thus, when the supply is switched off, the supply for the electronics, the power outputs
and the external sensor supply must be switched off together.
• The customer is responsible for performing risk analysis of the mobile working machine and
determining the possible safety related functions. The user is responsible for the safe function of
the application programs created. If necessary, they must additionally carry out an approval test
by corresponding supervisory and test organisations according to the national regulations.
• All connectors must be unplugged from the electronics during electrical welding and painting
operations.
• Follow the instructions of the connector manufacturer, specifically with respect to preventing
water from entering the device. See Section entitled Cables, Connectors, Harnesses and Spare
Parts for details of DSE Part Numbers.
• To maintain IP67 rating where connectors have unused pins, ensure the use of a suitable
blanking insert as recommended by the connector manufacturer.
2 SPECIFICATIONS
2.1 PROCESSOR
Description Specification
Type STM32h743
Speed 400 MHz
2.2 MEMORY
Description Specification
Flash 8 MB available for user
CODESYS application
RAM 1 MB total
288 kB for application variables.
Non-Volatile FRAM 16 kB for device settings and
application persistent variables
2.3 DC SUPPLY
Description Specification
Operating Voltage (Pin A7) 8 V to 32 V
Maximum Current (Full Backlight, no External Loads) <80 mA at 24 V
<150 mA at 12 V
2.3.1 FUSING
Description Specification
DC Supply (Pin A7) 3 A Min (to supply DSEM835)
Supplies DSEM835 and High Current Outputs
Fuse as Required by Output Loads (Pins A14, A15, A16)
2.4 ENVIRONMENTAL
Description Specification
Operating Temperature -40 ºC to +85 ºC
(-40 ºF to 185 ºF)
Storage Temperature -40 ºC to +85 ºC
(-40 ºF to 185 ºF)
Degrees of Protection Provided by Enclosure IP67
(With All Mating Connectors Fitted) (NEMA 6)
2.5.1 CONTROLS
Description Specification
Push Buttons 5
2.5.2 DISPLAY
Description Specification
Size (Across Diagonal) 88.9 mm
(3.5”)
Size (W x H) 320 px X 240 px
Type Optically Bonded TFT
Lifetime > 30,000 hours
Colour 24 bit
2.6 INPUTS
2.6.1.1 DIGITAL
Description Specification
Applicable Pins Pins A5, A6, A12, A18
Minimum Voltage For High Level Configurable
Maximum Voltage For Low Level Configurable
2.6.2.1 VOLTAGE
Description Specification
Applicable Pins Pins A5, A6, A12, A18
Range 0 V to 10 V
Input Resistance >=7.5 kΩ
Sampling Rate 200 Hz
2.6.2.2 CURRENT
Description Specification
Applicable Pins Pins A5, A6, A12, A18
Configurable Ranges 0 mA to 20 mA
4 mA to 20 mA
Input Type Current sink only
Input Sink Resistance 150 Ω ± 1%
Sampling Rate 200 Hz
Resolution 12 bits
Accuracy (± 1 % Full Scale Deflection) 0.2 mA
2.6.2.3 RESISTIVE
Description Specification
Applicable Pins Pins A5, A6, A12, A18
Measurement Range 0 Ω to 3400 Ω
Measurement Source Voltage 12 V maximum
Measurement Source Current 3 mA
Sampling Rate 200 Hz
Resolution 12 bits
Accuracy (± 1 % Full Scale Deflection) 34 Ω
2.7 OUTPUTS
Description Specification
Applicable Pins Pins A14, A15, A16
Maximum Current 1A
Digital Output Active Low ‘ON’ State Maximum Voltage at <100 mV
Rated Current
Digital Output Active Low ‘OFF’ State Leakage Current <10 μA at 24 V output supply
Description Specification
Applicable Pins Pin A17
Voltage 5 V / 10 V selectable
Maximum Current 100 mA
Voltage Accuracy ±5 %
2.8 COMMUNICATIONS
2.8.1 CAN
NOTE: Screened 120 impedance cable specified for use with CAN must be used for the
CAN links.
DSE stock and supply Belden cable 9841 which is a high quality 120 impedance cable
suitable for CAN use (DSE part number 016-030).
Description Specification
Number of CAN Interfaces 1
Supported Protocols J1939
Raw CAN
Supported Baud Rates 50 kbit/s, 100 kbit/s, 125 kbit/s, 250 kbit/s, 500 kbit/s, 800
(Factory Setting is 250 kbit/s) kbit/s, 1 Mbit/s
Internal Termination Resistor Configurable between On and Off using Device Settings from
(Factory Setting is OFF) within CODESYS or by user application code using DSE
Standard library (namespace DSE).
3 INSTALLATION
3.1 DIMENSIONS AND MOUNTING
3.1.1 DIMENSIONS
3.1.3 WEIGHT
<1 kg
(<35.3 oz)
3.1.4 FIXING
The device is held into the panel fascia using the large nut provided.
• Place the controller into the panel aperture.
• Attached the supplied fixing nut and hand tighten to provide adequate fixing (see below).
• Attach the connector plug (Plug A) and push home to click into place.
8 Nm
5.9 ft-lb
3.2.1.1 IP CLASSIFICATIONS
NOTE: To maintain IP67 rating where connectors have unused pins, ensure the use of a
suitable blanking insert as recommended by the connector manufacturer.
The modules specification under BS EN 60529 Degrees of protection provided by enclosures is IP67
as below.
Protection against contact and ingress of solid Protection against ingress of water
objects
0 No protection 0 No protection
1 Protected against ingress solid objects with a 1 Protection against dripping water falling vertically. No harmful
diameter of more than 50 mm. No protection effect must be produced (vertically falling drops).
against deliberate access, e.g. with a hand, but
large surfaces of the body are prevented from
approach.
2 Protected against penetration by solid objects with 2 Protection against dripping water falling vertically. There must
a diameter of more than 12 mm. Fingers or similar be no harmful effect when the equipment (enclosure) is tilted
objects prevented from approach. at an angle up to 15° from its normal position (drops falling at
an angle).
3 Protected against ingress of solid objects with a 3 Protection against water falling at any angle up to 60° from
diameter of more than 2.5 mm. Tools, wires etc. the vertical. There must be no harmful effect (spray water).
with a thickness of more than 2.5 mm are
prevented from approach.
4 Protected against ingress of solid objects with a 4 Protection against water splashed against the equipment
diameter of more than 1 mm. Tools, wires etc. with (enclosure) from any direction. There must be no harmful
a thickness of more than 1 mm are prevented from effect (splashing water).
approach.
5 Protected against harmful dust deposits. Ingress 5 Protection against water projected from a nozzle against the
of dust is not totally prevented but the dust must equipment (enclosure) from any direction. There must be no
not enter in sufficient quantity to interface with harmful effect (water jet).
satisfactory operation of the equipment. Complete
protection against contact.
6 Protection against ingress of dust (dust tight). 6 Protection against heavy seas or powerful water jets. Water
Complete protection against contact. must not enter the equipment (enclosure) in harmful
quantities (splashing over).
7 No ingress of water in harmful quantity when the enclosure is
immersed in water under defined conditions of pressure and
time (up to 1 m of submersion)
3.3 FUSING
The individual electric circuits must be protected in order to protect the whole system. Select
appropriate fuses to protect the outputs being supplied.
NOTE: For suitable connection looms from DSE, see sections entitled DSEM835
Connector Harness and DSEM835 Configuration Harness.
NOTE: If a prewired connection cable is used, remove the cores with unused signal inputs
and outputs. Unused cores, in particular core loops, lead to interference coupling that can
influence the connected controller.
NOTE: Screened 120 impedance cable specified for use with CAN must be used for the
CAN links.
DSE stock and supply Belden cable 9841 which is a high quality 120 impedance cable
suitable for CAN use (DSE part number 016-030).
NOTE: As systems have differing requirements, these diagrams show only a typical
system and do not intend to show a complete system.
NOTE: This diagram shows connection to a Negative Earth system. For Positive Earth and
Floating Earth systems, see section entitled Earth Systems elsewhere in this document.
NOTE: Screened 120 impedance cable specified for use with CAN must be used for the
CAN links.
DSE stock and supply Belden cable 9841 which is a high quality 120 impedance cable
suitable for CAN use (DSE part number 016-030).
The typical wiring diagrams located within this document show connections for a negative earth
system (the battery negative connects to Earth).
When using a DSE module with a Positive Earth System (the battery positive connects to Earth), the
following points must be followed:
Follow the typical wiring diagram as normal for all sections except the earth points.
All points shown as Earth on the typical wiring diagram should connect to battery negative (not
earth).
Where neither the battery positive or battery negative terminals are connected to earth the following
points must to be followed:
Follow the typical wiring diagram as normal for all sections except the earth points.
All points shown as Earth on the typical wiring diagram should connect to battery negative (not
earth).
NOTE: As systems have differing requirements, these diagrams show only a typical
system and do not intend to show a complete system.
NOTE: Screened 120 impedance cable specified for use with CAN must be used for the
CAN connection.
DSE stock and supply Belden cable 9841 which is a high quality 120 impedance cable
suitable for CAN use (DSE part number 016-030)
NOTE: A termination resistor MUST be fitted to the first and last unit on the CAN link.
An internal 120 Ω termination resistor is fitted. This is configurable within CODESYS Device
Settings.
The following image shows a typical connection between the DSEM835 and an engine ECU.
Additionally, an Engine Controller is included to show how to connect another device on the same
CAN. For example, this could be a DSE Genset Controller or a DSEM240 CAN Expansion device
providing additional Inputs/Outputs.
While many applications require connection to an engine ECU or other CAN device this is not a
requirement for use of the DSEM835 and is included as an example of one typical use only.
4 CONNECTING TO CODESYS
NOTE: DSE Stock and supply PCAN-USB IPEH-002021 from Peak Systems
(https://www.peak-system.com). DSE Part number 016-179. Contact
sales@deepseaelectronics.com.
DSEM835 communicates with, and is programmed by, the CODESYS V3.5 Integrated Development
Environment (IDE).
CODESYS Gateway
Continued Overleaf…
Then click OK
Choose M835
And your
preferred
language for
PLC_PRG Then click OK
NOTE: Ensure previous subsections Install the PCAN Driver and Setup the CODESYS
Gateway have been followed before attempting CAN Connection.
NOTE: DSE Stock and supply PCAN-USB IPEH-002021 from Peak Systems
(https://www.peak-system.com). DSE Part number 016-179. Contact
sales@deepseaelectronics.com.
NOTE: Ensure the Gateway is set to operate the CAN port at the same rate that the
DSEM835 is set to. Factory Setting is 250 kbit/s though this may have been changed by the
OEM or system programmer.
NOTE: If CAN Client is not visible within the Gateway Configuration then CODESYS is not
correctly setup for use with the CAN device. Ensure the latest DSE CODESYS PACKAGE is
installed. For additional support, contact support@deepseaelectronics.com.
NOTE: Where the baud rate of the device is not known, try all available options. Where no
connection is made, use DSEServicetool PC Software to set the device back to factory settings
(250 kbit/s). See DSE Publication 057-265 DSEServicetool PC Software Manual for further
details.
NOTE: After changing Gateway Configuration settings, the gateway must be stopped and
restarted before changes take effect.
Ensure Baudrate
matches the setting
of the DSEM835.
NOTE: After changing Gateway Configuration settings, the gateway must be stopped and
restarted before changes take effect.
Select Device
See the following subsections for details of the Device Settings pages.
Parameter Description
Voltage Reference Selects the level of the Voltage Reference
output. This may be used to supply external
sensors or other auxiliary devices.
Parameter Description
Active FALSE: Persistant Variables are not saved.
TRUE: Persistant Variables are cyclically saved
at the period of Time.
Time Applicable only when Active is set to TRUE.
Select the period (milliseconds) of the cyclic
saving of Persistant Vars.
Minimum Value: 1000 ms. Values below this
must not be used. This allows time for the device
to write to the Non-Volatile memory block.
Recommended Value: 1000 ms to 2000 ms.
Parameter Description
Save Config
NOTE: After changing CAN settings, the
device must be power cycled before
changes take effect.
4.5.1.4 TRANSPARENCY
Parameter Description
Active TRUE: Visualisation transparency for images is
disabled.
FALSE: Visualisation transparency for images
is enabled.
Colour Enter the RGB value of the colour to be used as
the transparent part of images in the
Visualisation.
Parameter Description
Error Code Displays internal Error Code when available.
For details, see section entitled DSEM835
CODESYS Error Codes.
Battery Voltage ECU supply of the DSEM835 device.
Voltage Reference Configuration of the Vref voltage output.
Backlight Configuration of the LCD backlight.
Keyboard Backlight Configuration of the backlight of the fascia
button surround.
NOTE: Many programmers prefer to use the Inputs, Outputs and Buttons
programmatically (using code). This is achieved using the library DSE Standard (Namespace:
DSE). Additionally, M835_Buttons function is available within the library DSE Utils
(Namespace: DSE_UTILS. Both libraries are available within the DSE CODESYS Package from
www.deepseaelectronics.com.
Right-Click
Device…
4.7 BUTTONS
The below image shows the location of the buttons along with their default names within the
CODESYS environment.
F1 F2 F3 F4 F5
Double-Click the
Button to
configure the Hold
Time and variable
mappings.
4.7.2.1 PARAMETERS
Parameter Description
Hold Threshold Amount of time (in milliseconds) that the button must be pressed before it
is considered ‘held down’.
Parameter Description
State Indicates if the button is pressed (TRUE) or not pressed (FALSE).
Held Indicates if the button has been held for longer than the duration of the
Hold Threshold (TRUE) or not (FALSE).
Hold Time The amount of time (in milliseconds) that the button has been pressed for
(zero if not currently pressed).
4.8 INPUTS
To select between the different input types (digital or analogue), we must Plug a device into the input
slot.
Right-Click the
Input to configure
and select Plug
Device.
Close
Window.
Double-Click the
Input to configure
parameters and
mappings.
4.8.1.1 PARAMETERS
Parameter Description
Resistor Float: The input is floating when no connection is made. Used where the
external sensor (NPN Sinking or PNP Sourcing type) has an integrated
pull-up or pull-down resistor.
Pull Up: An internal pull up resistor biases the input to the positive supply
rail when no connection is made. Commonly used with NPN (Sinking)
type switched sensors and volt-free contacts.
Pull Down: An internal pull-down resistor biases the input to the negative
supply rail when no connection is made. Commonly used with PNP
(Sourcing) type switched sensors and volt-free contacts.
Higher Threshold The input is detected as being inactive when above this threshold with
respect to the negative supply rail.
Lower Threshold The input is detected as being active when below this threshold with
respect to the negative supply rail.
Parameter Description
Current Range 0..20 mA: The input is 0 mA to 20 mA.
4..20 mA: The input is 4 mA to 20 mA.
4.8.2.2 RESISTIVE
4.8.2.3 VOLTAGE
4.9 OUTPUTS
I/O Mapping Description
Enable FALSE: The output is inactive.
TRUE: The output is active.
Right-Click Application,
select Add Object….
The following Visualisation Elements are available for DSEM835. Select the element required and
place them in the Visualisation.
The following subsections provides insights as to how to meet most common requirements of a device
Visualisation.
Advice regarding the suggested solutions is available from support@deepseaelectronics.com.
NOTE: Text Fonts occupy a large amount of system memory. To save resources, ensure
to follow the instructions in the subsection entitled Using Fonts.
Use the flexible Rectangle element which provides the functionality of a rectangle (with optional
border and fill), and an integral Text Field that may be fixed, or programmatically altered using the
Text Variable property.
Border and Fill settings are disabled by setting the Fill Attributes and Line Style properties to Hollow.
Set to Hollow to
disable these items if
required.
When selecting Text (font) size, only Integer font sizes are possible. Where other sizes are mistakenly
used, the font appears on the M835 display in a default (small sized) font.
CODESYS allows selection of font sizes that are not appropriate for DSEM835. For example, it is
possible to select Arial 7. After closing the font selector, it appears correctly set as in the
Property window. However, when selecting it with the mouse, the font size is actually not an integer:
. The font selector and property window ‘round up’ the font size until selected with the
mouse.
To minimise occurrences of this error it is recommended to select Text Size from the following options
(all multiples of 3: 6, 9, 12, 15, 18, 21, 24… etc.
Fixed Colour
If required to change the text colour during application runtime, Font Variables is used as follows:
Colour is defined as a DINT variable containing the RGB values for the colour (ie 16#RRGGBB)
ColourWhite : DINT:=16#FFFFFF;
ColourBlack : DINT:=16#000000;
ColourRed : DINT:=16#FF0000;
ColourGreen : DINT:=16#00FF00;
ColourBlue : DINT:=16#0000FF’
Text colour in the PC Visualisation Editor remains as the colour selected in Text Properties.
Strings can include ‘special’ characters as well as the common alphanumeric characters. For
example, a string can include the single quote (‘) character. However, this character is used as the
STRING start and end. Therefore, a special character known as the escape character is used to
inform CODESYS that the ‘ character should be displayed and not considered as a string start/end.
This character is the dollar sign ($).
In the event we need to display a dollar sign we again prefix it with the escape character ($).
While the CODESYS inbuilt help file contains a comprehensive list of escape codes, the following
details the most common.
String Displayed as
$’ ‘
$$ $
$t or ST Control Character TAB
Examples:
VAR
MyString : STRING:=’This $’fee$’ is $$50’;
END_VAR
NOTE: If the Font Settings tab is not visible within the Visualization Manager, close the
tab, then again double click Visualization Manager to open it again and view the settings.
Text fonts are resource hungry. They occupy large parts of the system memory. To make efficient use
of the memory, CODESYS allows us to choose how the font is sent to the device:
Parameter Description
Character Settings for Font No Font Download: (Not Recommended) No font is sent to the
Download device.
Download of Minimal Character Set: (Recommended). All
characters used in the visualisation are downloaded to the device.
However, any characters not used in the visualisation but used in
variables (ie Strings) are NOT sent to the device.
To ‘force’ characters to be sent to the device:
• Use a hidden visualisation page containing all the
font/character selection required for the application.
• Use Download of Character Set Ranges.
The Polyline element can be added, using Dynamic Points to allow the line to be manipulated using
an array of points
Use the Ellipse element to add a circular shape. Use either the Color property to change the fill colour
or use the Toggle Color property to select between the Normal State and Alarm State colour
configurations.
ie
Red : DWORD:= 16#FF0000
CODESYS TargetVisuLight does not include support for TextLists provided in devices with the full
CODESYS VisuElems library. However, some functions are still available utilising alternative
methods.
Dynamic Text is using a Visualisation element to display text that changes depending upon some
condition within the application. For example, this could be indication the position of a control switch.
Alternative methods exist, this being the recommended option having the advantage of the text being
easily located at the top of the POU in the VAR area.
In this example iSwitchPosition is the physical position of the switch. We use this to index into an
array to show the position in text, rather than a number.
VAR
asSwitchPosition :ARRAY[0..3] of STRING:=[‘Off’, ‘Manual’, ‘Auto’, ‘Test’];
iSwitchPosition :INT:=0;
END_VAR
Many applications require custom images to be placed on the DSEM835 display. This is controlled
using an Image Pool within CODESYS. The Image Pool acts as a container for the images, which are
then selected for display.
Right-Click Application,
select Add Object….
NOTE: Images must be Windows Bitmap (.bmp) type with 8-bit, 16-bit or 24-bit colour
depth. Other image types are not supported.
NOTE: Images MUST be scaled externally before being imported to the image pool.
NOTE: For image transparency see section entitled Device Settings | Transparency.
NOTE: Multiple Image Pools may be used to keep images of similar type or usage
together.
Entries within the Image Pool are automatically detected by the CODESYS Visualisation Toolbox and
are available for placing on the Visualisation.
Example
entries in the
Image Pool
ready for
placing on
the
Visualisation.
Multiple Images
Multiple images may be used to provide animation. This method has a number of images, each one
different to the others. Swapping between images gives the illusion of animation.
Use the Image Pool to load in the required images. Add an Image to the visualisation and change the
image reference using the DynamicBitmap property.
Element Rotation
NOTE: Interior Rotation is available only with the Polyline Visualisation element.
Visualisation Element Polyline may be rotated at application runtime. For example, this technique can
be used to give motion to a meter needle, or to show a valve opening/closing.
4.11 CAN
NOTE: To program the device using CAN, see section entitled Cables, Connectors,
Harnesses and Spare Parts for details of a suitable PC USB CAN interface.
NOTE: DSE_CAN compiled library, supplied as part of the DSE CODESYS Package
available from www.deepseaelectronics.com.
DSEM835 CAN interface is used to configure the device (using CODESYS) and to connect to external
CAN devices such as engine ECUs and DSEM240 (Input/Output expansion).
4.11.1 DSE_CAN
DSE_CAN compiled library, supplied as part of the DSE CODESYS Package available from
www.deepseaelectronics.com allows standard CAN messages to be sent and received. This may be
used (with customer application code) to interface with J1939, custom protocols and other CAN
protocols as required.
NOTE: CODESYS CAN devices are not required within the project unless attaching a
J1939 CAN Manager to it.
CODESYS J1939 is a complete J1939 implementation for sending and receiving J1939 CAN
messages. Conversion to/from actual values and CAN data is automatic (when enabled).
Select 3S – Smart
Software Solutions GmbH
Select CANbus
Select the
J1939_Manager device
in the project tree
Close
Window
The project is now able to communicate with one J1939 ECU. Other devices may be added as
required to allow communication with other J1939 ECUs on the same CAN.
Example:
5.1 DEVICE
MSB Bit LSB
8 7 6 5 4 3 2 1
Output Reserved Reserved Reserved Reserved Under Over Error
Reference Voltage Temperature
Outside Supply
Limits
Connector A
Assembly Ident 007-850
AMP Connector DT16-18SA-K004
No of Connections 18
Wire size 0.5 mm2 (AWG 20)
Wire Colour Black
Wire Idents 1 to 18
Connector Pin Crimp 0462-201-16
(0.5 mm2 to 1.0 mm2)
Connector Pin Crimp 0462-209-16
(2 mm2)
NOTE: DSEM835 Configuration Harness 016-177 must be used in conjunction with Peak
Systems USB CAN interface IPEH-002021 or IPEH-002022 from https://www.peak-system.com
DSE Part 016-177 consists of a minimal cable with connector fitted at one end with DC supply wires
and DE9 CAN connector at the other end. This is designed to connect to the DE9 connector of the
USB CAN interface.
NOTE: Where a DSE Configuration or Connection Harness is not used, connection details
for PCAN-USB are shown below. PCAN-USB supplier details are given in the section entitled
Maintenance Spares, Repair and Servicing elsewhere in this document.
NOTE: DSE Stock and supply PCAN-USB IPEH-002021. DSE Part number 016-179. Contact
sales@deepseaelectronics.com.
Connect PCAN-USB to DSEM835 using connections for CAN H, CAN L and GND. For suitable
connection looms from DSE, see sections entitled DSEM835 Connector Harness and DSEM835
Configuration Harness.
DSE Provides limited warranty to the equipment purchaser at the point of sale. For full details of any
applicable warranty, refer to the original equipment supplier (OEM).
8 DISPOSAL
8.1 WEEE (WASTE ELECTRICAL AND ELECTRONIC EQUIPMENT)
If you use electrical and electronic equipment you must store, collect, treat, recycle and
dispose of WEEE separately from your other waste