0% found this document useful (0 votes)
56 views36 pages

DSEM640 Operator Manual

Uploaded by

ingener.giza2582
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views36 pages

DSEM640 Operator Manual

Uploaded by

ingener.giza2582
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 36

DEEP SEA ELECTRONICS PLC

DSEM640 Operator Manual

Document Number: 057-244


Author: Anthony Manton

057-244 ISSUE: 1.1


DSEM640 Operator Manual

Deep Sea Electronics Plc


Highfield House
Hunmanby
North Yorkshire
YO14 0PH
ENGLAND

Sales Tel: +44 (0) 1723 890099


Sales Fax: +44 (0) 1723 893303

E-mail: sales@deepseaplc.com
Website: www.deepseaplc.com

DSEM640 Operator Manual

© Deep Sea Electronics Plc


All rights reserved. No part of this publication may be reproduced in any material form (including
photocopying or storing in any medium by electronic means or other) without the written permission of
the copyright holder except in accordance with the provisions of the Copyright, Designs and Patents
Act 1988.
Applications for the copyright holder’s written permission to reproduce any part of this publication
must be addressed to Deep Sea Electronics Plc at the address above.

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

Issue No. Comments


1 First Issue 06/07/16
1.1 Corrected comments for pins on connectors B and C.
Corrected Program Enable pin instructions.
Added failure codes.

057-244 ISSUE: 1.1 Page 2 of 36


DSEM640 Operator Manual

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

Page 3 of 36 057-244 ISSUE: 1.1


DSEM640 Operator Manual

4.6 DEBUG MODE SETTING.................................................................................................. 30


5 M640 CODESYS ERROR CODES .................................................................... 31
5.1 DEVICE............................................................................................................................. 31
5.2 ANALOGUE INPUTS ........................................................................................................ 31
5.3 DIGITAL INPUTS .............................................................................................................. 31
5.4 DIGITAL OUTPUTS .......................................................................................................... 32
6 CABLES, CONNECTORS, HARNESSES AND SPARE PARTS ...................... 33
6.1 M640 CONNECTOR HARNESS KIT (007-036) ................................................................. 33
7 MAINTENANCE AND WARRANTY .................................................................. 34
8 DISPOSAL ......................................................................................................... 34
8.1 WEEE (WASTE ELECTRICAL AND ELECTRONIC EQUIPMENT) ................................... 34

057-244 ISSUE: 1.1 Page 4 of 36


Introduction

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.

Page 5 of 36 057-244 ISSUE: 1.1


Introduction

1.1 CLARIFICATION OF NOTATION


Clarification of notation used within this publication.

Highlights an essential element of a procedure to ensure correctness.


NOTE:

Indicates a procedure or practice, which, if not strictly observed, could


CAUTION! result in damage or destruction of equipment.

Indicates a procedure or practice, which could result in injury to


WARNING! personnel or loss of life if not followed correctly.

1.2 GLOSSARY OF TERMS


Term Description
Application The application is the program that allows the DSEM640 to control the
machine it is connected to.
The Application within the DSEM640 is designed and provided by the
manufacturer of the complete machine.
Bootloader The Bootloader is the program within the DSEM640 responsible for loading
the Operating System.
CAN Control Area Network. A high-speed data transmission system used
extensively within the Automotive and Off-Highway industries.
CODESYS Integrated Development Environment for programming controller
(Previously stylised applications according to the international industrial standard IEC 61131-3.
as CoDeSys) DSEM640 supports CODESYS V3.5
ECU Electronic Control Unit. For example the DSEM640 device.
Firmware The Firmware of the DSEM640 is the Operating System of the DSEM640
that reads and executes the Application program.
FSD Full Scale Deflection. For example 0 mA to 20 mA is the Full Scale
Deflection of a current sink input.
Input / Output. For example “The I/O is taken out to an external terminal
I/O
strip in the user panel”.
Integrated Development Environment. For example the CODESYS V3.5
IDE
application that runs on the host PC is an IDE.
An Input, where x is the connector and yyy is the input number. For
Ixyyy
example IC005 means Input 5 on Connector C.
PLC Programmable Logic Controller. Industrial computer used primarily for the
automation of electromechanical machinery.
PWM A digital signal is used to represent an analogue value by using Pulse
PWMi Width Modulation. The mark-space ratio of a square wave changes to
represent the value.
Used for many control applications including proportional valves.
PWM= Voltage control.
PWMi = Current control.
Off-Highway An industrial vehicle used primarily “off road”. For example construction
and farm machinery. A wider interpretation includes on road access
platforms, emergency vehicles and other industrial machinery, used either
on the road, or off road.
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 QB022 means Output 22 on Connector B.

