GARDASOFT CC320 User Manual

GARDASOFT CC320 User Manual

Trigger timing controller
Hide thumbs Also See for CC320:

Advertisement

CC320
Trigger Timing Controller
USER MANUAL
Revision 08
Gardasoft Vision Ltd
Trinity Court, Swavesey
Cambridge, CB24 4UQ, UK
Pyramid Imaging
945 East 11 th Ave
Tampa, FL 33605
Pyramid Imaging
https://pyramidimaging.com

Advertisement

Table of Contents
loading

Summary of Contents for GARDASOFT CC320

  • Page 1 CC320 Trigger Timing Controller USER MANUAL Revision 08 Gardasoft Vision Ltd Trinity Court, Swavesey Cambridge, CB24 4UQ, UK Pyramid Imaging 945 East 11 th Ave Tampa, FL 33605 Pyramid Imaging https://pyramidimaging.com...
  • Page 3: Table Of Contents

    DISCLAIMER ........................4 SAFETY ..........................4 GETTING STARTED ......................5 MECHANICAL FIXING ....................6 CONNECTIONS ......................... 7 ........................7 ENERAL ......................7 OWER UPPLY ......................7 IGITAL NPUTS ......................8 IGITAL UTPUTS OPERATION ........................9 ........................ 9 NPUT ODES ......................10 UTPUT ODES ........................
  • Page 4: Disclaimer

    Please read this before using the CC320 family of products. If in doubt, contact your distributor or Gardasoft Vision. The CC320 must not be used in an application where its failure could cause a danger to personal health or damage to other equipment.
  • Page 5: Getting Started

    Mount the CC320 as described in “Mechanical Fixing” using a DIN rail or the mounting holes. Connect the CC320 as in the section on Connections. When the CC320 powers up it should show two alternating lines on the display to indicate that it is operating properly. Three indicator LEDs on the outputs should be pulsing in sequence every second.
  • Page 6: Mechanical Fixing

    Mechanical Fixing The CC320 does not have an IP rating and should be mounted so that moisture and dirt cannot enter the unit. The operating temperature range is to 60 The CC320 can be mounted onto a panel using the threaded holes in the base, see diagram below.
  • Page 7: Connections

    Connections General All connections except Ethernet are available on screw terminals. Power Supply The power supply must be 12VDC to 24VDC regulated. The maximum current required is 100mA. The maximum heat dissipation is 2.4W. Digital Inputs The state of each input is shown on an LED next to the connector. The inputs have a common negative connection, in two groups of four.
  • Page 8: Digital Outputs

    Digital Outputs The state of each output is shown by an LED indicator next to the connector. The operational details are shown in the table below: Connector Function Open Drain Output Details GND1 Common 0V for outputs 1, 2, 3, 4 Output 1 open drain Output 2 open drain Output 3 open drain...
  • Page 9: Operation

    200KHz wire encoder position and direction information. IP2 is QEB For 2 wire encoders the CC320 correctly handles reversed movement. When the belt is in a reversed position: the letter “b” is displayed on the front panel • triggers for PEt and PEE modes (see below) are ignored •...
  • Page 10: Output Modes

    Output Modes Each output operates independently. By combining which outputs are triggered by which inputs and which mode each output is in, it is possible to configure complex sequences of operation. Several outputs can be triggered by one input to give synchronous operation, or from separate inputs to give asynchronous operation of different functions.
  • Page 11 250. Outputs a constant high frequency square wave. The frequency is configurable. Further details available from Gardasoft. Buffer an input by making the output the same signal as the input. If there is gate input set, then the gate input signal enables the output – if the gate input is off then the output is off.
  • Page 12 6.2.2 Ethernet Message Flag (E) When the CC320 is used to trigger a camera, the image processing can either be triggered by the acquisition of an image or by an Ethernet message sent from the CC320. When a trigger is received it is assigned a unique tag number (an incrementing number from 0 to 255).
  • Page 13: Examples

    If the FIFO flag is not set, then an output cannot be re-triggered until the previous pulse has completed. Others triggers in this time are ignored. If the FIFO flag is set, then multiple triggers are stored in the CC320 and a pulse is generated for each trigger at the correct time.
  • Page 14 100ms 100us 200ms 100us Both outputs are set into pulse mode. Two different delays give the timing difference between the two cameras. 6.3.2 Gated Pulses A camera needs to be triggered at 25Hz continuously, except when IP1 is high to indicate that the machine has stopped.
  • Page 15 6.3.3 Belt Position Triggering On a conveyor with an encoder, a sensor detects product presence. There are two cameras which need to take an image at fixed distances along the belt. The camera trigger pulses must be fixed width for exposure control. The trailing edge of IP4 is used as the trigger. OP1 triggers the first camera after 2000 encoder counts.
  • Page 16 A sensor on IP1 detects product presence. After a delay OP1 triggers a camera. There may be several products between the sensor and the camera. The CC320 needs to store each of the triggers and then output a pulse after the correct delay.
  • Page 17 A sensor on IP1 detects product presence. After a delay OP1 triggers a camera. Image processing software processes the image (which can take a variable length of time) and then sends a pass/fail message to the CC320. The pass/fail is re-synchronised to the original product presence and the reject gate is opened if necessary.
  • Page 18 Image processing software processes the image (which can take a variable length of time) and then sends a pass/fail message to the CC320. The pass/fail is re-synchronised to the original product presence and the reject gate is opened if necessary.
  • Page 19: Cold Boot

    R, P (120) Cold Boot A cold boot function is available to reset the CC320 to a known state. The unit can be cold booted as follows: Press and hold the SEL and DOWN buttons when powering up the unit •...
  • Page 20: Configuration Form

    Configuration Form Before configuring the CC320, work out all the values and fill in a copy of the form below. This form is available on the CC320 page at www.gardasoft.com. Free running timer period: Encoder mode:...
  • Page 21: Keypad Configuration

    Keypad Configuration The CC320 is set up using the push buttons and display on the front of the unit. The set up is non-volatile, so the CC320 resumes the same operation after a power cycle. Startup On power up, the CC320 displays “8.8.8.” to show that the display is working, followed by “CC”, “320”, and the version number, eg “001”, and is then ready for operation.
  • Page 22 To be able to set timing and encoder count values (for pulse delay, pulse width and retrigger time) a scheme is used where the exponent (power of ten) of the value is set. For timings, the exponent values are as follows: Exponent Multiplier Number format...
  • Page 23 For encoder counts, the exponent values are as follows: Exponent Multiplier Number Range of values value format 999. Values are from 1 count to 999 counts in steps of 1. 9.99 Values are displayed in K from 0.01K counts to 9.99K counts in steps of 0.01K. 99.9 Values are displayed in K (thousands) from 0.1K counts to 99.9K counts in steps of...
  • Page 24 7.3.2 Setting Up Encoder Mode Set the encoder mode from the keypad as follows. Press and hold the SEL button until the display shows “OP1”. Use the UP and DOWN buttons to select “Enc” then press SEL. Select the encoder mode using UP and DOWN and press SEL. UP/DOWN Press and hold SEL for...
  • Page 25 Press and hold SEL for 1 second. Then use UP/DOWN to select from “OP1” to “OP8”, then press SEL Only for “bur” mode the Gate parameter is a number from 2 to 250 UP/DOWN UP/DOWN UP/DOWN UP/DOWN UP/DOWN UP/DOWN Set up pulse delay time or encoder count as in Section 7.3.1 UP/DOWN...
  • Page 26: Ethernet Setup

    PC by using a swapover cable. IP Address The CC320 needs an IP address to communicate over Ethernet. There are two ways to get an IP address; either a fixed address configured in the unit or using DHCP.
  • Page 27 shows “FIP” for fixed IP address or “dhC” for DHCP. Use the UP and DOWN buttons to select “dhC” and press SEL. For a fixed IP address, select “FIP” and press SEL. The user is prompted to enter four bytes of the IP address, four bytes of the address sub-mask and finally four bytes of the gateway address.
  • Page 28 Show IP address IP I 8.2.2 Setting DCHP or an IP Address from the Keypad The DCHP mode or a Fixed IP address can be configured from the Ethernet Demo application which can be downloaded from the CC320 page at www.gardasoft.com.
  • Page 29 An enquiry message is a UDP packet from source port 30310, destination port 30311 with the message body “Gardasoft Search” (8-bit ASCII, 13 characters). The message output by the CC320 is a UDP packet from source port 30311, destination port 30310. It is formatted as:...
  • Page 30: Webpage Configuration

    The CC320 has a small webserver inside, so that it can be configured from a standard web browser, such as Internet Explorer. The IP address of the CC320 must be known (see the section on “Ethernet Setup.” Open a web browser window and type the IP address (for example 192.168.1.71) of the CC320 into the URL box at the top.
  • Page 31: Udp And Tcp/Ip Configuration

    Several commands can be put into one command line by separating them by a semi-colon (“;”). A carriage return character should be sent to terminate the command line. The CC320 send any replies to the commands and then send a ‘>’ character to indicate that the command line has been completed.
  • Page 32: Commands

    Clear Configuration Clears the configuration to the cold boot state. Save Configuration Saves the configuration to non-volatile memory. When the CC320 is turned off and on this configuration is restored. Show Configuration The current configuration is shown. The first line gives the encoder mode and the internal trigger timing.
  • Page 33 OP6: MD=2, IP=0, GT=-, DL=100.00ms, PL=100.00ms, RT= 0.00ms, iogefrp OP7: MD=2, IP=0, GT=-, DL=200.00ms, PL=100.00ms, RT= 0.00ms, iogefrp OP8: MD=2, IP=0, GT=-, DL=300.00ms, PL=100.00ms, RT= 0.00ms, iogefrp Enable Ethernet Messages = 0 to disable Ethernet messages = 1 to enable Ethernet messages When Ethernet messages are enabled, any trigger tag messages and error reports are sent to the most recent UDP or TCP address from which a command has been received.
  • Page 34 Sets the configuration for an output channel. See section 6 for a description of these parameters. For example: RS4,3,5,0,2 sets output channel 4 to be pulse mode (Ptt), triggered by input 5, no gate input and flags = 2 (invert the output). The flags parameter must be entered as a decimal number. Set the output pulse timing RTc,p,d which output channel (1 to 8)
  • Page 35 This command returns “VL” and the encoder count. For example, the reply is “VL200” if 200 encoder counts have been received since the CC320 was turned on. The count is a 32 bit unsigned number and wraps to 0 when it reaches 2 EN0 adjusts the encoder count backwards.
  • Page 36: Command Summary

    Disable Keyboard d = 0 Enable keyboard d = 1 Disable keyboard In some applications it may be necessary to disable the keyboard so that operation can only be controlled from the Ethernet port. The setting of this command is restored after a power cycle. 10.4 Command Summary Function...
  • Page 37: Timing

    A. Timing The following timings apply for CC320 V016. All these timing assume that a single output channel is being used. Simultaneous events on multiple inputs can cause some variation. Typically this can vary the timing by up to 100us for each input.
  • Page 38: Error Codes

    B. Error Codes Error codes may be displayed by the CC320 or returned as a reply to an Ethernet message. These are shown as “Enn”, where nn gives the number of the error. To cancel the error message, press “SEL”.
  • Page 40 Gardasoft LED Lighting Controllers The products available at the time of writing include the following. Other products are also available. See www.gardasoft.com for details of the current range. PP500 Range 2 output channels up to 10A each • 2 digital inputs •...

Table of Contents