Você está na página 1de 150

SIAX ED

INTEGRATED DEVELOPMENT SOFTWARE


FOR NUMERICAL CONTROL

Manual

SIPRO S.r.l.
Viale dell'Industria, 7
37135 Verona - ITALY
Tel. +39 045 508822 - Fax +39 045 585477
http:www.sipro.vr.it - e-mail:sipro@sipro.vr.it

M0000518 v2.7
Page 2 M0000518
SIAX ED Chapter 1: Introduction

Chapter 1

Introduction
The SiaxED program is an integrated software development
environment for Numerical Control programming, the construction of user-
programmable pages and the complete management of the NC itself.
A guided development environment is available for writing programs
in the SIAX language.
The information contained in this manual supplements that contained in
the PROGRAMMING MANUAL, since the function of this environment is
to provide a guide tool for creating programs that assumes a basic
knowledge of the numerical control programming system. The SiaxED
guided development environment allows writing a program in a guided
manner, providing an initial list of available commands, grouping them by
category and providing a guided system for setting the parameters of each
command, automatically managing the system, complete with labels, as
regards both numeric variables and constants. It also automatically manages
the reassignment of steps on the basis of the labels that identify them.
Finally, it manages the compilation of the programs and any programming
error reports.
In any event, there is an advanced development toolbox for more expert
users that allows writing a code freely, but organizing it in a project
structure and offering all compiling and debug functions in an integrated
form.
In addition, SiaxED User Pages allow users, using a practical graphic
interface on a Personal Computer, to construct and configure pages that will
be transmitted to the Numerical Control and then displayed on its LCD
screen. Or to create and maintain an analog system of pages to be displayed
through SiaxPLAY.
SiaxPLAY is the PC interface that is used to govern numeric controls
without their own LCD and keyboard,and it has a dedicated manual.
In this way, the user has the availability of a tool of great flexibility
through which to implement personalized graphic displays on the NC or
interface PC, that correspond to the specific needs of the machine, with the
typical production ease of a Windows environment program.

M0000518 Page 3
Chapter 1: Introduction SIAX ED

System Requirements
SiaxED is a 32-bit program that runs under Microsoft Windows 98/98 SE/ME/2000/NT/XP and
with Internet Explorer from version 5.01 on (in the case you have Win95, it requires updating to
Internet Explorer 5.01 or higher)(1) of which it uses API 32 and Microsoft ActiveX functions.
For this reason, the Personal Computer on which SiaxED is run must have the minimum
requirements of the operating systems listed above and, of course, more powerful hardware
provides the best performance.

Operating System Microsoft Windows 98/98SE/ME


/2000/NT/XP

CPU Pentium class 200 MHz


RAM memory 128 MB (min.)
Video Card SVGA 800x60065.536 colors
Hard Disk 4.3 GB (100 MB free space)

Mouse
Table 1-1 Minimum System Requirements

! NOTE For its correct operation, SiaxED requires that the period (.) be
set as the decimal separator for fractional numbers. This setting is
made in International Settings in the Windows Control Panel
folder.

1
- Microsoft Windows 95/98/ME/2000/NT/XP - are registered trademarks of Microsoft Corporation
Page 4 M0000518
SIAX ED Chapter 1: Introduction

Use of the Keyboard


The selection of operations to perform can be made with the mouse, by single-clicking on the
respective commands, or by using keyboard buttons following the Windows convention.