057-244 ISSUE: 1.1 Page 6 of 36


Introduction

1.3 RELATED INFORMATION


This document refers to, and is referred by the following DSE publications which are obtained from
the DSE website: www.deepseaplc.com or by contacting DSE technical support:
support@deepseaplc.com.

1.3.1 TECHNICAL INFORMATION

DSE Part Description


055-198 M640 Datasheet
053-186 M640 Installation Instructions

Page 7 of 36 057-244 ISSUE: 1.1


Introduction

1.4 SAFETY INSTRUCTIONS

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.

1.4.2 INSTALLATION NOTES

• 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.

057-244 ISSUE: 1.1 Page 8 of 36


Installation

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)

Page 9 of 36 057-244 ISSUE: 1.1


Installation

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

Program Enable pin has two functions as listed below.

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 DIGITAL INPUTS

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

057-244 ISSUE: 1.1 Page 10 of 36


Installation

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

2.3.2.4 PULSE COUNTER

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

Page 11 of 36 057-244 ISSUE: 1.1


Installation

2.3.3 ANALOGUE INPUTS

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

Voltage Measurement resolution and accuracy

Configured Range Resolution (12 bits) Accuracy (±1%) FSD


0 V to 5 V 0.001 V ±0.05 V
0 V to 10 V 0.01 V ±0.1 V
0 V to 32 V 0.3 V ±0.32 V

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)

057-244 ISSUE: 1.1 Page 12 of 36


Installation

2.4 OUTPUTS

2.4.1 NEGATIVE SWITCHING

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

2.4.2 POSITIVE SWITCHING

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.4.3.1 PWMI CURRENT RESOLUTION

Configured Range Current Resolution


0 A to 2 A 1 mA
0 A to 4 A 2 mA

Page 13 of 36 057-244 ISSUE: 1.1


Installation

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

M12 ‘D’ Coded – 4 Pin Female Pin Description


1 Tx+
2 RC+
3 TX-
4 RC-

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

M12 ‘B’ Coded – 5 Pin Female Pin Description


1 5V
2 Data+
3 Data-
4 0V
5 Shield

057-244 ISSUE: 1.1 Page 14 of 36


Installation

2.6 DIMENSIONS AND MOUNTING

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

Page 15 of 36 057-244 ISSUE: 1.1


Installation

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

The controller must be mounted on a flat surface.


Use compensating elements if there is no flat mounting surface available.
For steel surfaces, ensure that it is protected against corrosion.

2.6.2.3 FIXING

4 x M6 Screws (one in each corner of the controller)


Screw material: steel or stainless steel
Tightening torque: 8 Nm ±2 Nm

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.

057-244 ISSUE: 1.1 Page 16 of 36


Installation

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.

Pin Description Supplies Outputs Recommended


Fuse Size
1 Output Supply 1 QB02 (B35), QB03 (B13), QB05 (B1), 16 A Max
QB08 (B34), QB09 (B27), QB12 (B33),
QB13 (B26), QB16 (B32), QB17 (B25),
QB18 (B24)
3 Ignition (15) 1 A Max
4 ECU Supply Supplies M640 CPU 3 A Max
8 Output Supply 2 QB01 (B2), QB04 (B12), QB06 (B23), 16 A Max
QB07 (B3), QB10 (B4), QB11 (B10),
QB14 (B5), QB15 (B11)
16 Output Supply 3 QC02 (C35), QC08 (C34), QC09 (C27), 16 A Max
QC12 (C33), QC13 (C26), QC16 (C32),
QC17 (C25), QC18 (C24)
23 Output Supply 4 QC01 (C2), QC03 (C13), QC04 (C12), 16 A Max
QC05 (C1), QC06 (C23), QC07 (C3),
QC10 (C4), QC11 (C10), QC14 (C5),
QC15 (C11)

Page 17 of 36 057-244 ISSUE: 1.1


Installation

2.8 TYPICAL CONNECTION DIAGRAM

057-244 ISSUE: 1.1 Page 18 of 36


