An axis is one motor in your project: its name and colour, the motor it is linked to, how motor turns become your units, how a controller moves it, and how it homes. This chapter covers the Axes tab and Axis Setup's General, Controller and Homing tabs. Its fourth tab, Motor, is in chapter 8, and loading the motors is in chapter 9.
The Axes tab
Click the Axes tab in the right-hand panel. The panel lists your axes, and Axis Setup for the selected axis fills the chart area, with its tabs down the left and the controls bar across the top.
Each row of the list shows, from left to right, the axis's colour (click the palette to change it), its name, its status light (point at it to read the motor's state, click it to enable or disable the motor), and its live position and unit.
The toolbar above the list has Add axis, Duplicate axis and Delete axis on the left, and Connect all axes on the right (see chapter 6). Load motor and Load all motors are at the foot of the panel (see chapter 9).
Figure 7.1. The Axes tab. The list of axes is in the right-hand panel, with Load motor and Load all motors at its foot. Axis Setup for the selected axis fills the chart area: its tabs down the left, the controls bar across the top.
Until you select an axis, the chart area shows the Cool Muscle logo and Select an axis to edit its setup. A project with no axes says Add an axis to begin setup in the list instead.
Note. The Axes tab is unavailable while the Record screen or the point editor is open, and while a test runs. Save or cancel there, or stop the test, first.
Adding, copying and deleting axes
-
Click Add axis (+), or press
Insertin the list. A new axis appears and is selected. -
On the General tab, give it a name that says what it moves, such as Pan, Tilt, Left lift or Lid. The name appears on every chart, list and message.
-
Link it to its motor (the Connection card below, or the Connections panel in chapter 6), then set its units.
A new axis takes its controller Position Range, Speed Range and Filter lag from Defaults for a new axis in Options (see chapter 23).
To add an axis set up like the selected one, for example for a second motor of the same kind, click Duplicate axis. The copy goes directly below the original with Copy added to its name. It has the same settings and motor program, but its own colour, no description, no motor and no takes.
To remove an axis, select it and click Delete axis, or press Delete in the list. Deleting an axis also removes its profile from every show. If the axis has a take in any show, or you have set it up (renamed it, linked a motor or changed its settings), Contours asks first: click Delete axis to go ahead. An axis still as it was added is deleted straight away.
Axis colours
Each axis has a colour, used for its lines on every chart, the path view and the model's lists. A new axis takes the first of eight standard colours that no other axis in the project has. The eight are picked to stay apart on the dark and the light chart, and the first five to stay apart for people with red-green colour blindness. Once all eight are in use, Contours works out the colour furthest from every colour in use.
To change a colour, click the colour swatch on the Axis card, or the palette at the start of the axis's row in the list (or the profile's row in the Shows list). The eight standard colours are along the top, one click each, with a colour picker under them for any other.
To give every axis a fresh set of standard colours, use Recolour all axes on the Chart tab of Options (see chapter 23).
The controls bar
The controls bar across the top of Axis Setup stays visible on every tab. From left to right:
-
Status: the motor's state, such as In position, Moving, Disabled, Overload or Not connected. It turns red for a fault.
-
Position: the live position in the axis's unit.
-
The axis's colour and name, in the middle of the bar.
-
Motor: Connect or Disconnect, and the Enabled switch, which turns the motor on or off. A disabled motor can be turned by hand.
-
Homing: Find home runs the motor's homing sequence, and Go home moves the axis back to its home position.
If the window is too narrow for the whole bar, Find home and Go home move into the ⋮ menu at its right-hand end.
Figure 7.2. The controls bar: the motor's status and position, the axis, and the Motor and Homing buttons.
General tab
The General tab has four cards: Axis, Connection, Units and gearing, and Run To.
Figure 7.3. The General tab: the Axis and Connection cards, then Units and gearing and Run To.
Axis card
-
Name: the axis's name.
-
Description: what the axis moves, in your own words, for the AI, for example Turns the left arm, whose pin moves the left leg up and down to tilt the plate. Left and right are the model's own. The AI reads it when it makes or changes shows and rigs models (see chapter 15 and chapter 21). The AI keeps your words as they are and adds to them, never changes them.
-
From the model: when the project's rigged model has a line saying what the axis's drive moves, it shows under the description, read-only. The Model window's AI writes it when it rigs the model (see chapter 21); to change it, ask that AI. Where it and your description differ, the AI goes by your description.
-
Colour: the axis's colour (see Axis colours above).
-
Position decimals: how many decimal places positions show with, from 0 to 6. Shows as gives an example.
Connection card
-
Motor lists the motors found by serial number, with their IP address or COM port. A motor already used by another axis shows that axis's name, and choosing it moves it to this axis. You can also type a serial number for a motor that hasn't been found yet.
-
Connect or Disconnect connects this axis's motor. Find motors searches again, and Manage opens the Connections panel (see chapter 6). While a search runs, the Motor list is unavailable and a progress bar shows under it.
-
State and Address say whether the motor is connected, and where it is.
Units and gearing card
This card sets how motor turns become your units, so that you work in degrees, millimetres or whatever the axis moves in.
-
The top line shows the motor: how many pulses make one motor turn at its resolution (50,000 pulses ⇔ 1 motor turn unless you change the resolution, below). Tick Invert direction beside it if the axis moves the wrong way.
-
Tick Gearbox if there is one, then enter it as motor turns ⇔ gear output turns, for example 5 ⇔ 1 for a 5:1 gearbox.
-
On the next row, enter the travel per turn, for example 1 gear output turn ⇔ 360 deg, or 1 motor turn ⇔ 5 mm for a 5 mm lead screw without a gearbox, and pick or type the unit name (deg, rev, mm, in, or your own).
-
The summary under them shows how many motor pulses and motor turns make one unit, and which way (CW or CCW) the motor turns for a positive move.
Caution. Shows are stored in the axis's units. Changing the gearing, the travel or the direction rescales every show for this axis: the same numbers then mean a different movement of the motor.
Figure 7.4. The Units and gearing card. The motor's resolution is the last row, under the line, and is seldom changed.
Motor resolution
The last row of the Units and gearing card, Motor resolution and speed unit, sets how many pulses the motor counts in one turn, and the unit its speeds are in. It is the motor's K37 parameter.
Leave Default ticked unless a motor program of your own needs another resolution. Default is K37=100: 50,000 pulses a turn, the motor's finest, with speeds in 1 pulse/s. To choose another, clear Default and pick one from the list. The three at 50,000 pulses a turn come first (speeds in 1, 10 or 100 pulses/s), then the coarser ones, down to 200 pulses a turn.
-
Your shows don't change. Contours works in your units, and sends each motor its positions at its own resolution.
-
The motor's programs count in its pulses. A program of your own (see chapter 8) uses the motor's pulses and speed unit, which is the usual reason to choose another resolution.
-
A coarser resolution positions in steps. At 1,000 pulses a turn, a position is a whole number of thousandths of a turn. The card says how big a step is in your units.
-
The motor takes it when its program is loaded. The axis's program sets the motor's resolution each time it goes in with Load motor (see chapter 9). Until then, the card says the motor is at another resolution.
-
The shows in the motor need loading again. A motor keeps its shows in its own pulses, so shows loaded at 50,000 pulses a turn would play many times too far at 1,000. Choosing a resolution with a different number of pulses a turn asks first; click Change resolution to go ahead, then load the motor with both its program and its shows (see chapter 9). Changing between the three 50,000-pulse resolutions changes only the speed unit, and doesn't ask.
Notes under the list say when a coarser resolution's step applies, when the motor is at another resolution (load its program), and when its shows were loaded at another number of pulses a turn (load its shows again). Until the shows are loaded again, the Test tab leaves that axis out of a run from motor memory.
Note. A motor with version 2 firmware plays its shows only at 50,000 pulses a turn. Keep such a motor on one of the first three choices, or update its firmware (see chapter 8). Contours can't use a motor whose K37 has been set to 40 to 99 by another tool: load its program to put it back to the axis's resolution.
Run To card
-
Speed and Acceleration: the fastest the axis moves, in your units a second, when Contours sends it to a position rather than playing a show. They are used by Run to cursor and Live update (see chapter 11), by Go to start and between Loop Show passes on the Test tab (see chapter 22), and by the motor's own move to the start of a show as it begins. A value of 0 uses 1 motor turn a second, and 1 motor turn a second².
-
Live update filter: how smoothly the motor follows the cursor during Live update, in ms. Leave it blank for the motor's own filter (40 ms, or the send interval if that is longer). A longer filter is smoother but lags more.
The Run To speed and acceleration also go into the axis's motor program, which the motor uses to move to a show's start. After changing them, load the program again (see chapter 9).
Controller tab
The Controller tab sets how a controller moves this axis while you record (see chapter 12).
Figure 7.5. The Controller tab. Move the stick to see on the Live card what it would do to the axis.
-
Controller card. Its heading names the controller in use.
-
Controller: the controller Contours uses. It is the same for every axis, and controllers plugged in or removed are noticed by themselves.
-
Controller Axis: which of the controller's axes moves this axis: X, Y, Z, Rx, Ry or Rz, or None. On most gamepads X and Y are the left stick.
-
Invert direction: reverses it.
-
-
Response card
-
Position Range: the whole travel, from one end of the stick to the other, when recording with Controller Position. Full deflection reaches half of it either way.
-
Speed Range: the speed at full deflection, when recording with Controller Speed.
-
Filter lag: how smoothly the motor follows the stick while recording, in ms. Leave it blank for the motor's own filter (40 ms, or the send interval if that is longer). A longer filter is smoother but lags more. Reset to Default sets the default from Options (see chapter 23), blank unless you have changed it.
-
-
Live card: the Controller Value as you move the stick, a bar showing how far it is pushed either way, and the position and speed it would give the axis.
Homing tab
Homing finds a known position for the axis: the motor drives slowly towards a hard stop or a sensor, and that becomes its home. The Homing tab sets how.
Figure 7.6. The Homing tab. Read from motor and Write to motor are above the two cards.
-
Read from motor loads the motor's current homing settings into the tab.
-
Write to motor sends these settings without homing. The motor keeps them after a power cycle.
Both need the motor connected.
Homing method card
-
Method: Hard stop or Sensor. Tick Home when the motor powers up to home automatically each time the motor is switched on.
-
Direction: CW or CCW, the way the motor turns to look for home.
-
Max torque: the most force used while homing, from 10 to 100 %.
-
Sensor input: for Sensor homing, the input the sensor is wired to (IN2, IN3 or IN4).
Motion card
-
Home speed: how fast the axis moves while homing. The line under it gives the motor's allowed range in your units.
-
Offset from home: where the axis stops after finding home. The note under it says whether the offset must be positive or negative: for a hard stop, the offset has to move the axis away from the stop.
Find home is unavailable while a homing setting shows an error; fix the value first.
The axis's motor program also carries these settings, and writes them into the motor each time it is loaded (see chapter 8), so a load keeps the motor's homing the same as this tab.
Note. A motor with version 2 firmware can't home at its very slowest speeds. If you set a home speed that slow, Contours sends such a motor its slowest workable speed instead, and keeps your setting as it is.