Académique Documents
Professionnel Documents
Culture Documents
Installation
Windows Vista / XP
20-sim Installation
2009, Controllab Products B.V.
Author: Ir. C. Kleijn
Disclaimer
This manual describes the installation procedure of the modeling and simulation package 20-sim and
related software and hardware products.
Controllab Products B.V. makes every effort to insure this information is accurate and reliable.
Controllab Products B.V. will not accept any responsibility for damage that may arise from using this
manual or information, either correct or incorrect, contained in this manual.
Information in this document is subject to change without notice. No part of this document may be
reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose,
without the express written permission of Controllab Products B.V.
Reference
Kleijn, C.
20-sim Installation
Enschede, Controllab Products B.V., 2009
Information
Controllab Products B.V.
Address: Drienerlolaan 5 HO-8266
7522 NB Enschede
the Netherlands
Phone:
+31-53-4893096
Fax:
+31-53-4892223
Internet: www.20sim.com
www.controllab.nl
E-mail:
info@20sim.com
Installing 20-sim
Table of Contents
1
20-SIM 4.1
1.1
Single License
1.2
Floating License
1.3
Classroom Kit
20-SIM 4C 1.1
2.1
Introduction
2.2
2.3
Installing 20-sim
2.4
Installing 20-sim 4C
3.1
Hardware
10
3.2
Software
12
4.1
Hardware
13
4.2
Software
15
INDEX
ii
10
13
16
Installing 20-sim
20-sim 4.1
Install 20-sim and start the program. If you do not have an installation version of the
program download it from the 20-sim website: www.20sim.com.
2.
Installing 20-sim
Copy the text to your e-mail program and fill in the data.
4.
Select the license type Test or Individual PC and Copy the text to a text editor, fill-in the
missing data and send it by e-mail to info@20sim.com.
Within two working days, you will receive an e-mail message back with a license file that is unique
for your computer.
5.
Overwrite the old license file 20sim.lic (click the Locate License File button to find out
where) with the new one.
If you have purchased multiple licenses, perform step 1 to 5 for every computer on which 20-sim
should be installed.
Install 20-sim on a workstation and start the program. If you do not have an installation
version of the program, download it from the 20-sim website: www.20sim.com.
2.
Installing 20-sim
Now the location where your license file has been stored is shown. By default this will be in the
C:\Program Files\20-sim 4.1\bin folder.
4.
Copy the license file (20sim.lic) to a location that is open to all users, preferably on a server.
5.
6.
Change the location of the license file so that it points to the new location (i.e. on the server).
7.
Installing 20-sim
8.
Select the license type Server License and Copy the text to a text editor, fill in the
missing data and send it by e-mail to info@20sim.com.
Within two working days, you will receive an e-mail message back with a license file that is unique
for your computer.
9.
Overwrite the old license file 20sim.lic (on the server) with the new one.
10.
Make sure that this file is open for every user: Every user in the network should have read
and write permission for this license file.
For other workstations, the procedure is easy: Install 20-sim and use the Locate License File
button, to point to the shared license file (server).
Installing 20-sim
Student License
A student license has no copy-protection but a time limitation of about one year. Controllab Products
B.V. will take care that every year a new student license is sent to the owner of a Classroom Kit.
1.
The student license has to be stored separately. You have to make copies whenever you
want to distribute this license (or place it on your intranet).
This license can only be used when copies are made from the original file. Once it has been used it
cannot be copied anymore. Of course the staff is also allowed to use the student license. This license
may also be used by students and staff at home.
2.
3.
Overwrite the existing license file 20sim.lic with the student license. Usually the
existing license can be found at: "C:\Program Files\20-sim 4.1\bin".
Floating License
The floating license will have no time limitation but it is copy protected. It allows you to use 20-sim
on multiple machines. For a floating license, all 20-sim programs use a license file that is stored on a
central location.
1.
Installing 20-sim
20-sim 4C 1.1
2.1 Introduction
20-sim 4C is a prototyping environment that allows you to connect 20-sim models to physical
systems. To test the proper working we have to check that both 20-sim 4C and 20-sim are installed
and a target is connected.
Cross Cable
1.
2.
The other end of the cross cable must be plugged into your PC computer.
It may last several minutes before your PC will notice that a cross cable is connected. So be patient if
20-sim 4C cannot make a connection immediately.
Network Cable
1.
2.
The other end of the network cable must be plugged into a switch or hub of the
network.
Use a 'normal' network cable to connect your target via a switch or hub to your network. If your
network provides a DHCP server the configuration is automatic. If your network does not provide a
DHCP server make sure your network is configured in the 192.168.1.x range and that your PC
computer has a proper connection to the network.
Installing 20-sim
2.
Make sure that you have a 20-sim license that allows you to run 20-sim 4C. Contact your
local distributor how to get such a license.
3.
4.
In the 20-sim Editor from the Tools menu click the Options command.
5.
In the window that pops up, click the Code Generation tab.
In 20-sim 4.0 you can enter the ini-file that is used for C-code generation.
6.
Note: depending on the location of 20-sim 4C, the path may be different. Enter you own path here.
The file targets.ini shows where 20-sim 4C is located. If you are generating C-code from 20-sim, the
code will be automatically transferred to 20-sim 4C.
20-sim 4.1
1.
2.
Make sure that you have a 20-sim license that allows you to run 20-sim 4C. Contact your
local distributor how to get such a license.
3.
4.
In the 20-sim Editor from the Tools menu click the Options command.
5.
Installing 20-sim
Now you will see an editor where you can enter the path to C-code targets and give these targets a
meaningful name.
7.
Installing 20-sim
2.
Make sure that you have a 20-sim license that allows you to run 20-sim 4C. Contact your
local distributor how to get such a license.
3.
Installing 20-sim
3.1 Hardware
For the proper operation of the Torsion Bar, a PC computer is required that is connected to the
Torsion Bar either directly with a cross cable or via a network. On the PC computer, the software
packages 20-sim Professional and 20-sim 4C have to be installed. This section describes how to
make the various installations. In the next sections we will run two models to test if the Torsion Bar
is working properly.
Power
1.
The Torsion Bar is delivered with a power adaptor that yields 12 V output. Depending on the country,
a 220 V or a 110 V input is used. Check if the power adaptor has the correct input voltage.
2.
Plug in the power cable just below the motor. Right of the power connector is the power switch.
The output of the power adaptor can be connected just below the motor. The input of the power
adaptor has to be connected to you local 220 V or 110 V supply.
3.
The power switch is located right to the power cable connector. If you switch it down some LED's on
the controller board should start to shine.
10
Installing 20-sim
Cross Cable
The network can be connected in two ways using a cross cable or a network cable. Using a crosscable to connect the host PC to the Torsion Bar is the recommended approach.
1.
Plug in the cross cable in the most left connector of the controller board.
The other end of the cross cable must be plugged in into your PC computer.
Note: It may last several minutes before your PC will notice that a cross cable is connected. So be
patient if 20-sim 4C cannot make a connection immediately.
Network Cable
1.
Plug in the network cable in the most left connector of the controller board.
2.
The other end of the network cable must be plugged in into a switch or hub of the
network.
Use a 'normal' network cable to connect the Torsion Bar Setup via a switch or hub to your network. If
your network provides a DHCP server the configuration is automatic. If your network does not
provide a DHCP server make sure your network is configured in the 192.168.1.x range and that your
PC computer has a proper connection to the network.
11
Installing 20-sim
3.2 Software
On the PC computer two software packages have to be installed: 20-sim 4.0 Profession or higher and
20-sim 4C 1.1 or higher.
1.
Install 20-sim 4.0 Professional or higher. For installation guidelines see chapter 1.
2.
In the examples, 20-sim models are used to generate C-code. These models have to be copied onto
your PC computer.
3.
Copy the example files from the CD-Rom (e.g. D:\Torsion Bar\20-sim\*.*) to a local folder
(e.g. C:\My Documents\Torsion Bar\20-sim\*.*).
Please check that you have read and write access to the local folder. Therefore we advise to copy
the files to the Windows "My Documents" folder.
12
Installing 20-sim
4.1 Hardware
To run the TS-7300 board, a PC computer should be connected, either with a cross cable or via a
network. On the PC computer, the software packages 20-sim Professional and 20-sim 4C have to be
installed. This section describes how to make the various installations. In the next section we will run
a model to test if the TS-7300 board is working properly.
SD-Card
1.
Power
1.
The Demonstration Kit is delivered with a power adaptor that yields 5 V output. Depending on the
country, a 220 V or a 110 V input is used. Check if the power adaptor has the correct input voltage.
2.
Connect the power adapter to the board as indicated in the next picture.
13
Installing 20-sim
Connect the power adaptor to the board at the opposite side of the network connector.
3.
You switch on the power by putting the power plug of the power adapter into the local grid. As soon
as the power is on, the LED's on the controller board should start to shine. The board will now
automatically boot from the SD card.
Cross Cable
The communication between the TS-7300 board and the host PC is established with a cross cable or
a network cable. A cross cable is used for a direct connection with the PC. A network cable is used for
an indirect connection through a network switch or other network components. Using a cross-cable to
connect the host PC to the TS-7300 board is the recommended approach for first time users.
1.
Plug in the cross cable in the most left connector of the controller board.
To most left connect or is used for both the cross cable and network cable.
2.
The other end of the cross cable must be plugged into your PC.
It may last several minutes before your PC will notice that a cross cable is connected. So be patient if
20-sim 4C cannot make a connection immediately.
Network Cable
1.
Plug in the network cable in the most left connector of the controller board.
2.
The other end of the network cable must be plugged in into a switch or hub of the
network.
Use a 'normal' network cable to connect the TS-7300 board Setup via a switch or hub to your
network. If your network provides a DHCP server the configuration is automatic. If your network
does not provide a DHCP server make sure your network is configured in the 192.168.1.x range and
that your PC computer has a proper connection to the network.
14
Installing 20-sim
Check if the potentiometer and the LED connectors are mounted properly .
The potentiometer connector has to be mounted on the DIO1 pins as indicated in the next figure. The
LED connector has to mounted on the DIO2 right pins.
4.2 Software
On the PC computer two software packages have to be installed: 20-sim 4.0 Professional or higher
and 20-sim 4C 1.1 or higher.
1.
Install 20-sim 4.0 Professional or higher. For installation guidelines, see the 20-sim
Getting Started manual.
2.
Install 20-sim 4C 1.1 or higher. For installation guidelines, see the 20-sim 4C Reference
manual.
In the examples, 20-sim models are used to generate C-code. These models have to be copied onto
your PC computer.
3.
Copy the example files from the CD-Rom (e.g. D:\TS-7300 Demonstration Kit\20-sim\*.*)
to a local folder (e.g. C:\My Documents\TS-7300 Demonstration Kit\20-sim\*.*).
Please check that you have read and write access to the local folder. Therefore we advise to copy
the files to the Windows "My Documents" folder.
15
Installing 20-sim
Index
20-sim 4.0
20-sim 4.0 Professional
20-sim Models
C-code Generation
C-code Generation dialog
Code Generation tab
Connecting
Controllab Products B.V.
Cross Cable
Floating License
ini-file
Installation
Installing 20-sim
Installing 20-sim 4C
16
6, 10
6, 10
10
7
7
6, 7
6
i
6, 10
2
7
6, 10
7
6, 9
license
License
Locate License File
Models
Network Cable
Registration/Update License
Request License
Requirements
Single License
Software
Windows
Windows 2000
Windows Vista
Windows XP
6
1, 2
2
10
6, 10
1, 2
1, 2
6, 10
1
10
6, 10
6
6, 10
6, 10