background image

 

Each  output  also  has  the  following  flags  which  specify  other  options.  For  Ethernet  commands, 
multiple flags can be set by adding the flag values together. 

Flag 

value 

Flag 

Name 

Operation 

when flag = 0 

Operation 

when flag = 1 

Trigger off  leading edge of 
input. 

Trigger  off  trailing  edge  of 
input. 

Output  is  normally  low, 
going high when pulsing. 

Output  is  inverted.  It  is 
normally  high,  going  low 
when pulsing. 

If  a  gate  input  is  specified, 
the  input  must  be  high  to 
enable triggers. 

If a gate input is specified, the 
input  must  be  low  to  enable 
triggers. 

No Ethernet message. 

Send  message  on  Ethernet 
when triggered. 

16 

Triggers  are  ignored  until 
output pulse is complete. 

FIFO  output  mode.  Multiple 
triggers are queued up. 

32 

Resync mode disabled. 

Resync Mode enabled. 

64 

Default  to  pulse  in  resync 
mode. 

Default  to  no  pulse  in  resync 
mode. 

6.2.1

 

Burst Mode 

In burst mode, an output is pulsed several times in response to a trigger. The periods are timed 
(not encoder counts). 

The following parameters are used: 

 

Mode is 8 for burst mode 

 

Gate Input specifies the number of pulses (1 to 250) 

 

Pulse Width specifies the pulse width 

 

Pulse Delay specifies the separation between the start of one pulse and the start of the next 

Pulse Delay must be longer than Pulse Width.  

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).  Using the GT Ethernet command and the Ethernet Message flag, the CC320 sends the tag 
number in a message to the host computer to say that a trigger has occurred. 

The message has the form: 

Summary of Contents for CC320

Page 1: ...Trigger Timing Controller USER MANUAL Revision 08 Gardasoft Vision Ltd Trinity Court Swavesey Cambridge CB24 4UQ UK Pyramid Imaging Pyramid Imaging 945 East 11th Ave Tampa FL 33605 https pyramidimagin...

Page 2: ......

Page 3: ...MPLES 13 6 4 COLD BOOT 19 6 5 CONFIGURATION FORM 20 7 KEYPAD CONFIGURATION 21 7 1 STARTUP 21 7 2 COLD START 21 7 3 CONFIGURATION 21 8 ETHERNET SETUP 26 8 1 CONNECTION 26 8 2 IP ADDRESS 26 9 WEBPAGE CO...

Page 4: ...ed by Gardasoft Vision Ltd under license 2 Safety 2 1 1 General Please read this before using the CC320 family of products If in doubt contact your distributor or Gardasoft Vision The CC320 must not b...

Page 5: ...nce every second Check that inputs and outputs are working correctly as described in Troubleshooting If required connect Ethernet to the CC320 and set it up according to the Ethernet section Read the...

Page 6: ...l using the threaded holes in the base see diagram below The PP703 kit is available for mounting the CC320 on a DIN rail The top drawing shows the optional DIN rail fitted Dimensions are in millimetre...

Page 7: ...The inputs have a common negative connection in two groups of four Connector Function Opto Coupled Input Details POWER Power supply 12V to 24V POWER Power supply 0V IP1 Input 1 positive IP2 Input 2 p...

Page 8: ...on of the controller GND1 Common 0V for outputs 1 2 3 4 OP1 Output 1 open drain OP2 Output 2 open drain OP3 Output 3 open drain OP4 Output 4 open drain VE Low power regulated output Maximum source cur...

Page 9: ...o types of encoder Mode Connections Operation Max frequency EN 1 one wire encoder IP1 is QEA Simple encoder provides position information All movement is assumed to be forward 700KHz EN 2 two wire enc...

Page 10: ...parameter can be 0 for none 1 to 8 for IP1 to IP8 9 to 16 for OP1 to OP8 number of pulses for burst mode Pulse Delay Specifies the delay from trigger to pulse output This can either be a time period o...

Page 11: ...ed by Pulse Delay encoder pulses The Input and Gate Input parameters are not used 8 bur Burst output When triggered Gate Input pulses are output Each pulse is Pulse Width long and the time between the...

Page 12: ...P Default to pulse in resync mode Default to no pulse in resync mode 6 2 1 Burst Mode In burst mode an output is pulsed several times in response to a trigger The periods are timed not encoder counts...

Page 13: ...is not received in time then the product is rejected and an error code output 6 2 4 FIFO Flag F The FIFO flag is used for systems where there can be more than one product between the trigger point and...

Page 14: ...d Pulses A camera needs to be triggered at 25Hz continuously except when IP1 is high to indicate that the machine has stopped The camera is triggered on OP1 Output Mode Input Gate Input Pulse Delay Pu...

Page 15: ...ate Input Pulse Delay Pulse Width Retrigger Time Flags 1 5 4 0 2000 encoder counts 100us 0 I O 3 1 5 4 0 4000 encoder counts 100us 0 I O 3 Set input mode to 2 wire encoder Both outputs are set into pu...

