Training SceneryControl

Purpose; This training is ment to let future users give knowledge and let them train in the usage of the SceneryControl systeem

Necessary pre-knowledge: Common sense.

Required materials PC, module, 1 RC servo and a power supply from 12 volt DC.

What do you learn in this training?

Chapter 1: Files

Working with the helpfile

Chapter 2 Possibilities

Connections

What servo’s can you use

Chapter 4: New project

Setup of Elements

Chapter 5: External components

Gauge RC servo

Connect a LED

Connect a relay

Connecting a Sensor

Connect a DC motor

Chapter 6: Programming with the mouse

Chapter 7: In- en outputs

Digital input

Analogue input

Digital output

DC motor

Chapter 8: Counters

Chapter 9: USB control

Chapter 10: Extra tools for programming

Chapter 11 Pattern and graphic creation

Digital blink pattren

Analogue blink pattern

Make graph

Extra possibilities

Customize screen appearance

Change status bar

Chapter 12 Instructions to implement your installation

Implementing an already build installation:

Answers

Chapter 1: Files

Go to go to download/software en download/ helpand thento SceneryControl_nl. Download theEnglish version of the helpfile of SceneryControlv10_GB chm

You can place the file on your desktop. You will find it in the map “download” and you can drag it to the desktop.

If you have Vista, you need to unlock the file. Click right go to properties and select unlock.

Working with the helpfile

Double clicking on the icon, will start the helpfile.When you see a “+” in front of a subject, you can click on it and get more subjects. When you click the subject itself, it will display.

You can go back to the previous one.

You can also search for words by pressing “search” and type a word. Than you push on “subjects” and select “show” to see the subject displayed. When you want to go back, you push “table of contents”.

Furthermore, you can enlarge the helpfile by pushing the double square (right top) or drag

it with the arrows.

Question: Give two ways to find if a servo with multiplex connector, can be used with the module.

Chapter 2 Possibilities

  • Free software
  • Microprocessor controlled. Dim. 100 x 70 x 20mm
  • Dc or AC power supplybetween9 and 12 volts.
  • Possibility to control8 RC servos of5 volt.
  • Powers proportional servos.
  • Possibility to gauge and test RC servos
  • Load indication of servos
  • Four to five digital outputs for more motors, magnets and lamps.
  • Output rate up to 1 ampere.
  • Customizable analogue and digital light/sound effects.
  • Choice of16 light/sound effects.
  • Direct control of all outputs from program.
  • Two to three digital inputs for switches and sensors.
  • Counting ofrounds per minute (frequency) onanalogue input.
  • Recorder showing and saving input signal
  • Four analogue inputs for sensors.
  • Recorder showing and saving input signal
  • Digital voltmeter to measureanalogue input.
  • Counting ofrounds per minute (frequency) of analogue input.
  • USB port connection to PC.
  • Turntable control under development.
  • Programming with the mouse!
  • Precision0,1 sec.8 counters with256 steps.
  • Expendable with "Slave" modules.
  • Dynamic screen dimension and customizing of screen appearance

Question a: Are analogue outputs available?

Question b: Can SceneryControl be a master?

Connections

Put 12 volt DC power on the double print connector (do not use a switching power supply).

There are 4, 6 position connectors to connect external components.

Have a look for the connections in thatChapterof the helpfile.

There is a 8 position connector for RCservo connecting.

There is a MSIO pin 10.

Question c: What is the voltage on MSIO (measure)?

What servo’s can you use:

All RC servo's with a Graupner, JR of Futuba connector.

The servo connections are 1 t/m 8. Servo 1 is at the USB connector.

Remark: The signal wire (light wire, not red or black) sits at the processor side.

Chapter 4: New project

You start a new project by pushing File > New.

You select module type MK-1.(others are in development)

You will be asked for what purpose you want to use MSIO = Master, slave, input, output.

If you want to use many outputs, you make MSIO an output, be careful, this output can delver 20Ma only.

For more detail, go to the chapter “new project” in the helpfile.

You will be asked how many DCmotors (one direction or two directions) you want to use.

Give your project a name.

Question a: Can you change a MSIO later?

Setup of Elements

Go to Project > Customize and give the quantity of each element you want to use.

Give a name. You can make a choice out of counters, servo's, digital inputs, analogue inputs, digital outputs and DC motors.

Question b: Can you change the number of servo's later?

Question c: What warning did you get?

Question d: How do you get the total power consumption of all servos on your screen?

Chapter 5: External components

Gauge RC servo

You must have a connection with the module.

Place the USB cable between the module and your PC.

Go to menu Project > Customize, select the TabRC servo and mark the servo.

Go to the field “change”on the same line and you will get a new screen.

