background image

PROGRAMMING INSTRUCTIONS FOR THE COUNTER VERSION OF THE GEMINI

The first part of this section provides detailed description of the function

command codes for counting modes, reset modes, output terminations, etc. Then,

using an actual application example, the programming instructions for a counter

version will be

“walked through”

, to give the user a full understanding of the

Gemini programming procedure. The descriptions below give the function

command code first, followed by the individual mode identifier. The Function

Command Code Summary in the appendix lists all codes.

(Only commands and

modes pertaining to the counter will be discussed in this section.)

CODE 41 - UNIT PERSONALITY

Two basic personalities are available for the Gemini. They are the counter

mode and the rate indicator mode.

[41 1]

COUNTER - Setting this mode selects the unit to function as a counter.

This is the basic personality mode and must be programmed before any

other modes are set.

(This command forces default mode values in certain

command codes.)

CODE 43 - INPUTS A & B RESPONSE MODES

The Gemini has six different input response modes. They are: Count with

Inhibit; Count with Up/Down Control; Two-Input Anti-Coincidence Add;

Two-Input Anti-Coincidence Add/Subtract; Quadrature; and Quadrature X4.

[43 1]

COUNT WITH INHIBIT - Input A in this case, serves as the count

input. Input B serves as the inhibit terminal. When Input B is low, count

signals appearing at A will be ignored. When Input B is at a high level,

negative going

(falling)

signals appearing at A will be counted.

[43 2]

COUNT WITH UP/DOWN CONTROL - When in this mode, count

direction can be controlled by a second input. Input A serves as the count

input, and Input B serves as the direction control signal. When B is at a

high level, negative going transitions at A will cause the unit to count in

the positive direction. When Input B is at a low level, negative going

transitions at A will cause the counter to count in the negative direction.

[43 3]

TWO (2) INPUT ANTI-COINCIDENCE ADD/SUBTRACT - This mode

effectively separates count pulses which may simultaneously appear at the

two inputs. The Gemini unit then processes the count pulses into a string of

time-separated pulses, so the internal counter will not lose any counts. Input

A serves as the add input, and Input B serves as the subtract input.

[43 4]

TWO (2) INPUT ANTI-COINCIDENCE ADD - This mode functions

in the same manner as the Two Input Add/Subtract mode except both

Input A and Input B serve as

“ADD”

inputs.

[43 5]

QUADRATURE COUNTING - Quadrature counting modes are

primarily used in positioning and anti-jitter applications. The reason this

mode is used is due to the manner in which two pickups are positioned

relative to each other. Input B is a pulse train signal shifted 90

o

away from

Input A. These two signals are processed by the Gemini as follows:

Input A serves as the count input, while Input B serves as the quadrature

input

(B is the input shifted 90

o

away from A)

. For quadrature with single edge

counting, the counter will count in a positive direction when Input A is a

negative going edge and Input B is at a low level. The counter will count in a

negative direction when Input A is a positive going edge and Input B is at a

low level. All transitions on Input A are ignored when B is at a high level.

These logic rules provide the basis for anti-jitter operation which will prevent

false counts from occurring due to back-lash, vibration, chatter, etc.

When two edge counting is used, the quadrature mode works the same as

with single edge counting when Input B is low. But when Input B is at a high

level, counts at Input A are no longer ignored. Instead the logic rules for A are

complemented, allowing both edges of A to be counted. This doubles the

effective resolution of the encoded input.

[43 6]

QUADRATURE TIMES 4 - This mode takes the quadrature mode, with

two edge counting, one step further. In quadrature times 4, both Input A and

Input B serve as count or quadrature input, depending on their state. In one

instance, Input A will serve as the count input and Input B will serve as the

quadrature input. In another instance, Input A will be the quadrature input

and Input B will be the count input. This enables each edge, positive and

negative going, of each input, A and B, to be counted. This results in a

resolution four times greater than in the ordinary quadrature mode.

–8–

Summary of Contents for GEMINI 1000

