DSEM640 Operator Manual
DSEM640 Operator Manual
E-mail: sales@deepseaplc.com
Website: www.deepseaplc.com
The DSE logo and the name DSEControl® are UK registered trademarks of Deep Sea Electronics
PLC.
Any reference to trademarked product names used within this publication is owned by their respective
companies.
Deep Sea Electronics Plc 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.................................................................................................. 7
1.3.1 TECHNICAL INFORMATION........................................................................................ 7
1.4 SAFETY INSTRUCTIONS ................................................................................................... 8
1.4.1 GENERAL .................................................................................................................... 8
1.4.2 INSTALLATION NOTES ............................................................................................... 8
2 SPECIFICATIONS ............................................................................................... 9
2.1 DC SUPPLY........................................................................................................................ 9
2.1.1 FUSING ....................................................................................................................... 9
2.2 ENVIRONMENTAL ............................................................................................................. 9
2.3 INPUTS............................................................................................................................. 10
2.3.1.1 PROGRAM ENABLE ........................................................................................... 10
2.3.2 DIGITAL INPUTS ....................................................................................................... 10
2.3.2.1 DIGITAL .............................................................................................................. 10
2.3.2.2 FREQUENCY ...................................................................................................... 10
2.3.2.3 PHASE ................................................................................................................ 11
2.3.2.4 PULSE COUNTER .............................................................................................. 11
2.3.2.5 ENCODER .......................................................................................................... 11
2.3.3 ANALOGUE INPUTS.................................................................................................. 12
2.3.3.1 VOLTAGE ........................................................................................................... 12
2.3.3.2 CURRENT ........................................................................................................... 12
2.3.3.3 RESISTIVE ......................................................................................................... 12
2.3.3.4 RATIOMETRIC.................................................................................................... 12
2.4 OUTPUTS ......................................................................................................................... 13
2.4.1 NEGATIVE SWITCHING ............................................................................................ 13
2.4.2 POSITIVE SWITCHING .............................................................................................. 13
2.4.3 PWM .......................................................................................................................... 13
2.4.3.1 PWMI CURRENT RESOLUTION......................................................................... 13
2.5 COMMUNICATIONS ......................................................................................................... 14
2.5.1 CAN ........................................................................................................................... 14
2.5.2 ETHERNET ................................................................................................................ 14
2.5.3 USB ........................................................................................................................... 14
2.6 DIMENSIONS AND MOUNTING ....................................................................................... 15
2.6.1 DIMENSIONS............................................................................................................. 15
2.6.2 MOUNTING................................................................................................................ 16
2.6.2.1 ORIENTATION .................................................................................................... 16
2.6.2.2 SURFACE ........................................................................................................... 16
2.6.2.3 FIXING ................................................................................................................ 16
2.6.2.4 GROUNDING ...................................................................................................... 16
2.7 FUSING ............................................................................................................................ 17
2.8 TYPICAL CONNECTION DIAGRAM ................................................................................. 18
2.9 USER CONNECTIONS ..................................................................................................... 19
2.9.1 CONNECTOR A (DC SUPPLY AND CAN) ................................................................. 20
2.9.2 CONNECTOR B (I/O) ................................................................................................. 21
2.9.3 CONNECTOR C (I/O) ................................................................................................. 22
3 INDICATIONS .................................................................................................... 23
4 CONNECTING TO CODESYS ........................................................................... 24
4.1 PROGRAM PIN................................................................................................................. 24
4.2 START NEW PROJECT ................................................................................................... 24
4.3 ETHERNET TCP ............................................................................................................... 26
4.4 ETHERNET UDP .............................................................................................................. 27
4.5 CONFIGURE ETHERNET SETTINGS............................................................................... 29
1 INTRODUCTION
This document details the operation and setup requirements of the DSEM640 Mobile Controller, 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.deepseaplc.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 metal case designed for chassis mounting houses the module. Connections are via locking
plug and sockets.
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 or C++ programming. Contact DSE Technical Support for further details.
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 controller will heat up beyond normal ambient temperature during operation. To avoid danger
caused by high temperatures, protect against contact.
• 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.
• M12 protection plugs supplied must be installed in both the USB and Ethernet interfaces to
ensure IP67 rating.
• The case must be wired to vehicle ground in order to comply with EMC guidelines. Metallic
screws must used to create an electrical connection to vehicle / machine ground.
2 SPECIFICATIONS
2.1 DC SUPPLY
Description Specification
Operating Voltage (Connector A, Pin 4) 8 V to 32 V
Maximum Current (no external loads) 300 mA at 24 V
Maximum Current (ignition off) 5 mA at 24 V
2.1.1 FUSING
Description Specification
DC Supply (Pin 4) 3A
High Current Outputs supply 16 A Max for each Output Supply
Fuse as required by connected loads (Connector A, Pins 1,
8, 16, 23)
2.2 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.3 INPUTS
2.3.1.1 PROGRAM ENABLE
Description Specification
Program Enable Connector A, Pin 6
Program Enable pin pull-down resistance 33 kΩ
Minimum voltage for active (Program Enable) 6V
Maximum voltage for inactive 2V
1. To configure (program) the device or activate Debug Mode via CODESYS V3:
• Power down the device.
• Disconnect Program Enable pin.
• Apply DC power to the device.
• Wait a few seconds.
• Connect Program Enable pin to battery positive.
• Program the device (ie using CODESYS V3).
2. To use the Service Tool software to update firmware or download the application program to the
device:
• Power down the device.
• Connect Program Enable pin to battery positive.
• Apply DC power to the device.
• Use Service Tool software as desired.
2.3.2.1 DIGITAL
Description Specification
Applicable Inputs (Connector B and C) Pins 6, 9, 14, 15, 16, 22, 28, 31
Minimum voltage for High Level 6V
Maximum voltage for Low Level 2V
2.3.2.2 FREQUENCY
Description Specification
Applicable Inputs (Connector B and C) Pins 6, 9, 14, 15, 16, 22, 28, 31
Frequency Range 5 Hz to 30 kHz
Resolution 100 Hz at Maximum Frequency
Accuracy 400 Hz at Maximum Frequency
Minimum voltage for High Level (Mark) 6V
Maximum voltage for Low Level (Space) 2V
2.3.2.3 PHASE
Description Specification
Applicable Inputs (Connector B and C) Pins 6, 9, 14, 15, 16, 22, 28, 31
Frequency Range 5 Hz to 30 kHz
Resolution 1º
Accuracy 1º
Minimum voltage for High Level (Mark) 6V
Maximum voltage for Low Level (Space) 2V
Description Specification
Applicable Inputs (Connector B and C) Pins 6, 9, 14, 15, 16, 22, 28, 31
Frequency Range 5 Hz to 30 kHz
Counter Range 224 (16777215)
Direction Up / Down
Resolution 1 count
2.3.2.5 ENCODER
Description Specification
Applicable Inputs (Connector B and C) Pins 6, 9, 14, 15, 16, 22, 28, 31
Frequency Range 5 Hz to 30 kHz
Counter Range 224 (16777215)
Direction Up / Down
Resolution 1 count
2.3.3.1 VOLTAGE
Description Specification
Applicable Inputs (Connector B and C) Pins 7, 8, 17, 18, 19, 20, 29, 30
Configurable Ranges 0 V to 5 V
0 V to 10 V
0 V to 32 V
Input Resistance 30 kΩ
Sampling Rate 1 kHz
2.3.3.2 CURRENT
Description Specification
Applicable Inputs (Connector B and C) Pins 7, 8, 17, 18, 19, 20, 29, 30
Configurable Ranges 0 mA to 20 mA
4 mA to 20 mA
Input Type Current sink only
Input Sink Resistance 100 Ω
Sampling Rate 1 kHz
Resolution (12 bits) 0.005 mA
Accuracy (± 1 % Full Scale Deflection) 0.2 mA
2.3.3.3 RESISTIVE
Description Specification
Applicable Inputs (Connector B and C) Pins 7, 8, 17, 18, 19, 20, 29, 30
Measurement Range 0 Ω to 3400 Ω
Measurement source voltage 12 V
Measurement source current 1 mA
Sampling Rate 1 kHz
Resolution (12 bits) 0.78 Ω
Accuracy (± 1 % Full Scale Deflection) 32 Ω
2.3.3.4 RATIOMETRIC
Description Specification
Applicable Inputs (Connector B and C) Pins 7, 8, 17, 18, 19, 20, 29, 30
Measurement voltage reference Supply (Pin 4)
Measurement Ratio of input Pin to Supply (Pin 4)
Measurement source current 1 mA
Accuracy (± 1 % Full Scale Deflection) 0.36 V (based upon maximum
supply voltage of 36 V)
2.4 OUTPUTS
Description Specification
2 A Switching Current Applicable Inputs (Connector B and C) Pins 1, 12, 13, 23, 24
4 A Switching Current Applicable Inputs (Connector B and C) Pins 12, 13, 25
Maximum voltage for output ON 2V
Maximum current for output OFF 10 mA at 24 V output supply
Description Specification
2 A Switching Current Applicable Inputs (Connector B and C) Pins 1, 2, 3, 5, 11, 12, 13, 23, 24,
26, 32, 34, 35
4 A Switching Current Applicable Inputs (Connector B and C) Pins 2, 4, 10, 12, 13, 23, 25, 27, 35
Minimum voltage for output ON Output supply -2 V
Maximum current for output OFF 10 mA at 24 V output supply
2.4.3 PWM
Description Specification
Applicable Inputs (Connector B and C) Pins 1, 2, 3, 12, 13, 23, 24, 34, 35
Peak Current Rating (output ceases if rating is exceeded) 5A
Frequency Range 20 Hz to 250 Hz
Frequency Resolution 0.1 Hz
Pulse Ratio Range 0 % to 100 %
Pulse Ratio Resolution 1%
Accuracy ±1 % Full Scale Deflection
Minimum Load Impedance 3 Ω at 12 V
6 Ω at 24 V
2.5 COMMUNICATIONS
2.5.1 CAN
NOTE: CAN connections are NOT internally terminated. A complete CAN network must
have 120 Ω terminators at each end of the network.
Description Specification
Number of CAN interfaces 4
Supported Protocols J1939
CAN open
Raw CAN
Supported Baud Rates 50 kbit/s, 120 kbit/s, 250 kbit/s, 500 kbit/s, 800 kbit/s, 1 Mbit/s
2.5.2 ETHERNET
Description Specification
Number of Ethernet ports 1
Supported data rates 10 Mbits / 100 Mbits, Full Duplex
Supported Protocols MODBUS TCP
CODESYS 3.5
2.5.3 USB
Description Specification
Number of Ethernet Ports 1
USB Version 2
Supported Speeds Full Speed (12 Mbit/s)
Device Class 08 (Mass Storage)
Filing System FAT32
2.6.1 DIMENSIONS
Description Specification
Overall Dimensions (Height X Width X Depth) 240 mm X 190 mm X 49 mm
(9.45 " X 7.48 " X 1.46 “)
Mounting Holes Suitable for M6 bolts
(¼“ holes)
Mounting Hole Centres 218 mm X 169 mm
(8.58 “ X 6.65 “)
Mounting Bolt Material Recommendation Steel or Stainless Steel
Mounting Bolt Tightening Torque 8 Nm ±2 Nm
Overall Weight 1.58 kg
2.6.2 MOUNTING
2.6.2.1 ORIENTATION
Install the controller in such a way to allow any condensation that may form to flow out.
2.6.2.2 SURFACE
2.6.2.3 FIXING
2.6.2.4 GROUNDING
To ensure the protection of the device against electrical interference and the safe function of the
device, the housing must be connected to the ground of the vehicle / machine.
2.7 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: 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.
USB Ethernet
NOTE: For details of fuse requirements, refer to section entitled Fusing 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).
NOTE: CAN connections are NOT internally terminated. A complete CAN network must
have 120 Ω terminators at each end of the network.
Terminology Meaning
QBxxx Output
IBxxx Input
H Output, High when active.
L Output, Low when active.
PWM Pulse Width Modulation (voltage or current)
DIN Digital Input configurable to accept signals as positive digital, negative digital or
frequency sensing.
AIN Input configurable to accept signals as positive digital, negative digital, 0 V to 5 V,
0 V to 10 V, 0 V to 32 V, 0 mA to 20 mA, 4 mA to 20 mA, ratiometric or resistive.
Supply Designates the ‘Output Supply’ on Connector A, used to supply the Output
Terminology Meaning
QCxxx Output
ICxxx Input
H Output, High when active.
L Output, Low when active.
PWM Pulse Width Modulation (voltage or current)
DIN Digital Input configurable to accept signals as positive digital, negative digital or
frequency sensing.
AIN Input configurable to accept signals as positive digital, negative digital, 0 V to 5
V, 0 V to 10 V, 0 V to 32 V, 0 mA to 20 mA, 4 mA to 20 mA, ratiometric or
resistive.
FREQ Input used for Frequency Measurement
Supply Designates the ‘Output Supply’ on Connector A, used to supply the Output
3 INDICATIONS
One Multi Colour LED is provided to give indication of the device operating status.
Status LED
4 CONNECTING TO CODESYS
DSEM640 communicates with, and is programmed by, the CODESYS V3 Integrated Development
Enviroment (IDE).
Then click OK
Choose M640
And your
preferred
language for
PLC_PRG Then click OK
NOTE: If the IP address of the device is not known, see the section entitled Ethernet UDP
elsewhere in this document.
With the DSEM640 connected to the same Ethernet network as the PC, Select Device |
Communication Settings in the CODESYS V3 IDE.
Double-Click Device…
NOTE: If the IP address of the device is known, connection may also be achieved
manually as detailed in the section entitled Ethernet TCP elsewhere in this document.
With the DSEM640 connected to the same Ethernet network as the PC, Select Device |
Communication Settings in the CODESYS V3 IDE.
Double-Click Device…
Click OK to connect to
the selected device.
Successful connection is
shown by the green icon.
For example:
A Device error value of 7 (00000111 in binary) indicates Error, Over Temperature and Under Voltage
Supply.
5.1 DEVICE
MSB Bit LSB
8 7 6 5 4 3 2 1
Output Under Under Under Under Under Over Error
Reference Voltage Voltage Voltage Voltage Voltage Temperature
Outside Output Output Output Output Supply
Limits Supply 4 Supply 3 Supply 2 Supply 1
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