Drag the dragbar close to zero and push “minimum value”, than drag the drag bar to the right until the servo does not move anymore,

Push “maximum Value” and than “Linearfill” Push OKE to save. The servo is gauged.

Under “value”, displays the recalculation form percentage to degrees. F.i. 90% = 90 degrees.

(The number of steps per servo in the software is 127, so 90% is 114 steps).

You fill in degrees always.

You can use the gauge screen as well, to determine the desired position of an already built in servo, but do not push OKE than, the difference between position and degrees becomes too great then.

Question a: Why do you need to gauge a servo?

Connect a LED

You connect a LED via a resistor on a digital output.

Take 4k7 to start with. Read thechapter in the helpfile, about connecting a LEDfor precise calculation..

Question b: You want to connect a LED on a digital output of 16 volt. The LED consumes 2 mA. Calculate the resistor.

Connect a relay

A 12 volt relaycan be connected directly, but a 6 volt relay needs a resistor in series.

Read the chapterabout connecting a relay for precise calculation.

Question c: Calculate the resistor for a 6 volt relay with a resistance of 200 ohm. The output is 18 volt.

Connecting a Sensor

You can connect a sensor on a digital oranalogueinput.

For an overview of sensors see chapterAnalogueinput, digital inputand distance sensor in the helpfile.

You can gauge sensors with the recorder. You must have USB connection with the module (see above).

Connect teh sensor to the input and push.Now you see the signal and the height of the signal. One Scale division is 0.5 volt.

Read the chapter in the helpfile about the recorder for more detail.

Connect a DC motor

Be careful, the power on the output is 9 – 18 volt, thus select a suitable motor. With a 6 volt motor you destroythe module.

Chapter 6: Programming with the mouse

Read the chapterabout programming with the mouse in the helpfile.

Add a step on the first rcservo line name it “up” and give 30 degrees. Add a step directly after the first one, name it “up” also and give 60 degrees.

Make the First step 6 seconds and the second step 4 seconds.

Drag step 2 to the 12 second line.

Delete step 1.

See also tools for programming here after.

Question a: What is the length of an added step.?

Question b: Why can’t you add a step of 6 seconds?

Question c: What warnings did you ge.?

Question d: If the module should run, will the servo move?

Add a third step for the servo and name it “down”.

Question e:If the module should run, will the servo move and if yes, between which values

Question f: Find: What is the difference between a servo an a.stepper motor.

Chapter 7: In- en outputs

Digital input

Right clicking on a step will bring you to a new screen.

  • As soon as the value on the input of this step is:
  • Keep waiting until the value on the input is:

In both cases you have the possibility to chose between "Greater than" and "Smallerthan".

Here you let the program jump to another step under a condition, if the voltage is 5 volt or 0 volt.

Question a: What voltage is allowed on a digital input?

Analogueinput

Right clicking on a step will bring you to a new screen

  • As soon as the value on the input of this step is:
  • Keep waiting until the value on the input is:

In both cases you have the possibility to chose between "Greater than" and "Smallerthan".

Here you let the program jump to another step under a condition, if the voltage has a certain value.

Question b: What voltage is allowed on a analogueinput?

Question c: If an analogueinputis not connected, what is the voltage on the input?

Digital output

Right clicking on a step will bring you to a new screen

You see the choices on the screen.

When you select “blink”, you can control the blink pattern with the two dragbars.

When you select a digital or analogue pattern, that pattern has to be defined before, you do that with the icons and on the toolbar.

Question d: What could you control with a digital output? Give examples how to implement this.

Question e: What voltage is on a digital output?

DC motor

Right clicking on a step will bring you to a new screen

Here you can control the speed and the revolving direction of a motor.

He motor speed is PWM controlled, so the voltage remains VSS.

Chapter 8: Counters

Right clicking on a step will bring you to a new screen

You see the choices on the screen.

If you select continuous actions, you can let the counter react on a digital oranalogueinput or stop a previous action.

Question a: What can you do with a counter? Give examples.

Question b: What is the number of counters?

Chapter 9: USB control

During programming you want to see how the program executes the different steps and if that corresponds with what you expected.

There are two possibilities:
1. You are not connected to the module with the USB cable:
The buttons on the toolbar after do not work! But you can program.
2. You are connected with the module with the USB cable and used the button.
All buttons work and you can see the activated buttons in the time bar.
If you want to see what the module does, you have to open the corresponding project (the *.sdc file).
You can reprogram your step sequence now.
With the button you follow your step sequence, but not your module!
If you want to see the module sequence, you must first go to stap 0 by pushing the and than push followed by..
The red hairline moves and follows your module.
When you where connected via another module, you must push the button twice.
Below an overview of the available buttons:
Connect: The element values appear in theelement column.
Run: The red hairline moves.
Pause: Place the module in pause at the beginning of the next step.
Emergency stop: The module stops and all exits become low.
Start from step 0: Start form step zero.
Next step: Go to the start of the next step and wait.
Jump to step xx: Give the step number and jump to that step and wait.

