Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

LoomNet

Network server for loom controllers

Description

The program, available for PC using Windows (9x, Nt4, 2000) with TCP/IP protocol, establish an easy way to
transmit files to and from looms controllers, up to now only Staubli JC5 e JC4 are supported.
The transmission can be started from both sides, controller and PC, thus offering the maximum flexibility. By means
of a configuration file it’s possible to define name, type, IP address, status and home directory for each connected
loom, reducing operator errors and unauthorized accesses. A monthly log file will keep track of all operations, offering
a deep control on all server activities.
LoomNet, with its Monitor window, controls all loom status and which file are currently weaved; this give an
immediate view of the loom room and, accessing each controller, the possibility to send or receive any file. If the
Monitor has the proper configuration, all information’s are stored in a database, thus enabling a production analysis,
ordered by loom or drawing. These data can be integrated with other systems or used with LoomDB, a simple program
that can query all production data.
Another LoomNet option is available to simplify the controller’s hard disk maintenance; this deletes, upon request or
on a scheduled basis, all files not in use. Therefore all new productions will have to use the server data, avoiding the
usage of old versions

Installation

All loom controllers and the PC acting as server must be connected with a LAN (local area network), the PC must
have a Microsoft TCP/IP protocol with static IP address. The network administrator will assign all addresses, for PC
and controllers; all controllers must be configured as explained later.

LoomNet must be installed with its setup program, choosing the installation
directory on the disc that will store all loom data and logs. At the first execution
the user will be prompted for a password (fig. 1), this can be obtained from the
dealer giving the System ID printed at the top line of the password request
window. The password can be standard or demo, the second one will work for
30 days.
To complete the installation it’s possible to add a link to LoomNet into the Figure 1
desktop and also to the Programs->Startup menu.

The place for loom data is the directory Files (compulsory name !) the must be created into LoomNet installation,
into this one must be created all other directories used in the configuration file (see later). The Files directory will
be searched from LoomNet into the installation path, it’s also possible to use another root directory for Files, by
using the “From:” propriety in the LoomNet link.

At the program start all directories will be checked: these must exists, even without any data in it; in case of any error
LoomNet will inform the operator and stop the execution.

LoomNet – Version 1.6 User manual page. 1


Configuration

Hosts file
This is the only configuration file required. Regardless of which Windows version is used, the file must have
“hosts” as filename and exist in the Window directory, the one specified by WINDIR environment variable. The
syntax is the same as the standard hosts file, for each loom there must be a line with these information:
IP_address Loom_name #LNFlags=Loom_type,login,status,home_directory

The IP_address must be in the standard format: 111.222.333.444


Loom_name must not contain spaces or other non-alphanumerical characters, use only numbers or upper/lower case
letters.
The word #LNFlags= must be used exactly as shown, this is used by LoomNet to search for loom parameters; these
must contain, separated with comma (“,”), no spaces and in the same sequence:
Loom_type the type of controller: use only these keywords: “JC4” or “JC5”
login login name used in the controller configuration, any name is OK but jc4 or jc5 are better
status put “1” to enable the connection with LoomNet, “0” for all other.
home_directory directory for all loom files, specify only the directory name created under Files

Controller configuration
By using the embedded keyboard, all controllers netowork configuration must be specified with these information:
IP address The controller IP, the same specified in the IP_address of the hosts file.
Server address The IP used for the TCP/IP network configuration of the PC where LoomNet is installed.
User name The one used as login in the hosts file (“jc4” or “jc5” if used as stated in before)
Password Always “Staubli” (compulsory !) all controllers JC4 or JC5.
Login prompt Always “login:” without uppercase or trailing or leading spaces
Password prompt Always “password :” without uppercase or trailing or leading spaces

Windows configuration
For a correct log file creation, the system date must be in short format: dd/MM/yyyy
Access this parameter al follow:
Control panel ? ?International ? Date ? Short date ? ?? ? /MM/yyyy.

LoomNet – Version 1.6 User manual page. 2


Usage

If the program has a correct password and valid configuration, the


main window will appear (see fig 2).
On the left side will be shown the sum of all looms found in the
hosts file, only the one enabled will be considered; with the
Monitor button, if enabled, the loom control window will be
shown, Send file will open a dialog used to send data to a
controller.
On the right side is shown the server status; green for server
enabled, red for disabled, yellow during access from a controller,
the loom name and connection start time are also displayed.
With Close connections the server can be stopped or Figure 2
restarted.
The yellow cylinder icon close to Monitor, if present, shows an active database connection.
With menu Auto delete it’s possible to start or configure this function.

Remote connection
When the program is active and enabled, it acts as network server for all looms, one at a time. The loom operator can
use the controller keyboard to request one of the files stored into the loom home directory (see “Configuration” above).
When a connection is established the server status will show the loom name and connection time into the two right
boxes, with a yellow background. During file transmission, the top box will flash between red and yellow.
If connections are disabled, with Close connections button, the two boxes are red and the button become Enable
connections ; at program startup the connections are always enabled.

JC4 Controllers
To receive a file using the controller keyboard, use this sequence: Motif->Motif transmission->Network
server , after a small delay the controller will show the list with all server files. Select the desired one, press Select
e then Set, the file will be transmitted from the server with a message at the completion, press Clr to close the
connection. When the home directory has more than 200 files, the server will send the list broken in 200 files groups,
to see all files the operator must repeat the connections start many times, until the group with the requested file is
shown. This is a LoomNet workaround to bypass a JC4 controller limitation.

JC5 Controllers
Like for JC4 from main menu select, Motif->motif handling->network; select one or more files from the
list and press Confirm selection. The file is transmitted with a confirmation message, press OK to close the
connection. JC5 controllers don’t have any limitation on the file list size.

File transmission
This dialog (see fig. 3) is started from the main window Send file
button.
Select a file and destination loom, taking care that the program works
differently if the first selection is made in the file to send or
destination loom: by choosing a loom, the home directory will be
automatically selected, clicking on a file or directory, the program
will not change it when selecting the destination loom.

When both file and loom are selected, the


Send button will be enabled, pressing it
will start the file transmission. A small
window ( see fig. 4) is displayed during
the transmission.
Figure 4 The file selection can be single or
multiple, using Shift and Ctrl as Windows standard; in this case
Figure 3
all files will be transmitted one at a time, every one with its window.

LoomNet – Version 1.6 User manual page. 3


Monitor
In the main window (Fig. 2) it’s visible the Monitor button, this open the window displayed in Figure 5, that is a view
of the loom room. The window state (open or closed), size and position are always remembered; by using the
appropriate width, it’s possible to have a Monitor window that is similar to the loom real placement. Any disabled
loom will cause an empty space in the monitor.

Figure 5

All configured looms (file hosts) are displayed in rows, from left to right; the above figure use the following file:
# LOOMNET configuration start
128.9.51.48 Telaio48 #LNFlags=JC5,jc5,1,9600_FILI
128.9.51.9 Telaio9 #LNFlags=JC4,jc4,1,20000_ FILI
128.9.51.7 Telaio7 #LNFlags=JC5,jc5,1,20000_FILI
128.9.51.5 Telaio5 #LNFlags=JC5,jc5,1,20000_FILI
128.9.51.3 Telaio3 #LNFlags=JC4,jc4,0,9600_FILI
128.9.51.1 Telaio1 #LNFlags=JC4,jc4,1,20000_FILI
# this is only a comment
128.9.51.47 Telaio47 #LNFlags=JC5,jc5,1,9600_FILI
128.9.51.10 Telaio10 #LNFlags=JC4,jc4,1,20000_FILI
128.9.51.8 Telaio8 #LNFlags=JC5,jc5,1,20000_FILI
128.9.51.6 Telaio6 #LNFlags=JC5,jc5,1,20000_FILI
128.9.51.4 Telaio4 #LNFlags=JC4,jc4,0,20000_FILI
128.9.51.2 Telaio2 #LNFlags=JC4,jc4,1,2 0000_FILI
# another unused line
128.9.51.46 Telaio46 #LNFlags=JC5,jc5,1,9600_FILI
.
.
.
.
Looms Telaio3 and Telaio4 are disabled, therefore the Monitor will not show their position.

For each enabled loom there will be a frame with all information: name, type, drawing and status.
The state is represented with the background color:
Grey the controller doesn’t answer: it can be off or disconnected from the network.
Green loom weaving
Magenta loom stopped (first check)
Red loom stopped (after the second check)
The two colors, used to display the looms not working, distinguish between the ones that just stopped from those that
are not working from more time; the first time the loom is found not working the color become magenta, any other
time the color is made red. The time used to check each loom is 3 seconds, therefore the time between two checks
depends on the loom count.
In the above example all red looms are stopped, as a minimum, from at least 2 minutes:
8 rows X 6 looms = 48 looms – 2 not enabled = 46 looms 46 x 3 = 138 seconds

The loom under control is displayed with a cyan title.

LoomNet – Version 1.6 User manual page. 4


Clicking into one of the frames open a window (Fig. 6) that allow all
operations on loom files. All selected names can be deleted, renamed
or received (from the controller to the server).
The selection can be filtered using the top right box: after any change
exit with TAB or click into the list, it will be updated accordingly.
The filter acts at the name or extension start.

Example:
2.* will select all file beginning with 2,
the type is not checked.

Figure 6

Auto delete
As said before, this function deletes, on all controllers, all files not
used for the current production; the execution can be immediate or
scheduled for a later time (see Fig. 7).
After specifying time and cadence, select Enable deleting and
confirm with OK.

The Monitor, which must be always working, executes this function;


if the Monitor is started after the scheduled time, the auto delete is Figure 7
immediately started.

LoomDB
It’s the program provided to query the LoomNet
database created by the Monitor.

It must be considered as a simple tool that allows


simple database operations, like selecting all
activities for a single loom and/or drawing.

The database is queried when the criteria on the top


of the window are changed, the lower list contains
the daily totals (see Fig. 8).

With Detailed query the list contains all


records, which sum is in General query. This
will show the frequency and time of all activity
changes.
Figure 8

LoomNet – Version 1.6 User manual page. 5

You might also like