Installation

2.9 USER CONNECTIONS

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

Connector C (I/O) Connector B (I/O) Connector A (DC Supply and CAN)

Page 19 of 36 057-244 ISSUE: 1.1


Installation

2.9.1 CONNECTOR A (DC SUPPLY AND CAN)

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.

Connector A Pin Description Comments


1 Output Supply 1 Used to supply QB02 (B35),
QB03 (B13), QB05 (B1), QB08
(B34), QB09 (B27), QB12
(B33), QB13 (B26), QB16
(B32), QB17 (B25), QB18
(B24)
2 Vref +ve
3 Ignition +ve (15)
4 CPU Supply +ve DC Supply for the M640 CPU
5 CPU Supply -ve DC Supply for the M640 CPU
6 Program Enable
7 Output Supply 1 & 2 -ve
8 Output Supply 2 +ve Used to supply QB01 (B2),
QB04 (B12), QB06 (B23),
QB07 (B3), QB10 (B4), QB11
(B10), QB14 (B5), QB15 (B11)
9 Output Supply 3 & 4 -ve
10 CAN1 H
Internally connected
11 CAN1 H
12 CAN1 L
Internally connected
13 CAN1 L
14 CAN4 H
15 CAN4 L
16 Output Supply 3 +ve Used to supply QC02 (C35),
QC08 (C34), QC09 (C27),
QC12 (C33), QC13 (C26),
QC16 (C32), QC17 (C25),
QC18 (C24)
17 CAN2 H
Internally connected
18 CAN2 H
19 CAN2 L
Internally connected
20 CAN2 L
21 CAN3 H
22 CAN3 L
23 Output Supply 4 +ve Used to supply QC01 (C2),
QC03 (C13), QC04 (C12),
QC05 (C1), QC06 (C23),
QC07 (C3), QC10 (C4), QC11
(C10), QC14 (C5), QC15 (C11)

057-244 ISSUE: 1.1 Page 20 of 36


Installation

2.9.2 CONNECTOR B (I/O)

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

Connector B Pin Description Comments Supply


1 QB005 OUT H, L, PWM (2 A). 1 (A1)
2 QB001 OUT H, PWM (2 A / 4 A) 2 (A8)
3 QB007 OUT H, PWM (2 A) 2 (A8)
4 QB010 OUT H (4 A) 2 (A8)
5 QB014 OUT H (2 A) 2 (A8)
6 IB009 DIN
7 IB001 AIN
8 IB002 AIN
9 IB014 DIN
10 QB011 OUT H (4 A) 2 (A8)
11 QB015 OUT H (2 A) 2 (A8)
12 QB004 OUT H, L, PWM (2 A / 4 A) 2 (A8)
13 QB003 OUT H, L, PWM (2 A / 4 A) 1 (A1)
14 IB010 DIN
15 IB011 DIN
16 IB012 DIN
17 IB003 AIN
18 IB004 AIN
19 IB005 AIN
20 IB006 AIN
21 Vref -ve Negative for Vref (A2).
22 IB015 DIN
23 QB006 OUT H, L, PWM (2A) 2 (A8)
24 QB018 OUT H, L (2A) 1 (A1)
25 QB017 OUT H, L (4A) 1 (A1)
26 QB013 OUT H (2A) 1 (A1)
27 QB009 OUT H (4A) 1 (A1)
28 IB013 DIN
29 IB007 AIN
30 IB008 AIN
31 IB016 DIN
32 QB016 OUT H (2A) 1 (A1)
33 QB012 OUT H (4A) 1 (A1)
34 QB008 OUT H, PWM (2 A) 1 (A1)
35 QB002 OUT H, PWM (2 A / 4 A) 1 (A1)

Page 21 of 36 057-244 ISSUE: 1.1


Installation

2.9.3 CONNECTOR C (I/O)

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

Connector C Pin Description Comments Supply