Page 1: ...THE ASTRO LINE SERIES GEMINI 1000 2000 INSTRUCTION MANUAL GEM1 2CVR QXD 4 10 02 11 04 AM Page 1...

Page 2: ...der to adapt to different indication and control requirements The Gemini which you have purchased has the same high quality workmanship and advanced technological capabilities that have made Red Lion...

Page 3: ...1 Codes 41 44 45 46 16 Codes 51 52 53 54 55 16 18 Codes 61 63 66 Preset Values Scale Factor 8 19 Dual Preset Rate Programming Application Example 20 21 IV 20 mA CURRENT LOOP SERIAL COMMUNICATIONS GEMI...

Page 4: ...an open collector output s The optional Gemini plug in relay board makes it easy to field upgrade your Gemini to provide 5 amp 240 VAC relay output s The output s are also programmable and can be set...

Page 5: ...instrument The major personality is function code 41 If it is changed from rate to counter or vice versa it may effect settings like count mode reset mode and output termination modes PROGRAMMING THE...

Page 6: ...n immediately show the present time delay in seconds with a two decimal place accuracy The time delay values can be set from 01 to 599 99 seconds To change output 1 time delay enter function code 53 a...

Page 7: ...ime delay and not a mode command In this case it displays a 0 10 indicating 0 10 seconds 5 4 54 3 Output 2 terminates at Reset Normal Output Phase 5 5 0000 10 0 10 second Output 2 time delay Note that...

Page 8: ...able mode The combination of manual and remote inputs provides a high level of security without sacrificing flexibility DIAGNOSTICS SELF TEST WATCHDOG TIMER The security and integrity of the Gemini is...

Page 9: ...ety of logic inputs and is identical to Channel A in this regard For a complete detailed description of set up see Appendix A OVERFLOW INDICATION The Gemini features an overflow indicator LED which is...

Page 10: ...ly appear at the two inputs The Gemini unit then processes the count pulses into a string of time separated pulses so the internal counter will not lose any counts Input A serves as the add input and...

Page 11: ...ode identifier The right most decimal point digit 1 is never turned on A sign in front of the mode identifier will inhibit leading zero blanking The absence of the sign will enable leading zero blanki...

Page 12: ...lay if used is also reversed A sign in front of the mode identifier will provide for reverse phase operation The absence of a sign will give normal phase operation In all modes except boundary when th...

Page 13: ...is selected the unit should be reset upon power up 54 1 TERMINATE AT OUTPUT 1 START Output 2 will terminate when Output 1 starts 54 2 TERMINATE AT OUTPUT 1 END Output 2 will terminate when Output 1 te...

Page 14: ...ill enable the reset terminal and front panel reset button Note Front panel reset can be independently Disabled by using the disable reset DIP switch 66 1 NO FUNCTIONS ENABLED EXCEPT RESET In this mod...

Page 15: ...t be attained by simply programming a 2 000 scale factor even though the display is reading in tenths In this case the display will increment by two for each count input Thus if an odd preset value wa...

Page 16: ...ual Reset to Preset 2 is that when changing the total length it is only necessary to change Preset 2 length Preset 1 slow down would remain the same assuming the same amount of slow down is required T...

Page 17: ...s sets unit personality to a counter STEP 2 Enter function code 43 Input A B Response Modes and enter a mode identifier of 2 A CNT B UP DN STEP 3 Enter function code 44 Number of Count Edges and enter...

Page 18: ...s effectively doubles the resolution of the input signal CODE 45 SCALE MULTIPLIER There are four scale multiplier values that are available They are 1 0 1 0 01 and 0 001 They effectively divide the in...

Page 19: ...The output is set for normal phase operation 52 6 BOUNDARY MODE When in the boundary mode the preset 1 value serves as the boundary point When the rate value is more negative than the preset the outp...

Page 20: ...ni 2000 also has two special use function modes Terminate at Manual Reset and Terminate at Manual Reset End These modes are infrequently used However they may be useful when a requirement exists to la...

