can-gc6-en
Differences
This shows you the differences between two versions of the page.
Next revision | |||
— | can-gc6-en [2020/07/15 10:48] – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== CAN-GC6 CANBUS Servo Controller ====== | ||
+ | [[english|{{ | ||
+ | [[: | ||
+ | * [[: | ||
+ | * [[: | ||
+ | * [[: | ||
+ | \\ | ||
+ | | //4 channel servo controller with [[: | ||
+ | \\ | ||
+ | |||
+ | ^By Rob Versluis | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ===== Features ===== | ||
+ | * Position events. | ||
+ | * Optional external switch position sensors. | ||
+ | * [[mgv137-en|GCA137]] support for polarisation | ||
+ | * [[: | ||
+ | * Compatible 12VDC merg CBUS connector. (J3) | ||
+ | * Opto-isolation for feed-back switches. | ||
+ | * Individual direction-speed selection. | ||
+ | * ' | ||
+ | * Smooth running motor due to high resolution stepping. | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ===== The final board ===== | ||
+ | | V2.3 | | ||
+ | | {{: | ||
+ | | Profesional boards are available. | | ||
+ | \\ | ||
+ | |||
+ | ===== LEDs, Jumpers & Connectors===== | ||
+ | | 2.3 Component side. | | ||
+ | | {{: | ||
+ | \\ | ||
+ | ^ LED ^ Function ^ Aspect ^ Color ^ | ||
+ | | L1 | CAN activity | Random | ||
+ | | L2 | FLiM learning mode (PB1) | 1Hz | Yellow | ||
+ | | L3 | CPU is running | ||
+ | | L4 | Servo busy | 2.5Hz | Red |\\ | ||
+ | \\ | ||
+ | ^ Jumper ^ Function ^ | ||
+ | | JP1 | 120 Ohm line termination¹ |\\ | ||
+ | |||
+ | ¹) A CAN bus must be terminated on both ends to get 60 Ohm.\\ | ||
+ | |||
+ | \\ | ||
+ | ^ Connector ^ Function ^ remark | ||
+ | | J1, J2 | CAN and 12V power | only needed if used in CAN-GC system | ||
+ | | J3 | ' | ||
+ | | S1..S4 | Servo 1...4 | | | ||
+ | | F1..F4 | External switch position feedback (2 inputs for each switch) | | | ||
+ | | ICSP1 | In-circuit serial programming | | | ||
+ | | GCA137 | Piggyback board connection for polarization | | | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ===== Connection Servo' | ||
+ | Most servo' | ||
+ | The signal line (useally orange ) should be at the edge of the board.\\ | ||
+ | |||
+ | ===== Mounting options for servo motor ===== | ||
+ | |||
+ | | {{: | ||
+ | | See http:// | ||
+ | | {{: | ||
+ | | A nice mounting support is available from {{www.phgiling.net|GCA.}} \\ Sideways or in line movement is possible | ||
+ | \\ | ||
+ | |||
+ | ===== Connection limit switches ===== | ||
+ | **If you are not planning to use this option, F1..F4, U4 and U5 can be omitted.** | ||
+ | |||
+ | |||
+ | F1..F4 are made for connection of limit switches, to feed-back that turnout is really on its desired position.\\ | ||
+ | Switch should be on when position is OK\\ \\ | ||
+ | Connection should be made according this table : | ||
+ | |||
+ | ^ Connector | ||
+ | | F1 | 1 | straight | ||
+ | | F1 | 1 | round | C + R | | ||
+ | | F2 | 2 | straight | ||
+ | | F2 | 2 | round | C + R | | ||
+ | | F3 | 3 | straight | ||
+ | | F3 | 3 | round | C + R | | ||
+ | | F4 | 4 | straight | ||
+ | | F4 | 4 | round | C + R | | ||
+ | |||
+ | <sup> **1) C** = common, **S** = straight, **R** = round / turnout</ | ||
+ | \\ | ||
+ | |||
+ | See also here: **[[# | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ==== PSK header connectors ==== | ||
+ | |||
+ | ** | ||
+ | IMPORTANT NOTE !!!!!!\\ | ||
+ | Some users seem to know better, and solder wires directly to the pins or the pc-board.!\\ | ||
+ | That is totally unacceptable !!\\ | ||
+ | Wires will easily break off, and cause a lot of damage in many cases.\\ | ||
+ | So use connectors !!!!!\\ | ||
+ | In order to ease making these cables, it is also possible to buy the necessary tool, to create the PSK cables.\\ | ||
+ | The best wire to be used with PSK connectors is 0,25 mm².\\ | ||
+ | This special plier is available for net price of € 20,00 if ordered together with complete kits. {{: | ||
+ | Just ask [[peter.giling@rocrail.net|peter.]]\\ | ||
+ | |||
+ | ** | ||
+ | |||
+ | < | ||
+ | |||
+ | ===== Setup ===== | ||
+ | {{: | ||
+ | |||
+ | ====Servo sliders==== | ||
+ | | L | Left position | | ||
+ | | R | Right position | | ||
+ | | SpL | Speed left | | ||
+ | | SpR | Speed right | | ||
+ | The labels " | ||
+ | |||
+ | ====Polarization Relay==== | ||
+ | This options flips the polarization relay.\\ | ||
+ | |||
+ | ====External sensor==== | ||
+ | Use the external sensor input for this servo instead of the generated event after reaching the wanted position.\\ | ||
+ | |||
+ | ====Bounce==== | ||
+ | Bounce the servo slightly after reaching the end position.\\ | ||
+ | |||
+ | ====Sensor==== | ||
+ | The Event Nr. to use for reporting that the servo is in position.\\ | ||
+ | ====Usage==== | ||
+ | Shows the Rocrail object ID which is linked to this servo.\\ | ||
+ | |||
+ | |||
+ | ====Short events==== | ||
+ | Ignore the event node number and compare the event number only.\\ | ||
+ | |||
+ | ====Long events==== | ||
+ | For long events the BUS variable on the interface tab of sensors, switches and other objects is used to address the module its node number.\\ | ||
+ | The address variable is equal to the one used with short events.\\ | ||
+ | |||
+ | |||
+ | ====SoD==== | ||
+ | **" | ||
+ | The servo positions will be reported at SoD event.\\ | ||
+ | |||
+ | ====Node Nr.==== | ||
+ | Only for use with long events.\\ | ||
+ | |||
+ | ====Save position==== | ||
+ | The servo positions will be saved in EEPROM after a Power Off message on CAN BUS.\\ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | =====Switch Setup===== | ||
+ | ====Single Gate==== | ||
+ | The switch interface option **[[: | ||
+ | |||
+ | \\ | ||
+ | ===== Hardware feed-back ===== | ||
+ | CAN-GC6 is also provided with connections (F1..4) for hardware feed-back.\\ | ||
+ | This is an extra option, to install a switch at both end positions of the turnout frog.\\ | ||
+ | {{: | ||
+ | \\ | ||
+ | Another possibility is the shared use of the circuit of the frog polarization. For this purpose, the frog is connected with the common terminal C = pin 2 and the two track polarities are connected with S = pin 1 and R = pin 3. In this case, the supply of __the frog should not be linked over an occupancy sensor__, because the current consumption of the optocouplers would simulate an occupancy of the switch. It should be considered that this kind of circuit give a reversed logic for the voltage at the optocouplers. So it's necessary that __the not with the frog connected track polarity__ should connect to the corresponding terminal S or R.\\ | ||
+ | {{: | ||
+ | |||
+ | ===== Hardware ===== | ||
+ | |{{: | ||
+ | |{{: | ||
+ | |{{: | ||
+ | |{{: | ||
+ | ^ N.B. Only complete ordered kits will be supported! ^ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ===== Development Tools ===== | ||
+ | * MPLAB X v1.00 | ||
+ | * C18 v3.40 | ||
+ | * PICKit 3 | ||
+ | * **[[: |
can-gc6-en.txt · Last modified: 2025/06/09 19:10 by phg