Professional Documents
Culture Documents
Manual IDC32 TOOLS GB
Manual IDC32 TOOLS GB
IDC32-TOOLS_ENG
Elektro-Mechanik GmbH
Industriestr. 1
File: /conversion/tmp/activity_task_scratch/684324505.doc Page 1 of 11
Manual IDC32-TOOLS
June 26, 2004
D - 57482 Wenden
TABLE OF CONTENTS
1 IDC32_TOOLS_ENG 4
1.5 Settings 11
Applications
ATTENTION: For applications with controls involving safety requirements, please observe
the applicable instructions.
For safety reasons and in order to preserve the documented system data,
only the manufacturer may repair components.
Data and illustrations are without commitment. They are subject to modifications that reflect
technical progress.
Should you have suggestions for improvements or modifications, or if you discover errors
in this document, please inform ST-E.
1 IDC32_Tools_ENG
"IDC32_Tools_ENG “ is an application to provide the following functionalities:
- Programme download
- Parameter upload and download
- Displaying measured values
- Displaying / modifying parameters
- Displaying / controlling operating modes
- Setting communication parameters
For easy retrieval of project files processed using IDC32_Tools_ENG, the user variable
LC32_PRJ_ROOT should be defined in the system properties. All projects should be
filed in the directory which is defined here. This directory is automatically accepted in the
"project path" field with each file selection within IDC32_Tools_ENG. If the user variable
LC32_PRJ_ROOT has not been defined, a corresponding indication will be displayed.
Using the menu item "Programme -> Download", an Intel-Hex file (identification H86)
which has previously been generated for IDC32 is loaded into the target system. After
selecting this function, the following screen is displayed:
In the field "Project path", the directory selected using LC32_PRJ_ROOT is entered. In
the field "Project name", the name of the current project must be entered with no path or
extension.
If the current project name is not known, the H86 file to be loaded can be selected using
the "browse" button. The generated H86 files are filed in the following directory:
For IDC32:
\LC32_PRJ_ROOT\pname.L2P\EMG-Controller.L2C\IDC32.L2R\public\CCODE\MBRT\EMG\IDC32
The root directory of logiCAD / 32 projects stands for the user variable
LC32_PRJ_ROOT. The remainder of the path is defined.
The H86 file itself has the name " IDC32.H86" (same name for all projects).
Under Windows NT the DIL switch S3.2 of IDC32 must be set to ON before download-
ing itself is initiated by depressing the "OK" button in the "Select project" window.
Under Windows 2000 the S3.2 button may only be depressed after it has been reques-
ted (by a message box). After activation of the DIL switch, the request must be acknow-
ledged.
The 2 different procedures are due to the different behaviour of the serial interface under
Windows 2000 as compared with Windows NT.
Progress of downloading is displayed in the status bar at the lower edge of the window.
If errors occur during this process, a message box is displayed and download is
abandoned.
The menu item "Parameter -> Upload" serves to read parameters from IDC32 and to
save them in a file. To start this process, enter the project as in the case of a programme
download or select the respective H86 file. The read parameters are filed together with
the additional information as ASCII in the file "IDC32.PRM". The path to go to this file is
identical with the path to the H86 file of the project.
When an incorrect target system is detected during an uploading attempt, or if the selec-
ted project name is not in line with the project name of the target system, parameter up-
load is rejected and an error message is displayed.
Parameters read from IDC32 can be written into the target system using the menu item
"Parameter -> Download". After selecting the menu item, an alarm message concerning
modification of parameters and operating modes is displayed first. After acknowledging
this alarm, the project must be entered (as in the case of programme download) or, in
this case, the related PRM file must be selected (when starting the tool from logiCAD /
32 the current programme is automatically accepted).
If an incorrect target system is detected during downloading, the parameter download is
rejected and an error message is displayed.
If the selected project name is not in line with the project name of the target system, an
alarm message is displayed, and the system asks whether parameter download should
nevertheless be started.
If the project status in the parameter file is not in compliance with the project status in
the target system, an alarm message is displayed asking whether parameter download
should nevertheless be started.
If the number of parameters in the parameter file is not in line with the number of para-
File: /conversion/tmp/activity_task_scratch/684324505.doc Page 6 / 11
Manual IDC32-TOOLS
June 26, 2004
meters in the target system, or if a parameter of the parameter file is not within the pro-
jected limits (filed in the target system), or if a syntax error of a parameter contained in
the parameter file is detected, download is rejected and an error message is displayed.
Attention:
The parameter file must not be edited as the parameters must be saved in the file
in a special format. If the form and position of parameters in the file was incor-
rectly edited, incorrect or meaningless parameters might be transferred to the tar-
get system.
Using this menu item, various measuring values and parameters can be displayed, and
parameters can be modified. Furthermore, the current operating mode is displayed and
can also be modified. After selecting the menu item, a warning concerning the modifica-
tion of parameters and operating modes is displayed first. After this warning has been
acknowledged, the following dialog opens up:
In the header of the dialog box, the name and the date when the target system (IDC32)
of the existing project was created are displayed.
In the lower part of the box, the minimum cycle reserve of the project is continuously dis-
played (updating time: approx. 100 ms). Furthermore, the status of the connection to the
target system (active / inactive) is displayed. When opening the dialog, the connection
with the target system is established and maintained until the dialog is closed. This is in-
dicated in the line "Connection with target system: active". If a transmission or connec-
tion error occurs, an error message is displayed, and the above line changes to "Con-
nection with target system: inactive". The error message quotes the activity when the er-
ror occurred. In this window, 2 buttons are available for acknowledgement: "Retry" and
"Cancel". When clicking "Retry", the system tries to establish communication with the
target system again, when clicking "cancel", the complete online dialog is closed.
The middle section of the dialog box is divided into 3 groups: parameters, measured val-
ues, and operating modes. Here, parameters can be displayed and modified, measuring
values can be displayed and the current operating mode of the target system is automat-
ically displayed (provided that it has been projected). The mode can be controlled from
this box.
The number of parameters in the target system is displayed right below the group desig-
nation "Parameter".
After entering a parameter number and depressing the button "Display value", the cur-
rent parameter value of the target system (IDC32) is displayed with its name and its unit.
This value can be changed in the input window "Value" and written into IDC32 by de-
pressing the button "Set value". The written value is then automatically read back so that
correct transmission to the target system can be checked. This process is not automatic-
ally updated as is the case e.g. for measured values.
The number of parameters in the target system is displayed right below the group desig-
nation "Measured values".
Up to 2 measured values can be continuously displayed (updating time approx. 100ms,
depending on the utilisation of the PC resulting from other applications). After entering a
number of a measured value and leaving the input field for the number (e.g., by clicking
on the "Start" button), the selected measured value, its name and unit are constantly
read from the target system and displayed. Once the cursor is placed into the input field
for the number of the measured value, updating of the measured value is interrupted
and the displayed values are cleared. The second measured value (provided that a
second value has been selected) is still being updated, independently of such interrup-
tion.
In the "Operating modes" group, the current mode of the target system is continuously
displayed with an updating time of approx. 100 ms (provided that the displays have been
projected accordingly). When a transmission or a connection error occurs (as in the case
of the update of the measured value), an error message is displayed, and the status
changes to "inactive". After curing the connection error and acknowledging the error
message by clicking on the "Retry" button, the connection to the target system is estab-
lished again.
If the I/O have been projected accordingly, the mode may be changed here (by clicking
the respective button) or the system may be set to the manual mode by clicking the but-
tons "Man L" or "Man R" and keeping them depressed.
Attention: Activation of the buttons "Man L" and "Man R" is transmitted to the tar-
get system with a delay of approx. 0.5 s (input delay).
1.5 Settings
Some parameters of the serial coupling can be reached using the menu item "Settings".
Using the keys "Settings -> Baud rate", a transmission rate of 9600, 19200, 38400, or
57600 bit / s can be selected. This setting only refers to programme download. Para-
meter upload / download as well as parameter modification is always made at a speed of
9600 bit / s.
"Setting -> COM-Port" serves to select the communication port. Ports 1, 2, 3 and 4 are
available. This setting applies to all communications with MCU16 or IDC32 (also to pro-
gramme download).