Page 21: ...ND RESET ENABLED In this mode manual reset and the programming of the Scale Factor and Preset Values are enabled 66 1 66 2 These Modes are the same as above with the 66 3 exception that manual reset i...

Page 22: ...of count edges could be changed to 2 and the scale factor would become 0 7938 The drive mechanism of the roll will react to a contact closure to increase or decrease speed at a set rate for the durati...

Page 23: ...t any time or in any sequence provided the unit is already operating in a valid mode and an Operator Accessible Functions mode is not preventing this change Refer to the programming section for instru...

Page 24: ...of the Count Value Presets and Scale Factor 2 Changing of the Presets and Scale Factor 3 Resetting of the Count Value and Outputs 4 Automatic print out when using a printer and the Print Request Term...

Page 25: ...d string are the numerical data value 4 The last character in the command string is the command terminator This character must be sent in order to tell the Geminis that the command string is complete...

Page 26: ...es the transmission a 400 msec delay is inserted before the transmission to keep multiple transmissions from overrunning the printer When the Print ID switch is in the down position the unit will not...

Page 27: ...IPTIONS FOR TERMINAL BLOCK TBD 1 20 mA SRC COMMON Common for 20 mA SRC Print Request terminal 2 PRINT REQUEST The Print Request Terminal is connected to common to request the Gemini 2000 to transmit a...

Page 28: ...n the down position the Gemini 2000 will transmit only the data value without the unit address and data ID The 400 msec delay described above will not be inserted This switch position usage is intende...

Page 29: ...Options and Unit Address The DMPC printer has been factory set to operate with the Gemini 2000 and does not require any set up CONNECTING TO AN RLC PRINTER One or several Gemini 2000s with Serial Comm...

Page 30: ...n offices OTHER GEMINIS OR RLC PRODUCTS WITH 20 MA CURRENT LOOP CAN BE CONNECTED IN THE SAME LOOP The drawing below shows the Current Loop set up Each Gemini 2000 is given an address and the Serial DI...

Page 31: ...sed to initiate the transmissions from the Gemini 6 When sending commands to the Gemini the 2Ah must terminate the command NO CARRIAGE RETURNS 0Dh OR LINE FEED 0Ah CHARACTERS SHOULD BE SENT TO THE GEM...

Page 32: ...ten the screws evenly to apply uniform compression thus providing a water tight seal CAUTION Only minimum pressure is required to seal panel Do NOT overtighten mounting screws APPENDIX A INSTALLATION...

Page 33: ...GEMINI 1000 BLOCK DIAGRAM...

Page 34: ...GEMINI 2000 BLOCK DIAGRAM...

Page 35: ...otective earth 2 Shielded screened cables for Signal and Control inputs with shield drain wire connected to earth ground at the mounting panel only Multi conductor Cable Function Used For Belden 8771...

Page 36: ...actors control relays transformers and other noisy components 5 In extremely high EMI environments the use of external EMI suppression devices suchasferritesuppressioncores iseffective InstallthemonSi...

Page 37: ...down Refer to the Block Diagrams Relay Wiring To prolong contact life and suppress electrical noise interference due to the switching of inductive loads it is good installation practice to install a s...

Page 38: ...to generate count input signals Since the LO FRQ mode also provides very high immunity against electrical noise pickup it is recommended that this mode also be used whenever possible with electronic s...

Page 39: ...GEMINI 1000 CONNECTIONS CONFIGURATION SWITCH SET UPS FOR VARIOUS SENSOR OUTPUTS SEE NOTE 5...

Page 40: ...GEMINI 2000 CONNECTIONS CONFIGURATION SWITCH SET UPS FOR VARIOUS SENSOR OUTPUTS SEE NOTE 5...

Page 41: ...sistor for sensors with sinking outputs SRC Provides a 3 9 K pull down resistor for sensors with sourcing outputs S3 HI FRQ Removes damping capacitor and allows operation up to 10 KHz Minimum count ON...