["| TAB] To change the Element of a window or selected Field.


[ESC] To cancel an operation or a selection.
[#SEND] To confirm a selection.
[ALT+ letter] To activate the menu item corresponding to the first letter of its name,
which is often underlined.
For example: [ALT+P] to open the Menu item Pages.
$%#& Cursor keys for moving between selections.
[SPACE] Space bar for selecting a checkbox.
[DEL] Deletes a selected element.

! NOTE The majority of SiaxED commands can be executed with either


the mouse or keyboard, however, some operations require the
specific use of the mouse.

M0000518 Page 5
Chapter 1: Introduction SIAX ED

Notes on Paths (Directories)


It is important to remember that the correct operation of the compilers for both NC and PLC
programs is:
1. the work directories that are used within the development systems must not contain spaces
or punctuation, but only letters and numbers. Is possible used _ (underscore)
2. the program SiaxED must be installed on C disk, accept the cartel indicated during
installation(c:\programmi\siaxed)

Page 6 M0000518
SIAX ED Chapter 1: Introduction
Installation
The distribution package provides for the use of a CD-ROM.
To install SiaxEd, open the CD-ROM drive and execute the file SETUP.EXE in the SIAXED
folder.
During the installation phase, you may be asked to restart the PC. In the event that your system is
not updated with Microsoft Data Object, you will be asked to update MDAC. To do this, from the
CD-ROM folder MDAC_2.50, execute the file: MDAC_TYP. Then, you must follow the
instructions on the screen: at the end, you will see the installation screen; select Typical Installation,
which will correctly install and configure the program in the default folder (directory2):

C:\Programs\SiaxED

Alternatively, it is possible to specify a different installation folder selected by the user with the
Change directory button. In this case, all references that will be made below to the folder
C:\Programs\SiaxED must be understood as referring to the folder selected by the user.

The program will create several subfolders in this folder for its own use.

Activation Code
Each new installation of the SiaxED program requires an activation code that must be requested
from SIPRO S.r.l. ( Tel. 045-508822 Fax. 045-585477 e-mail: sipro@sipro.vr.it).

The first time that you execute the program, you will see the screen shown in Figure 1-3 containing
the Product Code on the basis of which you will be provided an Activation Code that will make the
program completely operational.

Figure 1-3

2
In conformity with the terminology introduced with Windows 98, we will use the term Folder
rather than Directory
M0000518 Page 7
Chapter 1: Introduction SIAX ED
Settings
For the SiaxED program to communicate with the NC, it must be configured with the parameters
of the serial port being used on the Personal Computer.
The parameters are accessed from the menu InformationSiaxEdProgram Options

Figure 1-4
The window ofFigure 1-5 will appear, where you can set:
The number of the PC serial port that is connected to the NC
The transmission speed (Baud rate) of the port
Open/Close the serial port (if selected, the option involves closing the COM when Siax ED is
not communicating. We do not recommend its use, since it greatly slows down communication
with the NC)
The loader to be used for serial communication (by default the Flash setting)
The text editor for NC programming (enter the path)
The editor for PLC programming (enter the path)
The path to SiaxPlay
As regards the methods for connecting the Personal Computer and the Numerical Control and, in
particular, the type of serial cable required, we refer you to the NC documentation.

With version 3.01.02 03 Apr 2006 and subsequent, during start-up the SiaxEd program checks
the status of communications with the NC and, in the event it is not possible to communicate with
the NC, it executes an autotuning function to detect the serial port and baud rate used. Below, the
title bar shows the connected NC, the PC serial port and the serial configuration used (Figure 1-4a)

' Figure 1-4a

' ! ' IMPORTANT

' It is necessary to block baud rate changes in the cases the option
of connecting to the NC with a MODEM is used (see page Errore.
Il segnalibro non definito.)

Page 8 M0000518
SIAX ED Chapter 1: Introduction

! The PC Baud rate


must coincide
NOTE with that set in
the Machine
Parameters of the
Numerical Control

Figure 1-5 Settings Panel

During start-up, SiaxED checks the status of communications with the NC and, in the event this is
not possible, it generates a warning message: Communications Timeout.

Figure 1-6

After the message is confirmed, the program starts anyway; however, the serial ports will be
disabled setting the COM available in Figure 1-5 to None.
Every time that you attempt to send or receive data from the NC, you will see the message in Figure
1-7
In the event that the serial port configured in the Settings Panel of Figure 1-5 is not available
because, for example, it is being used by another application, the error message in Figure is
generated and the serial port is automatically set to None.

Figure 1-7

To resume normal communications, it will be necessary to reset the correct serial port from Figure
1-5 Settings Panel, and then close and restart SiaxEd.
This situation occurs, for example, when there is already a DOS session open with TXP that is
communicating with the Numerical Control on COM1 and SiaxED is started, which thus finds the

M0000518 Page 9
Chapter 1: Introduction SIAX ED
serial port busy; to resolve the problem, close the DOS window and reset in Figure 1-5 Settings
Panel.
Language of SiaxED
In the same Settings Panel, you can select the language used for the SiaxED menu, in the event that
the Dictionary file for that specific language has been provided.

Start Page Editor


From the Start menu of Windows 98/SE/ME, execute SiaxEd, and then select Programming from
the Siax menu.

Figure 1-8

To launch the creation of a new Personalized User Pages project, select Pages from the
Programming menu.

Page 10 M0000518
SIAX ED Chapter2:

Chapter 2

Development Environment
The SiaxED development environment allows writing
Numerical Control programs. The programs can be developed
using the internal editor, an external editor or guided mode.
Even if slower, this latter programming method allows writing a
program in guided mode and is, therefore, indicated for small
programs and primarily addressed to those who are new to
programming Sipro controls. By providing a list of available
commands and a guided interface for their compilation, it will
be appreciated most of all as an aid to become familiar with the
programming system. After a little bit of practice with this type
of editor, the user will be able to make use of advanced
programming as a quicker tool for developing applications.
Once a program is written using one of the three editors, it is
possible to compile it, obtaining a report of any programming
errors.
The SiaxED environment also includes a debugger that allows
checking program in step mode.

M0000518 Page 11
Chapter 2: D SIAX ED

Introduction to Programming
NC programming in the SiaxED environment can be divided into:

Expert programming
Assisted programming

Expert programming integrates the functions of editing and compiling programs in extended mode.
Programs are created as normal text files (with the extension .SRC) and are organized in a work
folder in which any definition (.H) files are also managed. In this environment, it is also possible to
launch the compilation of these programs and to consult the compilation information in the case of
errors. For editing programs, it provides the minimal editing functions that are integrated into
SiaxED but, since these are text files, there is the possibility of personalizing your work by selecting
any text editor whatever.
Assisted programming is meant to be an aid for those who are beginning to write programs for
Sipro controls for the first time. It allows writing a program by selecting the instructions to insert
from a list broken down into categories. Once an instruction is selected, a guided interface allows
setting the various parameters. Needless to say, this type of programming is only effective for
writing brief programs for teaching purposes and for deepening one's familiarity with the
instructions and their syntax. For the development of more complex applications, we recommend
the use of Expert programming, which is certainly quicker and more versatile.

Expert Programming
To access the free programming environment, select Expert Programming from the Siax
Programming menu, as in Figure 2-1, or click on the Program Editor button on the tool bar (Figure
2-2).

Figure 2-1 Figure 2-2

The Easy_Case window of Figure 2-3 appears, which presents the expert programming
environment.

Page 12 M0000518
SIAX ED Chapter2:

Figure 2-3

Description of the Easy_Case Window


The window offers a tool bar with all the operations that can be made during the editing of a
program (see Figure 2-3, above).
There is a window to the left (which is activated or deactivated with a key on the tool bar in Figure
2-4) that displays the program files and heading of the project that is active at that moment. It is
possible to change the size (reduce or expand) of this window by dragging its edges with the mouse.
Once you have selected the path, using the directory tree that is activated using the button provided
(Figure 2-5), you access the work directory where you can open an already existing NC program or
create a new one. By selecting one of the two options (opening an existing file or creating a new
one), you open the free programming editor, which can be internal, i.e., that provided by SiaxED, or
external, i.e., that selected by the programmer.

Figure 2-4

Figure 2-5

Internal Editor
In free programming, you can decide to use the internal editing functions, changing the program in
the box on the right (Figure 2-6) of the Easy_Case programming environment.

Figure 2-6

M0000518 Page 13
Chapter 2: D SIAX ED

Among other things, these functions provide a status bar that displays the line and column where
the cursor is located and a Find section where you can search for words within the program listing.
The editing functions provided by the internal editor are offered more as a tool for consultation and
making small program changes. For more efficient program editing, we recommend the use of an
external editor, which will certainly be more versatile.

External Editor
In free programming, you can also choose to use an external editor specified by the user. To select
the external editor, select the item Program Options from the InformationSiaxED menu, as
described in the chapter Installation. Enter the path of the Numerical Control's editor in the Editor
section of the settings window (Figure 2-7).

Figure 2-7

To activate the external editor, when you are in the Easy_Case window (Figure 2-3), click on the T
button (Figure 2-8) on the tool bar.

Figure 2-8

Page 14 M0000518
SIAX ED Chapter2:
Managing NC Programs
Once the program is written, you can perform the following operations.

! NOTE The files that are written must have the .SRC extension

Save or Save As
An operation that allows saving the program in the active project (visible in the window to the left).
To perform this operation, go to the File menu and select Save or Save As (Figure 2-9) or use the
buttons on the tool bar.

Figure 2-9
New
An operation that allows creating a new program. This can be one of two types:

- a true and proper program where there is a list of program instructions:


- a header where there are definitions of variables, constants, etc.

The free programming environment provides for the creation of the two types of files by selecting
the item New SRC (for program files) or New H (for header files) from the File menu (Figure 2-10)

Figure 2-10

or by selecting the appropriate buttons from the tool bar (Figure 2-11).

Figure 2-11: SRC create program file; H create Header file

M0000518 Page 15
Chapter 2: D SIAX ED
Erase
An operation that allows deleting a program or header file. Deletion takes place by selecting Erase
from the File menu (Figure 10) and confirming the request when prompted (Figure 2-12).

Figure 2-12

Compile
An operation that allows compiling the files that you are editing by selecting Compile <program
name> from the File menu (Figure 2-10) or the corresponding button on the tool bar (Figure 2-13),
or the entire project by selecting Compile All from the File menu (Figure 2-10).

Figure 2-13: File Compilation Button

! NOTE You must save the file you are creating before compiling it.

If the program was correctly written, the corresponding PRGxxxx.eep file is generated. The number
of the program that is generated corresponds to the number specified in the #prog section in the
program written. If, for example, the program is the one in Figure 2-14, where there is the line
#prog 3000,

Figure 2-14
the file PRG3000.eep is generated, which can be transferred to the control.

! NOTE If the compilation is successful, the .DBG and .SYM files used by
the debugger are also created.

If, on the other hand, errors were made in writing the program, error files (.EER) will appear in the
project file tree in the left window (LUBRIFIC.ERR in Figure 2-15).

Page 16 M0000518
SIAX ED Chapter2:

Figure 2-15

which will show the program lines where errors were encountered, along with the type of error
(Figure 2-16).

Figure 2-16
Easy_Case Window Tool Bar
In addition to the buttons described, there are other buttons that complete the Easy_Case free
programming window. Below, we show the icons along with a description of their functions.

ICON NAME DESCRIPTION


Activation of syntactic recognition with
Activates differentiation between Background, Text, Key
Syntactic Words and comments. (also see the Change Editor
Recognition Colors button)

Increases and They allow changing the size of the text font of the
decreases the file that is being programmed
text font

Cut, Copy, They allow managing the text editor


Paste, Cancel

Find, Go to They allow, respectively, finding a word in the


Line, Print text, moving to the specified line and printing the
file on the active printer

Loop Construct They allow the entry, respectively, at the current


Entry, Define cursor position, of the Loop construct and the
Construct Entry #Define construct.
Table 2-1

M0000518 Page 17
Chapter 2: D SIAX ED
During the entry of the Loop construct, by selecting the appropriate key, a window appears (Figure
2-19) in which you define the characteristics of the construct.

Figure 2-19
Loop Name
Entry of the name of the loop.

Counter Name
Entry of the name of the variable that will be used as the counter.

Increment/Decrement
Choice of the loop to increment or decrement the counter.

Cycles
Entry of the number of cycles to make before exiting from the loop.

Page 18 M0000518
SIAX ED Chapter2:

Assisted Programming
Assisted Programming allows writing a program by providing a list of available commands. The
programmer selects the instructions and sets the specified parameters in guided mode.

! NOTE Assisted Programming is intended for programmers who are


confronting programming, and its problems, for the first time. For
the expert programmer, we recommend using free programming,
which is more flexible, described in the preceding paragraph.

To access the assisted programming environment, select Assisted Programming from the Siax
Programming menu as in Figure 2-20.

Figure 2-20

The window in Figure 2-21 appears, where you can select the folder in which to create the new
project.

Figure 2-21

Once the work folder is selected, you enter the assisted programming development environment.

M0000518 Page 19
Chapter 2: D SIAX ED

Interface Window
The interface offered to the programmer fundamentally consists of three work tabs:
Program Tab
Definitions Tab
Compilation Tab

Program Tab

Figure 2-22

The tab offers two main windows: one above, which displays the program listing that is being
edited and one below that displays the list of available instructions.
These latter instructions are divided into categories based on the type of instruction. Each category
can be selected by clicking on the tab in the window that is found below (see Figure 2-22).
The command categories include:
Movement Instructions
Instructions for Managing Inputs and Outputs
Conditional Instructions
Calculations
Other Instructions

Entering Instructions
By scrolling through the instructions in the window below and selecting them, they are inserted in
the program window (the one above) and their relative parameters are set to their default values. In
the same way, be selecting the STEP and COMMENT buttons (Figure 2-23), it is possible to insert
steps and comments into the program, where necessary.

Page 20 M0000518
SIAX ED Chapter2:

Figure 2-23

By going to the upper box and scrolling through the instructions inserted in the program, it is
possible to click on them to activate their setting.
When you go to editing mode for a specific instruction, it is possible to use the space bar to scroll
through the individual parameters and a settings panel will be offered for each parameter (Figure 2-
24).

Figure 2-24

For example, in Figure 2-24 we are entering the parameters for Numerical Control instruction 80,
AX ValN TO ValQ, which is explained in chapter 3 of the programming manual.
As described above, after selecting the instruction, you have to enter the parameters. For the
instruction in the example, the parameters to be entered are:

ValN
Specifies a numeric variable parameter

ValQ
Specifies a level variable parameter

Once the values for the parameters are entered, the instruction is displayed in the upper window. As
subsequent instructions are selected, they are placed one after another in the upper window after the
relative parameters are entered. The list of instructions thus created constitutes the Numerical
Control program. In the example illustrated in Figure 2-24, there are already three instructions; they
constitute the program that is being created.

M0000518 Page 21
Chapter 2: D SIAX ED

The data insertion windows for the parameter are:

Value
Numeric value associated to the parameter that is being entered.

Constant
Name of the constant associated to the parameter. When you open the drop-down menu, the names
of the constants that are defined in the definitions tab appear (see Figure 2-24). Select the constant
that you wish to associate to the parameter and confirm with [SEND].

Variable
Value of the variable associated to the parameter. The value entered defines the VN, VQ or VB
used as the variable that contains the value of the parameter that is being entered. You can use the
variables that are defined in the definitions tab (see Figure 2-24).

Label
Name associated to the variable that is being used as the reference to the parameter that is being
entered. As for constants, you open the drop-down menu containing the list of all the labels present
in the program. Select the label that you wish to associate to the variable associated to the parameter
and confirm with [SEND].

It is possible to associate a definitions file to each program that specifies the variables and constants
used in the program (see the paragraph Compilation Tab).
If the definitions file 1 has been activated, among the various possibilities in the lists of labels and
constants, the parameter settings panel will also propose those defined in the context of the
definitions file used.
The definitions file is activated in the compilation tab (see the paragraph Compilation Tab).
Once selected, this file can be modified in the definitions tab where, for each NC constant or
variable value relative to the NC, it is possible to assign an identifying label.

Page 22 M0000518
SIAX ED Chapter2:
Define Tab

Figure 2-25

The define tab is presented as a set of sub-tabs, one for each type of variable managed by the
control (VB, VN, VQ) and one for the constants that the user can define.
The labels that will be defined in this page, relative to the file selected in the Compilation Tab, will
be used in the program tab during the phase of writing the program itself, when parameterizing the
individual instructions. The window that appears is the one in Figure 2-25.
The window also displays the name of the definition file that you are constructing (Ciao.SDF in
Figure 2-26). Once a variable is selected, you insert the label by using the appropriate window.
When you confirm with [SEND], the label appears alongside the variable in the active variables tab
(such as VB4 label Pippo in Figure 2-26).

Figure 2-26

M0000518 Page 23
Chapter 2: D SIAX ED
Compile Tab
This tab allows setting the general data during the editing phase that is necessary for compiling the
program.
In this tab it is possible to assign the definitions file used in the Define Tab to the program. To enter
the name of this file, you must click the Define File button (Figure 2-27).

Figure 2-27

A window appears (Figure 2-28) in which you can enter the name of the definitions file. A list of
the definitions files that can be used appears in the upper part of the window.

Figure 2-28

To compile the program, use the Create EEP button (Figure 2-29).

Figure 2-29

Once compilation is executed, the box to the right (Figure 2-30) will display any compilation errors,
specifying the program line containing the error and the type of error.

Page 24 M0000518
SIAX ED Chapter2:

Figure 2-30

The compilation generates an EEP format file that can later be transmitted to the NC for execution.
To send the EEP file to the NC, use the Store on NC button (Figure 2-31).

Figure 2-31

! NOTE The NC can only receive the programs that are sent if it is on the
TX/RX programs page (Talk with PC on the Program Management-
Main Menu of the NC), or in automatic mode in the Stop phase
(Automatic Cycle on the Main Menu of the NC)

If the program has been sent successfully, a confirmation message appears (Figure 2-32).

Figure 2-32

The compilation tab also contains a selection window Generate Debugger Data. When this
selection is enabled, in addition to the .EEP file, two other files are created with the extensions
.DBG and .SYM, that can be used by the SiaxED debugger.

In the Program Number window, you enter the 4-digit number that constitutes that final part of the
program name, PRGxxx.eep, that can be transferred to the NC.
In the Descriptive window, you enter the name associated to the program.

M0000518 Page 25
Chapter 2: D SIAX ED

PLC Programming
PLC Programming allows writing a PLC program using the PLC software.
To access the PLC programming environment, select PLC Programming from the Siax
Programming menu, as in Figure 2-33.

Figure 2-33

This takes you to the PLC programming environment (Figure 2-34) described in the PLC Software
user's manual.

The PLC environment can also be called using the icon on the Main Tool bar.

Page 26 M0000518
SIAX ED Chapter2:

Program Manager
The Program Manager allows performing program management on either the PC or the NC.

! NOTE The NC can only receive or send programs if it is on the TX/RX


programs page (Talk with PC on the Program Management-Main
Menu of the NC), or in automatic mode in the Stop phase (Automatic
Cycle on the Main Menu of the NC) or in Multiple Manual or Single
State.

To access the Program Manager select Program Manager from the Siax-Programming menu
(Figure 2-35),

Figure 2-35

or click on the icon on the tool bar (Figure 2-36).

Figure 2-36

The program management window appears (Figure 2-37). This window contains the list of
programs in the folder whose path is displayed in the lower part of the screen (Figure 2-37). By
clicking the button alongside the path, you can select a new folder from the directory tree on the PC
system you are using (Figure 2-38).

M0000518 Page 27
Chapter 2: D SIAX ED

Figure 2-37

Figure 2-38

The NC programs are displayed in the main window of the program manager. You can select the
type of file display using the icons on the tool bar (Figure 2-39).

Figure 2-39

The information relative to files is (Figure 2-40):

Figure 2-40

Num
Number of the .ISO or .EEP program

Descr
File label

Page 28 M0000518
SIAX ED Chapter2:

File
Name of the complete .ISO or .EEP file.

Size
Size of the file in bytes.

Files with the extension .EEP or .ISO can be displayed in the main window. The choice of the two
types of files is made with the icons on the tool bar (Figure 2-41)

Figure 2-41

With the Program Manager you can display the programs that are resident on the PC, by selecting
the folder as explained above, or the programs resident on the Numerical Control. The choice of the
two options is made by clicking on the icons on the vertical tool bar on the right of the main
window (Figure 2-42).

List programs on PC

List programs on NC

Figure 2-42

! NOTE The user programs (.EEP and .ISO) are written in machine
language and, therefore, are not legible. For this reason, it is always
necessary to have access to the .SRC source file.

Operations on Programs
The Program Manager allows sending, receiving and deleting NC programs. To perform such
operations, use the icons on the tool bar located to the right of the main window. The following
table describes the three icons. Before performing these operations, you must select the files on
which you wish to act with the operation (delete, send or receive) by clicking on the file name with
the mouse.

ICON NAME DESCRIPTION

Send Programs to the Allows sending the selected programs to the NC


NC

Receive Programs from Allows receiving the selected programs from the NC
the NC

M0000518 Page 29
Chapter 2: D SIAX ED

Delete programs on the Allows deleting the selected programs on the PC or NC


NC or PC (depending on which files are displayed, those on the NC
or those on the PC)
Table 2-2

During execution, a status window is displayed with the operation in progress.

Page 30 M0000518
SIAX ED Chapter2:

Debugger
SiaxED allows the controlled execution of the program on the NC with the use of the Debugger.
To access this function, select Debugger on the Siax-Programming menu (Figure 2-43),

Figure 2-43

or click on the icon on the tool bar (Figure 2-44).

Figure 2-44

The window in Figure 2-47 appears, displaying the program that is active on the NC on which you
wish to perform the controlled execution with the debugger.

! NOTE The debugger window displays the active program on the NC to be


executed only if the source files (.SRC, .EEP, .TMP, .DBG, .SYM)
are present in the directory specified by the path in the message bar
located in the bottom of the window (Figure 2-45).

Figure 2-45

Otherwise, to display the listing of the program to be executed,


search the directory that contains the source files by clicking on the
icon that opens the folder tree of the PC system you are using
(Figure 2-46)

Figure 2-46

Once the directory containing the source files is selected, the


program listing to be executed appears in the debugger window.

M0000518 Page 31
Chapter 2: D SIAX ED

Figure 2-47

In addition to the listing, the debugger window shows the information needed for managing the
execution of the program and a tool bar for controlling it.

! NOTE The execution of the program starts when you press the [START]
key on the keyboard while the NC is in automatic (Automatic Cycle
on the Main Menu). For this reason, if you wish to run the debugger
on a program, the NC must be in the Automatic Cycle state.

The information provided by the debugger is:

Program
It provides the number and name of the executing program.

Step
It provides the step being executed by the program being debugged.

Process
It communicates the process being executed in the case of debugging several processes in parallel.

Preceding Steps
Allows setting the number of steps displayed before the current step

Page 32 M0000518
SIAX ED Chapter2:

Above, to the right, there is also a message bar that provides the state of the system in the step being
executed (for a description of the states and their priorities, see the Structure of a Program
paragraph in the chapter General Programming Notes in the NC Programming Manual).

The icons on the tool bar and their functions are described in the following table.

ICON NAME DESCRIPTION


Activates the execution of the program in
Continuous Execution continuous mode. When this icon is active and you
press the Start key of the NC, the NC begins
executing the steps of the program in automatic
cycle until its end. At each step on the NC, you see
the movements of the axes, while in the SiaxED
debugger window, the step being executed is
highlighted in the listing with a background of a
different color. This method of operation does not
interfere with the execution speed of the NC. This
type of execution can also be activate by selecting
Free on the Debugger-Execution menu, or with the
F1 key.
Activates the execution of the program in
Controlled Execution controlled mode. In this operating mode, the NC
continues execution at the speed allowed by the
debugger. This type of execution can also be
activate by selecting Controlled on the Debugger-
Execution menu, or with the F2 key.
Suspends the execution of the program at the step
Suspended Execution that is being executed. When you click on the icon
Continuous Execution, Controlled Execution or
Step/Step Execution, the execution of the process
resumes. This type of execution can also be
activate by selecting Stop on the Debugger-
Execution menu, or with the F3 key.
Allows the execution of the program one step at a
Step/Step Execution time. After having pressed the [START] key on the
NC, every time you click on this icon, one step of
the program is executed. This type of execution
can also be activate by selecting Execute a Step on
the Debugger menu, or with the F4 key.

M0000518 Page 33
Chapter 2: D SIAX ED

Allows increasing the character size of the program


Increase Character Size listing. This option can also be activate by
selecting Increase on the Options-Character Size
menu, or with the F5 key.

Allows reducing the character size of the program


Reduce Character Size listing. This option can also be activate by
selecting Reduce on the Options-Character Size
menu, or with the F6 key.
Table 2-3

In the event that there are several processes executing in parallel, you can go from one process to
the other by selecting Change Process from the Debugger menu or with the F12 key.

In the case of step/step execution, below the code box there is also a list of the variables used by the
current step with the relative instantaneous values.

Name
Name of the variable used by the step being executed.

Var
NC variable used by the step being executed.

Value
Value of the variable used by the step being executed.

Page 34 M0000518
SIAX ED Chapter2:

PLC Commands
SiaxED provides commands for managing the PLC. To access this function, select PLC
Programming on the Siax-Programming menu (Figure 2-48),

Figure 2-48

or click on the icon on the tool bar (Figure 2-49).

Figure 2-49

The window in Figure 2-50 appears, which shows information relative to the PLC program
executing on the NC.

Figure 2-50

The information shown is:


Program Name
Name of the PLC program executing on the NC.

Program Size
Size of the PLC program in bytes.

Creation Date
Creation date of the PLC program.

Creation Time
Creation time of the PLC program.

M0000518 Page 35
Chapter 2: D SIAX ED
In addition to the information shown above, there are three icons whose functions are described in
the following table.

ICON NAME DESCRIPTION


Displays the state of the PLC on the NC. If RUN,
the PLC is executing, if STOP, the PLC is stopped.
PLC State To go from one state to the other, just click on the
icon.

Activates the PLC programming environment

PLC Programming

Activates the window that manages sending a PLC


program from the PC to the NC (Figure 51).
Activate PLC Send

Allows creating the message file that is necessary


for enabling the management of the PLC alarms
associated to the VBs from 101 to 255. If this file
Creation and is not created, the PLC alarms are not active. The
Modification of file is created using the text editor configured in
Message Files for the the SiaxED options and will be automatically
PLC generated in the folder specified as the Work Path
for the PLC.
Activates the window that manages sending a PLC
Sending Message Files program from the PC to the NC (Figure 51).
to the PLC Sending the Created Message File to the PLC. It is
necessary to restart the NC for this file to become
operational.
Tab le 2-4

Page 36 M0000518
SIAX ED Chapter 3: User Pages Management

Chapter 3

User Pages Management


Allows users, using a practical graphic interface on a Personal
Computer, to construct and configure pages that will be
transmitted to the Numerical Control and then displayed on its
LCD screen.

M0000518 Page 37
Chapter 3: User Pages Management SIAX ED

General Information
The personalized graphic pages, below called Pages for brevity, consist of Objects, which is to say,
graphic elements that can be Text, Numeric Variables (VN, VB, VQ or Level Var that allow
reading and setting the respective values), monochromatic Bitmap images in Windows format, text
and Bitmap Switches, Links to other pages and configurable NC Alarms.

Example of a User Page constructed with SiaxED and displayed on the 8x40 screen of an SIAX
150 Numerical Control

To access the Page editor, select Pages from the SIAX-Programming Menu
(Figure 3-0)

Figure 3-0

or by clicking on the icon in the tool bar (Figure 3-0a).

Figure 3-0a

Page 38 M0000518
SIAX ED Chapter 3: User Pages Management

Figure 3-1

Using an intuitive graphic interface, these objects are positioned in a page on a virtual LCD display
that represents that of the NC, so that you have a faithful representation of the page that will
effectively be displayed by the Numerical Control:

The pages are collected in a unitary structure called a Project consisting of one or more pages.
Each page is associated to one NC operational State and can be connected to each other to construct
complex displays.
The transmission of the project to the NC involves sending all the pages that comprise it.

The User Pages are displayed on the Numerical Control by pressing F2 or through a mechanism,
governed by the PLC, that is activated when the NC finds itself in a determined State (Menu,
Automatic, Manual, Semi-Automatic, Test, Emergency, etc.); you must program an appropriate VN
for this purpose.
On the other hand, in the case where you are working in Single State, the standard displays will
automatically be replaced by the User Pages, which must be Single State type pages.

Example of the realization of the User Page displayed in Figure 3-1

M0000518 Page 39
Chapter 3: User Pages Management SIAX ED

Figure 3-2

Page 40 M0000518
SIAX ED Chapter 3: User Pages Management

User Pages Editor


Project Management
The construction of one or more personalized User Pages begins with the creation of a New Project
that will hold all the elements that comprise it; a work folder is specified for the project that will
contain all the files that pertain to it.

Opening an Existing Project


When the Page Editor is started, you will automatically be offered the selection of the last Project
on which you worked; to reopen it, just confirm with [#ENTER]
Alternatively, you can select another existing project and reopen it, still with [#ENTER]

Creating a New Project

Figure 3-3
Select the folder in which you wish to create the new project or create it and then select it, at the end
confirming with [#ENTER].

Closing the Project


To close the Project in use and, if necessary, go to another, use the command from the PagesClose
Editor menu.

Pages Management
Default Page
Upon the creation of a new project, a Default Page is proposed that contains a single predefined
Object of type Link containing the Text Exit.

M0000518 Page 41
Chapter 3: User Pages Management SIAX ED

Figure 3-4

As shown further below, this Link Object has the purpose of allowing an exit from the page display
when it is activated on the Numerical Control. If it were not present, once the page in Figure 3-4
was displayed on the Numerical Control, it would no longer be possible to return to the other
display menus or pages, since there would be no command for exiting from the page itself or a link
to another page.

In the event that this is not of interest or you wish to replace it with another type of Link, you can
cancel this Link Object with the [DEL] key.

Page 42 M0000518
SIAX ED Chapter 3: User Pages Management
Saving a Page

Figure 3-5

After creating a page, it must be saved in the Project folder with the command PagesSave As.
At this point, a panel will be offered with its general characteristics, in which you must set the
type of page and the index, as well as the page's graphic characteristics. Then, after you have
confirmed the general data, you will be offered the saving interface where you can enter the
name of the page file and confirm the saving.
In the event that the page has already been saved previously and you wish to save additional
changes that were made to it, use the command PagesSave; in this case, the page will be saved
with the same name.

To rename an existing page, just save it with a different name using the command PagesSave
As; then, delete the old page with the F7 command, after having selected it in the upper part of
the window in Figure 3-5 (you will be asked to confirm the delete operation).

The name of the current project and the page in use appear in the Title Bar of the page window.

! NOTE File names can ONLY consist of ALPHANUMERIC characters


and the character _

Creating a New Page


To create a new page, use the menu command Pages New (as shown in Figure 3-5); a New
Default Page will be created in which you can insert the various objects.

If the currently displayed page has not yet been saved, at the time of creating a new page you will
be asked to choose between continuing the creation operation and losing the current page or,
whether to proceed to saving it with Save As.

M0000518 Page 43
Chapter 3: User Pages Management SIAX ED
Opening a Page
To open a Page that has already been saved in the project in use, use the command PagesOpen.

If the current page (including the default) has not yet been saved, you will be asked to choose
between continuing to open an existing page and losing the current one or to first proceed to save it
with Save As.

Deleting a Page
From the Page Open window, there is also a page deletion key available above to the right that
allows deleting unused pages by selecting them from the list of .PAG files.

Project Info
From the PagesProject Info - File set menu, you call a window that displays project summary
information.

Figure 3-6

Name of the Pages inserted in the Project and their size in bytes.
Database (Archives) present and their size in bytes

1. Texts Database
2. Bitmap (Images) Database
3. Text and Graphic Switch Database

Total size of the Project.


Indicates the total memory used when the project will be transmitted to the Numerical Control.

From the Pages - Project InformationPage System menu, you can display the link tree of the
created project pages.

Page 44 M0000518
SIAX ED Chapter 3: User Pages Management
Display Modes
ZOOM
The video window that contains the displayed page can be resized (ZOOM) with the [+] and [-]
keys.

PANNING
Whenever you use a high enlargement, the usable area of the visible page will be reduced. To
facilitate the display, you can move the portion of it that you wish to display ( PAN ) within the
page using the key combination:

[CTRL] + [$%#&] Cursor direction keys

SELECTING AN OBJECT
To select one of the Objects present in the page, use the mouse, clicking on the object in
question; it will be highlighted by flashing or only on its edge (See Paragraph 0) .

Alternatively, you can move the selection between the various Objects using the [SPACE BAR]
which selects the next object every time the key is pressed, until it cycles through all the
elements on the page.

! NOTE When some objects is partially hidden by another superimposed


object, it can be practical to use the [SPACE BAR] to select it.

DELETING AN OBJECT
The selected object can be deleted from the Page using the [DEL] key.

Display Options
From the Options menu, you can adjust several options relative to the manner of displaying objects.

Auto Size ()Activate/Deactivate)


Automatically adjusts the size of the field displayed for an Object of type Text or type Link to
the length of the associated text. For Objects of type Text Switch the length is set to the
maximum value of the texts represented by the Switch.

When this option is deactivated, the size of the display field can be adjusted, after selecting the
object, with the use of:

[SHIFT] + [#&] Increase/Decrease Field Width


[SHIFT] + [$%] Increase/Decrease Field Height

M0000518 Page 45
Chapter 3: User Pages Management SIAX ED

Figure 3-7

Cursor Width (Band/Edge)


Type of highlighting of the currently selected object. You can modify the size of the cursor edge
(1: thin 9: thick).

Figure 3-8

Compass
Defines the display mode of the Compass for the INPUT fields.

Set Default: default compass connections


Show: activates or deactivates the compass
Connection Style: fine or thick connection
Position: internal if arrows internal to the object field, external if arrows external to the object
field

Object Box
Type of surrounding used in displaying the Objects in the Page

Figure 3-9

Page 46 M0000518
SIAX ED Chapter 3: User Pages Management
Name: No type of surrounding highlights an Object field
Character: Single characters of the Object field are surrounded
Outline: Only the external outline of the Object fields is highlighted

None Outline Character

Figure 3-10

Grid
Displays a reference Grid for positioning the characters.

Figure 3-11

Figure 3-12

M0000518 Page 47
Chapter 3: User Pages Management SIAX ED
)Active: when Active, the positioning of Link/Bitmap Objects occurs on a Grid preset by the
GridSet command.
Normally corresponds to the 6x8-character Grid on the display of the Numerical Control, can be
changed with the Set command (Figure 3-10)

Figure 3-13

Sets the X Grid Step in Pixels


Sets the Y Grid Step in Pixels
Sets the Grid Step:
As 6x8 or 12x16 Font
(Standard Numerical Control font)

Active: when Deactivated, the positioning of the Link/Bitmap Objects occurs on a Grid
corresponding to the Pixel map of the Numerical Control display

)Visible: when selected, a reference Grid is displayed to facilitate the positioning of the
Objects, as can be seen in Figure 3-12.

! NOTE When the Grid is DEACTIVATED, the positioning of the SiaxED


Text, Number and Link in Page Objects occurs by Pixel,
HOWEVER their display on the screen of the Numerical Control
ALWAYS occurs on a grid of 6x8 Standard Characters.

On the other hand, the Bitmap Images can be positioned by Pixel


on the Display of the Numerical Control.

Page 48 M0000518
SIAX ED Chapter 3: User Pages Management
Page Settings
The General Data settings on the menu in Figure 3-14 allow adjusting the Page characteristics in
relation to the Numerical Control used and the type of display that it has.

Figure 3-14

Some of the functions implemented have been provided for use with future versions of Numerical
Control firmware but currently have no effect.

1
Figure 3-15

Figure 3-15 represents the General Data Settings page on the Pages menu.
1. Name
Displays the name with which the page was saved in the current Project.

2. Code
Unique Numeric Code that identifies a Page relative to a State (Type)

3. Color
Background color of the Page displayed in SiaxEd (settable with the F1 key)
0 Page Background Black
15 Page Background White (recommended)

M0000518 Page 49
Chapter 3: User Pages Management SIAX ED
This setting has NO effect on the pages displayed from the NC.

! NOTE The display of the Numerical Control will nevertheless have a


white background and black characters.
The Input fields will be displayed in reverse: Black background
white characters

4. Format
Specifies the dimensions of the display of the Numerical Control (TARGET) on which the
User Pages will be displayed. The following formats are currently implemented for Graphic
Displays:

'
The 320 x 240 x b/w VGA configuration is to be used with pages for SIAX80 controls
The 320 x 240 x 256c VGA configuration is to be used with pages for SIAX100 controls
and To5.7 Terminals with STN display
The 320 x 240 x 16 Bit VGA configuration is to be used with pages for SIAX100 controls
and To5.7 Terminals with TFT display
Configurations greater than 320 x 240 can only be used for pages constructed for PCs
and with SiaxPLAY interface

5. Keyboard Type
Specifies the type of Keyboard in use on the Numerical Control (TARGET) on which the User
Pages will be displayed; it effects the keys available for the controls associated with the Page
Links (HotKeys) used for going from the display of one page to another.

6. Page Type
Each User Page is connected to an operating STATE of the Numerical Control and can only be
displayed when the Numerical Control is in that State.
There are also User Pages that are NOT associated to any specific state of the Numerical
Control, called Free Pages; these can be called from any other page.

However, the first page of a project (the lowest Index page) must be linked to a State while the
others can be Free.

Page 50 M0000518
SIAX ED Chapter 3: User Pages Management
The same Free Page can be called from other Pages associated to different states.

Page Type STATE of the Numerical Control


Free Group 1 None
Free Group 2 None
Free Group 3 None
Menu Main Menu of the Numerical Control
Automatic Automatic Cycle
Manual Manual Movement
Parameters Machine Parameters Axes
Test Test Mode
Test Speed Test Speed (with Axis movement)
Semi-Automatic Semi-Automatic
Zeroing Axis Zeroing
Program Editor Numerical Control Program Editor
Emergency Emergency
Single State Single State
Table 3-1

The Free Pages Groups 1, 2 and 3 are special pages that can be recalled from any NC state.

7. Page Index
Numeric Code that identifies a Page relative to its operating state (Type).

Its value varies from 1 to 255 and is selected from the drop-down menu of the corresponding
field in the window in Figure 0-22.
The Page Index farther below, relative to a certain State, identifies which will be the first page
displayed by the Numeric Control when F2 is pressed on the NC.

8. Load Password
NOT implemented.

9. Edit Password
NOT implemented.

10. VN index for Hiding Mask


The index associated to the VN that is used as a reference by the hiding masks of the objects on
the page.

M0000518 Page 51
Chapter 3: User Pages Management SIAX ED

Objects in Page
The elements positioned in the Page are called Objects.

They are located in Page from the Objects menu, as in Figure 3-16, or, alternatively, they can be
activated with the associated Function Keys.

Figure 3-16
Types of Objects

TEXT
This is a Fixed Alphanumeric Text displayed on the screen of the NC with the character fonts
available for that type of display.

All the text inserted in a page must be predefined in a Text Date Base archive, through which it
is possible to manage the conversion to several languages.

Special characters and accented international characters are NOT supported.

NUMBER
Represents the most articulated object, it can represent a wide range of numeric information
coming from the Numerical Control.

They can be Read Only numbers for the sole purpose of displaying data, or Read/Write, thus
allowing the entry of numeric values into the system through INPUT FIELDS . The Write Only
option is not implemented.

For each Object Number it is possible to define the number of whole and decimal digits
displayed, a Minimum and Maximum for the range of values allowed and any Scale Factors,
understood as multipliers to powers of 10 (10, 100, 1000, ... 0.1, 0.01, 0.001, )

Page 52 M0000518
SIAX ED Chapter 3: User Pages Management

Type of Object Number Description


Binary VAR NC VB Variables
Numeric VAR NC VN Variables
Level VAR NC VQ Variables
Digital IN Digital Input Status (0/1)
Digital OUT Digital Output Status (0/1)
Analog IN Analog Input Read Value
Analog OUT Value Sent to an Analog Output
ENCODER Hardware Counter Encoder (Real)/Software
LEVEL (see Table 3-10) Read NC Axis Level
Alphanumeric VAR NC VA Variables
Origin Read and Set Axis Origins
Table 3-2

BITMAP
They are monochromatic (black/white) Images in Windows Bitmap format (BMP) displayed on
the Graphic Display of the NC.
Their dimensions are limited by the resolution of the Display used on the Numeric Control:
240 x 64 pixels, or 240 x 128.

Before being used, also the Bitmaps must be registered in the Bitmap Date Base in advance.

! NOTE It is possible to create a BMP Image with the aid of any graphics
program available in the Windows environment (such as Paint
available as part of the Windows Accessories), so long as you are
careful to save the image in monochromatic (2-color, B/W) BMP
format

LINK
These are special Objects that have the function of allowing a jump from the current page to
another, thus creating a very flexible structure for changing pages.
They are displayed in Page by associating them to a Text or Bitmap, or they can be invisible;
they are usually associated to a key (HotKey) on the Numerical Control, that triggers the change
page event when pressed.

ALARM
These constitute the interface between the NC's alarm management and the User Pages; in the
current version, they can display a Fixed Alarm Text (FLAG) or a LINE of Text (Message)
corresponding to a particular Alarm detected from the NC through the Binary Variables
provided for this purpose, VB101-VB255.

They rely on the Text Database for the Message Text to display.

M0000518 Page 53
Chapter 3: User Pages Management SIAX ED
Text \ Bitmap Switch
These are special Objects that are particularly useful for realizing advanced man-machine
interfaces.
In short, they correspond to Text or Bitmap Objects that can change depending on the value or
status of a Variable associated to them; so, for example, the change of a VN can force the
display of a Text or Bitmap associated to a particular value or a range of values.

Using Switches, you can configure variable and parametric displays with Texts or create true
and proper graphic ICONS using Bitmaps; moreover, these techniques can be used to create
simple graphic animations.

These same Switches not only allow reading the Variables, in a manner of speaking, by
representing them parametrically, but also allow setting them by writing predefined values into
the associated Variables: Read/Write Switch.

For example, suppose that VB500 associated to a Switch is defined as follows:

TEXT Value
ON 1
OFF 0

Once the page that contains this Switch is set to the NC and activated, the words ON or OFF
will appear on the display of the control depending on the value of VB500.

If the same Switch is set to Read/Write, then the Switch becomes an Input field that, when it is
selected (highlighted by reversed white on black on the screen of the NC) can be switched
ON/OFF with the [] key of the NC and, when confirmed with [ENTER], VB500 will be set to
the corresponding value.

The same example could be accomplished by associating Bitmaps to VB500 that represent
Graphic Icons instead of Text:

BITMAP Value

" 1

# 0

The two icons defined as Bitmaps will appear on the display of the NC depending on the value
of VB500; as an Input Field, they can be switched between each other with the [] key of the
NC and confirmed with [ENTER] by writing the associated value in VB500.
The management of the associations between the elements of the Switch (Text/Bitmap) and the
corresponding Values occurs through a Switch Tables Database provided for the purpose.

CLONE
Duplicates a selected object and all its compass selections.

Page 54 M0000518
SIAX ED Chapter 3: User Pages Management

Attention. The limits in defining objects are as follows:


max. no. of objects in page = 64 (some firmware versions allow a higher number)
max. no. of VAs in page = 16
max. VA length in page = 40
max no. of hot keys in page = 32
max. no. of texts in page = 640
max. no. of active alarms in page = 64
max. no. of Bitmaps in page = 128

BROWSER
Displays a window with the list of all objects present in the page.

Selecting, Changing and Moving Objects

All the Objects inserted in a Page can be selected with a mouse click or cyclically with the [SPACE
BAR] key. When an object is selected, it is highlighted by the flashing cursor selected (See
Paragraph - Display Options Cursor Style).

Each time you press the [SPACE BAR] key, the next Object on the Page is selected. When it is
difficult to display a selected Object, we recommend changing it from the Menu Display Options
Cursor Style in Band.

Once selected, to change the characteristics of an Object, use the [#ENTER] key or double-click
with the mouse, and the specific configuration window for that Object will appear; in this way, you
can change the settings that were defined when it was created.

To move the Objects on a page, you can ONLY use the cursor keys [$%#&]; you must first
select the Object that you intend to move and then drag it to the desired position using the cursor
keys.

A selected Object can be deleted from the Page with the [DEL] key.

! ATTENTION!
This Operation is IRREVERSIBLE

When two Objects are partially superimposed, it is possible to select the one in the foreground using
the command from the Menu ObjectsMove to Foreground, or ObjectsMove to Background to
place the selected Object in the background ([CTRL]+F or [CTRL]+B from the Keyboard)
The Status Bar (Figure 3-17) located in the bottom of the SiaxED window, shows the reference
position (left upper corner) of the selected Object in Pixel coordinates and Line/Column
coordinates.

Figure 3-17

M0000518 Page 55
Chapter 3: User Pages Management SIAX ED

Text Database
The associations between the Text Objects located in the Page and the corresponding Texts
displayed are managed in the Text Database.

So, to display the text Number of Pieces in a Page, you must enter a Text Object with the
associated Text Code = 8 corresponding to the Italian language version in the Text Database.

In Multilingual management, you must provide the translation of the text for the same code in the
various languages defined, always in the Text Database.

Numero Pezzi VN386 = 1


First Language -1

Page displayed by the NC in Italian

Number of Pieces VN386 = 2


Second Language - 2

Page displayed by the NC in English

Text Database
TEXT Object Text Code Text ITA -1 Text ENG-2
(Text Code = 8 ) 1 Exit Exit
2 Page Page
.....
8 Numero Pezzi Number of
Pieces
Index VN Language=100 ...

Switching between the various Languages is controlled by a selection VN whose Index is defined in
the Text Database. For this purpose, we recommend using VN386, which contains the number of
the language set in the Machine parameters. Alternatively, any other VN can be used but, to
guarantee the permanence of the Language selected even after power-off, we recommend using a
buffered VN.

For example, the selection of the Language can occur through a Text Switch associated to the VN
Index Language with the predefined values (ITALIAN - 1 ENGLISH - 2 FRENCH - 3, ...); by
positioning this Switch in a Page we have the possibility of changing the interface language of the
Numerical Control directly with a command in the Page using the NC's [] key. To display the page
on the NC in the new language, it will be necessary to exit from the Page display and then reenter
with [F2].

Page 56 M0000518
SIAX ED Chapter 3: User Pages Management

! NOTE If other Languages are not used, it is NOT necessary to define a


Current Language VN Index, the Predefined Language will be Italian.

The Text Database is managed from the menu in Figure 3-18

Figure 3-18

Once the Text Database is opened in Edit, the window in Figure 3-19 appears, which displays the
list of texts already entered in the Database for the selected Language (1-ITA).

The Text for Code 00001Exit is predefined in the Database, since it is associated to the default
Link that is placed on every new page created.

Figure 3-19 Figure 3-20

To add a Text, you go from the Text-Add Menu offered in Figure 3-20, with a predefined Code
(that can be changed) associated to the Text that will be entered in the box below.

To Change an already existing Text, use the Text-Change Menu command (Figure 3-20), or just
double-click or press [ENTER] on the Text that you want to change; you will be asked to confirm
the text replacement operation.

To Delete a Text, just execute the Text-Delete command from the Menu or use the [DEL] key.

M0000518 Page 57
Chapter 3: User Pages Management SIAX ED
There are also Import and Export functions provided (Figure 3-20). The Export function saves a
.TXT file in the current work directory (where the pages are saved) in which the data is saved in the
following way:

Example of saving data in a .TXT file with the Export function

00000:ITA
00001:Exit
00002:AUTOMATICO
00003:LUNG.PEZZO
00004:DA TAGLIARE
00005:PROG
00006:QUOTA CAR
00007:TAGLIATI
00008:QUOTA T
00009:VEL
00010:LAMA
00011:DISC
00012:ASSORB
00013:SBAND.
00014:LOC

With the Import function, you import the .TXT file into the work Database from the work directory.

! NOTE The .TXT file that is imported or exported with the Import and Export
functions must reside in the same work folder as the user pages. For
example, if the pages are saved in the folder PAGES, then the .TXT
file of the Text Database must also reside in that folder.

Page 58 M0000518
SIAX ED Chapter 3: User Pages Management
Alarm Text Database
The sequence of Alarm messages associated to the Alarm Object, is inserted as a list of Texts
corresponding to a series of sequential Codes defined beginning from the Code of the First Alarm
(corresponding, in the NC, to Alarm VB101).
The Code immediately preceding the First Alarm (marked as F) will be the generic message
(FLAG) signaling the presence of any Alarm displayed by the Flag Alarm Object.
Conforming to the PLC system of the Numerical Control, 155 alarms can be managed that, for this
reason, will use 155 + 1 (FLAG) = 156 Text Codes, which must be sequential.

! NOTE The ALARMS on the NC (VB101-256) must be activated through the


PLC by associating the list of messages to the PLC Data Files.
(See the Programming Manual of the Numerical Control)

For example, let's construct a Text Table for the Alarm Messages beginning from Code 251 (a value
selected at random) to manage 6 Alarms.
We have to use Code 250 as the generic ALARM FLAG, which will be displayed by Alarm Object
FLAG, when any alarm occurs; which is to say, when any VB between VB101VB255 switches to
1.

Code Type Text Alarm VB Notes


1 Exit
2 Page
3 Number of Pieces
....
10 Work
...
...
250 F ALARM! Generic Alarm FLAG
251 A Circuit Breaker VB101 FIRST Alarm
252 A Inverter Overcurrent VB102
253 A Inverter Temperature VB103
255 A Coolant VB105
259 A Motor Temperature VB109
270 A Safety VB120
411 Distance (mm) Normal Text (Alarm Codes are
Finished)
412 Blade Speed
484 Cutting Speed
....
....
Table 3-3
To set the First Alarm you must select Code 251 in the Text list and then, from the Menu in
Figure 3-20, the command TextFirst Alarm (or, as an alternate, use [F3]); now the symbols A
and F will appear, respectively, in the column near the alarm codes and near the Flag code
preceding the First Alarm, confirming that the operation was executed.

In the example, the Codes used by the Alarms go from 250410 and, of course, there is no
obligation to assign all the Text Codes to Texts; in addition, Texts defined as Alarms can also be
used as normal Texts by Text Objects.

M0000518 Page 59
Chapter 3: User Pages Management SIAX ED
Multilingual Texts
To create a new Language, select Language Code 2 (empty) and, in the Descriptor box, enter a text
consisting of three letters (ITA, ENG, FRE, GER, SWE ....) after confirming with [SEND], the
screen in Figure 3-22 appears that shows ALL the Text Codes already programmed for Language 1
ITA. So, you have to change them one by one by entering the translated texts for the Language in
question.

Figure 3-21 Figure 3-22


Program the field Current Language VN Index with the number of the VN responsible for managing
Languages (we recommend using a buffered VN).
If other languages are not used in addition to the predefined one, it is NOT necessary to define a
Current Language VN Index.

! It is possible to handle up to 6 LANGUAGES.

To display all the Text in a page in a given language in SiaxED, you can change the Language
currently displayed with the Menu command Database-Text-Language in Use; all the fields
containing Text will immediately appear in the selected Language.

! NOTE If a Text Code has not been translated, in the corresponding


language, the field associated to that Code will appear empty.

Page 60 M0000518
SIAX ED Chapter 3: User Pages Management

Images Database
Like the Text Database, all the Bitmaps are collected in an archive that associates each Bitmap to its
Bitmap Code.

Once a Bitmap file has been imported into the project, you will see its name in the Box BMPs
Available on HD and when it is selected, its Preview will appear in the area to the right of the
Image Database window, as you can see below.

Figure 3-23

To assign a Bitmap Code to the selected Bitmap, double-click on it or press [SEND] and a window
will appear where you can enter the Code.
In the event that the Bitmap Code entered already exists, it will be overwritten with the new value.

By default, there is a predefined Bitmap called Exit that is automatically inserted in each New
Project.

IMPORT
To be used, Bitmaps must be copied to the Project Folder by means of an Import operation.

Although it is possible to manually copy Bitmap files to the correct position (See the Paragraph
0) there is the Import command that opens the selection window in Figure 3-1, through which
the selected Bitmap file is automatically copied to the current Project folder.

Import Button
Navigating through the folders on the Personal Computer and selecting Bitmap files with the
Import Window follows the Windows standard.

M0000518 Page 61
Chapter 3: User Pages Management SIAX ED

Figure 3-1 Import Window

DELETING
You can delete a Bitmap that is unused or incorrect from the Image Database by simply
selecting it from the upper window in Figure 3-23- BMPs in the Database and pressing the
[DEL] key.

To PHYSICALLY delete the Bitmap file from the project, select the Bitmap file from the lower
window in Figure 3-23- BMPs Available on HD and press the [DEL] key; you will be asked to
confirm and, if you respond OK, the file will be definitively deleted from the Project Folder.

Figure 3-25

The Image Database window in Figure 3-23 is closed with the [ESC] key or by clicking on the
ESC icon.

! NOTE Bitmap Alarms are NOT implemented in the current version.


(Even though there is a Menu entry)

Page 62 M0000518
SIAX ED Chapter 3: User Pages Management
Creating a Bitmap
It is possible to create the BMP Images used by SiaxED with the aid of any Windows environment
graphics program; for example, you can use Paint, which is available as part of the Windows
Accessories.

The Images displayed on the Graphics Display of the NC are monochromatic (Black/White) Bitmap
images in Windows Bitmap format (BMP).
For this reason, once the drawing is finished, it is ABSOLUTELY indispensable that you save it in
monochromatic BMP format (2-color B/W) as indicated in Figure 3-26 (for the Paint program).

Figure 3-26

The dimensions of the BMP images must be compatible with the resolution of the Graphic Display
used on the Numerical Control and can have maximum dimensions of:

240 x 64 pixels DISPLAY 8 Lines x 40 Columns


240 x 128 pixels DISPLAY 16 Lines x 40 Columns

M0000518 Page 63
Chapter 3: User Pages Management SIAX ED

Switch Tabs Database


Switches are Objects associated to Numeric Variables that, depending on the values they assume,
display a particular Text or Bitmap.

The associations between the Numeric values assumed by the Variable and the corresponding Texts
(or Bitmaps) that will be displayed are made in the Switch Tables Database.

Figure 3-27

Adding a New Switch


Select the Type of Switch that you intend to create: Text or Bitmap
Activate the Panel to the left (Figure 3-27), where there is a list of Switches already entered in the
Database, with a mouse click or the [TAB] key; then, the Switch Menu will be active.
Select the Menu command SwitchNew Switch (or use the [INS] key), and a new Switch will be
created and added to the list that is identified by a progressive numeric code, such as, for example:
00002.SWT for a Text Switch.
When this Text Switch will be used, it will be referred to as Switch Table 2.

Deleting a Switch
Select the Switch that you wish to delete from the Panel to the left, then use the command from the
SwitchDelete Menu, or use the [DEL] key.
NO confirmation is requested.

Changing a Switch
To change the Values set in a Switch Element, in the Panel to the left, select the Switch that you
wish to change and then the List of Elements Set will appear in the area to the right.
At this point, double-click (or press [SEND]) on the Value field to change and, from the Settings
Window in Figure 3-27, select the new Value and relative association to the Text.

Page 64 M0000518
SIAX ED Chapter 3: User Pages Management

To delete a Switch Element, select it from the List and use the command from the ElementsDelete
Menu, or use the [DEL] key.

NO confirmation will be requested for the deletion.

Setting a Switch
This operation associates a value (or a range of values) to its representation in Text or Graphic
(Bitmap) format.

First, select the Type of Switch: Text or Bitmap


Select the Switch that you wish to set in the Panel to the left and it will be highlighted; then, select
the settings Panel to the right with a mouse click (anywhere), or use the [TAB] key.

Now, the Elements Menu will be highlighted in the Bar above, from which, by selecting
ElementsAdd Element (Figure 3-28) you can activate the Value-setting window in Figure 3-29.
Alternatively, you can use the [INS] key to add a new element.

Figure 3-28

The Texts (or Bitmaps) that will be associated to the predefined Values for each Switch Element,
will be taken from the Text Database (or from the Bitmap Database).

The Text Switches support MULTILINGUAL operation.

For each Switch Element, the Value that is set must be associated to a Text (or a Bitmap); if you do
not wish to assign any Text (Bitmap) to a particular Value, set the field to (empty).

M0000518 Page 65
Chapter 3: User Pages Management SIAX ED
Example of a Two-Value Switch
Suppose we want to construct a simple Text Switch that displays the status of a VB (or a Digital
Input) on a Page with the text ON and OFF; the ON state will be associated to the Value 1
and the OFF state to the Value 0.

The first operation to execute is to add a Switch to the Database so, as described above, we create a
New Switch 0002.SWT.

Now, we have to set the Values for the two anticipated Elements and, to do this, we use the Menu
command ElementsAdd Element (Figure 3-30).
In the field Value to Enter in the settings panel, enter 0, to associate the corresponding Text to the
Value 0, select the code 00005 OFF (defined in the Text Database).

Figure 3-29

We repeat the operation for the Value 1, we add a new Element with the Menu command
ElementsAdd Element, in the field Value to Enter, we enter 1 and we associate the Text code
0004 ON (Figure 3-30).

Figure 3-30
Now, Switch Table 0002 has been defined in the Switch Database and, therefore, it can be used by
assigning it to a Switch Object located in a Page; this latter will connect Switch 0002 to the
Variable that you wish to display VB50.

VB50 Text Code Text


0 0004 OFF
1 0005 ON

Elements of the Text Switch

Page 66 M0000518
SIAX ED Chapter 3: User Pages Management

ON OFF

VB50 = 1 VB50 = 0

Figure 3-31 Example of Page with Two-Value Text Switch

Instead of two Texts, it would have been possible to associate two Bitmaps to the Switch defined
above, which would have graphically represented the values assumed by VB50.

VB50 BMP Code Bitmap

0 0002 *
1 0003
+
Elements of the Graphic Switch

This technique allows easily creating graphic Icons that change their display in relation to the
calculations executed by the NC and/or the PLC.

+ *
VB50 = 1 VB50 = 0

Figure 3-22 Example of Page with Two-Value Graphic Switch

We used these Switches as READ ONLY Objects, i.e., only for displaying an associated Value; by
setting them to READ/WRITE it is possible to write a value to an associated Variable.
In this case, the Switch Object would appear in the Page as an Input Field that is selectable with the
cursor keys of the Numerical Control $%#& (when a field is selected, it is displayed white on
black: Reverse ).
Once selected, it is possible to switch the Value of the Switch by using the [] key of the NC;
every time the key is pressed, the displayed Value switches between those predefined in the Switch
Table:
ON "OFF " ON " OFF ....

[# ENTER] to confirm the choice and write the Value corresponding to the Text, displayed at the
time, to the associated Variable.

M0000518 Page 67
Chapter 3: User Pages Management SIAX ED

In the Case of the Graphic Switch, its READ/WRITE status could be indicated by Flashing the
associated Icon; to switch the Value, you always use the [] key of the of the NC, which makes
the various predefined BMP Icons appear cyclically.

[# ENTER] to confirm the selection and write the Value to the Variable.

Example of a Several-Value Switch


In the preceding examples, we created a Switch associated to a Table with 2 Values relative to one
VB (a Binary Variable VB only allows two Values!); we could have created a Switch with several
Values associated to a VN.

For example, if we wish to translate the Value of a Numeric Variable, VN20, which represents a
work direction, with texts according to the Table indicated. (We assume that the relative texts have
already been defined in the relative Text Database)

VN20 Text Code Text


4 0015 NORTH
6 0016 EAST
8 0017 SOUTH
10 0018 WEST

Table 3-4
The Page containing this (READ ONLY) Switch will print the connected text on the display of the
Numerical Control depending on the Value of VN20.
If the Variable VN20, associated to the Switch, assumes a value that does NOT correspond to

WEST

VN20 = 10

any of the predefined Elements, the Switch Object will not display any Text.

VN20 = 9

Page 68 M0000518
SIAX ED Chapter 3: User Pages Management
For this purpose, it is possible to define a Text that will be printed when none of the values defined
in the Switch coincide with that of the associated Variable, by pressing the Not Valid button in the
lower part of the Value-Setting Panel (Figure 34).

Figure 3-33

So, when VN20 assumes the value VN20=9, which was NOT anticipated (or any other value not
predefined between 4 and 10) the Text Error will be displayed.

Error

VN20 = 9

Value NOT anticipated for Value Text Switch


It is also possible to set the Texts (Bitmaps) for values beyond the setting limits, i.e., for values less
than the Minimum value set (Less Min field) and for values Larger than the largest value set
(Greater Max field).
Since in Table 3-4 the minimum value corresponds to MIN=4 and the maximum to MAX=10, when
there are no associated Texts for the above fields, if the corresponding Variable assumes a Value
less than 4 or greater than 10, the (text) Switch Object doesn't display anything.

VN20 = 2

You will also have the same display for VN > MAX

M0000518 Page 69
Chapter 3: User Pages Management SIAX ED
To complete the Switch with the management of all possible Values for the associated Variable, in
the fields Less MIN and Greater MAX we must enter the Code Text 00020 Error.

Figure 3-34

Error

VN20 = 13

Display for VN20 beyond the Max Value (The same also for VN20 less than Min)

Range Switch
The preceding example realizes a VALUE Text Switch, since the Text labels are associated to a
single, precise value of the Variable.
There is another type of RANGE Text (Bitmap) Switch, with which you can make a Text label
(Bitmap) correspond to a RANGE of values rather than a single point.

For example, we wish to use a Range Switch to display the Value of a Numeric Variable, VN20,
which represents the level of a liquid in a tank, according to the indicated Table.

Range of Values Text


VN20 < 1 EMPTY
1 VN20 < 5 ALMOST EMPTY!
5 VN20 < 8 LOW
8 VN20 < 10 LIMITED
10 VN20 < 15 AVERAGE
VN20 15 FULL
Table 3-5

Page 70 M0000518
SIAX ED Chapter 3: User Pages Management
To realize this Range Switch, we must construct the following Table of Elements:
(We assume that the texts have already been defined in the relative Text Database)

VN20 Text Code Text


1 0015 ALMOST EMPTY!
5 0016 LOW
8 0017 LIMITED
10 0018 AVERAGE
15 0019 FULL

Table 3-6

In this Table, the minimum is MIN = 1 and the maximum MAX = 15

To complete the definition of Table 3-5 we must set the out of Range limit values; in the Element
Setting window, in the field Less than MIN (i.e., less than 1)
we will enter the Text EMPTY, while, in the field High than MAX (i.e., High than 15)
we will enter the Text FULL

Figure 3-35
So, for Values of VN < 1, the text in the field Less MIN (EMPTY) will be displayed, while
for VN = 15, the text FULL will be displayed as in Table 3-6 and for VN > 15, the text in the
field High MAX FULL will be displayed.

Figure 3-36

M0000518 Page 71
Chapter 3: User Pages Management SIAX ED
In Range Switches the Not Valid field is useless, since all the Values of the Variable are either
included in the Range or are less than the Min. or greater than the Max.

If a Range Switch is set to READ/WRITE, the value selected for writing is always that
corresponding to the value defined in Table 3-6. It is obviously not possible to write an intermediate
value to the associated Variable.

The association between the Switch Table and the corresponding Variable (Binary, Numeric, Level,
Input, Output, Encoder...) occurs at the time of inserting the Switch Object in the Page from the
Objects Menu.

Page 72 M0000518
SIAX ED Chapter 3: User Pages Management

Objects
Programmable Pages are constructed with active graphic elements that display a variety of
information, some of which is static (Text, Bitmaps, Links), and some of which is dynamic, since
they represent data coming from the NC (Variables, Alarms).

Figure 0-3 Page constructed with SiaxED

Once the Pages are transmitted to the Numerical Control, they will be displayed on the NC in
relation to its state and the commands provided.

Figure 0-4 Same Page displayed on an SIAX300

M0000518 Page 73
Chapter 3: User Pages Management SIAX ED
Types of Objects
The construction of a Page requires positioning the Objects according to a layout that produces that
final screen that will be displayed on the NC.

So, in the example shown, you see a User Page for the manual movement of 4 axes realized with
Objects of various types.
In the Level fields to the left, you set the objective level, while to the right you read the current
level; there are Axis at Level flags (-)/[*], the indication Local/ Remote and the number of the
current Origin N+00.
The two Links (Page, Menu) allow going to other Pages and returning to the Main Menu of the NC.

Figure 0-5 Example of a Page realized for an NC with 16x40 Display

The following objects were used for the realization of this Page:

Text Object
1. MOVIMENTAZIONE MANUALE
2. N
3. Q. Obj
4. Q.Act
5. AX 1 (AX 2, AX 3, AX 4)
6. Imp. Quote OBJ-premere <START>
7. EXIT

Page 74 M0000518
SIAX ED Chapter 3: User Pages Management
Number Object
1. Numeric Variables VN (N+00)
2. Own Real LEVEL Variables - Read/Write (one per axis) +00000 +00000
3. Own Real LEVEL Variables - Read (one per axis) +00000 +00000

Text Switch
1. Local/Remote (Associated to VB274)
2. (-)/[*] (Associated to VB304-Axis_1, VB305-Axis_2 ....)

Link
1. Page (Connected to the PAGE Key of the NC)
2. <MENU> (Connected to the MENU Key of the NC)

Hiding Mask
A hiding mask can be associated to any object on the page. The properties windows for each object
have a section in which you can select the bits that constitute the hiding mask.

Figure 3-40

A VN is associated to each page to which all the objects refer for calculating the hiding mask. The
choice of the VN is made in the General Data window associated to the page in the Pages menu.
The use of hiding masks allows choosing whether or not to display the object depending on the
value of the VN associated to the page.
We provide the following example to explain how it works.

- VN2 associated to the page under construction


- 2 text objects (ON and OFF) that you wish to hide in a mutually exclusive way depending on
the value of VN2 (if VN2=2 hide the ON object and, if VN2=1, hide the OFF object)

In the respective hiding masks, the 0 bit is selected for the OFF object and the 1 bit for the ON
object. In this way, when VN2 has the value of 1 (01 in binary), the OFF object is hidden while,
when VN2 has the value of 2 (10 in binary) the ON object is hidden.
So, an object of a page is hidden when the selected bit of the hiding mask associated to the object is
set to 1 in the VN associated to the page (seen in binary coding).

M0000518 Page 75
Chapter 3: User Pages Management SIAX ED
TEXT Object
To insert a Text in the Page, from the Objects Menu select the Text command and the setting
window in Figure 3-42 appears.

Figure 3-41

Then select the Text that you intend to insert from the list presented; alongside each Text, there is
the identification Code that is found in the Text Database.

Figure 3-42

You can select from the two font sizes provided for the NC:

Page 76 M0000518
SIAX ED Chapter 3: User Pages Management

Figure 3-43

Standard Font of 6 x 8 pixels


Graphic Font of 12 x 16 pixels

Figure 3-44

Although Color and Background can be set, they are NOT implemented.

The size of the field in which the Text is displayed can be partially changed only through the
keyboard:

[SHIFT] + [#&] Increase/Decrease Field Width


[SHIFT] + [$%] Increase/Decrease Field Height

To change a Text, as with any other Object, after it has been positioned in the Page, you can reopen
it with a double-click of the mouse or with [SEND].

Whenever you change the Font of a Text Object already inserted in the Page, it is advisable to
update the SiaxED display by resizing the field.

M0000518 Page 77
Chapter 3: User Pages Management SIAX ED
NUMBER Object
A Number Object displays the values of the Numeric Variables of the Numerical Control and
allows their direct Input.

Figure 3-45

In the Number Type pull-down menu, you select the nature of the displayed Variable:
(For a precise description of the NC Variables, we refer you to the NC Programming Manual)

Type of Object Number Description


Binary VAR NC VB Variables
Numeric VAR NC VN Variables
Level VAR Origin
Digital IN Digital Input Status (0/1)
Digital OUT Digital Output Status (0/1)
Analog IN Analog Input Read Value
Analog OUT Value Sent to an Analog Output
ENCODER Encoder Counter: Real Hardware/Software
LEVEL Read NC Axis Level
Alphanumeric VAR NC VA Variables
Origin Axis Origin
Table 3-7

Page 78 M0000518
SIAX ED Chapter 3: User Pages Management
Index
Index of the Numeric Variable represented: for example 121 to indicate VB121,
or AXIS number for the Variables Level, Encoder.

Digits
By using the side cursors, you set the number of Whole and Decimal digits used to represent the
Number Object.
Attention: For axis levels, on the LCD display, the number of decimal places is taken directly
from the decimals set for that axis in Axis Parameters.

The box below displays a preview of the display set.

Remember that VQs are managed internally on the NC with 3 decimal places.
The meaning of the decimal representation of the VN (which is intrinsically whole numbers) is
linked to the use that the programmer makes of it.

For example, if a VN contains the weight of a product in grams, by representing it with three
decimal places you obtain its display in Kg for the whole number part and in grams for the decimal
decimal part (1648 gr = 1.648 Kg

Val x 10E
Multiplication Factor for the Number displayed.
Determines a base-10 Scale Factor in displaying the Number; in this way, depending on its
value, the Number will be multiplied (divided) by 1, 10, 100, 1000 ......

Val x 10E Scale factor


....
-4 0.0001
-3 0.001
-2 0.01
-1 0.1
0 1 (default)
+1 10
+2 100
+3 1000
+4 10000
....

The Default value for Val x 10E is 0; in this way, it makes no difference if it is not set
otherwise.

! NOTE The value effectively displayed also depends on the


number of decimal places set.

Read
Read: sets the Number Object to only display the value of the associated Variable

R/W - Write
Displays the value of the associated Variable and allows setting the value as an INPUT FIELD.

M0000518 Page 79
Chapter 3: User Pages Management SIAX ED
When there are more than one Input Field, the one currently selected for data entry appears on
the display of the NC Reversed (white on a black background); while going from one field to
the next is controlled by the COMPASS through the use of the NC cursor keys [$%#&] and
[#ENTER]

! NOTE For the NC, the Write option is substantially equivalent to R/W, since
even a write-only field is updated with the value assumed by the
associated Variable.
MinimumMaximum
In relation to the type of Variable in use, sets a Minimum-Maximum value allowable. It turns out
to be very useful for limiting to the operator the range of INPUT values accepted by a Variable
set to Read/Write.
In this way, it works as a FILTER for the numeric data entered in the Numerical Control
through operator interfaces realized with SiaxED, preventing possible errors due to numbers
out of the range of validity of the data itself.

Font
You can select from the two font sizes provided for the NC:
Standard Font of 6 x 8 pixels
Graphic Font of 12 x 16 pixels

! NOTE Color, Background and Frequency are NOT implemented in the


current version.

Special Number Objects


This category includes the representation of the Number Objects, LEVEL and ENCODER; they
have several Additional Parameters in relation to their specific nature.
They allow accessing numeric information related to Axis movement actuated from the Numerical
Control.

ENCODER

Hardware Uses the real ENCODER connected to the Numerical Control.


Software Uses the simulated ENCODER by means of software, especially for Test purposes.

LEVEL

Figure 3-46
Page 80 M0000518
SIAX ED Chapter 3: User Pages Management
When you select a Level Number Object, you must choose the specific type of Level displayed from
among the Additional Parameters.

LEVEL Mode Description


Real Own READ ONLY Real Axis Level relative to the current Origin,
displayed with the number of decimal places
belonging to the Axis as set in Machine
Parameters
Real Absolute Own READ ONLY Real Axis Level with respect to the Absolute
machine reference system, displayed with the
number of decimals belonging to the Axis as set in
Machine Parameters
Real Absolute Standard READ ONLY Real Axis Level with respect to the Absolute
machine reference system, displayed with 3 fixed
decimal places.
Own Objective READ/WRITE Real Objective Axis Level relative to the current
Origin, displayed with the number of decimal
places belonging to the Axis as set in Machine
Parameters
Absolute Own Objective READ/WRITE Objective Axis Level with respect to the Absolute
machine reference system, displayed with the
number of decimals belonging to the Axis as set in
Machine Parameters
Absolute Own Theoretical READ ONLY Theoretical Axis Level with respect to the
Absolute machine reference system, displayed with
the number of decimals belonging to the Axis as
set in Machine Parameters
Absolute Standard READ ONLY Theoretical Axis Level with respect to the
Theoretical Absolute machine reference system, displayed with
3 fixed decimal places.
Cartesian READ ONLY Level converted to Cartesian coordinates for
SCARA (Robot) systems
Table 3-8

The Real Levels must be used in READ ONLY. If they are set to Read/Write, they behave like
Objective Levels without dynamically updating their values: the Real level display is lost.

The selection of the number of decimal places from the Settings Panel in Figure 47, has NO effect
on Level Number Objects, whose characteristics are defined by Additional Parameters. The
Theoretical and Cartesian Levels are implemented for special applications and development
purposes. )

! IMPORTANT
The Axis Number to which the LEVEL refers is the Index of the Number
Object. This Axis MUST exist and be enabled in the Machine/Axis
Parameters.
The selection of a non-existent Axis can lead to unexpected results.

M0000518 Page 81
Chapter 3: User Pages Management SIAX ED
NOTE about the dimensions of Number Fields
As we have seen, the size of the field in which a Number Object is displayed is set by the number of
Digits, nevertheless when a negative number is displayed, it is necessary to provide the empty space
for a character to the left of the Number field, since it will be used for the display of the - sign, an
additional character.

In any case, if the number displayed exceeds the dimensions anticipated by the field, it is printed
ANYWAY with all the necessary digits, even if this involves overlapping adjacent fields. So, you
cannot mislead the operator with the display of a truncated number that looks like the real value
of the Variable in question.

For Read/Write (INPUT) fields, you must pay attention to the fact that, when you enter a value that
occupies all the anticipated digits for a Number Object, a Cursor is printed to the left of the field
that occupies an additional character.

Copy From Number Function

When this function, which is activated by a HotKey, is enabled you can instruct a number object to
copy a value from another number and write it to the variable it represents.
The HotKey can be set to always be active or only when the cursor is on the number object.
This function can be useful, for example, for self-learning the level of an axis from a VQ.

Page 82 M0000518
SIAX ED Chapter 3: User Pages Management
BITMAP Object
Bitmap images are inserted in a Page from the ObjectBitmap Menu.
Given the nature of the Numerical Control display, only monochromatic Bitmaps are supported.
They must be imported into the Project in advance and defined in the Image Database, as described
in the Bitmap Database paragraph, by associating a unique Code to each of them.

Figure 3-46 Example of a Page with Bitmap

Once the ObjectBitmap Menu is activated, choose the Bitmap that you wish to insert in the Page
from the list with a double-click of the mouse or with [SEND].

Figure 3-48

M0000518 Page 83
Chapter 3: User Pages Management SIAX ED
In the event that two or more partially superimposed Bitmaps are placed in a Page, it is possible to
select which will remain in the Foreground, or in the Background, using the Menu command from
the ObjectsMove to Foreground (Move to Background), which acts on the currently selected
Bitmap.

Figure 3-49

In the Page example shown below, you can see the overlapping of two Bitmaps with the use of
foreground/background.

Figure 3-50

By using Bitmap Objects and Graphic Switch Objects, interesting applications can be realized
equipped with dynamic graphic interfaces capable of displaying information coming from the
Numerical Control and the PLC.

Also by exploiting Bitmap Graphic Switches, you can realize simple animation effects that are
controlled through a VB or VN variable.

Thanks to the use of Bitmaps in the background, it is possible to realize backgrounds to be inserted
in User Pages; naturally the presence of many Bitmaps leads to a considerable increase in the size
of the Project and, as a consequence, the use of memory in the Numerical Control.

_____
The SiaxED installation includes a demonstration Project called Demo that illustrates many of the
special graphic features available in User Pages.

Page 84 M0000518
SIAX ED Chapter 3: User Pages Management
Some of the Pages included in the Demo Project.

Figure 3-7 - Example of a Background Bitmap (140 x 128 display)

After the Bitmap was placed in the Background, Objects were inserted that are in the Foreground in
relation to the latter.

Figure 3-8 - Page with Objects in the Foreground with respect to the Background

M0000518 Page 85
Chapter 3: User Pages Management SIAX ED
LINK Object
The purpose of a Link Object is to allow going from the current page to another, in this way,
realizing a very flexible structure that allows building articulated operator interfaces.

In the most frequent case, the activation of a Link on the Numerical Control can occur by
associating it to a specific key on the Numerical Control, or by considering it as a Selectable Input
Field that first requires its selection with the cursor keys of the NC and then the confirmation of the
change change Page action with [ENTER].

A Link Object can be displayed on the Page with a Text or it can be completely Invisible; in this
case, the only way it can be activated is by associating it to a key on the NC.

Figure 3-53

ACTION
Jump to Page Default action: Jumps to the selected page.
Jump to Page on VN Jumps to the page whose index is specified in a VN. When this type
of action is selected, the Return HotKey box (see figure above)
becomes the VN Index Driver box, in which you can specify which
VN contains the index of the page to jump to. The VN is managed by
the PLC.
System Functions Jumps to the specified function. When this type of action is selected,
the Return HotKey box (see figure above) becomes the Description
box in which you can specify which system function to jump to when
the key specified in the HotKey box is pressed.
Function Launch is NOT implemented.

DISPLAY MODE
Visible The Link is displayed by means of a Text or a Bitmap
Selectable The Link can be selected as an Input Field
Text Displays the Link in the Page with a Text
Bitmap Implemented only on Color Displays or the SiaxPLAY Interface
Set COMMAND used to change the Text or the Bitmap
associated to the Link

Page 86 M0000518
SIAX ED Chapter 3: User Pages Management

ADDITIONAL PARAMETER (NOT implemented)


DESTINATION PAGE
Preceding Page Jumps to the Preceding Page, if there are no other pages
returns to the MENU of the NC.
A list appears with the names of the Pages already created and saved
that are compatible with the State (General Data) of the current
Page. Select the Page you wish to jump to.

HOTKEY
Select the Numerical Control Key that will activate the change Page action.

! NOTE It is necessary to define the Type of Keyboard used for the NC in


General Data.

Default Link
When a New Page is created, a default Link is inserted to the Preceding Visible and Selectable
Page, displayed with predefined Code Text 00001, Exit; if Code Text 0001 is changed, it will
use the new text as a Link.

This Link is automatically inserted to leave the possibility of exiting from the Page by selecting it
and confirming with [ENTER]; naturally, it can be changed or deleted, so long as another Link is
provided for exiting from the Page display.

! IMPORTANT:
If a Link to exit the Page is not provided, the NC will NOT be able to return to the
standard Menu and will continue to display ONLY the current Page

Figure 3-9 Default Link

__

Link to Bitmap is NOT implemented, but can be simulated with an Icon represented by a Bitmap
accompanied by an invisible Text Link; obviously, it cannot be a Link selectable by Bitmap.

M0000518 Page 87
Chapter 3: User Pages Management SIAX ED
ALARM Object
An Alarm Object displays the alarm conditions generated by the NCPLC system.

In conformity with the standard management of the Numerical Control, 155 alarms can be handled,
activated by Binary Variables VB101VB255. When one of these VBs is set to 1, it activates the
corresponding Alarm.

An Alarm Object is inserted in a page with the Menu command ObjectAlarms (F6); before using
it, you must define the Texts associated to the various Alarms in the Text Database, as shown in the
Text Database paragraph.

Figure 3-55

Flag
Displays the Text (marked as F in the Text Database) associated to the Code immediately
preceding the First Alarm; it will be the generic message (FLAG) to signal the presence of any
Alarm: Flag Alarm.
It will be activated when at least one of VB101-VB255 has a value of 1.

Line
Displays the Text associated to the corresponding Alarm Code, as defined in the Text Database
beginning from the First Alarm.
If several alarms are present simultaneously, the one with the HIGHEST PRIORITY is
displayed (Maximum priority VB101 - Minimum priority VB255)

The sequence of Alarm messages in the Text Database is entered as a list of sequential Texts,
defined beginning from the Code of the First Alarm (corresponding to VB101 in the NC).
See the example in the Text Database paragraph for the generation of the Alarm List.

Image Alarms are NOT implemented in the current Version


ColorBackground are NOT implemented

Since the length of the text of the Alarm Lines can be different for each Line, we recommend
redimensioning the field of the Alarm Object with [SHIFT]+[$%#&] in relation to the maximum
length anticipated for the alarms.

Page 88 M0000518
SIAX ED Chapter 3: User Pages Management

Figure 3-56

In this example page, we inserted a Flag Alarm with the text ALARM!, which indicates the
activation of any alarm condition.

Below, a Line Alarm is shown, activated by VB112, so long as this remains 1, the Text
Current INVERTER is displayed, unless there is another Alarm with a higher priority at the
same time. In this case, the Text associated with the highest priority alarm would be displayed in
the Alarm Line.

When Alarms are NOT present, the Alarm Objects do not display any Text; this is why their display
field is empty.

! IMPORTANT:
To function, Alarms must be activated by the PLC, with the association of the Alarm
messages to the PLC Data Files

(See the Programming Manual of the Numerical Control)


_______________
The list for displaying Active Alarms can be replaced with one or more pages dedicated to that
purpose and containing a series of Text Switches associated to the Alarm variables that are being
used. For example, the following Page has a list of 8 alarms.

ALARM 1 VB101 VB111

ALARM 2 ALARM 6 VB102 VB112

ALARM 7 VB103 VB115

ALARM 4 VB104 VB120

,Pag Page

M0000518 Page 89
Chapter 3: User Pages Management SIAX ED
SWITCH Object
Switches are Objects associated to Numeric Variables that, depending on the values they assume,
display a particular Text or Bitmap. They can also be used as INPUT FIELDS to write values to the
corresponding variables.

A Switch Object is inserted in a page with the Menu command


ObjectText/Bitmap Switch (F7).

The Table of Values must have previously been defined in the Switch Tables Database, and for this
purpose, see the Switch Database paragraph and those following.

Figure 3-57

Type of Number
Selects the Variable Type associated to the Switch

! IMPORTANT:
ONLY WHOLE values are considered.
For VQs and LEVELs, the whole part is read.

Example: VQ = 3245.678 " 3245

Page 90 M0000518
SIAX ED Chapter 3: User Pages Management
Type of Number Description
Binary VAR NC VB Variables
Numeric VAR NC VN Variables
Level VAR NC VQ Variables
Digital IN Digital Input Status (0/1)
Digital OUT Digital Output Status (0/1)
Analog IN Analog Input Read Value
Analog OUT Value Sent to an Analog Output
ENCODER Encoder Counter: Real Hardware/Software
LEVEL Read NC Axis Level
Table 3-11
Index
Index of the Variable represented: for example, 123 to indicate VN123,
or AXIS number for the Variables Level, Encoder.

Additional Parameter
Additional specification for the Encoder or Level Variables.

Text
Selects a Switch using a Table of Text Values: 00000.SWT

Images
Selects a Switch using a Table of Values with Bitmap images: 00000.SGT

Read
Read: sets the Link Object to only display the value of the associated Variable

R/W - Write
Displays the value of the associated Variable and allows setting the value as an INPUT FIELD.
When there are more than one Input Field, the one currently selected for data entry appears on
the display of the NC Reversed (white on a black background); while the change from one Field
to another is regulated by the COMPASS through the use of the NC cursor keys [$%#&].
] key, to confirm use [#ENTER].
To select a Value of the Switch, use the NC [

When you use a Bitmap Switch, the state of INPUT FIELD is indicated by the flashing of the
Icon, while the various associated Bitmaps in the Table of Values are displayed cyclically each
] key is pressed; to confirm, use [#ENTER].
time the NC's [

! NOTE For the NC, the Write option is substantially equivalent to R/W
(Read/Write), since even a write-only field is updated with the value
assumed by the associated Variable.
Switch Table used
In relation to the Type of Switch used (Text/Bitmap), selects which Table of Values to use from
among those defined in the Switch Tables Database.
The number of the Table to use must be indicated.

M0000518 Page 91
Chapter 3: User Pages Management SIAX ED
Value
The display of the Values occurs only for precise values predefined in the relative Table

Range
The display of the Values occurs by ranges of values according to what is defined in the Table

For additional explanations and examples, see the Switch Database paragraph.

Font
You can select from the two font sizes provided for the NC:

Standard Font of 6 x 8 pixels


Graphic Font of 12 x 16 pixels

! NOTE Color, Background and Frequency are NOT implemented in the


current version.

Example of a Page containing two Bitmap Switches in Read/Write (associated to Digital Outputs),
which display Switch Icons that switch Digital Outputs when acted on. Two other Text Switches
(Disable/Enable) show the status of the of the outputs.

Figure 3-58

Page 92 M0000518
SIAX ED Chapter 3: User Pages Management
NC Program Selection

This object is used to select a program among those present on NC.

The object is located in Page and dimensioned to achieve the desired size for viewing the program
list, you can decide, through the Options List, which elements of the program show (The viewing
options have no effect).

In addition it can choose which type of program Print, bearing in mind that not all combinations of
filter are managed.

You set after the HotKey of Select that will be running the selection of the program and Delete to
delete it (the HotKey Copy is not implemented).

The effect of the object is to write in VN of Selection the number of the selected program.

In the case of filter set to USER (User Programs), you can set the Base Matrix as additional filter
for programs.

You can also choose to visualize only a portion of the programs on CN (those included between
First Program and Last Program).

M0000518 Page 93
Chapter 3: User Pages Management SIAX ED
File Manager

Allows you to perform file transfer between NC and storage unit (it provides that the NC is linked
to a Floppy unit or LinkBox and that the Firmware of NC provides relative features).

The title option is not managed.

Here is possible, through parameters Source and Destination specify the direction in which the
files will be copied (the path are not handled).
Essentially setting Source on Disk and destination on NC will be copy files from storage unit to
NC and vice versa (HotKey that enable the copy is Transfer).
To delete a file that will be enough a links send to page the HotKey of Cancellation (the option
Trash is not managed ).

In addition it can choose which type of programmes Print, bearing in mind that not all combinations
of filter are managed.

In the case of filter set to USER (User Programs), you can set the Base Matrix as additional filter
for programs.

The options Request Overwriting, Select and Send and Show on Cartesian are not managed.

Page 94 M0000518
SIAX ED Chapter 3: User Pages Management
Transmitting the Pages to the NC
Once a Page is completed it is NECESSARY to save it before sending the Project to the Numerical
Control.
The entire Project, consisting of all the Pages saved in it, is sent using the Menu Command, Pages-
Send Project.

Follow the phase of Memorization in Flash.

Memory Set-Up (VN377)


When F2 is pressed and in relation to its State, the Numerical Control will activate the display of
the User Pages.
To enable the management of the pages, it is necessary to set the value 1 in VN377.
We recommend making this setting with the PLC.

VNs useful for the user pages management


In managing the User Pages, in addition to VN377 for setting the Memory Arrangement, the
Numerical Control uses three other Numeric Variables to communicate with the NCPLC system.
In this way, the programmer is provided with a very flexible tool for interfacing between the NC
PLC programming environment and the new system for displaying the User Pages.

VN377 Enabling the pages


VN376 Code of current Page
VN379 Code of Object in Input

So, for example, it will be possible to use the PLC to activate other auxiliary functions in relation to
the User Pages displayed at that moment and at the current field.

Automatic / Manual
When the Numerical Control is operating in Automatic or Manual, it is possible to force the display
of the User Pages (constructed for that purpose) when the NC goes to those respective states. In
this way, you can replace the standard Menu with the display of the personalized pages.

For this purpose, it is necessary to simulate the activation key of the pages (F2) through the VN for
simulating the keys, VN383.

For example, if we want to display one or more User Pages by default when we enter the state of
Manual Movement, we must set VN383=2 in correspondence with the change of state (on entering
the state).
The simple example PLC in Figure 3-97 provides, by means of pulses generated by the VB278 of
Manual Movement (VB278=1 in Manual), to force VN344=2, when you enter Manual, and to set
VN344=0 when you exit the Manual state; in this way, the display of the User Pages is only forced
in Manual, while the standard NC menu remains active in Automatic.

A similar solution can be adopted for the Automatic state.

M0000518 Page 95
Chapter 3: User Pages Management SIAX ED

VN376
VN376 contains the unique Code of the User Page currently being displayed.
The Page Code is shown in the General Data for the Page in the Code field alongside the Name.

Figure 3-110

VN379
VN379 contains the Code of the Object, selected in the Page, that is currently in INPUT.
Naturally, it can only be a Number Object or a Switch Object in Read/Write.
To know the Code of an Object in SiaxED, just position the mouse pointer on the field of the
Object in question, a yellow information box will appear with the Object Type and its Code
between square brackets.

Figure 3-111
The Object Code is unique within a Page, while it is NOT unique in the context of the Project,
since there can be Objects that have the same identification code in different Pages.
So, if you want to undertake some specific action in relation to the item placed in Input, you must
evaluate the possibility of also controlling the Page that contains this Object through VN376.

Page 96 M0000518
SIAX ED Chapter 3: User Pages Management
Additional functions for the pages on Siax100 - To5.7

In the user pages used on Siax100 To5.7, it is possible to insert objects with additional functions
with respect to those of the traditional objects.

To modify the value of a traditional Number object, it is enough to "touch" the object: depending
on the type of object, the page with the numeric or alphanumeric keypad will open, which allows
setting the desired value.

Text or bitmap Switch objects increment the value of the associated variable at each "touch"; the
value is set directly in the variable and is immediately valid; so, no confirmation is necessary as is
required, on the other hand, in the traditional mode where values changed with the +/- key must be
confirmed with the Enter key.
When the variable associated to a Switch object is binary (such as, a VB or digital output), it is
possible to set the mode to button; the variable is set to 1 so long as it is "pressed" and returns to a
value of 0 at the moment of its release; this mode is useful, for example, for implementing axis JOG
without having to write PLC logic; it is sufficient to insert the variables dedicated to the JOG in the
page and associate them to switch objects with button mode.

Objects of type Link are also activated by pressing the touch screen, so long as they are visible; a
link object can return the code of a key that, unlike the traditional "return HotKey" that is used as a
HotKey for other objects, is used by the object currently in input in a manner similar to keys
pressed on the keyboard (with the difference that the relative code is NOT entered in VN258); this
is useful, for example, for managing NC Program Selector objects where it is necessary to use the
"up arrow" and "down arrow" keys to scroll the program list.

Forcing the acquisition of a value.


If a Link object returns Ctrl-F (code 6) like a key, the object currently in input that receives the key
goes to acquisition mode, i.e., the window opens with the numeric (or alphanumeric) keypad; this
allows also acting on input fields of reduced dimensions close to each other and, therefore, difficult
to discriminate by "touch".

M0000518 Page 97
Chapter 3: User Pages Management SIAX ED
To set the return function of a key for a link object, it is necessary to select the action Jump to the
page + Key by setting NO PAGE as the destination page, if necessary.

Figure 3-112 shows the configuration of a link object used to return the code of the "arrow down"
key that will be used from the NC Program Selector list.

Figure 3-112

BITMAP

The tool accepts only bitmaps in 256-color BMP format.

The current firmware, as of the date of this document (firmware Ver. 5.09), aligns the bitmaps to
the even pixels along the X (horizontal) coordinate and, so, an image positioned at coordinates
29,35 will be drawn to begin from coordinate X = 28 while the vertical coordinate, Y = 35, will be
maintained.

Currently, the horizontal dimension of the bitmap must be a multiple of 4.

Page 98 M0000518
SIAX ED Chapter 3: User Pages Management

DEDICATED FUNCTIONS

It is possible to execute functions dedicated to particular operations using a link object; at the
current state (firmware Ver. 5.09), the only dedicated functions available are those for regulating
the contrast of the LCD and are listed in the table that follows:

Function ID Description
240 reset the brightness adjustment to the default values
241 decrease the brightness of the LCD
242 increase the brightness of the LCD

To activate these functions, it is necessary to select the item Function Launch as the Action of the
link object and, therefore, in the Function ID field, the number of the dedicated function that you
wish to activate.

Figure 3-113 shows an example of configuring a link object for adjusting the contrast.

Figure 3-113

M0000518 Page 99
Chapter 3: User Pages Management SIAX ED
SLAVE OPERATOR TERMINAL

Sipro Operator Terminals (such as TO 5.7) and the Sipro Operator Interfaces (such as Smart-Page)
operate in Master mode, i.e., they act on a series of variables controls for interacting with the NC.
This creates incompatibilities that make it impossible to connect more than one operator interface
device to the same NC at the same time.
One such incompatibility has to do with the VN_PAGE_ID (VN376) variable that contains the
identifier (ID) of the page currently displayed and that, if modified by the NC, leads to the loading
(display) of the new page specified; if there are two operator interfaces, when one terminal writes
its page code, the other changes the page displayed on the basis of the new identifier, thus making it
impossible to display two different pages on two terminals.

Starting with TO5.7 firmware Ver. 1.10 it is possible to configure the tool in Slave Operator
Terminal mode; in this mode, the control variable does not act on the terminal in either writing or
reading (and so, for example, it does not set its own page identifier in VN_PAGE_ID or change the
value of VN_PAGE_IF) .

CONFIGURATION IN SLAVE OPERATOR TERMINAL MODE

To configure the tool in Slave mode, you must have at least version 3.00.6 of the SiaxEd
program.
From the Page menu in the Page editor, select Project Properties; you will see the window in

Figure 3-114

In the Serial Command Index parameter, set the value 2 (the default value is 0).

Page 100 M0000518


SIAX ED Chapter 3: User Pages Management

M0000518 Page 101


Chapter 4: Numerical Control Parameters SIAX ED

Chapter 4

Numerical Control
Parameters
The NC Parameters section of SiaxED allows modifying both the
machine parameters and the axis parameters of the NC.

Page 102 M0000518


SIAX ED Chapter 4: Numerical Control Parameters

NC Parameters
When you enter the NC Parameters section, you have the possibility of acting on the machine
parameters, i.e., on the general control parameters, or on the parameters relative to individual axes.

Machine Parameters
To access the machine parameters window, select the item Machine Parameters from the Siax-NC
Parameters menu (Figure 4-1),

Figure 4-1

or click on the corresponding icon on the tool bar (Figure 4-2).

Figure 4-2

You thus access the Machine Parameters window (Figure 4-3) which initially presents only the
names of the parameters without values.

M0000518 Page 103


Chapter 4: Numerical Control Parameters SIAX ED

Figure 4-3

The operations that can be performed on the data by using the buttons in the window are:

Receive
Receives machine parameter data directly from the NC.

Open
Opens a previously saved file containing saved parameters. Saved files have the .MAC extension.

! NOTE When the window is opened for the first time, the operations that
can be performed are Receive or Open because no parameter
values are present.

Send
Sends the machine parameters to the NC. The parameters sent are those displayed in the Machine
Parameters window.

! NOTE The NC can only receive the machine parameters from the PC if it is
on the TX/RX programs page (item Talk with PC on the Program
Management-Main Menu of the NC), or in automatic mode in the
Stop phase (item Automatic Cycle on the Main Menu of the NC)

If the operation fails, a failed to send window appears (Figure 4-5).

Page 104 M0000518


SIAX ED Chapter 4: Numerical Control Parameters

Figure 4-5

Save
Saves the machine parameters in a file.MAC. During saving, the window in Figure 4-6 appears,
where you can select the name of the file and the folder where you want to save it.

Figure 4-6

The entry or editing of the parameters is performed by clicking on the window relative to the
parameter that you wish to edit. You then enter the new value from the keyboard and confirm with
[ENTER].
For parameters where you must select the item, just mouse-click on the parameter to set.

! NOTE The meaning of the parameters and their function inside the NC
is described in the Numerical Control Installation Manual.

! IMPORTANT
The value of the entered parameter is only changed after the
[ENTER] command. If not confirmed with [ENTER], the value
remains what it was before.

Axis parameters
To access the axis parameters window, select the item Axis Parameters from the Siax-NC
Parameters menu (Figure 4-7),

M0000518 Page 105


Chapter 4: Numerical Control Parameters SIAX ED

Figure 4-7

or click on the corresponding icon on the tool bar (Figure 4-8).

Figure 4-8
You thus access the Axis Parameters window (Figure 4-9) where you can enter the calibrations
relative to the axis present on the control.

Figure 4-9

Initially, the Axis Parameters window is empty. To load the NC values, you must click on the
Receive button.

The operations that can be performed on the data by using the buttons in the window are:

Receive
Receives axis parameter data directly from the NC.

Page 106 M0000518


SIAX ED Chapter 4: Numerical Control Parameters

Open
Opens a previously saved file containing saved parameters. The saved files have the .AX extension.

! NOTE When the window is opened for the first time, the operations that
can be performed are Receive or Open because no parameter
values are present.

Send
Sends axis parameters to the NC. The parameters sent are those displayed in the Axis Parameters
window.

! NOTE The NC can only receive axis parameters from the PC if it is on the
TX/RX programs page (item Talk with PC on the Program
Management-Main Menu of the NC), or in automatic mode in the
Stop phase (item Automatic Cycle on the Main Menu of the NC)

If the operation fails, a failed to send window appears (Figure 4-11).

Figure 4-11

Save
Saves the axis parameters in a file.AX. During saving, a window appears, where you can select the
name of the file and the folder where you want to save it.

Inside the Axis Parameters window, you can select which axis to act on. In fact, the drop-down
window (Figure 4-12) allows selecting which axis to display and its parameters.

Figure 4-12

M0000518 Page 107


Chapter 4: Numerical Control Parameters SIAX ED
The entry or editing of the parameters is performed by clicking on the window relative to the
parameter that you wish to edit. You then enter the new value from the keyboard and confirm with
[ENTER].
For parameters where you must select the item, just mouse-click on the parameter to set.

! NOTE The meaning of the parameters and their function inside the NC
is described in the Numerical Control Installation Manual.

! IMPORTANT
The value of the entered parameter is only changed after the
[ENTER] command. If not confirmed with [ENTER], the value
remains what it was before.

Page 108 M0000518


SIAX ED Chapter 4: Numerical Control Parameters
CanOpen Parameters
For enter into CANopen parameters window, select Parametri CANopen by Siax-Parametri CN
menu.

The Can Open parameters are used to define the Can Open networks that you wish to
connect to an NC.
By network is meant any independent CAN BUS line that, starting from the control, arrives
at a Slave device (I/O Modules, Drives, User Interfaces, etc.) .
To one tool, it is possible to connect up to a maximum of 4 networks, for each of which it is
possible to define a different set of parameters.
There are 4 folders (networks) available on SiaxED for defining the characteristics of each
individual network.

Each network has the following parameters.


Disable Networks allows disabling a network not effectively connected to the
control.
Type allows determining the type of network connected; there are three selections
possible:

M0000518 Page 109


Chapter 4: Numerical Control Parameters SIAX ED
o Input/Output network consisting only of digital and analog Input/Output
modules.
o Drives network consisting of motors digitally controlled through the Can
Open protocol (soon to be activated)
o User Interface network consisting of operator panels. (not yet implemented).
Baud Rate network communication speed setting. Possible values are:
o 1 Mbits.
o 800 Kbits
o 500 Kbits
o 250 Kbits
o 125 Kbits
o 100 Kbits
Number Nodes defines the number of nodes connected to the network. Currently,
for I/O networks, the maximum number of nodes connectable is 4, for a maximum
number of digital I/Os equal to 512.

Depending on the various types of networks, there are other parameters to define.
In the case in which the network is an Input/Output type:
Digital Input Cards: Number of digital input cards connected to the node (maximum
8).
Digital Output Cards: Number of digital output cards connected to the node
(maximum 8, in the case that an analog output card is present, the value is reduced
to 7, if there are 2 analog output cards, the value is further reduced to 6).
Analog Inputs: Number of analog inputs connected to the node
Analog Output Cards: Number of analog output cards connected to the node
(maximum 2).
Drive: Axis number, Parameters 1, Parameter 2, Type of zeroing

Page 110 M0000518


SIAX ED Chapter 4: Numerical Control Parameters

M0000518 Page 111


Chapter 5: SiaxEd-Tools SIAX ED

Chapter 5

SiaxED Tools
The SiaxED Tools section allows the user to interact with the NC
for the control of the outputs, whether digital or analog, the
encoders and variables of the NC.
Moreover, this section allows managing the connection with the
modem and the NC emulator. There are also special functions for
interacting with the NC.

Page 112 M0000518


SIAX ED Chapter 5: SiaxEd-Tools

Input/Output Tester
SiaxED allows interacting with the inputs and outputs of the Numerical Control, whether digital or
analog. To access the tester, select Tools on the Siax menu. The list of the available SiaxED tools
is displayed. The list also displays the rapid access keys corresponding to the various available
items.

Figure 5-1

Digital Inputs
These are accessed by selecting the item Digital Inputs from the Siax-Tools Menu (Figure 5-1), or
by clicking on the tool bar icon (Figure 5-2).

Figure 5-2
The window in Figure 5-3 opens, displaying all the NC's digital inputs. The presence of the green
ball indicates which inputs are active.

Figure 5-3

M0000518 Page 113


Chapter 5: SiaxEd-Tools SIAX ED
Digital Outputs
These are accessed by selecting the item Digital Outputs from the Siax-Tools Menu (Figure 5-1), or
by clicking on the tool bar icon (Figure 5-4).

Figure 5-4

The window in Figure 5-5 opens, displaying all the NC's digital outputs. The presence of the red
ball indicates which inputs are active.
As regards the outputs, it is also possible to force their status by double-clicking with the mouse on
the corresponding output displayed in the window (for example, in Figure 5-5, outputs 2, 3, 4, 10,
12, 18, 19, 20, 26 and 28 are activated).

Figure 5-5

Analog Inputs
These are accessed by selecting the item Analog Inputs from the Siax-Tools Menu (Figure 5-1), or
by clicking on the tool bar icon (Figure 5-6).

Figure 5-6

The window in Figure 5-7 opens, displaying the NC's first four analog inputs. To display the other
inputs, click on the arrows in the bottom of the window (Figure 5-7).

Figure 5-7

Page 114 M0000518


SIAX ED Chapter 5: SiaxEd-Tools
The value for each analog input is displayed in graphic and numeric mode and in DAC units.
Each analog input has a range of 0-5 Volts. The following table illustrates the characteristic values
of the inputs.
Value in Volts DAC Value
0 0
2.5 2048
5 4095
Table 5-1

The NC has a 12-bit converter. For this reason, the maximum value of the input voltage corresponds
to the DAC value 4095. So, in the case of SIPRO s.r.l. instruments, which have 0-5 Volt analog
inputs, each DAC value corresponds to 5 Volts/4096 = 0.00122 Volts.
The value of the input in Volts is also displayed with a graphic oscilloscope in the window below
the values in DAC and Volts (Figure 5-7).

Analog Outputs
These are accessed by selecting the item Analog Outputs from the Siax-Tools Menu (Figure 5-1),
or by clicking on the tool bar icon (Figure 5-8).

Figure 5-8

The window in Figure 5-9 opens, displaying the NC's first four analog outputs. To display the other
outputs, click on the arrows in the bottom of the window (Figure 5-9).

Figure 5-9

The analog outputs for Sipro s.r.l. tools have a range of 10 to +10 Volts. The analog value of each
output is displayed both graphically with a tester type pointer and numerically along with the
corresponding DAC value.
The following table illustrates the characteristic values of the inputs. The same values of the table
are shown in Figure 5-9 for outputs 1,2,3.
Value in Volts DAC Value
-10 0
0 2048
+10 4095
Table 5-2

M0000518 Page 115


Chapter 5: SiaxEd-Tools SIAX ED
The digital/analog converter is 12-bit for the outputs as well. For this reason, each DAC value
corresponds to 20 Volts/4096 = 0.00488 Volts.
The value of the output in Volts is also displayed with a graphic oscilloscope in the window below
the values in DAC and Volts (Figure 5-9).

Encoder
These are accessed by selecting the item Encoder from the Siax-Tools Menu (Figure 5-1), or by
clicking on the tool bar icon (Figure 5-10).

Figure 5-10

A window appears that displays the encoders in groups of 4 (Figure 5-11). To display the other
encoders on the NC, use the arrow buttons in the lower part of the window (Figure 5-11). The
display of the encoders allows checking the pulses coming from the encoders (see the Encoder
Test chapter in the Numerical Control Installation Manual).

! NOTE For additional information about the Encode Test we recommend


that you also consult the Test chapter in the installation manual.

Figure 5-11a

For each encoder, in addition to the identification number, the display includes:

Type
Specifies the type of encoder. Usually, the first 4 encoders are normal (TPU), the encoders from 5
to 8 are relative to the analog inputs (AN IN), while those from 9 to 12 are software (SOFT). For
SIPRO S.r.l. tools that require the addition of absolute encoders or additional incremental encoders,
the encoders from 5 to 8 are called GPCs.

Page 116 M0000518


SIAX ED Chapter 5: SiaxEd-Tools

Hardware
Specifies the encoder's hardware count. The encoder count is expressed in pulses/revolution. The
hardware count is 16-bit and, for this reason, the count range is 32768 to +32767.

Software
Specifies the encoder's software count. The software count is 32-bit and, for this reason, the count
range is 0 to -4294967296.

Dip Switches
These are accessed by selecting the item Dip Switches from the Siax-Tools Menu (Figure 5-1), or
by clicking on the tool bar icon (Figure 5-11b).

Figure 5-11b

A window appears that displays the position of the control's Dip Switches, as shown in the
following figure.

Figure 5-11c

M0000518 Page 117


Chapter 5: SiaxEd-Tools SIAX ED

Managing NC Variables
With SiaxED it is possible to display and manage the NC's VB, VN, VQ and VA variables. These
are accessed by selecting the item NC Variables from the Siax-Tools Menu (Figure 5-1), or by
clicking on the tool bar icon (Figure 5-12).

Figure 5-12

The window in Figure 5-13 appears, where you can display and force the status of the NC variables.
To select which type of variable to display, click on the corresponding icon on the tool bar (Figure
5-13).

Figure 5-13

The first 16 variables of the type selected will appear in the window. You position on a variable
with the mouse or [TAB] key, enter the value and confirm with [ENTER]. Figure 5-14 shows the
first 16 VBs with VB1, VB2 and VB9 changed from False to True.

Figure 5-14a
The types of variables selectable are:

VB
Binary Variables with a total number of 1024 VBs.

VN
Numeric Variables with a total number of 464 VNs.

VQ
Level Variables with a total number of 255 VQs.

Page 118 M0000518


SIAX ED Chapter 5: SiaxEd-Tools

! NOTE For additional information about the NC's VB, VN and VQ variables,
we also recommend that you consult the Variables chapter of the
installation manual or General Programming Notes chapter.

VA
Alphanumeric Variables with a total number of 16 VAs.

! NOTE The VAs were introduced with the SiaxED software. In fact, they
are not described in the Programming Manual.

The VAs are alphanumeric variables whose use is linked to the user pages. In fact, a VA can be
associated to each user page that contains the name of the matrix associated to the page (see the
Pages chapter).

The other keys on the tool bar are described in the following table.

ICON NAME DESCRIPTION


Allows displaying and, if necessary, forcing, the 16
Displays the previous 16 variables preceding those currently displayed
variables
Allows displaying and, if necessary, forcing, the 16
Displays the next 16 variables following those currently displayed
variables
Allows displaying and, if necessary forcing, the
Displays the first 16 first 16 variables of the type specified (VB, VN,
variables VQ, VA)
Table 5-3

When you hold the Ctrl key pressed and drag the value field of the desired variable on the
background of the SiaxED window, the linear graphic for that variable appears. The following
figure shows the graphic for VB8 with the trend oscillating between the values 0 and 1.

Figure 5-14b

N.B.: Linear graphics are active for VNs, VBs and VQs.

M0000518 Page 119


Chapter 5: SiaxEd-Tools SIAX ED

Advanced Variables Display

This function allows creating a list of mixed variables (VB, VN, VQ, VA) and monitoring
their values; the variables list can be stored as a file and, therefore, recalled at any time.

Entering New Variables

You can add variables to the page using these buttons.


Setting Index and Value

Using these buttons it is possible to change, respectively, the index and value of the selected
variable.
Display Mode

Using this key, it is possible to change the display mode of the variables (Large Icons, Small
Icons, List, Directory)
Load and Save

Using these keys, it is possible to save the list of variables or recall a list previously saved to
disk.
Selecting the Type of Character
Using this key, it is possible to change the type of font used by the page.

Page 120 M0000518


SIAX ED Chapter 5: SiaxEd-Tools

NC Emulator
SiaxED allows the user to display a window (Figure 5-15) that represents the panel of the NC
control. The panel allows interacting with the NC with the mouse, as if we were entering commands
with the keys of the control. It has a window that displays the menu at which the NC is positioned
and a graphic keyboard similar to the real one that you can use to interact with the NC (for example,
if you click on the 4 key with the mouse and then click on the [ENTER] key when you are at the
MAIN MENU, you will go to the PROGRAM MANAGEMENT menu).
The NC Emulator thus allows executing all the commands from the PC that can be executed from
the keyboard of the NC. This tool is indispensable when using so-called blind controls, i.e., that
do not have a display and keypad directly on the control.

Figure 5-15

The lower part of the window (Figure 5-15) displays the version of the firmware loaded on the
control and an additional box that displays NC alarm messages.
The drop-down menus in the lower right (Figure 5-16) are used to select the type of NC whose
keyboard will be emulated.

Figure 5-16

M0000518 Page 121


Chapter 5: SiaxEd-Tools SIAX ED
For each type of keyboard selected, you can also activate keys that, in reality, are not found on the
NC. In fact, with the other drop-down menu, you select the function key that is not active on the
keyboard and activate it with the button alongside the drop-down menu (Figure 5-17). Thus, the
keys can be activated using either the graphic keyboard or the drop-down menus described.
For example, after selecting the SIAX300C - Standard keyboard with the upper drop-down menu
(Figure 5-16), you can select the F7 key with the lower drop-down menu and activate it with the
key alongside the drop-down menu (Figure 17).

Figure 5-17

Finally, in the corner on the extreme right of the window, there are two status icons that display the
state of the NC that you are emulating.

NC in STOP state

NC local

Page 122 M0000518


SIAX ED Chapter 5: SiaxEd-Tools

Modem
This is accessed by selecting the item Modem from the Siax-Tools Menu (Figure 5-1), or by
clicking on the tool bar icon (Figure 5-18).

Figure 5-18

The modem communications window appears ( Figure 5-19). Upon the activation of the window,
SiaxED initializes the Modem

Figure 5-19

If the initialization fails because the modem is not present or because the communications port is
not set correctly, the words >>>Time Out<<< and Initialization failed appear.
If the initialization is successful, the text Modem Ready and in Automatic Answer will appear. At
this point, it is possible to enter the telephone number to which you wish to connect in the box
below and confirm with [ENTER].
After connecting with the modem it is possible to manage the functions of SiaxEd remotely (for
example, to manage digital and analog inputs and outputs or variables).

! IMPORTANT
Before accessing the connection with the modem, make sure that
the communications COM port is correctly set. If the active port is
different than the one used by the modem, you must enter the
Settings section (item Settings on the InformationSiaxED Menu)
and change the active COM port.

The LEDs the show the functioning of the remote connection are displayed on the right of the
window (Figure 5-19) just like on the modem.
To correctly manage the modem connection, the modem that is connected to the PC must be
configured in SiaxED and the one on the NC must be configured on the NC connected to it.

M0000518 Page 123


Chapter 5: SiaxEd-Tools SIAX ED
Modem Configuration
To use the modem, the NC needs a PLC program and two .EEP programs. The .EEP programs are:
9890 Init Modem Matrix

9891 Init Modem 9891


These programs are created through the Initialization String Creation procedure and must be
downloaded into the program memory of the NC.
To manage the modem from the NC side, you must also have a PLC module (see the paragraph
PLC Modem Management Example). This PLC Module must be inserted in the PLC of your
application. With this PLC, the Modem can communicate with COM1 or COM2. To decide which
COM to use, you must set VN358, whose meaning is explained in the next paragraph Commands
from User Program to the Modem.

Once the .EEP programs and the PLC sections are loaded, when you use the modem, you can
initialize it by pressing the key whose code is specified in the PLC sections (see PLC Sections
Example).

Creating Initialization Strings


The initialization strings can be created using SiaxED. You select the item Modem Setup from the
Siax-Tools menu and enter the initialization string editor window shown in the following figure:

Keys for
Creating
the
PRG989x

In this environment, it is possible to prepare the programs that contain the modem initialization
strings.
When you click on the 1 key (on the tool bar), the program PRG9891 opens.
Each line inserted corresponds to an initialization string. The string editor functions are:
F2: Add line.
This operation adds an initialization string. To type the AT commands relative to each
string, use the Command String command window in the window.

Page 124 M0000518


SIAX ED Chapter 5: SiaxEd-Tools
F3: Insert Line
Inserts an initialization string. Also in this case, to type the AT commands relative to the
inserted string, use the Command String command window in the window.
F4: Delete Line
Deletes the initialization string on which you are positioned.

N.B.: These commands are also present in the drop-down menu in the SiaxED tool bar when you
access this programming environment as shown in the figure:

Edit Commands

The following figure contains a programming example with the sequence of initialization strings.

Compilation
Key

N.B.: The strings are sent to the modem in sequence, as they are written in the program.

A response action corresponds to each initialization string. In other words, you must specify which
operation the NC performs after the sending of the initialization string. With reference to the
preceding figure, the first line contains the initialization string ATZ to which the command Wait
OK corresponds. This means that the NC sends the modem the string ATZ and then waits to receive
the OK sent from the modem as the response.

M0000518 Page 125


Chapter 5: SiaxEd-Tools SIAX ED
Each initialization string has its operation and this latter is selected with the drop-down menu in the
Operation window as shown in the following figure.

After writing the sequence of strings, you execute the compile with the key provided on the tool
bar.
In this way, you have created the File PRG9891.EPP and the Matrix 9890.EEP. Both of these files
must be loaded on the NC in program memory as described in the NC Configuration paragraph.
As can be seen in the Figure, you can write up to 4 initialization programs. However, you must take
care to indicate in the PLC which of the 4 programs is used for the initialization. To do this, you
must load the right value in the variable VN358. The function of the variable VN358 is explained in
the paragraph Commands to the modem from user program.

Steps for Obtaining Suitable Initialization Strings


The modem initialization strings can be derived from the .inf file that is found in the modem driver.
However, the modem can be used in two ways:

A) NC-side Modem. I.e., the modem is initialized in such a way that it waits for a call.
B) PC-side Modem. I.e., the modem is initialized as the caller.

On the basis of these two modes of use, you must follow the following instructions for the correct
operation of the connection:

A) in this mode of use you must:


- use connection cables between the NC and modem that use only signals 2-3
of the RS232 cable (7-8 if you are using COM2 of the NC) and, from the modem
side, bridge the flow control signals (RTS, CTS, DSR, DTR).

- take the init strings in the .inf file of the drivers provided by the modem and make
sure that the following AT instructions are present:
- &C1
- &D0
- &K0
- V1

In the case in which these commands are not present or are different, you must insert them in a
new string, such as the following:

ATV1&C0&D0&K0

Page 126 M0000518


SIAX ED Chapter 5: SiaxEd-Tools

B) In this mode of use you must:


use the connection cables between NC and modem that use only signals 2-3
- of the RS232 cable (7-8 if using COM2 of the NC) and, from the modem side,
bridge the flow control signals (RTS, CTS, DSR, DTR).

- use the strings that are found in the .inf file provided with the modem drivers without
making changes. These strings must be used as initialization strings from the PC side
and are created by typing them with SiaxED in the item Modem Configuration
from the Siax/Tools menu. To type these strings, you must click on the PC key as in
the figure:

PC-Side Modem
Configuration Strings

Operating Details
VB406 enables the execution of the commands specified in VN358 (Command VN); VN357
displays the state of advancement of the operations (Status VN).

If debug mode is enabled (bit 12 of the command VN set to 1), VA14 contains the value of the
additional commands VN followed by the string of the VA (in practice, the current step of the user
program is written in VA14); VA15 contains the return code of the command execution followed
by the response string returned from the modem. (NOTE: the writing of the information to VA15 is
not yet implemented).

The first user program that contains the sequences to be sent to the modem is number 9890; there
are up to 4 user programs available and they are specified by bits 10 and 11 of the command VN:

bit 11 bit 10 program


0 0 9891
0 1 9892
1 0 9893
1 1 9894

M0000518 Page 127


Chapter 5: SiaxEd-Tools SIAX ED

VN Command Code (associated to the VA)


0 sends the string, wait OK, with timeout
1 sends the string, wait OK, with timeout, ignore any errors
2 sends the string, wait RING, without timeout
3 sends the string, wait CONNECT, without timeout

if the value 2 or 3 is selected for the VN command code, the associated VA must be empty.

If the sequence of steps ends without a VN with code 2 or 3, the sequence of operations ends with
the status VN with a value of 15 (15 = end without error of the sequences contained in the user
program)

format of the strings expected in response from the modem:

OK \r\nOK\r\n
RING \r\nRING\r\n
CONNECT \r\nCONNECT

\r = 'carriage return' (code 13)


\n = 'line feed' (code 10)

bit of the Command VN (VN358)

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
debug prog offs COM used command
on VA

0 = no 0 = 9891 0 = op.com1
1 = yes 1 = 9892 1 = op.com2
2 = 9893 2 = n.i.
3 = 9894 3 = n.i.

command:
0 usual mode
1. sequences of commands from user program (cmd ext mode)
2. n.i.
3. like command 1 but with 2-second wait between the sending of the sequences (cmd ext mode)

bit of the Status VN (VN357)

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
error code step num. (user prg) cmd connec error state
ext t

some values assumed by the status VN:


4 awaiting "RING"
5 awaiting "CONNECT"
15 end command sequence from user program
64 connect

Page 128 M0000518


SIAX ED Chapter 5: SiaxEd-Tools

PLC Modem Management Example


Below, we show the example PLC sections for managing the Modem.

M0000518 Page 129


Chapter 5: SiaxEd-Tools SIAX ED

NC Password
On all the tools from firmware version 4.18 on, it is possible to define a personalized password to
access all the menus/functions of the control and, for this reason, it is necessary to type one.
From version 2.0.5 or higher of SiaxED it is possible to create the necessary programs directly
through this section.
For the details of this function, we refer you to the NC Programming Manual (paragraph,
Dedicated Password Management)

Page 130 M0000518


SIAX ED Chapter 5: SiaxEd-Tools

Cam Analyzer
This function is used to graphically analyze the trend of a Tabular cam.
It is only available for some dedicated firmware that provides this type of tracking.

The function is automatically disabled if tabular cams are not detected on-board the Connected NC.

M0000518 Page 131


Chapter 5: SiaxEd-Tools SIAX ED

Calibration of FPGA Analog Outputs

Using this panel, it is possible to calibrate the offset values of the FPGA analog outputs (operation
usually reserved for Testing personnel).

The window is automatically disabled in the case that there are no FPGA outputs on the connected
control.

Page 132 M0000518


SIAX ED Chapter 5: SiaxEd-Tools

Special Functions
This section of SiaxED allows loading the firmware on the NC.
This is accessed by selecting the item Special Functions on the Siax-Tools menu (Figure 5-1).
A message window appears (Figure 5-20) that informs the user that the Numerical Control is being
restarted with the operation of the LOADER.

Figure 5-20

If you confirm the restart of the NC with the OK button, the LOADER is loaded in RAM memory.
This latter is present in both the flash memory of the control, where the firmware resides (memory
bank 0) and in the flash memory of the card in the control (memory bank 3). To specify which
LOADER to load, you must go to the SiaxED settings by selecting the item Program Options on
the Information-SiaxED menu.
The window in Figure 5-21 appears. To select the loading of the LOADER from the flash memory
where the firmware resides, select the item Firmware, while, if you select loading the LOADER
from the flash memory of the card, select the item Flash (Figure 5-21).

! NOTE We recommend always using the LOADER from the flash memory
of the card (item Flash) since what is present in the flash memory of
the firmware (item Firmware) could have been lost after a failed
firmware loading.

Figure 5-21

M0000518 Page 133


Chapter 5: SiaxEd-Tools SIAX ED
Once the LOADER is loaded, the window in Figure 5-22 appears, where there are four tabs for
managing the loading of the firmware.

Flash Status Tab


The Flash Status tab displays information about the LOADER that is running and about the flash
memory that is being used (Figure 5-22).

Figure 5-22

The upper part of the tab displays the version of the LOADER in use.

Identification
A window that displays the type of control and the frequency of the quartz in use.

Chip Set
A window that displays the type of flash memory used. Depending on the system in use, the flash
memory could be:

F040
4-Mbit flash memory. There are 2 chips, so the system has 8 Mbit of flash memory, i.e., a total of 1
Mbyte.

F010
1-Mbit flash memory. There are 2 chips, so the system has 2 Mbit of flash memory, i.e., a total of
256 Kbytes.

Page 134 M0000518


SIAX ED Chapter 5: SiaxEd-Tools

! NOTE The information windows, Identification and Chip Set, are displayed
using LOADER version 6.0a and higher. When using versions prior
to 6.0a, the system will reply that it is not possible to display this
information.

Flash
Communicates some information about the flash memory in use.

Address
Initial memory address.

Size
Total size of flash memory. As explained above, if the memory is type F040, there is a total of 1
Mbyte of flash memory, otherwise, the memory is type F010 and there is a total of 256 Kbytes of
flash memory.

Size
Size of a memory sector. If the memory is type F040, the size of a sector is 131 Kbytes, while, if it
is type F010, the size of a sector is 32 Kbytes.

Buffers
Internal information about memory management buffers.

M0000518 Page 135


Chapter 5: SiaxEd-Tools SIAX ED
Advanced Tab
The Advanced Tab allows displaying and setting the configuration of the NC for the proper sending
of the firmware from the PC to the NC (Figure 5-23).

Figure 5-23

Page 136 M0000518


SIAX ED Chapter 5: SiaxEd-Tools

Position
Specifies the position of the NC jumper in use.

! NOTE The NC can be started in two modes:

From Firmware
In this case, when the control powers-up, the firmware in flash
memory is loaded and the system is managed by the firmware that is
found there. To select this start-up option, you must position the
memory jumpers as shown in Figure 5-24.

Figure 5-24

From the LOADER


In this case, when the control powers-up, the LOADER in the flash
memory of the card is loaded and the system is managed by the
LOADER that is found there. To select this start-up option, you must
position the memory jumpers as shown in Figure 5-25.

Figure 5-25

In this section, you must specify which jumper configuration is being used on the control for the
correct transfer of the firmware.
If the jumper on the NC is configured as in Figure 5-24, you must select the item NC Started from
Firmware in the window in Figure 5-23.
If the jumper on the NC is configured as in Figure 5-25, you must select the item NC Started from
LOADER in the window in Figure 5-23.

! IMPORTANT
Before sending the firmware to the NC, make sure that the position
of the jumper specified in the Advanced Tab is the same as the real
position of the jumper on the NC control.
If not, you risk losing both the firmware and the LOADER in both
flash memories.

M0000518 Page 137


Chapter 5: SiaxEd-Tools SIAX ED
Siax Serial Port Used
Specifies which port, COM1 or COM2, is being used to transfer the firmware.

! NOTE The NC can transfer the firmware using either COM1 or COM2.
However, the use of one or the other, involves differences. In fact, if
COM1 is selected, the data transfer speed is 115,200 bits/sec,
while, if COM2 is selected, the data transfer speed is 38,400
bits/sec.

Normally, COM1 is used for the firmware transfer, unless that port is already busy (for example, on
the palm computer, COM1 is already used for the connection between the remote keyboard and the
control).

Send Firmware Tab


The firmware is sent from the PC to the NC in the Send Firmware tab. In the window that appears
(Figure 5-28), it is possible to select which firmware to load on the NC. To make the choice, just
click on the button (Figure 5-26) that is located alongside the text bar that displays the path where
the .BIN file relative to the firmware to load is found (in Figure 5-26 the file is stl_ep73.bin.)

Figure 5-26

The window in Figure 5-27 appears, through which you can select the path to the file to be
transferred.

Figure 5-27

Once you have selected the firmware to be sent to the NC, you must verify that the configuration of
the jumpers and serial port displayed in the tab (Figure 5-30) correspond to what is really being
used. If not, you must change the configuration of the jumpers and COM serial port as specified in
the Advanced tab already described.

Page 138 M0000518


SIAX ED Chapter 5: SiaxEd-Tools

Figure 5-28

When you are sure that the configuration of the jumpers and the COM port are correct and that the
firmware file selected is the one you want, you begin the transfer by clicking the START key
(Figure 5-29).

Figure 5-29

The progress of the transfer is displayed in the sections Buff1, Buff2 and Running Operation
(Figure 5-30).

Figure 5-30

At the end of the transfer, SiaxED reports the completion of the transfer, if it finished successfully
(Figure 5-30).

M0000518 Page 139


Chapter 5: SiaxEd-Tools SIAX ED
If not, such as, for example, the serial port is not connected, a COMMUNICATION TIMEOUT
window appears (Figure 5-31).

Figure 5-31

Logo Tab

This allows sending a new logo, which will replace the standard one at the power-up of the NC.
The Logo must be a Monochromatic Bitmap with dimensions appropriate for the Display. It will
only be displayed on Graphic displays. The Reset key will make the Standard logo active again. The
send key transfers the logo to the NC.

Exit Tab
The Exit tab allows abandoning LOADER management and sending the firmware (Figure 5-32).
You can exit from this environment in two modes:

Exit remaining in the LOADER


You exit from the Special Functions environment, with the loader remaining in operation, but not
starting the firmware.

Exit and restart the firmware

Page 140 M0000518


SIAX ED Chapter 5: SiaxEd-Tools

You exit from the Special Functions, starting the firmware on the NC.

! NOTE The Special Functions environment can only be abandoned by


choosing one of the two exit modes.

Figure 5-32

M0000518 Page 141


Chapter 5: SiaxEd-Tools SIAX ED
After selecting the mode of exiting, click on the icon in the tool bar above to the right.
A message window appears that describes what to do in the event the NC is not working when you
exit (Figure 5-33).

Figure 5-33

When you click OK, you will definitively leave the Special Functions environment.

Page 142 M0000518


SIAX ED Chapter 5: SiaxEd-Tools

NC Presets
This functions of SiaxED permitted of:
Reset to default value all NC parameters.
deleting the program memory.
Configuring the NC for the use of the DOS or WINDOWS PLC
CN Preset will be necessary then upgraded firmware.

! NOTE Before use CN Preset must be saved(with SiaxED or TXW


programs for exampl), all dates storaged , example: axis
parameters, machine parameters, battery back up variables.

By Strument Menu enter into CN Preset.

M0000518 Page 143


Chapter 5: SiaxEd-Tools SIAX ED

! NOTE Is better make only one CN Preset operation for time, even if is
possible make together the functions:
1. CANopen parameters(if present), Axis parameters, Tools
parameters, View area.
2. Programs memory.
3. RAM battery back up
4. PLC type.
After every inzialization operation, is needed go off Preset page,
power off and start up the CN.

Page 144 M0000518


SIAX ED Chapter 5: SiaxEd-Tools

Other SiaxED Tool Bar Functions

Tool Box User Programs


NC Panel
Selector

Tool Box
Provides quick access to the principal NC command functions.

Start/Stop PLC
Start/Stop NC (verify and
(verify and command)
command)

Local/Remote State
(verify and command)

NC Status (verify
and set)

NC Selector

Allows selecting the NC to which to address the communication.


The function is provided for MultiNC systems.
It has no effect if you are working with a single NC.

M0000518 Page 145


Chapter 5: SiaxEd-Tools SIAX ED
User Program Tool Box

During the application development phase, it provides a flexible tool for verifying the operation of
the User Program Manager.

In addition to buttons for Creating, Saving and Loading programs, Appending, Inserting and
Deleting and Scrolling steps, it displays, and allows setting, the control VNs relative to the base
matrices, automatically calculates the type of data and sets it in the appropriate VN.

It also displays the program Name from VA0 in plain text and the last alarm that occurred during
the management of User Programs

Page 146 M0000518


SIAX ED Index

Index
Introduction........................................................................................................................................... 3
System Requirements....................................................................................................................................... 4
Use of the Keyboard......................................................................................................................................... 5
Notes on Paths (Directories)............................................................................................................................. 6
Activation Code............................................................................................................................................. 7
Settings ......................................................................................................................................................... 8
Language of SiaxED.....................................................................................................................................10
Start Page Editor...........................................................................................................................................10
Development Environment...................................................................................................................11
Introduction to Programming.........................................................................................................................12
Expert Programming ......................................................................................................................................12
Description of the Easy_Case Window..........................................................................................................13
Internal Editor .......................................................................................................................................................... 13
External Editor......................................................................................................................................................... 14
Managing NC Programs ...............................................................................................................................15
Easy_Case Window Tool Bar .......................................................................................................................17
Assisted Programming ....................................................................................................................................19
Interface Window .........................................................................................................................................20
Program Tab.................................................................................................................................................20
Entering Instructions ................................................................................................................................................ 20
Define Tab ...................................................................................................................................................23
Compile Tab.................................................................................................................................................24
PLC Programming..........................................................................................................................................26
Program Manager...........................................................................................................................................27
Operations on Programs................................................................................................................................29
Debugger .........................................................................................................................................................31
PLC Commands ..............................................................................................................................................35
User Pages Management ......................................................................................................................37
General Information .......................................................................................................................................38
User Pages Editor............................................................................................................................................41
Project Management .....................................................................................................................................41
Opening an Existing Project..........................................................................................................................41
Creating a New Project .................................................................................................................................41
Closing the Project .......................................................................................................................................41
Pages Management..........................................................................................................................................41
Default Page.................................................................................................................................................41
Saving a Page...............................................................................................................................................43
Creating a New Page ....................................................................................................................................43
Opening a Page ............................................................................................................................................44
Deleting a Page ............................................................................................................................................44
Project Info ..................................................................................................................................................44
Display Modes .............................................................................................................................................45
Display Options............................................................................................................................................45
Page Settings................................................................................................................................................49
Objects in Page................................................................................................................................................52
Types of Objects...........................................................................................................................................52
Selecting, Changing and Moving Objects......................................................................................................55
Text Database..................................................................................................................................................56
Alarm Text Database ....................................................................................................................................59
Multilingual Texts ........................................................................................................................................60
Images Database..............................................................................................................................................61
Creating a Bitmap.........................................................................................................................................63
Switch Tabs Database .....................................................................................................................................64
Adding a New Switch...................................................................................................................................64
Deleting a Switch .........................................................................................................................................64
Changing a Switch........................................................................................................................................64
Setting a Switch............................................................................................................................................65
Example of a Two-Value Switch...................................................................................................................66

M0000518 Page 147


Index SIAX ED
Example of a Several-Value Switch ..............................................................................................................68
Range Switch ...............................................................................................................................................70
Objects.............................................................................................................................................................73
Types of Objects...........................................................................................................................................74
Hiding Mask.................................................................................................................................................75
TEXT Object................................................................................................................................................76
NUMBER Object .........................................................................................................................................78
Special Number Objects ........................................................................................................................................... 80
NOTE about the dimensions of Number Fields.......................................................................................................... 82
Copy From Number Function ................................................................................................................................... 82
BITMAP Object ...........................................................................................................................................83
LINK Object ................................................................................................................................................86
Default Link............................................................................................................................................................. 87
ALARM Object............................................................................................................................................88
SWITCH Object ...........................................................................................................................................90
NC Program Selection ..................................................................................................................................93
File Manager ................................................................................................................................................94
Transmitting the Pages to the NC..................................................................................................................95
Memory Set-Up (VN377) ......................................................................................................................................... 95
VNs useful for the user pages management ...................................................................................................95
Automatic / Manual.................................................................................................................................................. 95
VN376..................................................................................................................................................................... 96
VN379..................................................................................................................................................................... 96
Additional functions for the pages on Siax100 - To5.7...................................................................................97
Numerical Control Parameters ..........................................................................................................102
NC Parameters..............................................................................................................................................103
Machine Parameters ...................................................................................................................................103
Axis parameters..........................................................................................................................................105
CanOpen Parameters ..................................................................................................................................109
SiaxED Tools.......................................................................................................................................112
Input/Output Tester......................................................................................................................................113
Digital Inputs..............................................................................................................................................113
Digital Outputs...........................................................................................................................................114
Analog Inputs.............................................................................................................................................114
Analog Outputs ..........................................................................................................................................115
Encoder......................................................................................................................................................116
Dip Switches ..............................................................................................................................................117
Managing NC Variables................................................................................................................................118
Advanced Variables Display .........................................................................................................................120
Entering New Variables..............................................................................................................................120
Setting Index and Value..............................................................................................................................120
Display Mode .............................................................................................................................................120
Load and Save ............................................................................................................................................120
Selecting the Type of Character ..................................................................................................................120
NC Emulator .................................................................................................................................................121
NC Emulator .................................................................................................................................................121
Modem...........................................................................................................................................................123
Modem Configuration ................................................................................................................................124
Creating Initialization Strings ................................................................................................................................. 124
Steps for Obtaining Suitable Initialization Strings.................................................................................................... 126
ATV1&C0&D0&K0 ..................................................................................................................................126
Operating Details........................................................................................................................................127
PLC Modem Management Example............................................................................................................129
NC Password .................................................................................................................................................130
Cam Analyzer................................................................................................................................................131
Calibration of FPGA Analog Outputs ..........................................................................................................132
Special Functions ..........................................................................................................................................133
Flash Status Tab .........................................................................................................................................134
Identification.......................................................................................................................................................... 134
Chip Set................................................................................................................................................................. 134
Flash...................................................................................................................................................................... 135
Buffers................................................................................................................................................................... 135

Page 148 M0000518


SIAX ED Index
Advanced Tab ............................................................................................................................................136
Position.................................................................................................................................................................. 137
Siax Serial Port Used.............................................................................................................................................. 138
Send Firmware Tab ....................................................................................................................................138
Logo Tab....................................................................................................................................................140
Exit Tab .....................................................................................................................................................140
NC Presets.....................................................................................................................................................143
Other SiaxED Tool Bar Functions ................................................................................................................145
Tool Box ....................................................................................................................................................145
NC Selector................................................................................................................................................145
User Program Tool Box ..............................................................................................................................146
Revisions........................................................................................................................................................150

M0000518 Page 149


Revisions
Version Date Changes
2.5 24/10/05 Moves chapter User Programs from User Page
Management to Programming Manual M0000464. Deleted
chapter SiaxPlay. Change description Preset CN.Insert
chapter additional functions for Siax100-TO5.7 pages
2.6 10/05/06 Page 8: added distinction between SiaxEd versions prior to
3.01.2 of 03 Apr 2006 and those after, in regard to autotuning
the serial port. Added important note for blocking the change
in baud rate when using the modem.
Page 14: updated Figure 2.7-Settings Panel.
Page 38: added description of launching User Page Editor.
Added Figure 3.0-Selection of Editor Pages from the
Programming Menu. Added Figure 3.0a-Page Editor Icon on
the tool bar.
Page 50: added 320x240 graphic formats and indication of
which are the various NC terminals that use them.
Page 100: added description for Operator Terminal Slave
mode.
Page 133: updated Figure 5.21-Settings Panel.
2.7 27/02/08 Added Chapters Program NC Selector and File Manager
Modified Chapter Trasmitting the Page to the NC

Copy conforms to the original


Signature ________________

Manual:.............................................................................................. SIAX ED
Code: ............................................................................................... M0000518
Version:........................................................................................................ 2.7
Total no. of pages:....................................................................................... 150

TOCUTIU CRESSONI
Written by _______________ Approved by________________
22/05/09 22/05/09
Date____________________ Date ______________________

Você também pode gostar