Controller menu
If no project file is open in CLS M2, the menu only contains general
functions concerning the controller:
If no project file is open in CLS M2, the functions concerning the
program appear:
Details of each item in the Controller
menu:
- Connection | Configure...
- Concerns the connections of the host (PC). To communicate with the
controller, the programmer can choose between a modem or a connection via
serial link (com port). This choice is made in the "Configuring the connection" dialogue window.
- Connection | Connect
- Concerns the connections of the host (PC). This function is used to
dial the telephone number of the modem connected to the controller, using the
"Configure connection" dialogue window:
- Connection | Disconnect
- Concerns the connections of the host (PC). This command is used to
cut the connection of the host's modem. When a modem line is active, it is
advisable to disconnect before making a new call.
- Configure controller modem
- This function opens the "Configure the
controller modem" window for initialising the modem connected to the
controller.
- Read in the controller
- This function converts the data contained in the controller to
display a chart in the Edit window.
- The programmer will only be able to read the contents if the
controller:
· Does not contain a program
· Contains a
program which is not read/write protected by a password
· Contains a
program which is read/write protected and for which the programmer knows the
password. In this case, the Password dialogue box
appears.
- This data contains the file name and related access path as they
existed when the "Write to controller" function was executed. The access path
leads to the working directory selected using the "File/Preferences" command which was selected when the "Write to
controller" command was executed. In order to improve and complete the
presentation of the chart constructed in the Edit window, this function
searches in the host's FMS (File Management System) for a file with the same
name situated in the directory selected by the access path obtained by grouping
the access path to the working directory selected in "File/Preferences" when
the "Read in the controller" command was executed and the related access path
saved in the program loaded in the controller.
- However, modifications may subsequently have been made:
- · In the file by a new save
- · In the controller (parameters via the front panel).
- It is therefore necessary to compare all the data to find out whether
the graphic information in the file can be used to display the chart.
- In the event of parameter conflicts the dialogue box will ask the
user if the program is to be updated from the edit window with the parameters
read on the controller.
- In the event of program conflicts (in addition to parameter
conflicts) and if the file containing the program on the PC cannot be accessed,
the Program construction window will appear.
- Write to the controller
- This function translates the contents of the Edit window into data
which can be downloaded to the controller. The function can only be executed if
the controller is not blocked by a previous incorrect password being sent and
is off.
The programmer can only write the program if the controller:
· Does not contain a program
· Contains a program which
is not read/write protected by a password
· Contains a program which
is read/write protected and for which the programmer knows the password. In
this case, the Password dialogue box appears.
For this function to be executed, the type of controller
associated with the program must be compatible with the connected
controller.
Only a compiled program containing no errors will be written to
the controller.
The program will only operate on the controller if the
controller contains at least the application-specific functions used in the
program. The various dialogues between ClsM2 and the user when writing the
program using application-specific functions are described in
General information about application-specific
functions.
- If all these conditions are met, the Write
options dialogue box appears.
- Compare the data in the controller with the
program
- This function tests the similarity of the data contained in the
controller and the data produced by compiling the chart in the Edit window. If
the controller data is protected by a password, the user is prompted to enter
it, in the Password window.
- Clear the controller contents
- This function destroys the data contained in the controller.
The
programmer can always clear the program, whether or not it is protected by a
password.
- Controller diagnostics
- The Controller diagnostics dialogue window is
only accessible if a controller is connected to the PC.
It contains the
following information:
· The controller type and the release/version
of the hardware and software
· Numbers and types of
inputs
· Numbers and types of outputs
· Connected
extension(s) and release(s)/version(s), only for XT20:
List of connected
extensions (XL, XC and XD)
· Controller status (On, Off, Blocked by
an error)
· Error code (No error, Binary fault, Communication fault,
Target error)
· Memories used/maximum memories
· Cycle
time
- Check program
- This function enables the user to check that the chart contained in
the Edit window is semantically correct with respect to the SFC (GRAFCET)
networks and to find out the memory sizes and maximum program cycle time. All
this information is summarized in the Compilation
result dialogue window.
- Controller On/Off | Off
- This function stops the execution of the program in the controller.
For more detailed information, click here.
- Controller On/Off | Initialise and on
- This function starts the execution of the initialisation sequence of
the program in the controller then the execution of that program. For more
detailed information, click here.
- Read/Write date and time
- This function enables the programmer to change the date, time and
drift values of the controller clock to seconds per week. This is done via the
Alter the controller clock window.
- List of application-specific functions | In the controller...
- This function provides the programmer with a list of the
application-specific functions in the connected controller. The list is given
in the List of application-specific functions in the
controller dialogue box. For more detailed information about the
application-specific functions, click here.
- List of application-specific functions | Loadable
binaries...
- Update controller software
- This function provides the programmer with a list of the
application-specific functions in CLS M2. The list is given in the
List of application-specific functions in CLS M2
dialogue box. For more detailed information about the application-specific
functions, click here.
- This command downloads the target software to the controller. It can
be used to select the language of the target software to be loaded. It deletes
the program which was loaded in the controller as well as all the
application-specific binaries.
- Remote control of front panel | On
- This command is used for the remote control of a controller connected
to the PC. Once the connection has been established, the controller is
controlled using the front panel window, which the user can operate as
if it were the actual front panel of the controller.
- Remote control of front panel | Off
- This command is used to stop the remote control of the front panel
activated using the "Remote control of front panel | On" command.
Back to Contents