1 QC005 OUT H, L, PWM (2 A). 4 (A23)
2 QC001 OUT H, PWM (2 A / 4 A) 4 (A23)
3 QC007 OUT H, PWM (2 A) 4 (A23)
4 QC010 OUT H (4 A) 4 (A23)
5 QC014 OUT H (2 A) 4 (A23)
6 IC009 DIN
7 IC001 AIN
8 IC002 AIN
9 IC014 DIN
10 QC011 OUT H (4 A) 4 (A23)
11 QC015 OUT H (2 A) 4 (A23)
12 QC004 OUT H, L, PWM (2 A / 4 A) 4 (A23)
13 QC003 OUT H, L, PWM (2 A / 4 A) 4 (A23)
14 IC010 DIN
15 IC011 DIN
16 IC012 DIN
17 IC003 AIN
18 IC004 AIN
19 IC005 AIN
20 IC006 AIN
21 Vref -ve Negative for Vref (A2).
22 IC015 DIN
23 QC006 OUT H, L, PWM (2A) 4 (A23)
24 QC018 OUT H, L (2A) 3 (A16)
25 QC017 OUT H, L (4A) 3 (A16)
26 QC013 OUT H (2A) 3 (A16)
27 QC009 OUT H (4A) 3 (A16)
28 IC013 DIN
29 IC007 AIN
30 IC008 AIN
31 IC016 DIN
32 QC016 OUT H (2A) 3 (A16)
33 QC012 OUT H (4A) 3 (A16)
34 QC008 OUT H, PWM (2 A) 3 (A16)
35 QC002 OUT H, PWM (2 A / 4 A) 3 (A16)

057-244 ISSUE: 1.1 Page 22 of 36


Indications

3 INDICATIONS
One Multi Colour LED is provided to give indication of the device operating status.

Status LED

Colour Operation Description State


Off N/A N/A Powered
down
Green Steady Unit powered up Ignition ON
Application program loaded
Not running
1 Hz flash Unit powered up Ignition ON
Application program loaded
Running
5 Hz flash Unit powered up Ignition ON
No application program loaded.
Amber Static Application exception Bootloader
Bootloader functioning normally
Firmware present
Program Pin enabled
1 Hz flash Firmware update in progress Reading Bootloader
downloaded image.
5 Hz flash Bootloader functioning normally Bootloader
No firmware present
Red Static Fatal system / hardware fault Fault
Condition
1 Hz flash Unit running with a fault, see CODESYS error Fault
flags or Service Tool. Condition

Page 23 of 36 057-244 ISSUE: 1.1


Connecting to CODESYS

4 CONNECTING TO CODESYS
DSEM640 communicates with, and is programmed by, the CODESYS V3 Integrated Development
Enviroment (IDE).

4.1 PROGRAM PIN


To configure (program) the device via CODESYS V3 or activate Debug Mode, the Program Pin must
be enabled as follows:

• Power down the device.


• Disconnect Program Enable pin.
• Apply DC power to the device.
• Wait a few seconds.
• Connect Program Enable (Connector A, Pin 6) to battery positive.

4.2 START NEW PROJECT


To begin, start a new project as shown.

Within CODESYS V3.5, select


File | New Project

057-244 ISSUE: 1.1 Page 24 of 36


Connecting to CODESYS

Select Standard Project

Then click OK

Choose M640

And your
preferred
language for
PLC_PRG Then click OK

Page 25 of 36 057-244 ISSUE: 1.1


Connecting to CODESYS

4.3 ETHERNET TCP

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…

…then click Communication Settings

Where the IP address of the DSEM640 is known, this is entered


directly into the address bar. Press Enter to make the connection.

Successful connection is shown by


the green icon.

057-244 ISSUE: 1.1 Page 26 of 36


Connecting to CODESYS

4.4 ETHERNET UDP

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…

…then click Communication Settings

Click Scan Network.

Page 27 of 36 057-244 ISSUE: 1.1


Connecting to CODESYS

NOTE: A device in Bootloader mode is not discoverable by the Scan.

All devices found during the scan


appear in the Select Device window.
The displayed name is factory set to
M640 and is changed in the Device
Settings screen.

Click a device to show its Click Wink to change


details in the right pane. the selected M640 LED
to amber colour. This
verifies the device you
have selected. Click
Wink again to return the
LED to normal
behaviour.

Click OK to connect to
the selected device.

057-244 ISSUE: 1.1 Page 28 of 36


Connecting to CODESYS

Successful connection is
shown by the green icon.

4.5 CONFIGURE ETHERNET SETTINGS

To configure the Ethernet


Settings, first select
Device…

...and then select Device


Settings…

...and then select Device


Settings Parameters… ...and then expand Ethernet Parameters by clicking
the + symbol.

Page 29 of 36 057-244 ISSUE: 1.1


