Opt -DPA1024E-4 Manual

Opt -DPA1024E-4 Manual

Led lighting controller
Table of Contents

Advertisement

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
OPT-DPA1024E-4
LED lighting controller manual
OPT MACHINE VISION TECH.CO.,LTD.
Revised in Dec.2014
1

Advertisement

Table of Contents
loading

Summary of Contents for Opt OPT-DPA1024E-4

  • Page 1 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 OPT-DPA1024E-4 LED lighting controller manual OPT MACHINE VISION TECH.CO.,LTD. Revised in Dec.2014...
  • Page 2 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.
  • Page 3: Table Of Contents

    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 Contents 1、Overview · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 5 1.1 Profile ·...
  • Page 4 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.4. Example programs · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 24 2.
  • Page 5: 1、Overview

    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);...
  • Page 6: Parameter Description

    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.3 Parameter description Item Parameter Remark Input voltage AC: 100-240V Automatically checks for load maximum Connects 10mA-1A, 24V light source current...
  • Page 7: Panel Description

    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 Dimension size 91*134.41*171mm Weight 1.4 Panel description 6、encoder 3、serial port 7、light source interface 2、working mode switches 4、100M Ethernet port 8、trigger port Fig.1.1: front panel...
  • Page 8: Function Description

    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 AC input Input: AC 100-240V 50/60Hz Encoder Adjust intensity and trigger delay Light source interface 4 light source output and they are...
  • Page 9: Working Mode 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 1.5.4 Working mode switch Mode Switch 1 Switch 2 General lighting mode Automatically checks for load current once General trigger mode Highlight trigger mode Note:(1) DPA1024E-4 controller can only connect 24V light source.
  • Page 10: 2、Installation Guidance

    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、Installation Guidance Index Interface Description Remark Screw hole Install screw DIN rail track Standard DIN rail installation...
  • Page 11: Din 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 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.
  • Page 12: 3、Operation Instructions

    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、Operation Instructions 3.1 Wiring diagram light source RS232/Ethernet port light source interface light source controller power supply input trigger interface 接口...
  • Page 13: Setting Intensity

    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.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.
  • Page 14: 4、Software Operation Instructions

    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、Software Operation Instructions 4.1 Software interface description 4、search device 5、check/modify information 6、short command communication 7、long command communication 11、intensity value 8、multi-channel 12、channel switch window 9、status bar...
  • Page 15 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 long command communication common functions for multiple channel communication multi-channel window extension to control the intensity for 16 channels status bar...
  • Page 16 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、 “Apply” button 3、“OK” button 4、 “Cancel” button Fig.4.3: Long command communication window Index Interface Description Remark Choose function Choose function...
  • Page 17 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、 slider for adjust intensity 2、intensity value 3、 channel switch Fig.4.3: Multi-channel window Index Interface Description Remark Intensity setting slider The intensity for each channel can be adjusted by moving the slider.
  • Page 18: Software Function Description

    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.2 Software function description Operation Show window Function Choose the channel(s) (0 means all channels), set the short/long Set intensity intensity within the range: 0-255...
  • Page 19: 5、Appendix A: Mechanical Parameter

    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、Appendix A: Mechanical parameter Front view...
  • Page 20 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 Left view...
  • Page 21 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 Back view...
  • Page 22 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 Top view...
  • Page 23: 6、Appendix B: Programming Manual

    Website:Http://www.optmv.net 6、Appendix B: Programming Manual 1. Overview This programming manual is a specification for OPT Digital Light Source Controller (OPT-DCA24E), which can support both serial port and Ethernet communication (the latter is recommended). 1.1. Configuration The controller has an default IP address: 192.168.1.16, which can be dynamically allocated by a router. In the case that the IP address of your device(s) is not in the form of 192.168.1.X (X can be any integer within [0,255]), say 192.168.24.X,...
  • Page 24: Example Programs

    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 a) an example flowchart for serial port communication b) an example flowchart for Ethernet communication Figure 1: Flowcharts for the two types communication (Here, we simply take setting the intensity for example.), respectively.
  • Page 25 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 OPTControllerAPI OptController = new OPTControllerAPI(); //OptController.InitSerialPort("COM1"); //Create an Ethernetconnection by IP address e.g. “192.168.1.16” if (0 !=OptController.CreateEtheConnectionByIP("192.168.1.16") ) Console.WriteLine("Connection failed"); break;...
  • Page 26 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 //Destroy the connection int ret = 0; ret = OptController.DestoryEtheConnect(); if (0 != ret) Console.WriteLine("Failed to destroy the connection"); else Console.WriteLine("DONE");...
  • Page 27: Function Specification

    4. Output(s): controllerHandle – a handle of the controller 5. Return value: • succeed: OPT SUCCEED; • failed: OPT ERR INITSERIAL FAILED or OPT ERR SERIALPORT UNOPENED (see the error code in Tab. 1). 6. See also: releasing a serial port 2.2.
  • Page 28: Creating An Ethernet Connection (By Ip)

    3. Input(s) 4. Return value: • succeed: OPT SUCCEED; • failed: OPT ERR RELEASESERIALPORT FAILED (see the error code in Tab. 1). 5. See also: initializing a serial port 2.3. Creating an Ethernet connection (by IP) 1. Function: long OPTController CreateEtheConnectionByIP(char *serverIPAddress, OPTController Handle *controllerHandle) 2.
  • Page 29: Destroying An Ethernet Connection

    TEL: 0769-82716188 FAX: 0769-81606698 E-mail:optmv1@optmv.com Website:Http://www.optmv.net • failed: OPT ERR CREATEETHECON FAILED (see the error code in Tab. 1). 6. Remarks: • connect to a server as a client. Before connecting, make sure that the controller is connected to the LAN;...
  • Page 30: Turning On Multiple Channels

    TEL: 0769-82716188 FAX: 0769-81606698 E-mail:optmv1@optmv.com Website:Http://www.optmv.net • failed: OPT ERR TURNONCH FAILED or OPT ERR CHINDEX OUTRANGE (see the error code Tab. 1). 5. See also: turning off channel(s) 2.7. Turning on multiple channels 1. Function: long OPTController TurnOnMultiChannel(OPTController Handle controllerHandle, int* chan- nelIndexArray, int length) 2.
  • Page 31: Turning Off Multiple Channels

    TEL: 0769-82716188 FAX: 0769-81606698 E-mail:optmv1@optmv.com Website:Http://www.optmv.net • failed: OPT ERR TURNOFFCH FAILED or OPT ERR CHINDEX OUTRANGE (see the error code in Tab. 1). 5. See also: turning on channel(s). 2.9. Turning off multiple channels 1. Function: long OPTController TurnOffMultiChannel(OPTController Handle controllerHandle, int* chan- nelIndexArray, int length) 2.
  • Page 32: Setting Multiple Intensity

    • length – the length of the intensity array. 4. Return value: • succeed: OPT SUCCEED; • failed: OPT ERR SET INTENSITY FAILED or OPT ERR PARAM OUTRANGE (see the error code Tab. 1). 5. See also: reading intensity. 2.12. Reading intensity 1.
  • Page 33: Setting The Trigger Pulse Width

    TEL: 0769-82716188 FAX: 0769-81606698 E-mail:optmv1@optmv.com Website:Http://www.optmv.net • failed: OPT ERR READ INTENSITY FAILED or OPT ERR CHINDEX OUTRANGE (see the error code in Tab. 1). 6. See also: setting intensity 2.13. Setting the trigger pulse width 1. Function: long OPTController SetTriggerWidth(OPTController Handle controllerHandle, int channelIn- dex, int triggerWidth) 2.
  • Page 34: Reading The Trigger Pulse Width

    5. Return value: • succeed: OPT SUCCEED; • failed: OPT ERR READ TRIGGERWIDTH FAILED or OPT ERR CHINDEX OUTRANGE (see the error code in Tab. 1). 6. See also: setting the trigger pulse width and setting multiple trigger pulse width 2.16.
  • Page 35: Setting Multiple High Brightness Trigger Pulse Width

    FAX: 0769-81606698 E-mail:optmv1@optmv.com Website:Http://www.optmv.net • failed: OPT ERR SET HBTRIGGERWIDTH FAILED, OPT ERR CHINDEX OUTRANGE, or OPT ERR PARAM OUTRANGE (see the error code in Tab. 1). 5. See also: reading the high brightness trigger pulse width. 2.17. Setting multiple high brightness trigger pulse width 1.
  • Page 36: Enable Response

    • isResponse –“true” means “need return value” while “false” stands for not. 4. Return value • succeed: OPT SUCCEED; • failed: OPT ERR UNKOWN (see the error code in Tab. 1). 2.20. Enable checksum 1. Function: OPTController EnableCheckSum(OPTController Handle controllerHandle, bool isCheckSum) 2.
  • Page 37: Reading Serial Number

    4. Output(s): SN – the obtained serial number 5. Return value • succeed: OPT SUCCEED; • failed: OPT ERR READ SN FAILED (see the error code in Tab. 1). 2.23. Reading IP configuration 1. Function: long OPTController ReadIPConfig(OPTController Handle controllerHandle, char *IP, char *subnetMask, char *defaultGateway) 2.
  • Page 38: Appendices

    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. Appendices A FAQ (frequently asked questions) A.1 Why the controller does not respond properly to continuous operations? We recommend 20ms time interval between a pair of “Set” and “Read” operations, offering room for the controller to react.
  • Page 39: Acronyms

    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 OPT ERR RELEASESERIALPORT 3001004 failed to release a serial port FAILED OPT ERR SERIALPORT UNOPENED 3001005 attempt to access an unopened serial port...
  • Page 40 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 ETHE Ethernet 1、 screw hole high brightness PARAM parameter serial number...

Table of Contents