Walk to step xx: Let the program walk to the step and then wait.

Load data: Load data from PC to module.
Select module: Select amodule from the list on the screen.
Module info: Information about connected module.
In the time line you see the active buttons.

If the timeline mentions, that the project number is wrong, or the module is wrong, you have not yet send the data to the module.
When you where connected via another module, you must push the button twice.

When wish the module to run stand-alone, you must disconnect the USB cable and interrupt the power supply to the module.

Question a: Can you change a step whilst thered hairline is running and if yes what do you see?

Question b: When you do a change, whydoes not the red hairline follow that change?

Question c: What action should you take if the timeline mentions that the project or module is wrong.

Chapter 10: Extra tools for programming

You have the next possibilities:

See what the various elements do during the step pattern:

When the red hairline runs, you can see in the left column the actual value of each element.

And you can see them change.

Measure the power value and patternon an input.

When you push you can see the power value and the pattern on a digital or analogueInput(s).

Change element values manually:

If the element values are not displayed in the column (you did not push use ) you can double click on the name of the element and a screen appears with the actual value.


Double clicking again closes the window.
Remark: When youused conversion, in the change name screen, the converted value displays.

When you right click on the element name, you can change the element value directly. You can move, reduce and enlarge these windows.

The number of elements, depend on the module you use.
When you have given a conversion rate in the change screen, the converted unit displays.

Question a: You made a step pattern, where in a counter must run until 20, after which the program must return to step 1. How can you check quickly if this works not 20 cycles).

Change the width of the element column

You can change the width of the column by double clicking under the word Timeline. Click more to the right and the column decreases, more to the left and the column increases in width.

Drag all steps behind this timeline

Place the cursor on a time column and hold the left mouse button, than you can drag all steps behind the time line, freeing space for additional steps.
The steps of all elements are dragged.

Consume free space

Place the cursor on a time column and hold the right mouse button, than you can consume all space.

Chapter 11 Pattern and graphic creation

Digitalblink pattren:

Menu > Project > Make your own blink > Digital blink pattern

OR

Push on the toolbar; the next screen displays:

Zoom in or zoom out

Pattern:
Selecta pattern in the second colum first and than load a pattern with the button "Standard" or "Laod form project". Then you change the time with the drawbag.

Load the pattern:

Pattern number with the present name
Load the pattern under its own name. You change the existing pattern.

OR

New name
Load the pattern under a new name.

Save as
Give a name and save the pattern.

Points within the pattern

Accept.

Store pattern:
You can save 16 resulting patterns wih a project number.

OR

Store with name

You can store a pattern under your own name.

At the selected point an impulse
Addor delete.

Change time of point x
Change the time with the drawbar.

Question a: Find the standard with Scenerycontrol delivered digital patterns.

Analogueblink pattern

Menu > Project > make your own blink > Analogue blink pattern.

Or

Pushon the toolbar.

The making of an analogue pattern works about the same as the digital pattern, except you can change both time and height of the signal.

Question b: For what purpose you can use an analogue pattern?

Make graph

Menu: Project > CustomizeAnalogueinputfield: “change”

You can make a linear orNON-linear graphic, so that you can let an input react on a distance sensor without a linear curve.If the sensor does not measure voltage, but pressure or light, you can give the conversion factor.

You can draw your own graphic as well.

Lineair graph

Maximum value at 5 volts

Here you specify the maximum value that should apply at 5 volts.

Description + unit

With the arrow button you select a description plus a unit. If your description is not listed, you can usethe field ? +? to specify your own description and unit.

Decimal Places

Enter the number of decimal places that you want to use.

Minimum value at 0 volts

Enter the minimum value that should apply at zero volts.

Linear filling

Press the button to fill the graph linear.

NON linear graph

Linear filling.
Press the button to fill the temporally linear graph.
Place the mouse arrow on the blue graph area and push the left mouse button. Quietly draw the graph according to the datasheet from i.e. the distance sensor. Release the button and drawing stops.

Question c: Give an application of the usage of a graph.

Extra possibilities:

Customize screen appearance

You can change many things in the screen,the font, the colour, and the dimension of various issues.

Go to Menu > Setupand have a look.

Change status bar

Double click on the status bar and have a look what you can change.

Question d:For advanced users:

How can you arrange that an arm of a digging machine will dig every next cycle 2 degrees more