Connecting to CODESYS

Example of how set the


IP Address to
192.168.1.100

After making changes,


choose Yes in the Save
Config section to save
the changes made.

4.6 DEBUG MODE SETTING


Debug Mode is switchable by activating the Program Enable pin when the device is powered.
However, keeping the pin active during a power cycle places the device into Bootloader mode. During
debugging of a project, repeated enabling and disabling of the Program Enable pin can become
tiresome. An alternative is to use the Device Settings to enable and disable Debug Mode.

Selecting Keep Current allows the existing


operation of Debug Mode to be kept. i.e. if
it’s already active, it remains active when
the Config is saved.

057-244 ISSUE: 1.1 Page 30 of 36


M640 CODESYS Error Codes

5 M640 CODESYS ERROR CODES


DSEM640 returns error codes to CODESYS when appropriate. The returned status is zero for
success. Individual bits are set within the returned value to indicate one or more error conditions.

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

5.2 ANALOGUE INPUTS


Input MSB Bit LSB
Configuration 8 7 6 5 4 3 2 1
Digital Invalid Invalid Error
Parameter Threshold
Voltage Invalid Over Inverted Error
Parameter Range Input
(<10 mV)
Current Invalid Over Wire Error
Parameter Range Break
(<4 mA)
Resistance Invalid Over Error
Parameter Range
Ratiometric Invalid Invalid Over Error
Parameter Reference Range

5.3 DIGITAL INPUTS


Input MSB Bit LSB
Configuration 8 7 6 5 4 3 2 1
Digital Invalid Error
Parameter
Frequency Invalid Freq Over Error
Parameter Range
Phase Invalid Invalid Freq Over Error
Parameter Phase Range
Reference
Counter Invalid Invalid Over Error
Parameter Direction Range
Encoder Invalid Invalid Error
Parameter Phase
Reference

Page 31 of 36 057-244 ISSUE: 1.1


M640 CODESYS Error Codes

5.4 DIGITAL OUTPUTS


Output MSB Bit LSB
Configuration 8 7 6 5 4 3 2 1
Digital Invalid Over Wire Error
Parameter Current Break
(Config)
PWM Invalid Invalid Invalid Over Wire Error
Parameter Duty Cycle Frequency Current Break
(Config)
PWMi Invalid Invalid Invalid Over Wire Error
Parameter Current Frequency Current Break
(Config)

057-244 ISSUE: 1.1 Page 32 of 36


Cables, Connectors, Harnesses and Spare Parts

6 CABLES, CONNECTORS, HARNESSES AND SPARE PARTS


Description DSE Part Manufacturer Part Manufacturer
M640 Connector Kit 007-035 1-776228-1 TE
(Set of 3) 1-776231-4
1-776231-1
Connector Pin Crimp N/A 770854-1 TE
M640 Connector Harness Kit 007-036 N/A DSE
(Set of 3)
M12 to Ethernet Cable 016-160 VS-M12MS-IP20-93R-L1/2 Phoenix
M12 to USB Cable 016-161 N/A DSE
Belden 9841 016-030 9841 Belden

6.1 M640 CONNECTOR HARNESS KIT (007-036)


DSE Part 007-036 consists of three cables as listed below. Connectors are fitted at one end, with
cable marking to identify the wires at the other end.

Connector A Connector B Connector C


Assembly Ident 007-036 (a) 007-036 (b) 007-036 (c)
AMP Connector 1-776228-1 1-776231-4 1-776231-1
No of Connections 23 35 35
Wire size 0.5 mm2 (AWG 20) 0.5 mm2 (AWG 20) 0.5 mm2 (AWG 20)
Wire Colour Black Black Black
Wire Idents 1 to 23 1 to 35 1 to 35
Pin Crimp Part No 770854-1 770854-1 770854-1

AMP Connector Heat Shrink Assembly Expanding Wire Marking


as listed above Expanding Sleeve ident Sleeve Ident

Page 33 of 36 057-244 ISSUE: 1.1


Warranty and Disposal

7 MAINTENANCE AND WARRANTY


The controller is Fit and Forget. As such, there are no user serviceable parts within the controller.
In the case of malfunction, you should contact your original equipment manufacturer (OEM).

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

057-244 ISSUE: 1.1 Page 34 of 36


This Page is Intentionally Blank
This Page is Intentionally Blank

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy