Opt OPT-DPA1024E-4 User manual

OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
1
OPT-DPA1024E-4
LED lighting controller manual
OPT MACHINE VISION TECH.CO.,LTD.
Revised in Dec.2014

OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
2
Copyright reserved
1、All the logos and names in this manual belong to OPT.
2、All copyright reserved by OPT company, the original author. Replication and distribution of the contents in any form,
anywhere without permission from our company is straightly prohibited. Revisions are subject to change without prior notice.
Caution and warning:
Caution and Warning
This product should be connected to 220VAC power supply. Please ensure that the power
switch controller is off when plugging in/out the power to prevent against electric shock.
Please read the manual carefully in advance and strictly follow the instructions when operating
the product.
In case of any abnormal situation, please contact us and never disassemble the product by
yourself.
Please make sure good ground for the controller to avoid electric shock.
Do not stare directly into the light given out from the LED since it do harm to your eyes. If a
specular object is used, please take care not to let reflected light to enter your eyes.

OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
3
Contents
1、Overview ··················································································································5
1.1 Profile ···················································································································5
1.2 Selection guidance····································································································5
1.2.1 Accessory selection guidance ···················································································5
1.3 Parameter description·······························································································6
1.4 Panel description ·····································································································7
1.5 Function description·································································································8
1.5.1 Automatically/Manually checking/setting the maximum current··········································8
1.5.2 General/ Highlight trigger mode················································································8
1.5.3 Error code ··········································································································8
1.5.4 Working mode switch ····························································································9
2、Installation Guidance·································································································10
2.1 DIN guide rail installation························································································ 11
2.2 Screw installation··································································································· 11
2.3 Installation size······································································································ 11
3、Operation Instructions······························································································· 12
3.1 Wiring diagram ····································································································· 12
3.2 Turn on light source································································································ 12
3.3 Setting intensity····································································································· 13
3.4 External trigger····································································································· 13
4、Software Operation Instructions··················································································· 14
4.1 Software interface description··················································································· 14
4.2 Software function description···················································································· 18
5、Appendix A: Mechanical parameter ·············································································· 19
6、Appendix B: Programming Manual ·············································································· 23
1. Overview··············································································································· 23
1.1. Configuration······································································································ 23
1.2. Controller default settings······················································································· 23
1.3. Programming flowchart·························································································· 23

OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
4
1.4. Example programs································································································ 24
2. Function Specification······························································································· 27
2.1. Initializing a serial port ·························································································· 27
2.2. Releasing a serial port···························································································· 27
2.3. Creating an Ethernet connection (by IP) ······································································ 28
2.4. Creating an Ethernet connection (by SN)····································································· 28
2.5. Destroying an Ethernet connection ············································································ 29
2.6. Turning on channel(s)···························································································· 29
2.7. Turning on multiple channels··················································································· 30
2.8. Turning offchannel(s) ··························································································· 30
2.9. Turning offmultiple channels··················································································· 31
2.10. Setting intensity ·································································································31
2.11. Setting multiple intensity ······················································································ 32
2.12. Reading intensity································································································ 32
2.13. Setting the trigger pulse width ················································································ 33
2.14. Setting multiple trigger pulse width·········································································· 33
2.15. Reading the trigger pulse width··············································································· 34
2.16. Setting high brightness trigger pulse width ·································································34
2.17. Setting multiple high brightness trigger pulse width······················································· 35
2.18. Reading the high brightness trigger pulse width ··························································· 35
2.19. Enable response ·································································································36
2.20. Enable checksum································································································ 36
2.21. Enable back up when power off··············································································· 36
2.22. Reading serial number·························································································· 37
2.23. Reading IP configuration······················································································· 37
3.Appendices············································································································· 38
A FAQ (frequently asked questions)·············································································· 38
B Macro Definitions for Error Codes············································································· 38
C Acronyms·········································································································· 39

OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
5
1、Overview
1.1 Profile
This digital power controller unit (No: OPT-DPA1024-4) is a digital constant current controller which possesses the
following functions: 256-levelled intensity adjustment (The adjustment for each channel is independent.); highlight triggering;
general triggering; trigger delay; automatically checks for light source maximum current (hot swapping light source);
manually setting the maximum output current; 100M Ethernet communication; RS232 communication.
1.2 Selection guidance
1.2.1 Accessory selection guidance
1、Network cable:
Factory standard network cable: CAT6 or later, 3m length
Cable requirement: CAT6 or later, no longer than 50m
2、Router or switch
Choose well-known brands. The transmission speed is no less than 100Mbps
recommended type:
Router: NETGEAR (from USA) WGR614 (150Mbps)
Switch: NETGEAR (from USA) FS308(8 ports, 100M)
OPT - DPA 10 24 E - 4
Channel amount: 4
E: Network interface type: Ethernet
Output voltage: 24V
Input voltage: 1A
Controller type: digital current
Company name

OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
6
1.3 Parameter description
Item
Parameter
Remark
Input voltage
AC: 100-240V
Automatically checks
for load maximum
current
Connects 10mA-1A, 24V light source
Manually set the
maximum output
current
Range: 10mA - 1A
Adjustable intensity
level
256
Adjusted via front panel encoder or
software
Short-circuit protection
Enabled
If the controller is short-circuited, the
short-circuit protection will turn off the
corresponding channel with error message
“ER2”from LED.
Overcurrent protection
Enabled
If overcurrent occurs, the overcurrent
protection will turn off the corresponding
channel with error message “ER1”from
LED.
General trigger mode
Intensity level: 0-255, adjustable
See Sect.1.5.6
Highlight trigger mode
The current is 1A for single channel.
See Sect.1.5.6
General trigger delay
1-999ms
Configurable by front panel encoder or
software
Highlight trigger delay
0.01-5.00ms
Configurable by front panel encoder or
software
Load capacity
1A/CH 2.2A/4CH
Can only connect 24V light source
Communication mode
RS232/Ethernet
Temperature controlled
fan
Fan activate at 20℃and reaches
maximum RPM at 30℃.
Standby power
<3W
Insulation
AC 1500V at 1Min
leakage current < 10mA
Insulation resistance
DC 500V
Insulation resistance >20MΩ
Working temperature
-5-50℃

OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
7
Dimension size
91*134.41*171mm
Weight
1kg
1.4 Panel description
Fig.1.1: front panel
Index
Panel
Description
Remark
1
4-digit LED
From left to right, the 1st digit equals the
channel index and the remaining three
digits are decimal representation of the
corresponding channel parameter. See
Sect.3.3 & 3.4.
2
Working mode switch
Switch working mode, see Sect. 1.5.6
3
Serial port
For communication with PC via RS232
4
100M Ethernet port
For communication with PC via Ethernet
6、encoder
2、working mode switches
8、trigger port
9、power switch
3、serial port
4、100M Ethernet port
7、light source interface

OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
8
5
AC input
Input: AC 100-240V 50/60Hz
6
Encoder
Adjust intensity and trigger delay
7
Light source interface
4 light source output and they are
independent with each other
8
Trigger port
Connected to external trigger source and
perform synchronous strobe
The trigger delay is adjustable
9
Power switch
Turn on/off controller power supply
1.5 Function description
1.5.1 Automatically/Manually checking/setting the maximum current
This feature is enabled by software only. By default the controller will automatically adjust the controller to light
sources with current 10mA-1A and voltage 24V. This feature can be overridden by software.
1.5.2 General/ Highlight trigger mode
The controller can enter the two modes by turning the working mode switches accordingly (For general trigger mode
switch 1 “OFF”, switch 2 “ON”while for highlight trigger mode, both switch 1 and switch 2 are “OFF”). Set the trigger
delay through adjusting the encoder or software. The range of the adjustable intensity is 0-255. Optocoupler isolation is built
in. For voltage 0-4V, the optocoupler isolation is not conductive and it becomes conductive when the voltage is within 7 -24V.
For default, it is positive edge triggered.
1.5.3 Error code
Code
Error description
Reaction
Recover
ER0
Not connected to any
light source
ER1
Overcurrent
Launch the overcurrent protection for the
corresponding channel and turn it off.
Correct error and reboot
ER2
Short-circuit
Launch the short-circuit protection for the
corresponding channel and turn it off
Correct error and reboot
ER3
Overvoltage
Launch the overvoltage protection for the
corresponding channel and turn it off.
Correct error and reboot

OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
9
1.5.4 Working mode switch
Mode
Switch 1
Switch 2
General lighting mode
ON
ON
Automatically checks for load current once
ON
OFF
General trigger mode
OFF
ON
Highlight trigger mode
OFF
OFF
Note:(1) DPA1024E-4 controller can only connect 24V light source.
(2) The maximum current is 1A for single channel and 2.2A for 4 channels.
(3) When manually setting the maximum output current, never connect the controller to the light source with
current lower than the maximum output current. Otherwise, it may damage the light source because of current
mismatch.
(4) Automatically checks for load current once mode: When turning to this mode, the controller will recheck the
load maximum current once.

OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
10
2、Installation Guidance
Index
Interface
Description
Remark
1
Screw hole
Install screw
2
DIN rail track
Standard DIN rail installation

OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
11
2.1 DIN guide rail installation
1、Installation (Fig.2.1): (1) Lock the controller back panel DIN rail track to position 1 rail.
(2) Push down controller toward position 2.
2、Uninstallation (Fig.2.2): (1) Pull down the controller.
(2) Push up toward position1.
2.2 Screw installation
Installation (Fig.2.3):
1、Secure back-plate against controller.
2、Tighten the screws.
3、Tighten the back-plate to fixtures or stations.
2.3 Installation size
Fig.2.2: Guide rail Uninstallation
Fig.2.4: DIN guide rail size
Fig.2.3: Screws installation
Fig.2.5: Screw size
position 1
position 2
Fig. 2.1: Guide rail installation

OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
12
3、Operation Instructions
3.1 Wiring diagram
Figure 6: Wiring diagram
Step1: Connect the light source to controller (See Fig. 6).
Step2: If the external trigger control is necessary, connect the external trigger source to the controller (See Sect. 3.4).
Step3: Connect power source (AC100-240V) and turn on the power source. If the digital LED displays channel index then
the power is on.
If one needs to adjust the intensity through software, please connect the controller with power off to PC via RS232 or
Ethernet. Run our Demo program or one’s own program (i.e. SDK also available). The parameters for channels can still be
overridden manually via front panel while communicating through serial port or Ethernet (i.e., both host computer and the
controller can be individually adjusted). There is no need to switch the working mode. For the introduction of our Demo
program, please refer to Sect. 4 –“software operation instruction”and Sect.6 –“program manual”.
3.2 Turn on light source
step1: Turn off the controller.
step2: Connect the light source.
step3: Turn on the controller.
light source controller
PC
RS232/Ethernet port
light source interface
power supply input
trigger interface
接口
light source
trigger signal
AC100-240V

OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
13
3.3 Setting intensity
1、manually setting: Turn both the switch 1 and switch 2 on the front panel to “ON”position to enter the general lighting
mode. Push the encoder. The first digit of the LED will blink. Now one can choose the channel(s). Clock-wise turning the
encoder will increase the index of the channel whereas counter clock-wise turning will decrease the index. The remaining
digits indicate the intensity level (0-255) in decimal form (i.e., for the highest intensity, set the 2nd digit= 2, the 3rd digit= 5,
the 4th digit=5). Push the encoder again to store the value and the LED will stop blinking. Repeat above steps for the
remaining channels.
2、setting via software: See Sect.4 - “software operation instruction”
3.4 External trigger
There are 4 trigger interfaces. COM is the common external trigger negative input signal and TRIG 1、2、3、4 is the
external trigger positive input. Optocoupler isolation is built in. For voltage 0-4V, the optocoupler isolation is not conductive
and it becomes conductive when the voltage is within 7 -24V. For default, it is positive edge triggered.
The controller can enter general/highlight trigger mode by turning the working mode switches accordingly (For general
trigger mode switch 1 “OFF”, switch 2 “ON”while for highlight trigger mode, both switch 1 and switch 2 are “OFF”). The
trigger delay (1-999ms for general trigger mode/ 0.01-5.00ms for highlight trigger mode) can be adjusted through encoder or
software.A decimal point will appear under highlight trigger mode where maximum value will not exceed 5.00.

OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
14
4、Software Operation Instructions
4.1 Software interface description
Fig.4.1: Main window
Index
Interface
Description
Remark
1
Choose communication mode
RS232 (serial port) or Ethernet communication
2
Choose device
For serial port communication, proper communication is
determined by serial port number. Ethernet communication is
determined by unique serial number (can be found on the
right-upper panel of the controller) of the controller.
3
(Dis)connection
After choosing the proper device, click “connect”to establish
communication or “disconnect”to destroy the communication.
4
Search device
Searching available devices.
5
Verify/modify information
Click “Detailed information”, one can verify or modify the
detailed communication parameters. For serial port
communication, one can verify serial port number and for
Ethernet communication, one can verify the IP configuration
but only the IP address can be modified.
6
short command communication
common functions for single channel communication
1
6、short command
communication
7、long command
communication
8、multi-channel
window
9、status bar
2
10
11、intensity value
12、channel switch
4、search device
5、check/modify
information
3
13、language

OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
15
7
long command communication
common functions for multiple channel communication
8
multi-channel window
extension to control the intensity for 16 channels
9
status bar
Show the status of the communication
10
slider for setting intensity
The intensity of the corresponding channel can be adjusted by
moving the slider.
11
intensity value
Type in the intensity value to be set.
12
channel switch
Turn on/off the corresponding channel.
13
language
Switch language between Chinese and English.
Fig.4.2: Short command communication window
Index
Interface
Description
Remark
1
choose function
choose function
2
choose channel
choose channel(s) for operation
3
parameter setting
set the parameter for the corresponding function
4
“OK”button
send data then quit
5
“Cancel”button
quit
6
“Apply”button
send data
5、“Cancel” button
6、“Apply”button
1、choose function
2、choose channel
3、parameter setting
4、“OK”button

OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
16
Fig.4.3: Long command communication window
Index
Interface
Description
Remark
1
Choose function
Choose function
2
Choose channel
Tick the box to choose the channel for operation
3
“OK”button
Send data then quit
4
“Cancel”button
Quit
5
“Apply”button
Send data
1
3、“OK”button
5、“Apply”button
2
4、“Cancel”button

OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
17
Fig.4.3: Multi-channel window
Index
Interface
Description
Remark
1
Intensity setting slider
The intensity for each channel can be adjusted by
moving the slider.
2
Intensity value
choose the channel and type in the intensity value
3
Channel switch
Turn on/off the corresponding channel.
1、slider for adjust
intensity
2、intensity value
3、channel switch

OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
18
4.2 Software function description
Function
Operation
Show window
Set intensity
Choose the channel(s) (0 means all channels), set the
intensity within the range: 0-255
short/long
command
Set trigger pulse width
Choose the channel(s) (0 means all channels), set the
trigger pulse width within the range: 0-999 (unit: ms).
Then click “OK”or “Apply”button.
short/long
command
Set highlight trigger pulse
width
Choose the channel(s) (0 means all channels), set the
trigger pulse width within the range: 0-500 (unit:
0.01ms). Then click “OK” or “Apply” button.
short/long
command
Turn off channel(s)
Choose the channel(s) (0 means all channels), set the
trigger pulse width within the range: 0-500 (unit:
0.01ms). Then click “OK” or “Apply” button.
short/long
command
Turn on channel(s)
Choose the channel(s) (0 means all channels), set the
trigger pulse width within the range: 0-500 (unit:
0.01ms). Then click “OK” or “Apply” button.
short/long
command
Read intensity
Choose the channel then click “OK” or “Apply” button.
short command
Read trigger pulse width
Choose the channel then click “OK” or “Apply” button.
short command
Read highlight trigger
pulse width
Choose the channel then click “OK” or “Apply” button.
short command
Read ID
Click“detailed information”, one can check the ID of
the controller.
check/modify
information
Read IP configuration.
Click“detailed information”, one can check the Click
“detailed information”, you can check the ID of the
controller. of the controller.
check/modify
information
Static/ dynamic IP switch
DHCP check box. When it is ticked, the IP is dynamic.
Otherwise, it is static. Default setting is dynamic IP
factory IP address: 192.168.1.16
subnet Mask: 255.255.255
default gateway: 192.168.1.1
check/modify
information
Set IP configuration.
The IP need to be static.
check/modify
information

OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
19
5、Appendix A: Mechanical parameter
Front view

OPT MACHINE VISION TECH.CO. LTD
ADD:8 JingSheng Road, JingXia ChangAn DongGuan China 523853
TEL: 0769-82716188 FAX: 0769-81606698
E-mail:optmv1@optmv.com Website:Http://www.optmv.net
20
Left view
Table of contents