Page 16: ...pulsed for 40ms in sequence As each one is pulsed OP5 is also pulsed for a short time to trigger the camera Gate Input 4 specifies four pulses 6 3 5 Simple FIFO Mode A sensor on IP1 detects product pr...

Page 17: ...if necessary The reject gate is on OP2 and pulses high to reject the product Products take 10 seconds to travel from the sensor to the reject gate and take 1 second to move past the reject gate Outpu...

Page 18: ...afe operation After the second trigger a Tag 11 message was sent with the reply SN2 11 1 OP2 tag 11 pass so the reject pulse on OP2 was cancelled After the third trigger a Tag 12 messages was sent wit...

Page 19: ...ld booted it is set to the following state IP0 free running trigger is set up as a 1Hz internal trigger The unit is set up for no encoder input OP1 triggers from IP1 delay for 100ms then pulse for 100...

Page 20: ...all the values and fill in a copy of the form below This form is available on the CC320 page at www gardasoft com Output Mode Input Gate Input Pulse Delay Pulse Width Retrigger Time Flags Tick when co...

Page 21: ...C320 displays COL for about 2 seconds while the memory is cleared 7 3 Configuration To configure the controller from the keypad press and hold SEL for 1 second OP1 is displayed The overall structure o...

Page 22: ...are displayed in seconds from 0 1s to 99 9s in steps of 0 1s E 2 0 01 9 99 Values are displayed in seconds from 0 01s to 9 99s in steps of 0 01s E 3 0 001 999 Values are displayed in milliseconds fro...

Page 23: ...s in steps of 1K E 4 10000 9 99 Values are displayed in M millions from 0 01M counts to 9 99M counts in steps of 0 01M E 5 100000 99 9 Values are displayed in M from 0 1M counts to 99 9M counts in ste...

Page 24: ...ct FrE then press SEL Set the free running timer period See section 7 3 1 for a description of how to set the time period FrE SEL End Press and hold SEL for 1 second Then use UP DOWN to select FrE the...

Page 25: ...UP DOWN UP DOWN bur UP DOWN IP1 IP0 IP8 UP DOWN IP1 non IP8 End Set up pulse width time or encoder count as in Section 7 3 1 UP DOWN F I F I SEL UP DOWN F O F O UP DOWN F g F g UP DOWN F F F F UP DOW...

Page 26: ...is set then DHCP is probably used However there may be an alternative fixed IP address on the Alternative Configuration tab You can find out what IP address is being used by a PC at any time by Go to...

Page 27: ...SEL 255 SEL SbI SEL 255 Sb2 SEL 255 SEL SEL SEL Sb3 SEL 255 Sb4 SEL 255 SEL SEL gtI SEL 255 gt2 SEL 255 SEL SEL gt3 SEL 255 gt4 SEL 255 SEL SEL End Set IP address Set IP submask Set gateway address W...

Page 28: ...1 IP4 SEL 71 SEL SEL End Show IP address FIP UP DOWN 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...

Page 29: ...ge 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...

Page 30: ...C320 webserver should be shown 9 1 Main Page The main page shows general information about the CC320 and can be used to set up the Encoder mode and the Free Running Timer period Press the Submit butto...

Page 31: ...m the C320 are sent to the source port A TCP IP connection timeouts and closes if it is idle for more than 10 seconds The host must send regular heartbeat commands eg VR to keep the link open 10 2 Com...

Page 32: ...on VR Outputs the version number of the firmware for example 001 Clear Configuration CL Clears the configuration to the cold boot state Save Configuration AW Saves the configuration to non volatile me...

Page 33: ...the last GR command Set Clear the Webpage Password EY EY asc1 asc2 asc3 asc4 asc5 asc6 This command sets the password required to access the webpages If EY is entered on its own then the password is c...

Page 34: ...before the pulse timing is set For example RT2 3ms 5K Output 2 3ms output pulse after 5000 encoder pulses Set retrigger time RRc r c which output channel 1 to 8 r Retrigger time or encoder pulses The...

Page 35: ...count backwards It has the same effect as if the encoder moved backwards by this distance It works for 1 wire and 2 wire encoders EN1 adjusts the encoder count forwards This has the same effect as the...

Page 36: ...e firmware version VR Clear all configuration CL Show configuration ST Make configuration non volatile AW Read any error messages GR Enable Ethernet messages GTm Set webpage password to AB EYa1 a2 Set...

Page 37: ...above 4ms are repeatable to within 100us and are subject to variation PTT mode pulses in the following conditions have higher priority and better timing Delay 0 pulse width 4ms Delay pulse width 4ms a...

Page 38: ...r 2 Ethernet command Command not recognised Err 3 Ethernet command Numeric value is wrong format Err 4 Ethernet command Wrong number of parameters Err 5 Can t read EEPROM Err 6 12 16 EEPROM corrupt Th...

Page 39: ......

Page 40: ...ontrol fast pulsing PP701 DIN Rail mounting clip for PP500 and PP500F ranges PP420 Range Same as the PP500 range but with 4 channels no front panel PP420 Lighting controller with Ethernet control PP42...

Reviews: