Services & support

Frequently Asked Questions about microIOC

1.) I have just a question about the "screen" command which was recommended to lunch the EPICS server in order to have the possibility to attache to the running process in the background. I have heard that you have some better experience with another mechanism than "screen". Could you tell me please what is that.


2.) Could you tell me please if procserv is the standard linux package (rpm ?) or it is the cosylab program?

3.) I would like to switch the keyboard keymap to spanish but the loadkeys  command is not available. The console-data package is uninstalled. Is there  another way to do it?

4.) I would also like to have ntp installed in order to synchronize the uioc with our gps receiver. Can I use the packages from official debian repositories or should I use only the ones you provide through the cosylab repository?

5.) Which epics release do you currently use? We would prefer Release 3.14.8.2 or higher. In addition, we want to be able to switch to a newerrelease in the future.

6.) I want to ask you, if you know how to set its network interface from autonegotiation to fixed 100 MBit/full duplex.

7.) We need the username and password for root.

8.) How to configure LAN2 interface? How to connect to static IP?

9.) How many ethernet ports have microIOC?

10.) Do the microIOCs have an USB port, and an VGA port?

11.) Which version of the ACS is preinstalled?

12.) Which version of the EPICS is preinstalled?

13. What size flash memory card would you use for the EPICS based system?


*****

1.) I have just a question about the "screen" command which was recommended to lunch the EPICS server in order to have the possibility to attache to the running process in the background.

I have heard that you have some better experience with another
mechanism than "screen". Could you tell me please what is that.


On microIOC, a 'procserv' process can be installed. This process runs
the IOC and exposes its input/output via a Telnet interface. To use
this, proceed as follows:

1. Make sure you are using development environment as provided by Cosylab.
2. Run 'uioc-console' to connect to the microIOC's telnet interface.

Possible problems:

a) 'procserv' package is not installed on the microIOC; install it using:
apt-get update
apt-get install procserv


b) the UIOC_TARGET environment variable in your development environment is not set correctly; it must contain the address of your microIOC

For more information, please refer to the microIOC Development Manual,
which comes with the development environment.

Security note: the telnet interface is not in secured in any way. This
means that anyone can connect to the IOC and control it remotely.
Therefore, in production environments, it is recommended that this
mechanism is not used, or that the entire network is secured.

2.) Could you tell me please if procserv is the standard linux package (rpm ?) or it is the cosylab program?

Procserv is  a Cosylab-packaged GPL program.
If you will not find it on your microIOC try these commands:

a) 'procserv' package is not installed on the microIOC; install it using:

apt-get update
apt-get install procserv


3.) I would like to switch the keyboard keymap to spanish but the loadkeys  
command is not available. The console-data package is uninstalled. Is there  
another way to do it?


The loadkeys command is part of the console-tools package.  
But to change the keyboard layout you will also need the keymap file(s)  
(unless you already have it/them). One way is to install the  
console-data package without the interactive interface by first running  
this in the console:

'export LC_ALL=C'
'export DEBIAN_FRONTEND=noninteractive'


After that you install the console-data package.  Then you can use the loadkeys command to select the proper keymap.  (Keymaps are found in /usr/share/keymap/i386/...).  Another way would be to copy the keymap file from a pc using the scp command.  
Example:
 
(Presume that 10.0.0.1 is the uIOC's IP)  

'scp es-cp850.kmap.gz root@10.0.0.1:'  This will place the keymap file in the /root folder on the uIOC.

4.) I would also like to have ntp installed in order to synchronize the uioc with our gps receiver. Can I use the packages from official debian repositories or should I use only the ones you provide through the cosylab repository?

I belive that a ntp client is already installed by default. We would  suggest that you use our package, as we have tested it and we know that  there are no major problems with it. If you wish you can also use any  package from the official debian repositories for the sarge  distribution.

5.) Which epics release do you currently use? We would prefer Release 3.14.8.2 or higher. In addition, we want to be able to switch to a newerrelease in the future.

We are currently using 3.14.7 version, but most of our applications are made in 3.14.6 version.

6.) I want to ask you, if you know how to set its network interface from autonegotiation to fixed 100 MBit/full duplex.

To force a mode for an interface add the following line to a bootup
script:

`mii-tool --force=100baseTx-FD eth0` (would be the same for eth1) The suggested file to add the command is /etc/rc2.d/S99rc.local

So on the microIOC, as root, run:
echo "mii-tool --force=100BaseTx-FD eth0" >> /etc/rc2.d/S99rc.local
If you need the same setting for eth1, just repeat the procedure with eth1 instead of eth0.

7.) We need the username and password for root.

Username: root
Password: cosylab12

8.) How to configure LAN2 interface? How to connect to static IP?

The microIOC's LAN2 interface has a pre-configured IP address which is closely related to the serial number. If serial number were XYYZZ, then IP address of the LAN 2 interface would be 10.X.YY.ZZ. Netmask is 255.0.0.0 and gateway is not set.

You must set gateway first if you want to use LAN2 or. static IP! To set gateway run microIOC and login  with user name and password that
we have already told you (root, cosylab12).

Then write:

*cd  /etc/network/*  -press Enter key
You are now in network folder!

Write:
*vi interfaces*     -press Enter key
pres *i* key to insert some changes into file

Go with cursor to LAN2 network interface and under netmask write:
*gateway * and your gateway address

Press *ESC* key, then *:wq*** key to save changes and quit.

Now you can access to microIOC trough static IP!


9.) How many ethernet ports have microIOC?

Two Ethernet ports 10/100 Mbits/s

10.) Do the microIOCs have an USB port, and an VGA port?

2x USB ports 1.1
1x VGA port

11.) Which version of the ACS is preinstalled?

ACS 5.0

12.) Which version of the EPICS is preinstalled

Epics 3.14.6 and 3.14.7 (3.14.7<)

13.) What size flash memory card would you use for the EPICS based system?

We use 128MB CF, it is enough for Linux OS, drivers, EPICS,...



microIOC is manufactured by Cosylab
 
microIOC M-Box-PMAC
One box solution for your motion control system
robust, flexible and safe – no additional circuitry needed Specially designed electronic interface leverages PMAC’s functionality providing:

If you have any questions about our products or services please contact us:

request for more



   home

   print

   sitemap