Page 42: ...sistor for sensors with sinking outputs SRC Provides a 3 9 K pull down resistor for sensors with sourcing outputs S3 HI FRQ Removes damping capacitor and allows operation up to 10 KHz Minimum count ON...

Page 43: ...C They vary proportionally with sensor supply voltage 5 MAGNETIC PICKUP INPUT Sensitivity 150 mV peak nominal Hysteresis 100 mV nominal Input impedance 26 5 KW 60 Hz nominal Maximum Input Voltage 50 V...

Page 44: ...1 IP65 Enclosure rating Face only IEC 529 Type 4 Enclosure rating Face only UL50 ELECTROMAGNETIC COMPATIBILITY Immunity to EN 50082 2 Electrostatic discharge EN 61000 4 2 Level 2 4 Kv contact 1 Level...

Page 45: ...ta error on power up 1a Press E key b Check all function codes E ON THE DISPLAY 1 Data error detected by processor 1a Press E key b Check all function codes c Check signal lines for possible noise sou...

Page 46: ...r noise sources 4 Wrong counting mode 4 Verify functions and modes 5 Scale factor incorrect 5 Change scale factor value UNIT WILL NOT RESET 1 Front panel reset disabled 1 Check rear panel DIP switch 2...

Page 47: ...1 54 1 2 is programmed 1 Change 54 then program 52 2 Unit is in tachometer mode CANNOT PROGRAM CODE 54 1 2 1 52 6 is programmed 1 Change 52 then program 54 2 Unit is in tachometer mode CANNOT PROGRAM...

Page 48: ...Input Anti Coincidence Add 5 Quadrature 6 Quadrature x4 44 NUMBER OF COUNT EDGES Cannot be programmed in Quad x4 1 1 Count on falling edge of count input 2 2 Count on both edges of count input 45 SCAL...

Page 49: ...al Phase Output normally OFF turns ON at preset Reverse Phase Output normally ON turns OFF at preset 1 Terminate at Output 2 Start Gemini 2000 Only 2 Terminate at Output 2 End Gemini 2000 Only 3 Termi...

Page 50: ...y 1 1 2 2 3 5 4 10 5 20 6 50 66 OPERATOR ACCESSIBLE FUNCTIONS MODES PGM DIS Terminal connected to COMM Reset Button RST Terminal Enabled Front panel reset can be independently disabled by using DIP sw...

Page 51: ...sic rule is to start the calculation process with a one second sample time 2 When using the Gemini as a control mechanism it is imperative that the update time be shorter than the maximum allowable co...

Page 52: ...SAMPLE TIME Desired Readout Scale 810 8 68 PPS x Sample Time Factor 93 33 x 1 In this application the 5 9999 scale factor has been exceeded To complete the requirements the calculated scale factor 8 6...

Page 53: ...APPENDIX F GEMINI 1000 PROGRAMMING CHART CARD...

Page 54: ...APPENDIX F GEMINI 1000 PROGRAMMING CHART CARD...

Page 55: ...APPENDIX F GEMINI 2000 PROGRAMMING CHART CARD...

Page 56: ...APPENDIX F GEMINI 2000 PROGRAMMING CHART CARD...

Page 57: ...15 230 VAC GEM1 Gemini 1000 Yes No GEM10060 GEM2 Gemini 2000 Yes No GEM20060 Yes Yes GEM20160 Gemini 1000 Relay Board RLYBD000 Gemini 2000 Relay Board RLYBD002 For Information on Pricing Enclosures Ba...

Page 58: ...This page is intentionally left blank...

Page 59: ...st damages claims and expenses arising out of subsequent sales of RLC products or products containing components manufactured by RLC and based upon personal injuries deaths property damage lost profit...

Page 60: ...67 6511 Fax 1 717 764 0839 Red Lion Controls BV Databankweg 6C NL 3821 AL Amersfoort Tel 31 33 472 32 25 Fax 31 33 489 37 93 Red Lion Controls France 56 Boulevard du Courcerin Batiment 21 ZI Pariest F...

Reviews: