You are on page 1of 184

MMI 17 WIN Contents

Section Page
1 Introduction to MMI 17 WIN software 1/1

1.1 Introduction 1/1

1.2 Description of the required environment 1/2

1.3 Software functions 1/3


1.3-1 General 1/3
1.3-2 General presentation 1/3
1.3-3 Methodology 1/4
1.3-4 Environment 1/5
1.3-5 WYSIWYG editor 1/6
1.3-6 Configuring the application 1/7
1.3-7 Creating status messages 1/8
1.3-8 Creating alarm messages 1/9
1.3-9 Creating groups of status messages 1/10
1.3-10 Assigning the CCX 17 command keys 1/11
1.3-11 Selecting and modifying the character font 1/12
1.3-12 Transferring the application to or from the CCX 17
operator panel 1/13

2 Hardware installation 2/1

2.1 Connecting the terminal to the CCX 17 operator panel 2/1


2.1-1 Principles 2/1
2.1-2 Direct connection to the CCX 17 operator panel 2/1
2.1-3 Connection via a PLC 2/2

___________________________________________________________________________
S/1
MMI 17 WIN Contents

Section Page
3 Software installation 3/1

3.1 MMI 17 WIN software installation 3/1


3.1-1 Preliminary operations 3/1
3.1-2 Installation procedure 3/1
3.1-3 Defining the program location 3/2
3.1-4 Uninstalling software 3/2

3.2 Starting MMI 17 WIN software 3/3


3.2-1 Initial screen 3/3
3.2-2 Pull-down menus 3/5

4 Communication principles 4/1

4.1 General 4/1

4.2 Exchanges via mailbox 4/3


4.2-1 Mailbox structure 4/3
4.2-2 Executing commands 4/3
4.2-3 Managing responses 4/4
4.2-4 Managing acknowledgments : error processing 4/5
4.2-5 Managing alarm messages 4/7

4.3 Exchanges via integrated MMI functions 4/9


4.3-1 Displaying a message (or a group) without operator entry 4/9
4.3-2 Displaying a message with operator entry 4/10
4.3-3 Request to display an alarm message 4/12
4.3-4 Managing the operator panel indicator lamps 4/13
4.3-5 Assigning the operator panel command keys 4/13

4.4 Alarm management via the mailbox and MMI functions 4/14

4.5 Principles of communication on the UNI-TELWAY bus 4/15

___________________________________________________________________________
S/2
MMI 17 WIN Contents

Section Page
4.6 Principles of communication on the FIPIO fieldbus 4/16

4.7 Rules for optimizing requests 4/17

5 Using MMI17 WIN software 5/1

5.1 WYSIWYG editor 5/1


5.1-1 Managing status messages using WYSIWYG 5/2
5.1-2 Managing the command keys 5/4
5.1-3 Managing groups using WYSIWYG 5/5
5.1-4 Managing the preview mode 5/7
5.1-5 Modifying the display order 5/8
5.1-6 Copy / Paste 5/9
5.1-7 Context-related activation of WYSIWYG 5/10

5.2 Configuring the application 5/11


5.2-1 General 5/11
5.2-2 Changing the type of operator panel 5/13
5.2-3 Configuring the operator panel 5/15
5.2-4 Configuring the link 5/19
5.2-5 Configuring the device 5/30
5.2-6 Protecting configuration parameters 5/32
5.2-7 Printer link 5/34

___________________________________________________________________________
S/3
MMI 17 WIN Contents

Section Page
5.3 Creating status messages 5/35
5.3-1 Principle of data entry 5/35
5.3-2 Data entry 5/36
5.3-3 Fast entry 5/37
5.3-4 Functions which can be accessed via icons 5/38
5.3-5 Modifying in the spreadsheet 5/40
5.3-6 Request to display a message 5/45
5.3-7 Request to display a message containing a variable 5/46
5.3-8 Request to display a message with entry of a
process value 5/48
5.3-9 Request to display a character string 5/50
5.3-10 Request to display a floating point value 5/52
5.3-11 Request messages using a word as an index 5/54
5.3-12 Context-driven activation of WYSIWYG 5/55

5.4 Creating alarm messages 5/56


5.4-1 Principle of data entry 5/56
5.4-2 Data entry 5/57
5.4-3 Fast entry 5/57
5.4-4 Functions which can be accessed via icons 5/58
5.4-5 Modifying via the entry screen 5/58
5.4-6 Assigning the variable comment as an alarm message text5/61
5.4-7 Request to display an alarm message 5/63
5.4-8 Request to display a message comprising a variable 5/64

5.5 Status message group editor 5/66


5.5-1 Principle of data entry and description of the screen 5/66
5.5-2 Modifying a status message 5/70
5.5-3 Example of a status message group 5/71
5.5-4 Context-driven WYSIWYG activation 5/71

___________________________________________________________________________
S/4
MMI 17 WIN Contents

Section Page
5.6 Assigning the operator panel command keys 5/72
5.6-1 Principle of data entry and description of the screen 5/72
5.6-2 Fast entry 5/73
5.6-3 Example of configuring the command keys 5/74
5.6-4 Context-driven WYSIWYG activation 5/75

5.7 Character font editor 5/76


5.7-1 Display zone functions 5/77
5.7-2 Selection and modification space 5/77
5.7-3 Modifying the character font 5/77
5.7-4 Selecting the character font 5/79

5.8 Symbols and variables editor 5/80


5.8-1 Retrieving symbols by importing a .SCY file 5/81
5.8-2 Retrieving symbols via a link with a .STX file 5/82
5.8-3 Functions of the display zone 5/84
5.8-4 MMI17 WIN and OS/2 compatibility 5/84
5.8-5 MMI17 WIN and the 1000 series 5/85

6 Additional functions 6/1

6.1 File management 6/1


6.1-1 Creating a new application 6/1
6.1-2 Opening an existing application 6/2
6.1-3 Saving an application 6/3

6.2 Utility functions 6/4


6.2-1 Save and Retrieve character font 6/4
6.2-2 Application conversion functions 6/5
6.2-3 Documenting an application 6/7

6.3 Transferring an application 6/11


6.3-1 General 6/11
6.3-2 Local transfer 6/13
6.3-3 Remote transfer : Selection of the CCX 17 address 6/14
6.3-4 Examples 6/15

___________________________________________________________________________
S/5
MMI 17 WIN Contents

Section Page
7 Communication via the mailbox 7/1

7.1 Programming parameters 7/1

8 Communication via integrated MMI 8/1

8.1 List of commands 8/1

8.2 Programming parameters 8/5


8.2-1 Integrated MMI function parameters 8/5
8.2-2 Description of parameter encoding 8/6

9 Application examples 9/1

9.1 Examples 9/1

9.2 Application configured using MMI17 WIN 9/3


9.2-1 Configuring the application 9/3
9.2-2 Exchanges via mailbox 9/15
9.2-3 Exchanges via integrated MMI functions 9/17

9.3 Application configured without MMI17 WIN 9/20


9.3-1 Exchanges via integrated MMI function 9/20

___________________________________________________________________________
S/6
Introduction to MMI 17 WIN Section
software 11
1 Introduction to MMI 17 WIN software
1.1 Introduction
MMI 17 WIN is a standard MDI station tool for developing man machine interface
applications which will be used to control automated systems from CCX 17 industrial
operator panels.
Several methods of communication enable the PLC application and the man-machine
interface application to be synchronized.

The man-machine interface application generated by MMI 17 WIN, is stored in the


operator panel
• Requests to display messages and execute commands are prompted by writing
variables to a PLC data zone (this zone is called the mailbox). The CCX 17 operator
panel periodically reads the data in the mailbox and executes the associated com-
mands.
The advantage of this method lies in its simplicity (communication between the PLC and
the operator panel is totally transparent and does not require any special programming).

• Requests to display messages and execute commands are prompted by sending MMI
function blocks.
This method enables the variables displayed on the operator panel to be refreshed
slightly faster because there is no periodic scanning of the mailbox.

The messages and commands are sent on an ad hoc basis to the CCX 17 by the PLC,
using specialized function blocks.
All messages are contained in the PLC memory. The memory must therefore be sized
accordingly.

___________________________________________________________________________
1/1
1.2 Description of the required environment
The hardware required for running MMI 17 WIN is either an FTX 507, FTX 417 type
terminal or an IBM PS/2 microcomputer or PC compatible equipped with :
• MS-Windows 3.1 or MS-Windows 3.11 operating system,
or
• Windows 95, Windows 98 or Windows NT operating system.

The MMI17 WIN software package consists of :


• a set of 3"1/2 MMI 17 WIN software diskettes,
• this manual,
• a license agreement.

___________________________________________________________________________
1/2
Introduction to MMI 17 WIN software 1

1.3 Software functions


1.3-1 General
MMI 17 WIN is a tool with which the user can create all the data relating to a man-machine
interface application on the CCX 17.
An application consists mainly of :
• a specific configuration for the CCX 17 operator panel being used,
• a list of status messages,
• a list of alarm messages,
• groups of status messages,
• assignment of the operator panel command keys to the PLC application program bits,
• a character font which can be modified by the user.

1.3-2 General presentation


MMI17 WIN software is a standard MDI (Multiple document interface) tool. It enables
several windows to be handled.
The initial screen below is displayed when the application is opened :

Title bar
Pull-down menu
Toolbar

Windows area

Status bar

These components are used as follows :


• Title bar : for moving the window around,
• Pull-down menu : for accessing all available product functions,
• Toolbar : contains icons for fast access to the menu functions,
• Status bar : provides status information and processing progress.

___________________________________________________________________________
1/3
1.3-3 Methodology
The methodology described below is designed to guide the user when developing MMI
applications.

Creating an application or
selecting an existing
application (sect 6.1)

Configuring the operator


panel and the link
(sect 5.1-3)

WYSIWYG editor

Creating alarm Creating Creating Assigning the Creating or


messages status groups of operator panel modifying
(sect 5.4) messages status command character
(sect 5.2-2 messages keys fonts
and 5.3) (sect 5.5) (sect 5.6) (sect 5.7)

Transferring the application


to the CCX 17 operator
panel (sect 6.3)

Documenting the
application
(sect 6.2-4)

Savingtheapplication
(sect 6.1-3)

___________________________________________________________________________
1/4
Introduction to MMI 17 WIN software 1

1.3-4 Environment
MMI17 WIN software has the following windows :
• WYSIWYG editor. This window is used for fast entry, positioning and selecting the size
of status messages. It is also used for the fast entry of groups of status messages and
fast assignment of command keys.
• Configuration editor. This window is used for entering the operating environment for the
operator panel. This is the first window in the methodology to require updating.
• Status message spreadsheet editor. This window is used for entering all status
message characteristics. It gives an overall view of all status messages.
• Alarm message spreadsheet editor. This window is used for entering all alarm message
characteristics.
• Message group spreadsheet editor. This window is used for creating message groups
by entering the status message number.
• Variables spreadsheet editor. This window is used for displaying the symbols associ-
ated with variables.
• Character font editor. This window is used for modifying single or double size system
characters.
• Document editor.
• Command key assignment editor. This window is used for assigning bit variables to the
keys.
• The “Browser” which contains the list, with icons, of MMI17 WIN windows. This window
is always available and can only be closed when the tool itself is closed. It provides
permanent access to all windows.

Comment :
Once the application is open, the program displays the following windows by default :
• WYSIWYG editor,
• Configuration editor,
• Browser.

___________________________________________________________________________
1/5
1.3-5 WYSIWYG editor
The WYSIWYG editor is used to :
• create, display, modify and delete status messages,
• assign bit variables to the command keys,
• configure status message groups,
• display the preview mode.
Each of these functions is described in section 5.1

___________________________________________________________________________
1/6
Introduction to MMI 17 WIN software 1

1.3-6 Configuring the application


Configuring the application enables the following to be defined :
• the type of operator panel,
• the communication parameters,
• the mailbox configuration,
• the CCX17 printer link parameters,
• the third-party devices used with the CCX17.
Each of these functions is described in section 5.2

___________________________________________________________________________
1/7
1.3-7 Creating status messages
The status messages consist of text with which a PLC variable can be associated. This
variable can be :
• displayed,
• refreshed,
• modified by the user.
This function is described in section 5.3

___________________________________________________________________________
1/8
Introduction to MMI 17 WIN software 1

1.3-8 Creating alarm messages


Like status messages, alarm messages consist of text with which a PLC variable can be
associated. They are displayed when fault conditions are detected by the PLC application
(associated alarm bit).
The variables shown in the alarm messages retain the value which was read when the fault
was detected.
The alarm messages are time-stamped and recorded in the operator panel.
This function is described in section 5.4

___________________________________________________________________________
1/9
1.3-9 Creating groups of status messages
A group is a combination of status messages which is displayed on request by the
application program. A single command is used to display all the messages in the group.
This display may either be superimposed on the current CCX17 screen or replace it.

This function is described in section 5.5

___________________________________________________________________________
1/10
Introduction to MMI 17 WIN software 1

1.3-10 Assigning the CCX 17 command keys


This function enables the command keys on each side of the CCX 17 operator panel
screen to be assigned to PLC bit variables.
This function is described in section 5.6

___________________________________________________________________________
1/11
1.3-11 Selecting and modifying the character font
This function is used to select the character font in which messages must be displayed
on the CCX 17 operator panel.
The standard character fonts are modified using an editor in order to generate special
characters.
This function is described in section 5.7

___________________________________________________________________________
1/12
Introduction to MMI 17 WIN software 1

1.3-12 Transferring the application to or from the CCX 17 operator panel


The man-machine interface application can be transferred to or from the CCX 17 operator
panel.
This transfer can be performed either in local mode (directly on the operator panel), or in
remote mode (using the transparent network).
These functions are described in section 6.2

___________________________________________________________________________
1/13
___________________________________________________________________________
1/14
Section 22
Hardware installation
2 Hardware installation
2.1 Connecting the terminal to the CCX 17 operator panel
2.1-1 Principles
The entire man-machine interface application must be transferred to the target CCX 17
operator panel.
This transfer must be carried out in one of two ways :
• local transfer, by connecting the terminal directly to the CCX 17 operator panel
(physical connection),
• remote transfer, by connecting the terminal to the CCX 17 operator panel via a PLC
(logical connection), using the transparent network.

2.1-2 Direct connection to the CCX 17 operator panel


If the terminal being used is FTX 507, FTX 417 or FTX 57/77, it is connected to the
CCX 17 operator panel via cable reference T CCX CB8 030.

T CCX CB8 030 T CCX CB10 002

CCX 17

If the terminal being used is a PC or PC compatible, the terminal is connected to the


CCX 17 operator panel via cable reference T CCX CB89 030 which is connected to an
RS 232C / RS 485 adapter reference TSX SCA 72.

TSX SCA 72
Terminal block T CCX CB89 030

CCX 17

For more information on these connections, refer to the CCX 17 operator panel
installation manual.

___________________________________________________________________________
2/1
2.1-3 Connection via a PLC
The programming terminal can access the CCX 17 operator panel via a PLC (either
directly via the terminal port, or over an XWAY network).
Connection via PLC terminal port

FIPIO
TSX 37 or 57 or
TSX PCU 1030 UNI-TELWAY

CCX 17
Connection via a network
When the application PLCs are part of a network (or multinetwork) architecture, the
programming terminal (on terminal port or network) can access a CCX 17 operator
panel which is also part of the same architecture. Refer to the manual for the
communication module being used for details of its operation and connections.

XWAY

Device X
UNI-TELWAY

Device Y
FIPIO

CCX 17

For more information on these connections, refer to the CCX 17 operator panel
installation manual.
___________________________________________________________________________
2/2
Section 33
Software installation
3 Software installation
3.1 MMI 17 WIN software installation
3.1-1 Preliminary operations
Before installing MMI 17 WIN software on the hard disk, it is advisable to :
• read the license certificate and warranty detailing restrictions on copying and
installing the software,
• make a copy of the installation diskettes to avoid any accidental damage and work
only with the copy.
Important

The MMI 17 WIN diskettes are supplied write-protected. Do not alter the position
of the write-protect tab.

3.1-2 Installation procedure


Installing MMI 17 WIN software under Windows 95, Windows 98 and Windows NT
• Go to the Windows environment,
• Insert the MMI17 WIN installation diskette into the drive,
• Under the Start menu, select Run,
• Type A:\setup.exe in the command line,
• Confirm the welcome screen with Next,
• Save the user details, then confirm with Next,
• Select the type of installation, Standard or Custom,
• For Standard installation, define the correct path and confirm with Next,
• For Custom installation, define the elements to be installed with the correct paths and
confirm with Next,
• Follow the instructions on screen to install the MMI 17 WIN software,
• Once the installation is complete, exit via Return to Windows.

___________________________________________________________________________
3/1
3.1-3 Defining the program location
Defining the program location for the MMI17 WIN program modifies the CONFIG.SYS
file and creates the following directories :
• Under Windows 3.1 or Windows 3.11
- ASAW12 : containing the operator panel executables,
- ASAWSYS : containing the drivers and operator panel / system fonts,
- ASAWUSR : application workspace and backup area.
• Under Windows 95, Windows 98 or Windows NT
- MMI1731 : containing the operator panel executables,
- FONT : containing the operator panel / system fonts,
- XWAYDRV : containing the drivers,
- PL7USER : application workspace and backup area.

Note :
Installation modifies the System.ini file under Windows by adding a section [debug] containing
OUTPUT=NULL. This will remove all trace data for all programs under Windows.

3.1-4 Uninstalling software


Software can be uninstalled via the Add/Remove Programs dialog box in the Control
Panel :
• Click on the Install/Uninstall tab,
• Select the directory to be removed,
• Click on Add/Remove,
• Confirm with Yes.
The uninstall command only removes one directory at a time. To delete all directories,
repeat the same procedure.
The uninstall procedure does not remove any elements shared by other software
(Pl7sys.ini, Config,sys, etc).

___________________________________________________________________________
3/2
Software installation 3

3.2 Starting MMI 17 WIN software


3.2-1 Initial screen
To access MMI 17 WIN software, select the Program group from the Start menu,
and click on the MMI17 WIN 3.1 icon in the Modicon Telemecanique product
group window.

The initial screen for the program consists of the following :


Title bar
Pull-down menu
Toolbar

Windows area

Status bar

Functions and roles :

Title bar : used for moving the window around. Can also be used to show the
name of the current application.

Pull-down menu : used for accessing all available product functions. It is context-
related, ie, it changes with the active open window.

Example :
If no application is yet open, the File menu contains :
New : creates a new application
Open : opens an existing application
Exit : exits the program,
(app list) : lists the last open applications

Toolbar : used for fast access to the standard pull-down menu functions.

Status bar : provides information on the progress of processing and displays


information messages

___________________________________________________________________________
3/3
When an application is opened, the window environment changes and appears as
below :

Notes
1 Opening an application with the STATUS Management box checked :
• if the .STO files on the disk are identical to those in the application, the user does not have
to do anything,
• if the .STO files on the disk are not identical to those in the application (string modification
or additional .STO file present), the software will prompt the user to update the application.
If the user does not update the application, it will remain in the same state,
• if the .STO files are not present on the disk, an error message will be displayed on the screen.
The user does not have to do anything and the application remains in the same state :
<<STATUS files not installed on the station>>

2 Opening an application linked with a running .STX file :


• the .STX file stored in the symbol address database is searched for, and the local database
for the MMI 17 application is updated with the new data,
• if the .STX file cannot be found, a message appears to indicate that the .STX file has not
been found. The local database of the MMI 17 application maintains its previous status.

___________________________________________________________________________
3/4
Software installation 3

3.2-2 Pull-down menus


The content changes according to the menu selected :
File

New Menu is always available :


used to create an application (see section 5.1.1).
Open Menu is always available :
used to open an existing application (see section 5.1.2).
Close Menu is available if an application is open : used to close the application
Save Menu is available if an existing application is open and has been
modified : used to save the current application (see section 5.1.3)
Shortcut : Ctrl+S
Save As Menu is available if an application is open : used to save the application
under a different name (see section 5.1.3)
Print Menu is available if an application is open and the documentation file has
been created : used to print the documentation of the current application
(see section 6.1.7)
Shortcut : Ctrl+P
Print Setup Menu is available if an application is open : used to select a printer by
opening the following window :

Exit Menu is always available : used to exit the MMI17 WIN program.
Shortcut : Ctrl+Q
(App list) Menu is always available : used for fast access to the last open
applications.

___________________________________________________________________________
3/5
Edit

Cut For message, font, group, symbol and Wysiwyg editors.


Copy Generally for all spreadsheets.
Paste The “Cut” and “Copy” menus require selection beforehand.
Shortcuts :
Cut : Ctrl+X
Copy : Ctrl+C
Paste : Ctrl+V
Clear For message, group, symbol and Wysiwyg editors.
Find For the symbol editor, “Clear” requires the selection of all data.
Shortcut : Clear : Del
Zoom For message editors : used to open the full screen entry window.
Update Alarm Text For the alarm message editor : used to update the message via the
variable comment.
Left For the status message editor : used to align the message.
Right
Center
Select All For the document editor : used to select or deselect all items.
Deselect All
Change Operator Panel For the configuration editor : used to move between the various
Password windows used for setting configuration parameters.
Protocol Shortcuts : Change operator panel : Alt+F10
Printer link Undo last modification : Ctrl+Z
Undo
Confirm For font and configuration editors : used to confirm after a
modification has been made.
Shortcut : Ctrl+W
Clear All For Wysiwyg : used to delete status messages in the group.

___________________________________________________________________________
3/6
Software installation 3

Utilities

Define CCX 17 Address Menus always available : used to execute various transfers
Transfer with the PLC
Shortcut : Transfer: Ctrl+T
Import Text File Menus available if an application is open.
Export Text File
Save Font File
Restore Font File
Import Variables File Menu available if an application is open: used to import variables
from a file generated by PL7 Micro or PL7 Junior.
Link With an STX File Menu available if an application is open : used to retrieve
Update in Relation to variables in an application generated by PL7 PRO.
STX file
Deleted Link with
STX File
Convert For the font editor, used to manipulate and modify the
Reverse Matrix design of the characters (see section 6.1.2).
Replace Matrix Shortcuts: Cancel last....: Del
Delete Matrix Change file....: Alt+F10
Return to System Character
Change System Font File
Build Documentation File For document editor
Configure Group Used to manipulate status messages in WYSIWIG.
Configure Command Key Shortcuts:
Configure command key: Enter
Edit Message Edit the message: Enter
Double Size Double size: F4
Send Message to Front Send message to... : F5
/ Back

___________________________________________________________________________
3/7
View

Configure Operator Configuration editor menus : used to display the various


Panel parameter-setting windows.
Configure Link Configuration shortcuts :
Configure Device Operator panel : Ctrl+ALT+1
Link : Ctrl+ALT+2
Device : Ctrl+ALT+3
Standard Font Font editor menus : used to display the selected character
Double Font in standard or double font size.
Priority to Symbols in Wysiwyg editor
Command Keys
Group Mode
Preview Mode
Last Group Group editor
First Group Shortcuts :
Next Group Last group : Ctrl+End
Previous Group First group : Ctrl+Home
Next group : Pg up
Previous group :Pg down

Application

Configuration Menus available if an application is open : used to open the


Status Messages various editors.
Alarm Messages
Message Group
Command Keys
Font Set Editor
Variables
Documentation
Wysiwyg
Status of Alarm Zone

___________________________________________________________________________
3/8
Software installation 3

Options

Customize Permanent menu :


used to modify the disk working and saving areas. It opens the
window below :

Toolbar Menus always available : used to display the tool and status bars.
Status Bar

Window

Cascade Manipulate windows, modify display.


Horizontal Tile
Vertical Tile
Arrange Icons
Close Window
Close All Windows
(list of open editors) Switch between the various windows displayed.

___________________________________________________________________________
3/9
___________________________________________________________________________
3/10
Section 44
Communication principles
4 Communication principles
4.1 General
To establish communication between the PLC and CCX 17 operator panels, a number
of commands for the operator panels must be set up in the PLC application. Two types
of exchange can be used for this purpose :
• exchanges via a mailbox : The messages to be displayed and the commands to be
executed are transmitted to the CCX 17 operator panel via a PLC memory zone
allocated to exchanges between the PLC and the operator panel. This zone can be
accessed in both read mode and write mode.

%MWi

• exchanges via integrated MMI functions : The messages to be displayed and the
commands to be executed are transmitted to the CCX 17 operator panel via PL7 MMI
functions.

MMI
func-
tion

The principles for using both these types of exchange are described later. Examples
of applications using communication both via mailbox and/or integrated MMI function
are provided in sections 7 and 8.

Both types of exchange can be used simultaneously in the same application, with
certain restrictions (see Doc Ofs).

Example :
It is not possible to display an alarm using DISPLAY_ALRM if this function is assigned
to a bit in the alarm zone.

___________________________________________________________________________
4/1
Depending on the bus used for communication (FIPIO or UNI-TELWAY), exchanges
are performed in different ways :

On the FIPIO fieldbus


Exchanges are performed :
• by a memory zone reserved for periodic
exchanges specific to FIPIO; in this case
the CCX17 can access 8 words in read
mode (ROW) and 8 words in write mode
(RIW). This zone is automatically re-
served in the PLC memory.
• by UNI-TE requests (communication via
mailbox or by MMI functions).

The principles of FIPIO communication


(managing %Q and %I words) are de-
FIPIO

scribed in the FIPIO documentation.


CCX 17

On the UNI-TELWAY bus


Exchanges are performed only by UNI-TE
requests (communication via mailbox or by
MMI functions).
UNI-TELWAY

CCX 17

___________________________________________________________________________
4/2
Communication principles 4

4.2 Exchanges via mailbox


4.2-1 Mailbox structure
The mailbox which is reserved for exchanges with the CCX 17 operator panel is a zone
in the PLC word memory. It contains a command table with the following structure :

%MWi Status of indicator lamps * If the number of the group to be


%MWi+1 Number of message group to be displayed * displayed is 0, the CCX 17
%MWi+2 Number of 1st status message to be displayed displays the messages whose
number is contained in words
%MWi+3 Number of 2nd status message to be displayed %MWi+2 to %MWn. If the
number of the group to be
displayed is not 0, only the
%MWn Number of last status message to be displayed selected group is displayed.

The start of this table, together with its length, are defined by the user when the
application is created using MMI 17 WIN (see section 5.2-4).
Note:
To redisplay the same group, the corresponding mailbox word must be set to 0 then
reset to the group value.

4.2-2 Executing commands


The CCX 17 operator panel periodically scans this word table and executes the
commands originating from the PLC application in the following order :
• read then display the status of operator panel indicator lamps (read word %MWi).
• read the number of the message group to be displayed
- if the number of the message group to be displayed is zero (%MWi+1 = 0), the
operator panel scans the contents of the following words in the table (%MWi+2 to
%MWn), then displays all the status messages whose corresponding number is not
0. The word must be set to 0 before changing the number of the new message to
be displayed.
- if the number of the message group to be displayed is not 0, the operator panel only
displays the status messages contained in the corresponding group.

___________________________________________________________________________
4/3
Example :
Display of message number 10 (End of cycle) and message number 3 (Oven ready).
Display
Mailbox zone messages
numbered 10
%MWi = 0 and 3
%MWi+1 = 0

%MWi+2 = 10

%MWi+3 = 3

%MWi+4 = 0
Command
...
table
%MWn = 0

4.2-3 Managing responses


When the displayed messages include a value to be entered, this is automatically
written to the PLC data zone via UNI-TE requests.

%MWi

Speed = 352 rpm

PLC data
zone

___________________________________________________________________________
4/4
Communication principles 4

4.2-4 Managing acknowledgments : error processing


Monitoring the display of messages and the possible entry of a variable is configured
when the application is created using MMI 17 WIN (see section 5.1).
The CCX 17 manages two types of acknowledgment :
• acknowledge on read,
• acknowledge on write.

Acknowledge read mode


When this type of acknowledgment is required, the CCX 17 indicates in a PLC internal
word table that the commands have been executed by the operator panel (indicator
lamps, messages displayed, etc). This word table is adjacent to and structured in the
same way as the command table.

Example
In the example below, the application program only asks for status message number
10 to be displayed (End of cycle). If acknowledge on read is required after message
number 10 has been displayed, the CCX 17 operator panel automatically updates the
corresponding word (%MWn+4) in the table reserved for acknowledge on read.
The programmer must set the word to zero before initiating a new command.

Display of message
Exchange zone
number 10

%MWi = 0 End of cycle

%MWi+1 = 0

%MWi+2 = 0
Command
table %MWi+3 = 10

...

%MWn
%MWn+1

%MWn+2
Acknowledge Update acknowledgment table
%MWn+3
on read table
%MWn+4 = 10
...

%MWm
___________________________________________________________________________
4/5
Acknowledge write mode
When this type of acknowledgment is required, the CCX 17 indicates in a PLC internal
word table, that the operator entry required has been entered. This word table, which
is adjacent to the acknowledge on read table, is structured in the same way as the
command table (if acknowledge on read is not required, this table is placed after the
command table).

Example

In the example below, the application program requests the speed of the motor to be
entered when status message number 22 is displayed (Speed = 60 rpm). If acknowl-
edge on read and write is required, after message number 22 has been displayed, the
CCX 17 operator panel automatically updates the corresponding word (%MWn+3) in
the table reserved for acknowledge on read. When the operator enters the required
value, the corresponding word (%MWm+3), is updated in the table reserved for
acknowledge on write. The value entered by the operator is written into the PLC data
zone via a UNI-TE request.
The programmer must set the word to zero before initiating a new command.

Operator
entry
Exchange zone Display of
message
%MWi = 0 number 22
%MWi+1 = 0 Speed = 60 rpm
%MWi+2 = 0
%MWi+3 = 22
...
Command
%MWn
table
%MWn+1
%MWn+2
Acknowledge %MWn+3 = 22
on read table %MWn+4 Confirm
Updating
... acknowledge on
%MWm read table
%MWm+1
%MWm+2
%MWm+3 = 1
Acknowledge
on write table %MWn+4
Updating
... acknowledge on
%MWp write table
PLC data
zone

Writing entry via UNI-TE request


___________________________________________________________________________
4/6
Communication principles 4

4.2-5 Managing alarm messages


A PLC bit or word memory zone, periodically scanned by the CCX 17 operator panel,
is assigned to managing alarm messages. These messages are managed in a bit or
word type zone. Each internal bit or each word bit of this table represents an alarm. The
table structure is as follows :
Management by internal bits F Management by word bit 0
%Mi Alarm number 1 %MWi
%Mi+1 Alarm number 2
%Mi+2 Alarm number 3 Alarm number 1
%Mi+3 Alarm number 4 Alarm number 2
... Alarm number 3
... ...
%Mn-1 Alarm number n Alarm number n in word %MWi+(n/16-1)

Both the start of this table and its length are defined by the user when the application
is created using MMI 17 WIN (see section 5.1).
Alarms are managed by the CCX 17 operator panel in one of two ways :
• The alarms are memorized in the operator panel while waiting to be displayed and
acknowledged later by the operator. In this mode, status messages issued by the
process can continue to be displayed.

Display alarm
%Mi = 0 number 4
Display of messages
%Mi+1 = 0 and memorization of
alarms
%Mi+2 = 0

%Mi+3 = 1

...

... Each alarm is displayed and later


acknowledged by the operator
%Mn =0

___________________________________________________________________________
4/7
• The alarm is memorized and then displayed on the operator panel. It remains
displayed until acknowledged by the operator by pressing any key. Once the alarm
has been acknowledged, the messages which were present on-screen prior to the
alarm are once more displayed.
Display alarm
%Mi = 0 number 4
Overheat
%Mi+1 = 0 oven 4
%Mi+2 = 0

%Mi+3 = 1

...

... Each alarm is acknowledged


by the operator
%Mn =0

See CCX 17 installation manual, section on alarm logs.

___________________________________________________________________________
4/8
Communication principles 4

4.3 Exchanges via integrated MMI functions


4.3-1 Displaying a message (or a group) without operator entry
The CCX 17 operator panel memory contains the application created using MMI 17
WIN.
This application comprises several types of message :
• status messages comprising text (with or without operator entry),
• alarm messages,
• groups of messages, each group consisting of lists of status messages.
When the PLC application wishes to display a status message, a group or an alarm
message on the CCX 17 operator panel, it indicates the number of the corresponding
message (or group) in the transmission table (Data to send). In all cases, the PLC
receives a confirmation report for the exchange. If an error is detected, the reception
table contains all the information necessary to identify the cause (see Section 3, part
K of the PL7 programming manual).

Number of the
message or of
MMI function group

End of cycle

Transmission
table
Reminder :
The CCX 17 operator panel can display several messages at the same time.
• 32 messages in the case of the CCX17-20 (16 animated variables maximum),
• 64 messages in the case of the CCX17-30 (32 animated variables maximum).
The position of a message is determined when it is defined, either by selecting line and
column or by defining whether the message should be centered or aligned to the right
or left. The user must therefore select the correct geographical position of the messages
in order to prevent any overlapping.

___________________________________________________________________________
4/9
4.3-2 Displaying a message with operator entry
When a displayed message includes a value to be entered by the operator, the entry
can be fed back to the PLC in two different ways :
• operator entry neither checked nor synchronized by the PLC application,
• operator entry checked and synchronized by the PLC application.

Both examples are discussed later.

Operator entry neither checked nor synchronized by the PLC application


The request is sent by a transmission table (command 24).

Operator entry

Message
number
MMI function

Speed = 352 rpm

Transmission table Confirmation

PLC data
zone

The value(s) entered are written directly to the PLC data zone via UNI-TE requests.
In all cases, the PLC receives a exchange report. If an error is detected, the reception
table contains information to help define the cause.

___________________________________________________________________________
4/10
Communication principles 4

Operator entry checked and synchronized by the PLC application


This option can only be used for sending status messages. The confirmation report is
only updated when the entry has been carried out. The entry is in the reception table
(command 22).

Operator entry
MMI function
Message
number

Transmission
table Speed = 352 rpm

Value of the entry


Reception table
Confirmation

The value entered by the operator is sent to the reception table.


In all cases, the PLC receives an exchange report. If an error is detected, the reception
table contains information to help define the cause.

___________________________________________________________________________
4/11
4.3-3 Request to display an alarm message
The CCX 17 operator panel contains the alarm messages (generated using MMI 17
WIN) in its memory. An alarm message from the PLC application program is displayed
by executing the integrated MMI function DISPLAY_ALRM containing the number of
the alarm message as a parameter.
Alarms are managed by the CCX 17 operator panel in one of two ways :
• the alarms are memorized in the operator panel while waiting to be displayed and
acknowledged later by the operator. In this mode, status messages issued by the
process can continue to be displayed.
Alarm
MMI function number

Display of messages and


memorization of alarms

Transmission table

Each alarm is displayed and later


acknowledged by the operator

• the alarm is archived and then displayed on the operator panel. It remains displayed
until it is acknowledged by the operator by pressing any key. Once the alarm has been
acknowledged, the messages which were present on-screen prior to the alarm are
once more displayed.

Alarm
MMI function
number

Oven 4 overheated

Transmission table

Acknowledgment of each
alarm by the operator

In all cases, the PLC receives an exchange report. If an error is detected, the reception
table contains information to help define the cause.
___________________________________________________________________________
4/12
Communication principles 4

4.3-4 Managing the operator panel indicator lamps


The CCX 17 operator panel has three indicator lamps on the front panel. These lamps
show the results of the self-tests during power-up, then once the self-tests are complete,
they are made available to the user. The state of the indicator lamps (on, off or flashing)
is modified by executing the CONTROL_LEDS MMI function containing the required
values.
State of the
MMI function indicator lamps

Oven 4 overheated

Transmission table

Indicator lamp display

4.3-5 Assigning the operator panel command keys


CCX 17 operator panels have several command keys assigned by configuration to PLC
internal bits. They are assigned by executing the ASSIGN_KEYS MMI function
containing the required values.

MMI function Assign keys

Transmission table

Using the command keys

___________________________________________________________________________
4/13
4.4 Alarm management via the mailbox and MMI functions
In order to simplify the management of alarms in the same application, an alarm can
only be activated one way, either via the MMI functions or via the mailbox.
Alarms accessible via the mailbox depend on the length of the mailbox. Alarms with
a number greater than the length of the mailbox can only be accessed via the MMI
functions.

Length of alarm zone


in the mailbox = i

Alarm 1
Alarm 2
Alarm 3
Alarm 4 Alarms accessible via the mailbox
Alarm 5
•••
Alarm i
Alarm i+1
Alarm i+2
•••
••• Alarms accessible via integrated MMI functions
•••
•••
Alarm n

Example
In a CCX 17-30, the maximum number of alarms is 300.
If the field reserved for alarms in the mailbox has a length of 150 bits (value configured
in the Data link configuration screen) :
• alarms numbered from 1 to 150 are only accessible via the mailbox,
• the others are only accessible via the integrated MMI functions.

___________________________________________________________________________
4/14
Communication principles 4

4.5 Principles of communication on the UNI-TELWAY bus

Performance

Refresh time required for Refresh time required for


4 requests + mailbox 1 request + mailbox
1 CCX 17 1" 0.5"
2 CCX 17 1.8" 0.5"
3 CCX 17 2" 0.6"
4 CCX 17 3.4" 0.7"
5 CCX 17 4.5" 0.8"
6 CCX 17 6" 1"
Time in seconds

2
Refresh time for 4
requests
1
Refresh time for 1
request
0
1 2 3 4 5 6
CCX17 CCX17 CCX17 CCX17 CCX17 CCX17

Number of connections :
maximum of 2 CCX17 operator panels.

___________________________________________________________________________
4/15
4.6 Principles of communication on the FIPIO fieldbus

Reminders :
A CCX 17 operator panel connected to a FIPIO fieldbus can communicate simultaneously :
• via mailbox, as described in section 4.2,
• via MMI functions, as described in section 4.3.
Principle
A CCX17 must be configured so that it can exchange data on FIPIO.
PL7 therefore reserves a memory zone specific to the exchange of data shared
between the bus arbitrator PLC and each CCX 17 configured on FIPIO. These
exchanges take place periodically without any intervention from the application
program.
This zone consists of :
• For the CCX 17 profile :
- 8 words written by the PLC and read by the CCX 17,
- 8 words written by the CCX 17 and read by the PLC.
• For the CCX 17-32 profile :
- 32 words written by the PLC and read by the CCX 17,
- 32 words written by the CCX 17 and read by the PLC.
Syntax
A CCX 17 can display status or alarm messages comprising %QW or it can transmit
information to the PLC (the status of command buttons) by 8 %IW words.
The syntax of these words is as follows :
• %QW\p.2.cnx\0.0.rank:Xi
• %IW\p.2.cnx\0.0.rank:Xi
where p: processor slot
device channel number : always 2 for FIPIO
cnx: connection point number
module number: always 0 for CCX 17
channel number: always 0 for CCX 17
rank: significance of word between 0 and 31
i: significance of bit for bit access.
Maximum number of devices
The maximum number of devices connected to a Premium bus arbitrator is 4 CCX 17
operator panels. Above this number, please consult your Technical Support for
programming advice.
Comment : A FIPIO application generated by the PL7-MMI 17 OS/2 station tool can
be read by MMI17 WIN.
Optimizing the communication
• use FIPIO addresses in preference to BIT and WORD addresses
• in the case of BIT and WORD type variables, select contiguous variables
• select a period suitable for the traffic necessary for the application for refreshing
the variables and the frequency which the command zone is read
___________________________________________________________________________
4/16
Communication principles 4

4.7 Rules for optimizing requests


If the CCX 17 has to display several messages, each of which contains a variable, the
variables are read via one request. Several requests must be sent for the same type
of processing if optimization is not requested.
For optimization to be executed, certain rules must be observed :
• The objects must be of the same type,
• The difference between the object indices must be less than certain values depend-
ing on the object type :
For internal bits (%Mi) the maximum index difference is 480.
For word bits (%MWi,Xj) the maximum index difference is 59.
For internal words (%MWi) the maximum index difference is 59.
For double words (%MDi) the maximum index difference is 29.

Examples of optimization :
It is possible to send a single request (per object type) to access the following objects :
• %M0, %M100 and %M480.
• %MW0:X0 to %MW59:X16.
• %MW0, %MW1, %MW2 and %MW59.
• %MD0, %MD10 and %MD29.

___________________________________________________________________________
4/17
___________________________________________________________________________
4/18
Section 55
Using MMI17 WIN software
5 Using MMI17 WIN software
5.1 WYSIWYG editor
This window is accessed by clicking on the
“Application / WYSIWYG” menu or on the
following icon :
When an application is created, this window opens by default. It enables an entire
application to be created quickly and clearly.

The basic functions are :


• creation, display, modification and deletion of a status message,
• assignment of command keys,
• creation of status message groups,
• display or preview mode.

It is the recommended window for using MMI17 WIN under Windows.

___________________________________________________________________________
5/1
5.1-1 Managing status messages using WYSIWYG
By default, the grid is active with the cursor blinking.
To move around the grid, use the arrow, “Page up”, “Page down”, “End” and “Home”
keys or the mouse.
To move from the grid to the other elements, use the “Tab” key.
Once the cursor is placed on a command key on one side, use the “up” and “down” arrow
keys to move from one command key to another.
Creating a status message
The procedure consists of :
• positioning the cursor at the point where the message starts,
• opening the “enter status message” box by double-clicking on it or pressing “Enter” on
the keyboard.
The main fields are completed - these are :
• text,
• variable, if necessary.
For a full description of the status message shortcut box, see “Creating a status message”
(section 5.3).
Once the entry is confirmed, the message is displayed in the WYSIWYG window.

Example :

value
Displaying a status message
Entering a message number or scrolling through the numbers in the “Message” zone
displays the messages in the WYSIWYG grid.
A red number identifies those messages which have already been configured.
A cross is displayed next to an empty message.
To display the message(s) as they would appear on the CCX17 screen, use the preview
mode (see section 5.1.4).

Modifying a status message


A message must be selected before it can be modified. Select it by clicking with the mouse
inside the message or using the movement keys (arrows, Page up, etc) on the keyboard.
When a message is selected, this is indicated by the appearance of its number in the
message zone and by “handles” surrounding it.
Example :

Handles
value

___________________________________________________________________________
5/2
Using MMI17 WIN software 5

Three functions are possible following selection :


• modifying the contents of a message,
• moving a message around the grid,
• modifying the size of a message.
Modifying the contents of a message
Double-clicking, pressing “Enter” or using the “Utilities/Edit Message” menu launches
the fast entry box for this message.
Moving a message
Example :
• Using the mouse : click on any point in the
message. The movement cursor “
appears. The new window is shown by a

value
rectangle with dotted lines.
• Using the keyboard : “Shift + arrows”.

Modifying the size of a message


• Using the mouse : click on a handle and Example :
increase or reduce the size. The new
size is shown by a rectangle with dotted
lines. Value
• The display is updated when the mouse
button is released. If the message is
aligned (Left, Center, Right), modifying
value
the size does not alter this attribute.
• Using the keyboard : F4 key.
• Using the menu : “Utilities / Double Size
or Standard Size”.
Comment :

The procedure will only work if there is sufficient space for the final frame. Otherwise
the message will not be modified.

Deleting a status message


• select a message,
• press the “Del “ key or use the “Edit / Clear” menu.
To delete all messages in the display, use the “Edit / Clear All” menu or the icon. This
operation deletes the display from the WYSIWYG grid, but does not affect the message
characteristics.

___________________________________________________________________________
5/3
5.1-2 Managing the command keys
To assign a PLC object to a command key,
click into the circle of the command key to
be programmed. This displays the
command key fast entry window shown
below :

After an address or a symbol has been entered, the address will appear in the rectangle
adjacent to the circle.
All creation, modification or deletion operations for command keys are executed using this
box.
Address or symbol display for command keys is selected by means of the “View /
Address Priority” menu function for addresses and the “View / Symbol Priority” for
symbols.

Reminder :
The button numbers are as follows : 1 2
3 4
5 6
7 8

The Previous and Next buttons are used to go to adjacent buttons.

For a full description of the command key shortcut box, see the Command Key section
(section 5.6).

Comment :

If the text is too large, it will be truncated and will end with “>”. The full text is shown
in the status bar.

___________________________________________________________________________
5/4
Using MMI17 WIN software 5

5.1-3 Managing groups using WYSIWYG


This editor is used for creating, displaying, modifying and deleting a group of status
messages.

Creating a group
There are two possible methods of running this function :
• automatic,
• manual.

Automatic creation :
When a group number is selected in the “Group” entry zone, “Group mode” automatically
becomes active. From this point, any modification made in the WYSIWYG editor is copied
to the selected group.

Procedure :
• Check the selection box and enter a group number or select a group number in the
“Group” entry zone,
• confirm the messages to be contained in the group. New messages can be directly
created or existing ones used via the “Message” entry zone.

Comment :
As long as the “ Group Mode” selection box is checked, all modifications will be taken into account
by the groups.

Manual creation :
All of the messages required in a group must first be displayed on screen. To assign them
to a group, use the “Utilities / Configure Group” menu or the icon. The following
window is used for :
• assigning the group number,
• selecting, or not, the Clear Screen option for the group :

Once this box is confirmed, the group will contain the messages and “Group Mode” will
be selected : the group will be modified if any messages are added or deleted.

___________________________________________________________________________
5/5
Displaying a group

The group to be displayed is selected by entering the number in the “Group” zone. This
is confirmed either by using the “Enter” key, or the Utilities/Display Group menu or by
making no modifications for a period of one second.

A red number identifies those groups which have already been configured.
Once a group number is selected, “Group mode” is automatically selected.

Modifying a group

A group is automatically modified by adding or deleting messages when the “Group mode”
box is checked.
To take modifications into account in manual mode, the “Utilities / Configure Group”
menu or the icon must be used, and the replacement of the group contents confirmed.

Deleting a group

A group is automatically deleted by deleting all messages displayed via the “Edit / Clear
All” menu or the icon when the “Group Mode” box is checked.

___________________________________________________________________________
5/6
Using MMI17 WIN software 5

5.1-4 Managing the preview mode


This function is activated via the icon, or the “View / Preview Mode” menu.

It gives a realistic preview of the CCX 17 screen showing :


• flashing messages,
• reverse video mode,
• order of display,
• dimensions of the square grid.

Modifications cannot be made in the WYSIWYG screen in “Preview mode”. On the other
hand, modifications made by the corresponding editors (command key, status message,
etc) will be taken into account.

It is possible to scroll through several groups and/or messages in “Preview mode”. When
modification mode is selected again, the WYSIWYG screen will contain the same
elements as it did when “Preview Mode” was exited.

___________________________________________________________________________
5/7
5.1-5 Modifying the display order

Comment :

Modifying the message order is only relevant if the messages overlap.

Example :
case 1 case 2

In case 1, “Message2” is displayed first and then overlapped by “Message1”.

The procedure consists of :


• selecting the message,
• clicking on the “Utilities / Send Message to Front / Back” menu or on the “F5” key.

Comment :

This is a “Flip/Flop” operation which sends the message either to the front or to the
back. A message located at position n in a group of m messages will be moved to either
mth position or 1st position.

___________________________________________________________________________
5/8
Using MMI17 WIN software 5

5.1-6 Copy / Paste

The “Copy / Paste” functions can be accessed via :


• the menu Edit / Copy
Edit / Paste
• the keyboard Copy : Ctrl + C or Ctrl + Ins
Paste : Ctrl + V or Shift + Ins
• the mouse used with the Ctrl key.

Procedure using the menu or keyboard


The procedure consists of :
• selecting the message,
• activating the “Edit/Copy” menu or pressing the “Ctrl+C” or “Ctrl+Ins” keys.
• positioning the blinking cursor at the chosen place,
• activating the “Edit/Paste” menu or pressing the “Ctrl+V” or “Shift+Ins” keys.

Comment

The “Paste” function recovers and copies the current characteristics of the message
to be copied. A message modified between “copy” and “paste” operations will be
copied with its new properties.

Procedure using the mouse


The procedure consists of :
• selecting the message to be copied,
• pressing and holding down the “Ctrl” key,
• moving the message using the mouse or the “Shift” + arrow keys,
• releasing the mouse or the “Ctrl” key.

Comment

The operation can be canceled by clicking the right mouse button.

___________________________________________________________________________
5/9
5.1-7 Context-related activation of WYSIWYG
The WYSIWYG editor can be activated using the editors/spreadsheets for :
• command keys,
• status messages,
• groups.

Activation is then used to display a specific data item.


Access is possible via :
• the menu : using Edit / WYSIWYG
• the keyboard : using Shift + F9

• the icon : in the spreadsheet display zone.

Context when opening

Initial editor opening WYSIWYG editor


Command keys if a key is selected, the WISIWIG editor opens on this key.
Group on the current group.
Status Messages if one or more messages are selected, the editor displays the
selected message(s).
if no message is selected, the editor will not modify the display.

Comment :
Context-related activation by group and status message spreadsheets will not operate in
“Preview Mode”.

___________________________________________________________________________
5/10
Using MMI17 WIN software 5

5.2 Configuring the application

This function can be accessed by clicking


on this icon or selecting the Application /
Configurationmenu. It is used to configure
the CCX 17 operator panel parameters
associated with the application.

5.2-1 General
The default entry window is as follows :

___________________________________________________________________________
5/11
The functions available are :

Accesses the “Change Operator Panel “ function (see section 5.2.2). This can
also be accessed via the “Edit / Change Operator Panel /PLC/Description”
menu or the “Alt+F10” shortcut.

This icon is selected by default. It is used to display the operator panel


configuration. This can also be accessed via the “View / Configure Operator
Panel” menu or the “Ctrl+Alt+1” shortcut.

This icon is used to display the entry of exchange data using a shared memory (see
section 5.2.4). This can also be accessed via the “View / Configure Link” menu
or the “Ctrl+Alt+2” shortcut.

This icon is used to display the device configuration (see section 5.2.5). This can
also be accessed via the “View / Configure Device” menu or the “Ctrl+Alt+3”
shortcut.

Accesses the password (see section 5.2.6 : Protecting configuration parameters).


This can also be accessed via the “Edit / Password” menu or “Alt+E” followed by
“Alt+M” on the keyboard. It can only be accessed when the operator panel
configuration window is active.

Accesses the printer link parameters (see section 5.2.7 : Printer link). This can also
be accessed via the “Edit / Printer Link” menu or “Alt+E” followed by “Alt+L” on
the keyboard. It can only be accessed when the operator panel configuration
window is active.

The icon is replaced by “ ” when the printer data is displayed. This icon is used
to return to the operator panel configuration window display.

Reminder :

Confirmation : Any modification can be confirmed using this


icon in the main window (MDI) toolbar or the “Edit / Confirm
Modification” menu or the “Ctrl+W” shortcut :

Cancellation : Any modification can be canceled using this


icon or the “Edit / Undo” menu or the “Ctrl+Z” shortcut :

___________________________________________________________________________
5/12
Using MMI17 WIN software 5

5.2-2 Changing the type of operator panel


Assigning the type of operator panel
This window is used to enter :
• the type of CCX 17 operator panel,
• the type of PLC,
• and a general description of the application.

Reminder : fast access to the window for


assigning the type of operator panel is
available with the following icon :

Changing the type of operator panel


The type of operator panel can be changed provided the new operator panel has more
extensive functions.
A CCX 17-20 application can be assigned to a CCX 17-30 then reassigned to a
CCX 17-20 without modification.
The operator panel can also be changed for one with less extensive functions if the
following points are acceptable for the new operator panel :
• the maximum number of status messages, alarms, message groups and configuration
of the command keys,
• the line numbers of the status messages,
• the number of messages and the numbers assigned to the message groups,
• the length of the command and alarm zone,
• the number of the group displayed by default,
• there is no error or entry in progress on the status or alarm message tables or the
command keys.

___________________________________________________________________________
5/13
The following table lists substitutions which can be made without problem :
CCX 17 20 LPS by CCX 17 30 LPS
CCX 17 20 LW by CCX 17 30 FW
CCX 17 20 L by CCX 17 30 L or CCX 17 30 LPS
CCX 17 20 FPS by CCX 17 30 LPS
CCX 17 20 FW by CCX 17 30 LW
CCX 17 20 F by CCX 17 30 L or CCX 17 30 LPS

If these conditions are not satisfied, a message indicates the type of error. Changing from
one operator panel to another is no longer possible. The user must consequently modify
the application in order to change the operator panel.
Example :

It is not possible to change the type of operator panel with a FIPIO application
(CCX 17-20F / 20FPS 20L / 20LPS / 30L and 30LPS) to an operator panel which does
not accept FIPIO (CCX 17-20LW 20FW / 30 LW).

___________________________________________________________________________
5/14
Using MMI17 WIN software 5

5.2-3 Configuring the operator panel


This window is used to configure the parameters of the CCX 17 operator panel assigned
to the application.

CCX 17 setup

Language This item is used to define the language used in the CCX 17 operator
panel “SETUP”. Five languages are available : English (by default),
French, German, Italian and Spanish.

Date Format This item is used to define the format in which the date is displayed,
• US : (by default) displays the date in American format (MM/DD/YY),
• Europe : displays the date in European format (DD/MM/YY),
• Japan : displays the date in Japanese format (YY/MM/DD).

___________________________________________________________________________
5/15
Other characteristics
Default Group Number
This item is used to enter the number of the message group
displayed by default when the operator panel is powered up or the
application is launched. If the user does not want to display the
message when the operator panel is switched on, this field must
have a zero value (or be empty).

Inhibiting System keys / Screen


If the “Inhibit System Keys / Screen” button is activated, the
command keys are inhibited.
The keys on both sides of the screen cannot be used in the following
modes :
• Setup,
• alarm (overprinting, logs),
• entry log.
These keys automatically become active again following return to
the client application screen.

Exchange period

Refresh Period :
Command Zone Period :

Refresh Period :
This data item defines the read frequency for the displayed
variables.
The possible periods are : “fast, 400ms, 800ms, 1s, 2s, 4s, 10s, 30s
and 1min”.
The “fast” value signifies that the CCX 17 reads the variable value
as fast as possible.

Command Zone Period :


This data item defines the read frequency for the command zone.
The possible periods are : “none, 400ms, 800ms, 2s, 4s, 8s, 32s,
1min and 5min”.

Important comment :

The value “none” signifies that the CCX 17 will never consult the
command zone.

___________________________________________________________________________
5/16
Using MMI17 WIN software 5

Protocol
Protocol This data group is used to modify the parameters of the operator panel
- PLC link.

Reminder :
Fast access is via the following icon :

The “operator panel” configuration and the “printer


link” displays use the same window. The
following icons are used to switch from one to
the other :

Operator panel protocol


This is used to select the operator panel protocol :

• Unitelway slave : the operator panel is configured as a slave of the


UNI-TELWAY bus (the most frequent case),

• Unitelway master : the operator panel is configured as a UNI-


TELWAY bus master.

• Fipio : the operator panel is configured for connection to a FIPIO


fieldbus.

Unitelway protocol
This item is used for selecting the UNI-TELWAY link parameters :

• Speed : communication speed : must be between 300 and 19200


baud. All devices connected on the same bus must have the same
communication speed.

Default speed : TSX 37 : 9600


TSX 57 : 19200.

___________________________________________________________________________
5/17
• Time-out : the time-out corresponds to the minimum response time of
the PLC application to a request sent by the CCX 17 operator panel.
This must be at least equal to 10000 ms. If this is not the case, an error
message is displayed,

• Slave address : this field, which can only be accessed when the
protocol for the operator panel is specified as “Unitelway master”, is
used to select the slave address which will communicate with the
operator panel.
FIPIO protocol
This item is used to select the connection point of the CCX 17 operator
panel on the FIPIO fieldbus.

The connection point is between 1 and 62.

___________________________________________________________________________
5/18
Using MMI17 WIN software 5

5.2-4 Configuring the link


This function is used to configure the tables required for using mailbox communication.

It is accessed by selecting the following icon :

This screen consists of two reserved parts :


• one part is reserved for the “Report” zone,
• the other part is reserved for mailbox exchanges with a distinction made between
commands and alarms.

___________________________________________________________________________
5/19
Description of the Report zone
Report zone Variable and Symbol
The CCX 17 operator panel manages (at the end of the self-tests) a
status word written in an internal word in the PLC memory.
This internal word can be symbolized in the station database. Entering
the internal word (example %MW1) immediately updates the symbol
name (example Word_a). Similarly, if the symbol name is entered the
internal word is automatically updated.

Acknowledge Alarm
The selection of this function enables the CCX 17 to return the number
of the alarm message acknowledged by the user to the PLC. This
value is written in the word following the status word of the of the report
zone address (for example, if %MW100 is the report zone address,
the word dedicated to the alarm acknowledgment is %MW101).

Description of the command zone

Start Address or Start Symbol


This item indicates the start of the PLC internal word table where the
operator panel will read the commands.
As with the report zone address and symbol parameters, where
the first internal word in this table is symbolized, entering a variable
using its symbolic name or its address is sufficient to update both
data items.
%QW type words are accepted.

Length This parameter specifies the length of the table reserved for the
command zone. It will be recalled that this table is composed of :
• one word for controlling the operator panel indicator lamps,
• one word for the number of the status message group to be displayed,
• a series of words for status messages (one word per message).
The CCX 17 operator panel can display up to four status messages
containing one variable entry per line. The maximum length of this table
is therefore four words per line plus two words. A CCX 17-30 with eight
lines can have a table with a maximum length of 34 words.
If the number entered is greater than this limit, the following message
is displayed :

___________________________________________________________________________
5/20
Using MMI17 WIN software 5

Comments :

If the user wishes to use the “Acknowledge read mode” option and/or the
“Acknowledge write mode” option, the total length of the word table reserved in the
PLC must be multiplied by two or three (for more details, see section 4.2.4).

Acknowledge read mode (*)


This item enables the acknowledge read mode field assigned to the
commands to be used. If this option is selected, an internal word
table is used in the PLC (of the same length and following the table
used by the command zone).

Acknowledge write mode (*)


This item enables the acknowledge write mode field assigned to the
commands to be used. If this option is selected, an internal word table
is used in the PLC (of the same length and, depending on the case,
following the table used by the command zone or following the
acknowledge read mode table if it is being used).

(*) Notes on acknowledge read / write mode


1 For a %QW type command zone, 7 %IW words are used to manage acknowledgments
(read/write) :
• %IW\p.2.cnx\0.0.1 : acknowledge alarms
• %IW\p.2.cnx\0.0.2 : acknowledge indicator lamps in read mode
• %IW\p.2.cnx\0.0.3 : acknowledge the group and indicator number in read mode of a
displayed system screen
- FFFF (in hexadecimal) : SET UP screen
- FFFE (in hexadecimal) : active or archived alarms screen
- FFFD (in hexadecimal) : entry archive screen
- FFFC (in hexadecimal) : overprint alarms screen
• %IW\p.2.cnx\0.0.4 : acknowledge messages in read and/or write mode,
• %IW\p.2.cnx\0.0.5 : acknowledge messages in read and/or write mode,
• %IW\p.2.cnx\0.0.6 : acknowledge messages in read and/or write mode,
• %IW\p.2.cnx\0.0.7 : acknowledge messages in read and/or write mode.

2 For an internal word type command zone, the system screen display indicator is
contained in the second word of the zone reserved for acknowledgment write mode
(used for the message group number).
___________________________________________________________________________
5/21
Example
• The operator panel used is a CCX 17-30L.
• It must write its status word to PLC internal word %MW250 (address Table_8).
• The alarm zone starts at internal word %M200 (address Alarm_2) and has a length
of 10 bits.
• The user wishes to display up to 20 status messages, thus the command zone has
a length of 20 + 2 = 22 internal words and starts at word %MW100 (address St_12).
The acknowledgments on read and write are requested. The total length of the word
table used in the PLC is thus 66 words (3 * 22).

___________________________________________________________________________
5/22
Using MMI17 WIN software 5

Description of the alarm zone

Start Address or Start Symbol


This item indicates from which PLC bit or internal word the CCX 17
operator panel must read the table corresponding to the alarms used
during mailbox communication. When a bit (or a word bit) in this table
changes to 1, the alarm message corresponding to this bit is displayed
on the operator panel.
As with the report zone address and symbol parameters, if the first
internal word in this table is symbolized, the entry of a variable using
its symbolic name or its address will be sufficient to update both data
items.

BIT or WORD type addresses are accepted. When OS/2 applications


are re-read, ROW type addresses are accepted (see OS/2 version).

%QW type words are accepted in zone 1.

Length This parameter specifies the length of the table allocated to the alarm
zone. The maximum length of this bit table depends on the type of
CCX 17 operator panel :
• a CCX 17-20 which can manage up to 150 alarm messages can
have an alarm zone with a maximum of 150 bits (or 10 words).
• a CCX 17-30 which can manage up to 300 alarm messages can
have an alarm zone with a maximum of 300 bits (or 19 words).

Comment
if DFB alarms are selected, the alarm zone is at 220 bits maximum.

___________________________________________________________________________
5/23
Extended alarm zone on reading an OS/2 application

Retrieval under MMI 17 WIN of a man/machine interface application generated under


OS/2 which manages events linked to diagnostic OFBs provides access to an extended
alarm zone.
This alarm zone is activated by the Edit / Extended Alarm Zone menu. It displays two
additional alarm zones : zones 2 and 3.
OFB status management
This check box is used to inhibit management of the OFB status of an OS/2
application retrieved under MMI 17 WIN (*.M17 file or application
transferred from a CCX 17). If the application is then transferred to a
CCX 17, the new selection will be taken into account.
Both new screens, described later, can only be accessed when the box
has been checked.
Start Address
This field shows the first error bit to be monitored, for a given type of
diagnostic OFB (for example, EPON0,ERROR). When a monitored OFB
error bit changes to 1, the corresponding alarm message is displayed on
the CCX 17 operator panel.
Start Symbol
This field is empty.
Start of zone The value displayed in this field indicates the number of the start alarm
message for either zone 2 or zone 3.
Length The value displayed in this field specifies the table length allocated to
the alarm zone.
The maximum length of the alarm table depends on how many mes-
sages the selected CCX 17 operator panel can manage :
• for a CCX 17-20 which can manage up to 150 messages, the size of
the alarm zone will be 150 bits.
• for a CCX 17-30 which can manage up to 300 messages, the size of the
alarm zone will be 300 bits.
The 3 alarm zones (zones 1 to 3) share the same space without any overlap
between the different zones.
___________________________________________________________________________
5/24
Using MMI17 WIN software 5

OFB alarm zone variables screen (OS/2 application)


This button is only active if the man-machine interface application is in OFB
status management mode. It provides access to the next screen, which
displays all the diagnostic OFB error bits associated with the alarm events in
the zone. The data in this screen is in read-only format.

Alarm indicates the number of the alarm.


Variable displays the variable (diagnostic OFB error bit) of the alarm event.
Symbol displays the symbol for the alarm event.
Comment displays the comments for the alarm event.
this button is used to display the data relating to alarm zones 2 and 3
alternately.
This operation is also possible by using the <F2> key or by selecting
Change alarm zone under the Edit menu.
pressing this button displays a dialog box which is used to search for
a character string in the screen.

___________________________________________________________________________
5/25
OFB alarm zone status screen (OS/2 application)
This button is only active if the man-machine interface application is in OFB
status management mode. It provides access to the next screen, which
displays the comments associated with the OFB status word bits being
monitored. The data in this screen is in read-only format.

Text (line 1) displays the first 37 characters of the comment associated with the
status word bit.
Text (line 2) displays the subsequent characters (37 maximum) of the comment
associated with the status word bit.
this button is used to display the data relating to alarm zones 2 and 3
alternately.
This operation is also possible by pressing the <F2> key or by selecting
Change alarm zone under the Edit menu.
pressing this button displays a dialog box which is used to search for
a character string in the screen.

Comment
The data relating to OFB status is contained in the configuration. It is not taken into account during
transfer of the application or creation of the documentation file unless theApplication Configuration
box is checked.
___________________________________________________________________________
5/26
Using MMI17 WIN software 5

Extended alarm zone for DFB and GRAFCET alarms

When an operator dialogue application manages events associated with the diagnostic
DFB, MMI 17 WIN provides access to an extended alarm zone.
This alarm zone is activated via theEdit / Extended Alarm Zonemenu. It displays a block
which enables the sectors to be monitored to be defined.
DFB Alarms
When this box is checked, management of the DFB alarms can be
activated or inhibited. By default, this is not checked and all the information
in the extended alarm zone is grayed out.
Sectors to be monitored
This field represents 16 sectors to be monitored; these sectors correspond
to geographic zones in the workshop.
Sector 0 (common sector) is a privileged sector which cannot be unchecked.
MMI 17 allows a maximum of 4 sectors to be checked. By default, only
sector 0 is checked.
Status management
When this box is checked, diagnostic DFB status management can be
activated or inhibited. For the CCX 17 to manage DFB status errors, this
box must be checked. By default, the status management option is not
checked.
When this box is checked, the MMI 17 software loads the diagnostic DFB
.STO files to the MMI 17 application. Similarly, when the user unchecks this
box, the MMI 17 software unloads the diagnostic DFB .STO files from the
MMI 17 application.
If no .STO file is present on the disk when the user checks the box, an error
message is displayed and the box is automatically unchecked.

___________________________________________________________________________
5/27
Opening or downloading an application with the Status Management
box checked:
• if the .STO files on the disk are identical to those in the application, the
user does not have to do anything,
• if the .STO files on the disk are not identical to those contained in the
application (string modification or additional .STO file present), the
software will prompt the user to update the application. If the user does
not update the application, it will remain in the same state,
• if the .STO files are not present on the disk, an error message will be
displayed on the screen (STATUS files not installed on the station).
The user does not have to do anything and the application remains in
the same state.
Display
This option concerns all the DFB alarms. If this box is checked, the alarms
are displayed in the foreground when they appear.
By default the Display option is checked.
Printing
This option concerns all the DFB alarms. If this box is checked, the alarms
are printed as and when they appear.
By default the Print option is not checked.

___________________________________________________________________________
5/28
Using MMI17 WIN software 5

OFB alarm zone status screen (OS/2 application)


This button is only active if the operator dialogue interface application is in DFB
status management mode. It provides access to the next screen, which
displays the comments associated with the DFB status word bits being
monitored. The data in this screen is read-only.

Text (line 1) displays the first 40 characters of the comment associated with the
status word bit.
Text (line 2) displays the subsequent characters (40 maximum) of the comment
associated with the status word bit.
this button is used to display the data relating to the next DFB. All DFBs
whose status files have been loaded are displayed.
This operation is also possible by pressing the <F2> key or by selecting
Display Subsequent Status Texts under the Edit menu.
pressing this button displays a dialog box which is used to search for
a character string in the screen.

___________________________________________________________________________
5/29
5.2-5 Configuring the device

This function is used to define the devices (the PLC and two other devices) which can
communicate with a CCX 17 operator panel connected on a FIPIO fieldbus.
Reminder : fast access to this function is via the
following icon :

This screen is used to enter :


• the name (maximum of 10 characters) assigned to the PLC,
• the names of the two other devices which can communicate with the CCX 17,
• the connection point of each of these two devices on the FIPIO fieldbus,
• the length of the requests assigned to the devices, with two predefined values : 128 (for
the ATS range) and 128/32 (for Series 7),
• the request optimization option.
If this option is not confirmed, the CCX 17 generates unitary requests (read a bit or a word)
to the third-party device.
If this option is confirmed, it concatenates the requests and generates a multi-bit or
multi-word request.
The operation of the third-party device must thus be checked in its corresponding
documentation.

___________________________________________________________________________
5/30
Using MMI17 WIN software 5

Comment

TSX 37, TSX 57 or Series 7 PLCs accept multiple requests.

When creating status or alarm messages, the user must indicate the name of the device
with which he wishes to communicate in the “Device” cells of the relevant entry screens.

Third-party devices cannot be accessed when programming command keys.

In order to be directly accessed by the CCX 17, devices connected on FIPIO must include
a UNI-TE server for processing V5 requests.

___________________________________________________________________________
5/31
5.2-6 Protecting configuration parameters
Protected parameters

The following parameters can be password protected :


• default group number,
• activation/deactivation of system keys,
• exchange periods,
• communication protocol.
Unprotected access : Protected access :

Declaration of the password


The password initial entry window is
accessed by clicking on the following icon
or by via the Edit/Password menu.

The password must contain four numerical


characters.

The characters do not appear on-screen when the password is entered (asterisks confirm
the pressing of keys).

___________________________________________________________________________
5/32
Using MMI17 WIN software 5

Password request

The password is requested when :


• the protected parameters are not displayed,
• the user wishes to access them.
Access is by clicking on this icon or by
selecting the Edit/Password menu.

The password must contain four numerical


characters.

If the password is invalid, the following


message is displayed :

Changing the password

The password is changed when the


protected parameters are displayed, by
clicking on the icon or by selecting the Edit/
Password menu.

This displays the initial entry window. The


new password must similarly contain four
numerical characters. Entering the value
0000 is equivalent to clearing the
password.

___________________________________________________________________________
5/33
5.2-7 Printer link

Reminder
Fast access is via the following icon :

Use this icon to return to operator panel


configuration :

This item is used to select the parameters which are specific to the printer.

• Communication speed : choice of bit rate, values can be between 300 and 9600 baud,
• Parity : the parity for the link (even, odd or none),
• Data : the number of data bits (7 or 8 bits),
• Stop bit : the number of stop bits (1 or 2),
• Continuous printout : confirms or inhibits the continuous printout of operator panel
messages.

___________________________________________________________________________
5/34
Using MMI17 WIN software 5

5.3 Creating status messages


5.3-1 Principle of data entry
After starting MMI17 WIN software, click on
this icon or select the Window/Status
Messages function.

A window is displayed containing a table in which all the parameters of the status
messages in the application can be described. It consists of two parts :
• a spreadsheet for displaying and direct entry of messages.
• a display zone containing :
- the number of messages entered and the maximum number permitted,
- icons for accessing the “Cut/Copy/Paste” and “Find” functions,
- a WYSIWYG display icon.

Icons

Parameter
entry

This window is an alternative means of entry to the fast entry dialog box.
This presentation has the advantage of displaying the data specific to several messages
on the same screen, but the table must be moved to see the whole message.
The fast entry dialog box is activated by double-clicking on the line number or by “Shift +
F8”.

___________________________________________________________________________
5/35
5.3-2 Data entry
This is performed field by field :
• The active cell has a bold surround.
• The movement arrows, the TAB key or the Enter key as well as the mouse can be
used to move from one field to another.
• The Enter key confirms if entry mode is selected (cursor blinking).
• Double-clicking on a field enables that field to be modified.
The method of modification depends on the type of field :
- a numerical field is modified directly,
- a field with predefined values is modified with a combination box,
- a Boolean field is modified by clicking the mouse or pressing the space bar in a check
box.
The “Entry format” and “Display format” fields are modified using specific dialog boxes.

• The modification is accessed by :


- Double-clicking : the cell contents are selected and the cursor is
positioned at the end of the text.

- a key other than the movement the cell contents are replaced by the k e y s
or the space bar : selected key.

- the space bar : the cell contents are retained and the cursor is
positioned at the end of the text.

• Esc undoes modifications to direct entries in the cell or to any message.


If an error is detected in a field, a message indicating the cause(s) of the error is displayed
at the top of the screen.

Comment
Fields are usually entered one after the other according to their position in the table. Moving
from one field to another automatically confirms the previous selection. Depending on the
type of status message requested, one or more errors may be flagged to the user. Moving
from one message to the next is only possible when all errors have disappeared.

___________________________________________________________________________
5/36
Using MMI17 WIN software 5

5.3-3 Fast entry


The dialog box can be activated by double-clicking on the number of the status message
(the mouse pointer then looks like a magnifying glass) or by pressing Shift + F8 or selecting
the “Edit / Zoom” menu if a line is selected. The window opens on the selected message.

The “Next” and “Previous” buttons can be used to browse through all the messages.

___________________________________________________________________________
5/37
5.3-4 Functions which can be accessed via icons
Cut Accessed via the icon or the Edit/Cut menu or the “Ctrl+X” or
“Shift+Del” shortcuts, this function places the contents of one (or
more) line(s) on the clipboard and deletes it (them) at the same time. It
can only be accessed if at least one line is selected.
Copy Accessed via the icon or the Edit/Copy menu or the “Ctrl+C” or
“Ctrl+Ins” shortcuts, this function performs the same action as the
“Cut” function, but does not delete the selected lines. It can only be
accessed if at least one line is selected.
Paste Accessed via the icon or the Edit/Paste menu or the “Ctrl+V” or
“Shift+Ins” shortcuts, this function is used to paste the clipboard
contents. It is not permitted if the number of lines selected is different
from the number of lines on the clipboard. It cannot be accessed if the
clipboard is empty.

Copy/Paste multiple lines


The procedure for copying/pasting several messages consists of :
1- Selecting and copying n lines
2- Before pasting :
- Selecting the same number of lines (n) for pasting.
Or
- Positioning the cursor on a cell in the line where you wish to paste.

___________________________________________________________________________
5/38
Using MMI17 WIN software 5

Find Accessed via the icon or the Edit/Find menu or the “F3” shortcut, it
opens the following dialog box :

This find may be performed selectively


- by choosing columns as follows :
. All : on all the status messages,
. Status message texts : on the message texts
. Address : on the names of the variables
- by choosing the “Match Case” option,
- by checking the “Whole Cell” option. The search is performed by
comparing the character string with the contents of each cell.

___________________________________________________________________________
5/39
5.3-5 Modifying in the spreadsheet
General principle
Entries are made field by field. The system automatically calculates certain cell values for
the variable part.

Description of fields
Message Text Field for entering the message text which is displayed on the CCX 17
operator panel. It can contain a maximum of 40 characters.

Line Specifies the line on which the message is displayed (default numerical
value entry, = 1).

Column Specifies the column on which the message is displayed (default


numerical value entry, = 1).

Attribute Defines the message display attribute. The following are available :
• Flashing : flashing display
• Reverse : reverse video.

Format Specifies the format of all the text and variable characters to be
displayed :
• Standard : standard height and standard width display,
• Double : double height and double width display.

Print Activates the continuous printout of the status messages. The type
of entry is selected by clicking on a check box or using the space bar.

Command This field enables a single command, which is executed before the
message is displayed, to be assigned to the message. The choices
are :
• NON : No command assigned to the message.
• CLS : Clears the screen.
• CLL : Clears the line on which the message is to be displayed.
• CMH : Clears the status message log.
• CAH : Clears the alarm message log.

___________________________________________________________________________
5/40
Using MMI17 WIN software 5

• RKB : Used with mailbox communication, this parameter indicates


to the CCX 17 operator panel that a value must be entered
by the user.
• PMH : Sends the status message log to print.
• PAM : Sends the alarm message log to print in chronological
order.

Field Type Defines the type of parameter field (entered or displayed) assigned
to the message. The possible choices are :
• NON : No field is assigned to the message displayed.
• BIT : The message is assigned to a bit type field.
• ANA : The message is assigned to a 16-bit integer field.
• LNG : The message is assigned to a 32-bit integer field.
• STR : The message is assigned to a word string or to a floating point
number (see example section 5.3-9).
• LST : The message is assigned to a word type index.
• DAY : The message is assigned to the current date.
• HOU : The message is assigned to the current time (the date and
time are periodically synchronized to those of the PLC).

Device Specifies the name of the device to which the variable to be read is
assigned. The devices which can communicate with the CCX 17 are
defined by the Configure/Device function. This function is only
available when the CCX 17 is connected on a FIPIO fieldbus (if it is
connected on a UNI-TELWAY bus, it can only communicate with the
master).

Variable Specifies the address of the variable assigned to the message. When
communicating with the PLC, if the symbol assigned to this variable
exists in the station database, it is taken into account automatically
when the screen is confirmed. The variables are as follows :
• bit objects :
- internal bits : %Mi
- word extract bits : %MWi:Xj (in read only)
- FIPIO object extract bits : %QW\p.2.cnx\0.0.i:Xj.

• word objects :
- internal words : %MWi
- internal double words : %MDi
- FIPIO words : %QW\p.2.cnx\0.0.i.

___________________________________________________________________________
5/41
Comment :
Confirming the address field entry automatically completes the following fields :
- Display Format with the default format,
- Field Type (bit, 16- or 32-bit word),
- Message Text :
the message is completed with :
. one “_” (underscore) for a %MXi
. 5 “_” for a %MWi
. 8 “_” for a %MDi

Symbol Specifies the symbol for the variable assigned to the message. If the
symbol entered is not defined in the station database, the entry will not
be confirmed. If the symbol already exists, the address item assigned
to the symbol is automatically updated when the field is confirmed.

Comment Displays the comment for the variable assigned to the message (for
viewing only). It is defined in the station database.

Display format
Entries are made by opening the following window by double-clicking in
the field.

Specifies the display format of the message :


• Empty : None.
•9 : Numerical Format.
•A : ASCII Format.
•B : Bargraph Format (the user must specify thebargraph
display limits).

Reminder
A signed internal word has a value of between -32,767 and +32,767, or between
0 and 65,535.
A double signed internal word has a value of between -2,147,483,647 and
+2,147,483,647, or between 0 and 4,294,967,295.

___________________________________________________________________________
5/42
Using MMI17 WIN software 5

Refresh
Enter via check box. Specifies whether the variable contained in the
message must be updated periodically when it is displayed.

Entry type
Entry is performed by opening the following window by double-clicking
in the field. It specifies the type of entry assigned to the variable.

The “None” option is


selected by default. The
corresponding value in the
spreadsheet is “N”.

Selecting the “Free Form”


button corresponds to
normal entry using the
numerical keys. The value
in the spreadsheet is “L”.

___________________________________________________________________________
5/43
When choosing
“Incremental” the user must
define the increment value
the and the entry limits. On
the CCX 17 operator panel,
a parameter value is
modified by pressing the
left and right arrow keys.
The corresponding value
in the spreadsheet is “I”.

The “Min” and “Max” values are optional. The “Inc” value is compulsory.

Entry of “Preset values”.


The user must enter the
possible values which the
variable can take. These
values are arranged in
ascending order. The
corresponding value in the
spreadsheet is “V”.

Entry in the Value item ungrays the Add button. When the number of
permitted values (16) is reached, the button will be grayed.

Selecting a value from the list accesses the Delete function.

___________________________________________________________________________
5/44
Using MMI17 WIN software 5

5.3-6 Request to display a message


To simply display a message containing alphanumeric characters, only those fields
relating to the display need to be filled in (text, attribute, size and position) and, if required,
a command associated with the message.

Example :
Data :
• “End of cycle” message displayed in reverse video, double width and double height on
line 4 and starting at column 13.
• The message must be accompanied by the “clear line” command.

Parameter selection :
• As the message must be accompanied by the clear line command, the Command field
is therefore CLL.
• This message does not need any particular data from the PLC, nor any intervention by
the operator, thus the field type is NON : None.
The screen corresponding to this example is as follows :

The “Next” and “Previous” buttons can be used to browse through the full range of
messages.

___________________________________________________________________________
5/45
5.3-7 Request to display a message containing a variable
To display a message including a value issued by the process, the user fills in the fields
relating to :
• the display (text, attribute, size and position) and, if required, a command associated with
the message,
• the characteristics of the variable to be displayed (displaying a floating point variable is
described in section 5.3.10).
Example :
Data :
• “Temperature Oven 4 = xxx.xx °C” message displayed, where xxx.xx represents the
temperature value (the expected value must comprise five decimal figures with two after
the decimal point).
• The temperature value is shown in the PLC word %MW110.
• The display is in normal mode and standard size on line 3 starting at column 1.
• No command is associated with the message.

Parameter selection :
• Since this message requires data from the PLC, information relating to the field type must
be made available.
• The message text must include an indication of the field size of the value displayed. The
conventional method is to represent each expected character by an underscore “_”.
Thus, in this example, the message text must include six underscores (five for the
number itself plus one for the decimal point).
• The field type is ANA (16-bit word) and the variable is updated periodically.
• The display format is numerical with two digits after the decimal point (2 decimal places).
If, for example, the contents of %MW110 is 12345, the display on the operator panel is
123.45.

___________________________________________________________________________
5/46
Using MMI17 WIN software 5

The screen corresponding to this example is as follows :

___________________________________________________________________________
5/47
5.3-8 Request to display a message with entry of a process value
To display a message including a value issued by the process and which needs to be
modified by the operator, the designer fills in the fields relating to :
• the display (text, attribute, size and position) and, if required, a command associated with
the message,
• the characteristics of the variable to be displayed,
• the entry format.

Example :
Data :
• The message “drill motor speed = xxxx Rpm” is displayed, where xxxx represents the
rotation speed of the motor (the expected value must therefore contain four decimal
digits).
• The rotation speed of the motor is specified in PLC word %MW55.
• The display is flashing and standard size on line 2 starting at column 6.
• The entry made by the operator must be incremental (in steps of 100 rpm between 1000
and 3000 rpm).

Parameter selection :
• Since this message requires data from the PLC and an entry by the operator, information
relating to the field type and the entry format must be made available.
• The message text must include an indication of the field size of the value displayed. The
conventional method is to represent each expected character by an underscore “_”.
Thus, in this example, the message text must include four underscores.
• The field type is ANA (16-bit internal word).
• The refresh option must be selected.
• The display format must be Numerical with no digits after the decimal point.
• The entry type must be incremental.
• The entry limits must be 1000 for the minimum limit and 3000 for the maximum limit.
• The increment value must be 100 rpm.

___________________________________________________________________________
5/48
Using MMI17 WIN software 5

Note
When mailbox communication is used and the message comprises an operator entry, the Command
field must be RKB.

The screen relating to this example is as follows :

___________________________________________________________________________
5/49
5.3-9 Request to display a character string

To display a character string issued by the process, the user fills in the fields relating to :
• the display (text, attribute, size and position) and, if required, a command associated
with the message,
• the characteristics corresponding to this string.
Example :
Data :
• The message “Parameters = xxxxxxxxxxxxxxxxxxxx” is displayed, where xxx...
represents a character string (the string is 10 words long and starts at PLC word
%MW60).
• The display is in normal mode and standard size on line 1 starting at column 1 (no
command is associated with the message).

Parameter selection :
• Since the display of a character string requires data from the PLC, data relating to the
field type must be made available.
• The text must include an indication of the field size of the value displayed. The
conventional method is to represent each expected character by an underscore “_”.
Thus, in this example, the message text must include 20 underscores (two characters
per internal word).
• The field type must be STR (String).
• The display format must be ASCII.
• The length of the character string must be 10 words.
• The refresh option must be selected.

___________________________________________________________________________
5/50
Using MMI17 WIN software 5

The screen corresponding to this example is as follows :

___________________________________________________________________________
5/51
5.3-10 Request to display a floating point value
To display a floating point value issued from the process, the user fills in the fields relating
to the display (text, attribute, size and position) and, if required, a command associated
with the message.
Important :
The floating point values must be seen by MMI 17 WIN as an integer value displayed
with decimal places. The floating point value from the application must therefore first be
scaled to remove the decimal point then converted to an integer (example for a value
with 2 decimal places).
Example :
Data :
• “Measurement = xxx.xx” °C message displayed, where xxx... represents the floating
point measurement scaled and converted to an integer.
• The display has two digits after the decimal point in normal mode and standard size on
line 1 starting at column 1.
Parameter selection :
• Since the display of a floating point value requires data from the PLC, information relating
to the field type must be made available.
• The text must include an indication of the field size of the value displayed. The
conventional method is to represent each expected character by an underscore “_”.
Thus, in this example, the message text must include 6 underscores (five significant
numbers plus the decimal point).
• The field type must be LNG : 32-bit and Numerical type display format.
• The number of digits after the decimal places must be 2.
• The refresh option must be selected.

___________________________________________________________________________
5/52
Using MMI17 WIN software 5

The screen corresponding to this example is as follows :

___________________________________________________________________________
5/53
5.3-11 Request messages using a word as an index
It is possible to use a word as an index in a pre-stored message. The operator panel
displays the message whose number is contained in the designated word. The first n
characters of the indexed message will be displayed in the “underscore” positions (n =
number of message “underscores”). To do this, the user must fill in the fields relating to :
• the display (text, attribute, size and position) and, if required, a command associated with
the message,
• the characteristics relating to this string.
Example :
Data :
• The message “Color = xxxxx” is displayed, where xxx... is a message pre-stored in the
operator panel. The number of the message to be displayed is contained in word
%MW124. If %MW124 = 18, the text of message number 18, containing, for example, the
text Red, is displayed after “Color =”.
• The display is in reverse video and standard size on line 4 starting at column 10 (no
command is associated with the message).
Parameter selection :
• Displaying an indexed message requires data from the PLC, thus information relating to
the field type must be made available.
• The text must include an indication of the field size of the value displayed. The
conventional method is to represent each expected character by an underscore “_”.
Thus, in this example, the message text must include five underscores.

___________________________________________________________________________
5/54
Using MMI17 WIN software 5

• The field type must be LST (Message).


• The display format must be ASCII.
• The Length field does not need to be filled in.
• The refresh option must be selected.

5.3-12 Context-driven activation of WYSIWYG


Using the status message spreadsheet, the WYSIWYG editor can be opened via :

• the icon : using in the spreadsheet display zone,

• the menu : using Edit / WYSIWYG,


• the keyboard : using Shift + F9.

If one or more status messages are selected, opening the WYSIWYG editor displays the
selected messages : otherwise the display is empty.

___________________________________________________________________________
5/55
5.4 Creating alarm messages
5.4-1 Principle of data entry
This window is accessed by clicking on this
icon or the “Alarm messages” line of the
Browser or by selecting theWindow / Alarm
Messages menu.

A window is displayed containing a table in which all the application alarm messages can
be described.
As with status messages, the window consists of two parts :
• a display zone containing :
- the number of alarm messages configured,
- the maximum number of messages authorized,
- icons for accessing the “Cut/Copy/Paste” and “Find” functions.

Important comment :
The first column displays the list of alarm events defined in the Configure / Link window.

See section 5.2.4. (“ ” icon).

As with status messages, the fast entry box is activated by double-clicking on the line
number or via Shift+F8.

___________________________________________________________________________
5/56
Using MMI17 WIN software 5

5.4-2 Data entry


The principle of data entry in the spreadsheet is identical to that of status messages (see
section 5.3.2).

5.4-3 Fast entry


The fast entry dialog box appears as a window displaying all the parameters relating to an
alarm message (use of this screen is described later in this section).

The “Next “ and “Previous” buttons can be used to browse through the various alarm
messages.

___________________________________________________________________________
5/57
5.4-4 Functions which can be accessed via icons
As with status messages, the following functions are available :
• Cut,
• Copy,
• Paste,
• Find.
See section 5.3.4 for equivalent keyboard and menu operations.

5.4-5 Modifying via the entry screen


Global buttons :

OK Confirms the screen contents.


Undo Undoes the modifications.
<< Previous Confirms the screen contents and moves to the previous alarm
message. This button is grayed if the window concerns message
number 1.
Next >> Confirms the screen contents and moves to the following alarm
message.

Message characteristics:

Message Text Zone for entering the alarm message text which is displayed on the
CCX 17 operator panel. It can have a maximum of 40 characters.

Display Specifies whether the alarm message must be displayed in overtype


mode on the screen (in all cases, the message is archived in the
CCX 17 operator panel and can be displayed later).

Print Sends the alarm message to be printed continuously.

Size Specifies the format of all the text and variable characters to be
displayed :
• Standard : standard height and standard width
• Double : double height and double width.

___________________________________________________________________________
5/58
Using MMI17 WIN software 5

Information about the variable:

The concept of automatic creation is always valid.

Type of Field Defines the type of parameter field associated with the message :
• NON : No field is associated with the message displayed.
• BIT : The alarm message is associated with a bit type field.
• ANA : The alarm message is associated with a 16-bit integer field.
• LNG : The alarm message is associated with a 32-bit integer field.
• STR : The alarm message is associated with a word string
(abbreviated to 4 characters).

Device Specifies the name of the device to which the variable to be read is
assigned. The devices which can communicate with the CCX 17 are
defined by theConfigure/Device menu. This function is only available
when the CCX 17 is connected on a FIPIO fieldbus (if it is connected on
a UNI-TELWAY bus, it can only communicate with the master).

Variable Specifies the address of the variable associated with the alarm message.
If the symbol associated with the variable already exists in the database,
the “Symbol” item is taken into account automatically when the screen
is confirmed. The addresses are as follows :
• bit objects :
- internal bits : %Mi
- word extract bits : %MWi:Xj (in read only)
- FIPIO object extract bits : %QW\p.2.cnx\0.0.i:Xj.
• word objects :
- internal words : %MWi
- internal double words : %MDi
- FIPIO words : %QW\p.2.cnx\0.0.i.

Symbol Specifies the symbol for the variable associated with the alarm
message. If the symbol already exists, the symbol associated with the
variable is taken into account automatically when the screen is
confirmed.
The database is updated using the Utilities / Import Variables File
menu : see section 5.8.

When communicating with a device other than a PLC and when a


database is not available, this field cannot be used.

___________________________________________________________________________
5/59
Comment Displays the comment for the variable associated with the alarm
message (for information purposes only). This comment is defined in
the database.

Display Format
Shows the display format of the alarm message variable. The possible
formats are :
• Empty : None.
•A : ASCII format.
•9 : Numerical format.

Modify Used to modify the display format of the alarm message. The window
offers the following choices :
• None.
• Numerical.
• ASCII.
The Bargraph option is not permitted.

The final format chosen is shown at the bottom of the window.


See Modifying the display format in the status message window,
section 5.3.5.2.

___________________________________________________________________________
5/60
Using MMI17 WIN software 5

5.4-6 Assigning the variable comment as an alarm message text


If the variables associated with alarm events have comments, they can be used as alarm
message texts via the “Edit / Update Alarm Text” menu.
The user can chose (globally) whether or not to retain the other message field
• Display option,
• Print option,
• Font size (standard or double),
• Variable (address, symbol, type of field, etc).
Activating the Update Alarm Text item displays the following dialogue box:

Some messages cannot be updated :


• incompatibility between the underscore characters placed in the comment and the
format of the variable,
• comment longer than 20 characters and double size font selected.
When an update is refused, the old message is retained and the update continues for the
other messages. At the end of the update, a dialogue box lists the messages which have
not been updated and the possible reasons for refusal (via a help button).

___________________________________________________________________________
5/61
Comments
Unlike status messages, not all parameters are present for alarm messages, such as :

• Line : alarm messages are automatically displayed on the second line of the screen.

• Column : alarm messages are automatically displayed on the left side of the screen.

• Attribute : alarm messages are always displayed in normal mode.

• Date and Time : alarm messages are automatically time-stamped.

• Refresh : the variables displayed are never updated in an alarm message.

• Entry format: this function is invalid because an alarm message can neither be entered
nor displayed as a bargraph.

Two examples of alarm messages are given later :


• An alarm message containing text only,

• An alarm message displaying a value issued by the process.


Of course, it is possible to have alarm messages which display a character string (STR
type field, string abbreviated to 4 characters). The display principle is identical to that
described for status messages.

___________________________________________________________________________
5/62
Using MMI17 WIN software 5

5.4-7 Request to display an alarm message


If the user wishes to display an alarm message containing alphanumeric characters, only
the fields relating to the display need to be filled in (text, size and type of display).

Example :
Data :
• “Emergency stop” message displayed in double width and double height.

• The message must be displayed on the operator panel screen.

Parameter selection :
• This message does not require any particular data from the PLC, thus the type of field
is “NON : NONE”.
The screen corresponding to this example is as follows :

___________________________________________________________________________
5/63
5.4-8 Request to display a message comprising a variable
To display an alarm message followed by a value issued by the process, the user fills in
the fields relating to :
• the display (text, size and type of display)

• the characteristics relating to the variable.

Example :
Data :
• The message “Overheating Oven 4 = xxx.xx °C” is displayed, where xxx.xx represents
the temperature value (the expected value must therefore comprise five decimal figures
with two after the decimal point),
• The temperature value is written by the PLC in the word %MW78,
• The display is in standard size and the message must be printed as a continuous
printout.

Parameter selection :
• Since this message requires data from the PLC, information relating to the type of field
must be made available.
• The message text must include an indication of the field size of the value displayed. The
conventional method is to represent each expected character by an underscore “_”.
Thus, in this example, the message text must include six underscores (five for the
number itself plus one for the decimal point).
• The type of field must be ANA (16-bit internal word).
• The display format must be Numerical with two digits after the decimal point
(2 decimal places).

___________________________________________________________________________
5/64
Using MMI17 WIN software 5

The screen corresponding to this example is as follows :

___________________________________________________________________________
5/65
5.5 Status message group editor
5.5-1 Principle of data entry and description of the screen

This function is accessed by clicking on this


icon or the “Group” line of the Browser or by
activating the Windows / Message Group
menu.

It is used to assign various message numbers to a group number.

Number of groups Clear


configured / Max. screen
number
bookmark in Group
place selection

Icons

Go to start

Place and
remove
bookmark and
access
different page

Go to next page

Last page
Reminder of message text
Enter and display message number
Position in the group

___________________________________________________________________________
5/66
Using MMI17 WIN software 5

Icon display zone


Icons for manipulating lines quickly are available.

: Cut. A line must be selected to ungray this icon.

: Copy. A line must be selected to ungray this icon.

: Paste. The clipboard must not be empty (cut/copy


executed) to ungray this icon.

: Find. Opens the following dialog box:

It is used to find a character string within all messages contained in the


group editor.
This search can be done selectively :
• by selecting columns :
. All : on all group status messages

. No. : on the message numbers

. Message text : on the message texts

• by choosing the “Match Case” option,

• by checking the “Whole Cell” option. The find is performed by


comparing the character string with the contents of each cell.

: Activates the WYSIWYG window by displaying the


current group.

___________________________________________________________________________
5/67
Group Number Selects the group number. Entry can be either direct or via the
“up/down” arrows.

The maximum number of groups and the number of messages per


group depend on the type of CCX 17 operator panel :
• CCX 17 20 : 50 groups of 8 messages maximum,
• CCX 17 30 : 100 groups of 16 messages maximum.

Clear Screen Clears the CCX 17 operator panel screen before the corresponding
group is displayed.

Message Number
Enables the messages which make up the group to be selected. Data
relating to the messages selected (number and content) is displayed
in the corresponding box.

A message is inserted in the list by selecting the “No.” column. The


“up/down” arrows are then displayed and can be used to browse
through consecutive messages.

___________________________________________________________________________
5/68
Using MMI17 WIN software 5

Go to :
• First group : equivalent to the “View / First Group” menu
or the “Ctrl+Home” shortcut.
• Last group : equivalent to the “View / Last Group” menu or the
“Ctrl+End” shortcut.

Go to :
• Previous group : equivalent to the “View / Previous Group” menu
or the “Page Down” shortcut.
• Next group : equivalent to the “View / Next Group” menu
or the “Page Up” shortcut.

Places the “bookmark” on the current page. The position is shown at the
top of the page with the page number.

The role of these buttons depends of the status of the current page :
• the current page is not marked :
- clicking on an unplaced bookmark places it on the current page,
- clicking on a bookmark which is already placed opens the
corresponding group,
• the current page is marked :
- clicking on the bookmark on the page removes it,
- clicking on another bookmark which is already placed opens the
corresponding group,
- an unplaced bookmark is gray and cannot be accessed.

Example :
Bookmarks placed on pages 2, 14 and 24. Clicking on one of these
bookmarks directly opens the corresponding group.

___________________________________________________________________________
5/69
5.5-2 Modifying a status message

A status message in a group can be modified using the group editor. To do so,
“double-click” on the message line number. The status message entry box then opens.

Comment :

This possibility is only available when modifying and will not function during message
creation. To show this difference, the message number for the line chosen is different
from zero.

___________________________________________________________________________
5/70
Using MMI17 WIN software 5

5.5-3 Example of a status message group

Important :
A group can contain several different messages. Thus, the user must take note of the
display position (line and column numbers) of each of the messages of the group on-
screen to avoid any message being overwritten. The window WYSIWYG can be used to
check the display.

5.5-4 Context-driven WYSIWYG activation

Opening the WYSIWYG editor using the icon in the display zone displays the
current group.

The WYSIWYG editor can also be accessed via :


• the menu : using Edit / WYSIWYG,
• the keyboard : using Shift + F9.

___________________________________________________________________________
5/71
5.6 Assigning the operator panel command keys
This window is displayed by selecting the
Window / Command Key menu or by
clicking on this icon. It is used to assign
variables to the CCX 17 operator panel
command keys.

5.6-1 Principle of data entry and description of the screen

A window is displayed containing a table which is used to configure the manual command
keys for the operator panels (these keys can either be assigned to PLC internal bits, or to
word bits or to CCX 17 discrete outputs if it has them). The principles of data entry are
identical to those for status messages (see section 5.3).
Data can be entered using two different screens, one screen in the form of a spreadsheet
and the other in the form of a dialog box displaying all the parameters relating to a particular
command key.
Display using the dialog box is explained in the section on the WYSIWYG Editor (see
section 5.1). This is the recommended method.
Data entry via spreadsheet enables all the keys to be displayed. Horizontal scrolling must
be used to browse through all the items. Data is entered by “double-clicking” in the relevant
cell.

___________________________________________________________________________
5/72
Using MMI17 WIN software 5

Function Enables the command key operating mode to be entered :


• EDG : edge mode (pressing the key sets the assigned bit to 1,
releasing the key sets it to 0),
• TOG : toggle mode (pressing the key causes the bit to change state).
Device Displays the name of the device to which the variable to be updated is
assigned. This name is declared when the device is configured (see
section 5.2.5).

Variable Specifies the address of the internal bit %Mi assigned to the key. If the
symbol assigned to the bit already exists, it is taken into account
automatically when the cell is confirmed.

Symbol Specifies the symbol assigned to the bit. If the symbol already exists, the
address assigned to the symbol is taken into account automatically at
confirmation.
The database is updated via the Utilities / Import Variables File : see
section 5.8.

Comment Displays the comment for the variable associated with the bit (for
information purposes only). It is defined in the station database.

5.6-2 Fast entry

The dialog box can be activated by double-clicking on the number of a command key (the
mouse pointer then looks like a magnifying glass) or by pressing Shift + F8 or by selecting
the “Edit / Zoom” menu if a line is selected. The window opens on the selected button.

___________________________________________________________________________
5/73
5.6-3 Example of configuring the command keys
Suppose the first six command keys on a CCX 17-30 are assigned to the internal bits
below :
Key 1 : bit %M10 edge function, Summary of key assignment
Key 2 : bit %M12 edge function,
1 2
Key 3 : bit %M30 toggle function,
Key 4 : bit %M31 edge function, 3 4
Key 5 : bit %M34 toggle function, 5 6
Key 6 : bit %M36 toggle function, 7 8
Key 7 : ,
Key 8 : .

Once all the command keys have been configured, the table summarizing the data
entered is as follows :

The corresponding bits used are updated by the operator when the command keys are
pressed. The PLC program then executes the associated actions.

___________________________________________________________________________
5/74
Using MMI17 WIN software 5

The window also contains a reminder of the selected operator panel options.
As with all spreadsheet windows, the display zone contains the fast access icons to the
following functions (see section 5.3 : Creating status messages ) for :
• Cut,
• Copy,
• Paste,
• Find.
• Multi-line copy/paste.

5.6-4 Context-driven WYSIWYG activation


When a spreadsheet line is selected, opening the WYSIWYG editor displays the editor
with the selected key highlighted.
The WYSIWYG editor can be accessed via :

• the icon : using in the spreadsheet display zone,

• the menu : using Edit / WYSIWYG,


• the keyboard : using Shift + F9.

___________________________________________________________________________
5/75
5.7 Character font editor
This function is accessed by clicking on
this icon or on the “Font Editor” line in the
MMI17 WIN window list or by selecting the
Window / Font Editor menu.

This function is used to modify the appearance of the character font assigned to the
application.

The screen is divided into two parts :


• a display zone showing the selected elements, and fast access icons associated with
character modification,
• a space for selecting, displaying and modifying the design of the characters.

___________________________________________________________________________
5/76
Using MMI17 WIN software 5

5.7-1 Display zone functions

Icon for changing fonts (see section 5.7.4).

Reminder of the font selected

A s sc ii : A l t + 03 2 Access to the selected character


A s sc ii : A l t + 0 12 7

Converting character modifications from Standard to Double format.


Modifications in Double format cannot be converted into Standard
format.
Switching the character to reverse video.

Deleting the picture by filling the blanks in the grid. If reverse video is
selected these blanks are filled in black.

This icon is used to cancel current modifications and return to the


Standard font.

These two icons are used to switch the display between the two
character sizes.

5.7-2 Selection and modification space


This space comprises two tables :
• the “ASCII character” with the font character table,
• a “Standard Font” or “Double Size Font” display grid of the selected character.

5.7-3 Modifying the character font


The editor is used in the following manner :
First select the character to be modified, either by clicking on it with the mouse or by
moving using the arrow keys. Once this selection has been made, the character selected
then appears in the grid.
An ASCII character is represented by four different combinations :
• the ASCII character has not been modified,
• the ASCII character has been modified by the user in standard size format and retains
its default status in double size format,

___________________________________________________________________________
5/77
• the ASCII character has been modified in double size format and retains its default
status in standard size format,
• the ASCII character has been modified in standard and double size format.

Modifying a character using the keyboard


The TAB key moves the cursor between the character window and the grid.
The arrow keys move the cursor within the grid.
The color of a single rectangle is changed using the space bar.
Modifying a character using the mouse
Clicking with the left hand mouse button on a single rectangle changes its state.
By holding down the left hand button and dragging the mouse, the state of several
rectangles can be changed at the same time.

Comments :
• The character selected and modified with respect to the standard font is displayed in a
red frame against a yellow background,
• Modifications are confirmed using the “Edit / Confirm”
menu, or by clicking on the following icon :
• Any modification made to the character is displayed on the WYSIWYG screen. These
modifications do not appear in the spreadsheets.

Example :
Modifying the figure “nine”.

___________________________________________________________________________
5/78
Using MMI17 WIN software 5

5.7-4 Selecting the character font


This function can be accessed when cursor is in the Font Editor window.
It is activated by clicking on this icon or by selecting the Utilities / Change System
Font File menu or by using the shortcut Alt+F10.
It is used to select the font to be associated with the application.

The following window lists the available fonts


and the means of selecting them.

By default, MM17 WIN uses the Windows


system font.

Reminder :
A single system font is associated with each application. It comprises two formats
“Standard” and “Double”. The design of each character can be modified using the font
editor. Modifications can be made independently on either one or both formats.

Note :
The modified character font can be saved in a file by activating the “Utilities / Save Font
File" menu (see section 6.2.1).

___________________________________________________________________________
5/79
5.8 Symbols and variables editor

This function can be accessed by clicking


on this icon or on the “Variables” line of the
MMI17 WIN window list or by selecting the
Application / Variables menu.

This function is used to display all variables which have a symbol.

icons

list of
variables
and
symbols

The screen offered comprises two parts :


• a display zone containing the fast access icons for variable modifications and, if
required, the name of the STX file to which the MMI application is linked,
• a display space for variables and their associated symbols.

Comments :

The symbols database cannot be modified by MMI17 WIN software. It is updated by


exporting PL7 variables into the SCY file, then retrieved by importing the variables
into MMI17 WIN, or by a link with an STX file.

___________________________________________________________________________
5/80
Using MMI17 WIN software 5

5.8-1 Retrieving symbols by importing a .SCY file


The symbols database is updated by activating the Utilities / Import Variables File menu
or “Alt+S” followed by “Alt+V”. This function opens the following dialog box to select the
file :

.SCY extension files (the only ones accessible) are the backup files for PL7 application
variables.
From the data in the file, this function selects those whose syntax it accepts.
Once it has been started, the status bar gauge shows how much has been read and
updated.

Note
An import file containing too many variables which are symbols and which have been
accepted by MMI will only be partially processed.

___________________________________________________________________________
5/81
5.8-2 Retrieving symbols via a link with a .STX file
MMI 17 WIN version 3.1 allows symbols to be retrieved via a link with a .STX file
(application created by PL7). The .W17 file generated by the software cannot be opened
by any version previous to MMI 17 WIN.
The path and the .STX file name are stored in the MMI application configuration, but
are not loaded into the CCX 17.

Link with STX file


Activating this item displays the following
dialogue box which allows the user to select
the .STX file to which the link is to be made.

Confirming the .STX file in this dialogue box will :


• overwrite the local database for the operator dialogue application with the new data.
There is no consistency check,
• access the Update in Relation to STX file and Delete Link With STX File items . The
Import Variables File item is no longer accessible, which prevents the .SCY file being
imported.

___________________________________________________________________________
5/82
Using MMI17 WIN software 5

Update in Relation to STX file


Activating this item will :
• overwrite the local database for the operator dialogue application with the new data.
There is no consistency check between the local database and the contents of the
.STX file,
• if the .STX file cannot be found, a message and access for entering a new .STX file
is displayed.
Delete Link With STX File
Activating this item will :
• display a dialogue box containing the following warning : CAUTION, the link with the
STX file will be lost,
• confirming this dialogue box removes the link with the. STX file.
TheUpdate in Relation to STX file and Delete Link With STX File items are no longer
accessible. The .SCY file can once again be imported (the Import Variables File item
is no longer grayed out)
The local database for the operator dialogue application remains intact.

Notes
When an MMI application is linked with a. STX file, opening it causes :
• a search for the .STX file stored in the symbols variable database and a prompt to update the local
database for the MMI application with the new data (this is not automatic),
• if the .STX file cannot be found, a message is displayed and the link removed. The local database
for the MMI application remains intact.

If an MMI application is linked with a .STX file, unloading it will :


• display a dialogue box containing the following message : Do you want to retain the local
database ?.
If the user selects YES, the local database is retained together with the link with the .STX file.
If the user selects NO, the local database is deleted and the link with the .STX file is removed.

___________________________________________________________________________
5/83
5.8-3 Functions of the display zone
As with any MMI17 WIN spreadsheet, the display zone contains the fast access icons
for the following functions (see section 5.3):
• Cut, Cannot be accessed
• Copy, Is used to retrieve a variable which is to be pasted in another spread sheet. This
function copies the triplet <Variable, Symbol, Comment> into one of the
following spreadsheets: status, Alarm, Command key. Only one variable can
be copied at a time.
• Paste, Cannot be accessed
• Search.
• Delete Deletion is global and concerns the entire symbols database. It can be
accessed via the “Edit / Delete” menu or via the Delete, key after selecting
all.
The display zone also contains the path and the name of the STX file to which the MMI
application is linked.

5.8-4 MMI17 WIN and OS/2 compatibility


MMI17 WIN software is compatible with the version corresponding to OS/2 with the
following observations:

• Any application generated under OS/2 can be accessed via the Windows version :
- If the ROW addresses are used (CCX 17 profile), they are converted to %QW
- The ROWA addresses (CCX 17-A profile) and the OFBs cannot be modified. They
can however be deleted.

• The extended alarm zone is automatically displayed when an application generated


under OS/2 is retrieved. The “Edit / Extended Alarm Zone” menu is then selected by
default. Alarm zones 2 and 3 can be deleted by deselecting it.

___________________________________________________________________________
5/84
Using MMI17 WIN software 5

5.8-5 MMI17 WIN and the 1000 series


Correspondence between PL7 objects and the series 1000 :

PL7 ORPHEE
%MW %MW
%MD %MD
%Mxi with i<2000H %RXi
%Mxi with i>2000H %MXi
No ROW
%CHi

Warning
The %Chi which are character strings in the series 1000 have no connection with the
notion of Channel in PL7.
A string displayed on a CCX is unchanged with respect to MMI17 OS/2 :
• The string must be copied to a %MW table.
• Invert the weighting order on the words (switching data between Motorola and Intel
formats).

___________________________________________________________________________
5/85
___________________________________________________________________________
5/86
Section 6
Additional functions 6
6 Additional functions
6.1 File management
6.1-1 Creating a new application
After opening MMI17 WIN software, click on this icon or select the
File/New menu or use the Alt+F shortcut key followed by Alt+N.

The screen which appears is used to define :


• The type of operator panel associated with this application, the references are :
- CCX 17 20F CCX 17 20L CCX 17 30L
- CCX 17 20FW CCX 17 20LW CCX 17 30LW
- CCX 17 20FPS CCX 17 20LPS CCX 17 30LPS
The main characteristics of the operator panel are displayed :
- type of screen (LCD or fluorescent) and number of lines (4 or 8),
- number of status and alarm messages,
- number of groups of messages,
- communication protocols supported.
• The type of PLC associated with this application, the references are :
- TSX 3710 TSX 5710 SERIES 1000
- TSX 3721 TSX 5720
- TSX 3722 TSX 57 > V3
The syntax of the addresses used in the application depends on the PLC selected.
• A description associated with the application (120 characters maximum).

This application will only exist on disk after performing the “Save As” operation.

___________________________________________________________________________
6/1
6.1-2 Opening an existing application

After opening MMI17 WIN software, click on this icon or select the
File/Open menu or use the shortcut keys Alt+F followed by
Alt+O. Select the application to be opened from those offered :

This window offers a list of applications with the following extensions :


• . W17 : for applications generated by PL7 MMI 17 WIN,
• . M17 : for applications generated by PL7 MMI 17 under OS/2.

Every time an application is selected, the following information is displayed :


• size of the application,
• date and time of its creation,
• type of associated operator panel,
• the version of PL7 MMI 17 used,
• description associated with the application.

___________________________________________________________________________
6/2
Additional functions 6

6.1-3 Saving an application


Save Function
This function, accessed by clicking on this icon or by select-
ing the File/Save menu or by using the shortcut keys Alt+F
followed by Alt+S, updates the file on hard disk, which
contains the MMI application.
This file contains the contents of status messages, alarm messages, status message
groups, assignment of command keys, character fonts, configuration, addresses/
symbols and the application context. The application context identifies the list of open
windows, their size, position, communication driver and the last address entered.
Once it is started the status bar gauge shows the progress of the save.
Save As function
This function, accessed by selecting File/Save As is used to :
• save an application for the first time,
• duplicate the current application within the same station.
After selecting the name of the application, OK launches the function.
If the file already exists, confirmation is requested. The status bar gauge shows the
progress of the save. The file extension must be “.W17”. It is added automatically on
entry.

Once the save has finished, it is this new application which is displayed on screen.

___________________________________________________________________________
6/3
6.2 Utility functions
6.2-1 Save and Retrieve character font
These functions, accessible by selecting “Utilities / Save Font File” and “Utilities /
Restore Font File”, are used to :

• Save the current character font of the


MMI application to the hard disk or dis-
kette. The destination is selected by
entering the full path.
The extension must be “.Pol”. It is added
automatically on entry.

• Restore a character font which has been


saved previously.

These functions are used to “standardize” characters for several applications.

___________________________________________________________________________
6/4
Additional functions 6

6.2-2 Application conversion functions


Converting a text file to the application

This function, accessed by selecting “Utilities/Import Text File”, is used to import an


application from a previously generated ASCII file to the current application.
The data concerned is :
• configuration,
• status messages,
• alarm messages,
• command keys,
• status message groups.

The protected configuration parameters, accessed using a password, as well as


the type of CCX 17 and the type of PLC connected to the application are not
imported.

The source is selected by entering the full


path. The extension must be “.txt”. It is
added automatically on entry.

The character font is not imported.


The imported file overwrites the current application.
The user can generate an ASCII file containing a MMI application by using a text editor.
A file can only be imported if it is consistent with the application which is receiving it (CCX
17 type and configuration parameters accessible by password). Otherwise it cannot be
imported.

Comment
In an import file modified by an editor, the accented characters which have not been re-
entered using ALT+0+xxx (xxx = ASCII character code) will be incorrectly interpreted
by MMI17 WIN.

___________________________________________________________________________
6/5
Converting the application to a text file.
This function, accessed by selecting “Utilities / Export Text File...”, is used to export
an application from the current application to an ASCII file. The data concerned is :
• configuration,
• status messages,
• alarm messages,
• command keys,
• status message groups,

The protected configuration parameters, accessed using a password, as well as the


CCX 17 type and the PLC type connected to the application are not exported.

The character font is not exported.

The extension must be “.txt”. It is added


automatically on entry.

The destination is selected by entering the


full path.

___________________________________________________________________________
6/6
Additional functions 6

6.2-3 Documenting an application


This function is accessed by clicking on this icon or on the
“Documentation” line in the list of PL7 MMI 17 windows
or by selecting the “Application / Documentation”menu.

This enables a structured documentation file for the MMI application to be created.
The data used for documentation is selected using the following window :

This documentation file contains :


• a title page which serves as a header for the
documentation file and provides general information
relating to the application,
- name of the designer,
- project name,
- date of the last modification made to the document,
- operator panel name. This data is entered via the
extension of the above window, when the “Title
Page” item is selected.

• the contents for the documentation file,

___________________________________________________________________________
6/7
• a text giving general information,
Data is entered using the extension of the above
window, when the “General Information” item is se-
lected.

• the application configuration :


- the operator panel configuration,
- the link configuration,
- the device configuration,
• the list of status messages with all their characteristics,
• the list of message groups,
• the list of alarm messages with all their characteristics,
• the assignment of the operator panel command keys,
• the list of characters modified in relation to the system font,
• the variable/group cross references,
• the address/symbol/message cross references,
• a footer at the bottom of every page, containing :
- the name of the Author,
- the department,
- the operator panel name,
- the section name,
- the document printing date,
- the page number,
- the document index,
- two free form text zones,
- the copyright.

___________________________________________________________________________
6/8
Additional functions 6

This data is entered using the sub-window of the above window, when the “Footer” item
is selected.

The items in the window can be globally selected or deselected using the “Edit / Select
All” and “Edit / Deselect All” menus.

A ? is displayed when the number of pages for an item is not known.

Generating the documentation

This involves :
• selecting the items to include in the document,
• entering the parameters (optional),
• activating the forming of the documentation file using the “Utilities / Build Documen-
tation File” menu. The next window then displays the progress of the processing and
the current stage:

• after processing is completed, the “File / Print” menu is used to start printing.
The number of pages for each item is updated.

___________________________________________________________________________
6/9
• It is possible to cancel building and/or printing of the documentation file via the “Esc”
key or the “Cancel” button.
• It is possible to print only the “framed” item.
• Building then printing are automatically performed in succession if the “File / Print”
menu is started (without having built the documentation file beforehand).

Note :
The character font for the documentation file is not associated with the application font.

___________________________________________________________________________
6/10
Additional functions 6

6.3 Transferring an application


6.3-1 General
This function is started by clicking on this icon, by select-
ing “Utilities / Transfer” or by using the “Ctrl+T” shortcut
key enables the current application to be transferred in
local or remote mode.

The following window is used to select the operation to be performed.

Local transfer is performed by a direct link between the programming terminal and the
operator panel. Any other connection requires remote transfer.
The different types of connection between the terminal and the operator panel are
described in the CCX 17 installation manual.

The function is selected and activated by clicking on one of the arrows.

If the operator panel address has not yet been entered, it will be requested the first time
a remote transfer is performed, by the following window :

___________________________________________________________________________
6/11
CCX17 to Terminal transfer
The transfer of the CCX17 to the terminal concerns all the application data.
The transferred application overwrites the current application.

Terminal to CCX17 transfer


This transfer can be partial or total. Selection is performed using the window below :

This window consists of two groups of buttons :


• Selection mode,
- All Data Selects all the data in the application.
- Configured Data Only selects the data which has been configured.
- Modified Data Only selects data modified since the last transfer.

• Selection of data :
- Application Configuration Selects the operator panel configuration.
- List of Status Messages Selection can be performed at intervals.
- List of Alarm Messages Selection can be performed at intervals.
- List of Command Keys Selection can be performed at intervals.
- List of groups Selection can be performed at intervals.

___________________________________________________________________________
6/12
Additional functions 6

Comments
1. Selecting some messages in the spreadsheets in reverse video enables partial
transfer of these messages.
2. So that the transfer operation can be performed, the driver used must be installed
on the programming terminal

6.3-2 Local transfer


If the operation selected is a local transfer, the user does not have to define the CCX
17 address. The UNITELWAY driver must be on the programming terminal.
The objects to be transferred are identical to the transfer described previously.

___________________________________________________________________________
6/13
6.3-3 Remote transfer : Selection of the CCX 17 address
This function is launched explicitly by the “Utilities / Define CCX17 Address...”
function menu or automatically during the first remote transfer.

Driver Specifies the driver used for the transfer. Only drivers installed on the
programming terminal are listed.
CCX 17 address
This field specifies the address of the remote CCX17 operator panel.
The address syntax is as follows :
{network no.station no.}module.channel no.PLC
or {network no.station no.}SYS
or {network no.station no.}\0.1.connection pt/SYS

The couple {network no.station no.} is omitted if the CCX17 is not


connected to a PLC on a network.
The values permitted are :
- network no. : between 0 and 127
- station no. : between 0 and 63 or couple 0.254
- module : 0 or 254
- channel no. : 0 for terminal port,
1 for communication card,
- PLC : slave no. between 0 and 98,
- SYS : access to the system port of the destination
PLC - connection pt :
between 0 and 63

___________________________________________________________________________
6/14
Additional functions 6

6.3-4 Examples
• The operator panel is connected via an integrated UNI-TELWAY port on the
processor :

the terminal can be connected either to the network or to the terminal port.
R2/S4 FIPWAY / ETHWAY / MAPWAY R2/S8

Device X

The parameters must be : UNI-TELWAY


Driver : FIPWAY Data link
CCX 17 address : [2.8}0.0.12 address 12
CCX 17

• The operator panel is connected to an SCM module and another network :


the terminal can be connected either to the network or to the terminal port
FIPWAY / ETHWAY / MAPWAY
R5/S14 R5/S7
R5/S3

R14/S6 R14/S21
Rack 4 / Module 6

Device X
UNI-TELWAY

The parameters must be :


Driver : FIPWAY Data link
CCX 17 address : [14.21}70.0.9 address 12
(70 decimal = 46 hexadecimal) CCX 17
___________________________________________________________________________
6/15
___________________________________________________________________________
6/16
Communication via theSection
mailbox 77
7 Communication via the mailbox
7.1 Programming parameters
Reminders :
Once the MMI 17 WIN software has loaded the various types of message into the CCX
17 operator panel, the PLC application program can communicate with the operator
panel via a mailbox system which uses internal word tables. The various communication
principles and acknowledgment mechanisms, for status messages as well as alarm
messages, are described in section 4.2. The section below only describes the coding
of lamps on the illuminated indicator bank.

%MWi

The mailbox used in the PLC word memory enables various commands to be sent to
the CCX 17 operator panel. It contains a command table structured as follows :

%MWi Indicator lamp status


%MWi+1 Number of group to be displayed
%MWi+2 Number of 1st status message to be displayed
%MWi+3 Number of 2nd status message to be displayed
...
...
%MWn Number of last status message to be displayed

Both the start of this table and its length are defined by the user when the application
is created using MMI 17 WIN (see section 6.1).

___________________________________________________________________________
7/1
Managing the status of indicator lamps on the illuminated bank
The first word of the table assigned to the mailbox zone contains the code for each of
the indicator lamps.
• bits 0 to 3 : state of green indicator lamp,
• bits 4 to 7 : state of yellow indicator lamp,
• bits 8 to 11 : state of red indicator lamp.

The status of these indicator lamps is encoded on these four bits in the following
manner:
• 0000 : indicator lamp status is unchanged. This enables each indicator lamp to be
controlled separately,
• 0001 : indicator lamp off,
• 0010 : indicator lamp on,
• 1111 : indicator lamp flashing.

Example :
If the code sent is equal to 02F1 or 000 0010 1111 0001
• the green indicator lamp goes off,
• the orange indicator lamp flashes,
• the red indicator lamp comes on.

___________________________________________________________________________
7/2
Section
Communication via integrated MMI 88
8 Communication via integrated MMI
8.1 List of commands
Reminder :
Once the MMI 17 WIN software has loaded the various types of message into the CCX 17 operator
panel, the PLC application program can communicate with the operator panel by sending specific
commands via the integrated MMI functions.

MMI function

As a general rule, any command destined for a CCX 17 operator panel comprises :
• a 16-bit word representing the command number,
• one or more parameters associated with this command,
• a report table.
Whatever type of command is sent, the CCX 17 operator panel systematically sends
a confirmation report.
The following table shows the various options for commands and their associated
numbers.

___________________________________________________________________________
8/1
Command Function Parameters

Clear screen Clears the entire screen and halts updating Command : 1
of variables displayed on-screen.

Clear line Deletes the contents of the selected line. Command : 2


Halts updating of variables displayed on Line number
the line. (Deleting a message written in
double height requires two lines to be
deleted).

Display a CCX 17 Displays the specified message. Command : 3


message Message number

Display a CCX 17 group Displays the specified group. Command : 5


Group number

Display a PLC message Displays a message which exists in the PLC. Command : 6
Message text

Display lamps on the Causes the CCX 17 operator panel indicator Command : 8
illuminated indicator lamps to light up, extinguish or flash. Status of the
bank indicator lamps

Print entry log. (Only available on V2.0 or later) Command : 9

Clears status message Clears messages previously archived in Command : 10


log the operator panel memory.

Print alarm logs. (Only available on V2.0 or later) Command : 11

Clear alarm message Clears alarm messages previously Command : 13


log archived (in chronological order and on
each occurrence) in the operator panel
memory.

Assign command keys Assigns a PLC bit to a command key on Command : 14


the operator panel. Key number
Bit number

Reset command key Dissociates a PLC bit previously assigned Command : 15


assignment to a command key. Key number

Open / close Management of the alarm relay by the Command : 16


the alarm relay application program (toggle mode)

Write Date and Time in Authorizes the date and time to be Command : 18
the operator panel resynchronized with that of the PLC.

___________________________________________________________________________
8/2
Communication via integrated MMI 8

Command Function Parameters

Operator panel Restarts the CCX 17. Command :19


initialization
Enable / inhibit the Authorizes or prevents control of the Command : 20
command keys command keys (toggle mode).
Enable / inhibit alarm Authorizes or prevents archiving of alarm Command : 21
message archiving messages (switch mode).
Message entry Enables the entry made by the operator to Command : 22
controlled by the PLC be retrieved for processing at a later date. Message number
program (the message The value of the entry is passed on to the
is in the CCX 17) reception table. The user does not need to
press the MOD key.
Message entry, not Enables the entry made by the operator to Command : 24
controlled and not be retrieved for processing at a later date. Message number
synchronized with the The value of the entry is sent via a request.
PLC program
Read operator panel Sends the hardware status of the operator Command : 25
status panel to the reception table.
Read version and type Sends the software version and type of Command : 26
of operator panel operator panel to the reception table.

Activate an operator Displays the specified message, if it exists Command : 27


panel alarm message in the operator panel and is configured to be Message number
displayed.
Archives the message in the alarm zone.
Alarm relay is closed when the first alarm
appears.

Activate a PLC alarm Displays the specified message, if it exists Command : 28


message in the PLC and is configured to be Message text
displayed. Archives the message in the
alarm zone.

Deactivate an operator Removes the message from the active Command : 29


panel alarm message alarm zone and stores the date and time at
which the fault disappeared.
The alarm relay opens when the last alarm
is acknowledged.
Deactivate a PLC Removes the message from the active Command : 30
alarm message alarm zone and memorizes the date and Message number
time at which the fault disappeared.

___________________________________________________________________________
8/3
Command Function Parameters

Assign all the operator Configures, with one command, all the Command : 31
panel command keys operator panel keys (4 or 8 keys depending Bit no. assigned to T1
to internal bits on the type of CCX 17). The additional Bit no. assigned to T2
parameters indicate the indexes or bit Bit no. assigned to T8
numbers assigned to the various
keys (T1 to T8).

Configure all the Enables the operator panel command keys Command : 32
operator panel and their operating modes to be configured. Key to operate
command keys (Only available on V2.0 or later) Operating mode
Bit index

Entry of a message Enables the entry made by the operator to Command : 33


controlled by the PLC be retrieved for processing at a later date. Message text
program (the message The value of the entry is retrieved to the
is in the PLC) reception table. The operator does not
press the MOD key.
(Only available on V2.0 or later)

Configure the mailbox Configure the sampling time of the Command : 34


mailbox and specify its contents. Period
(Only available on V2.1 or later) Length
Contents

Alarm transfer Contact Technical Support for more details. Command : 35


(Only available on V2.4 or later)

___________________________________________________________________________
8/4
Communication via integrated MMI 8

8.2 Programming parameters


8.2-1 Integrated MMI function parameters

CCX17 command number OF name


1 PANEL_CMD: clear screen
2 PANEL_CMD: clear line
3 DISPLAY_MSG
3 (DISPLAY_MSG + RKB) GET_VALUE
5 DISPLAY_GRP
6 SEND_MSG
6 (SEND_MSG + RKB) GET_MSG
8 CONTROL_LEDS
9 PANEL_CMD: print entry log
10 PANEL_CMD: clear entry log
11 PANEL_CMD: print alarm log
13 PANEL_CMD: clear alarm log
22 ASK_VALUE
27 DISPLAY_ALRM
28 SEND_ALARM
29 PANEL_CMD: cancel a CCX17 alarm
30 PANEL_CMD: cancel a PLC alarm
32 ASSIGN_KEYS
33 ASK_MSG

For a description of integrated MMI function interface parameters see Section 3 of the
PL7 programming manual, part K.

___________________________________________________________________________
8/5
8.2-2 Description of parameter encoding

• Read the status of the operator panel (command 25)

Response structure :

1st word : status word ‘07FE’ Correct command


giving the result of the ‘07FD’ Incorrect command
exchange
2nd word : additional bit 0 = 1 Command not recognized by the CCX17
status word bit 1 = 1 Command buffer full
bit 2 = 1 Size of the command (in bytes) less than the
minimum required
bit 3 =1 Command cannot be executed : MMI17 transfer
in progress.
bit 5 = 1 Incorrect command
3rd word : bit 0 = 1 Self-tests correct
bit 1 = 1 Application present
bit 2 = 1 Backup battery correct
bit 3 = 1 CCX17 memory fault

___________________________________________________________________________
8/6
Communication via integrated MMI 8

• Read version of the type of operator panel (command 26)

Response structure :

1st word : status word ‘07FE’ Correct command


giving the result of ‘07FD’ Incorrect command
the exchange
2nd word : bit 0 = 1 Command not recognized by the CCX17
additional bit 1 = 1 Command buffer full
status word bit 2 = 1 Size of the command (in bytes) less than the
minimum required
bit 3 =1 Command cannot be executed : MMI17 transfer
in progress.
bit 5 = 1 Incorrect command
3rd word : 0000 or H’00' for CCX 17- 20 F
0001 or H’01’ for CCX 17- 20 FW
0010 or H’02’ for CCX 17- 20 FPS

0110 or H’06’ for CCX 17- 20 L


0111 or H’07’ for CCX 17- 20 LW
1000 or H’08’ for CCX 17- 20 LPS

1100 or H’0C’ for CCX 17- 30 L


1101 or H’0D’ for CCX 17- 30 LFW
1110 or H’0E’ for CCX 17- 30LPS

___________________________________________________________________________
8/7
• Configuring the mailbox (command 34)

Command structure:

1. Period 0 no sampling
1 sampling every 400 ms
2 sampling every 800 s
3 sampling every 1.2 s
4 sampling every 1.6 s
..........
600 sampling every 5 min
2. Length of mailbox
3. The following words represent the contents of the mailbox

Response structure :

1st word : status word ‘07FE’ Correct command


giving the result of ‘07FD’ Incorrect command
the exchange
2nd word : =0 Command executed
additional <>0 Command not executed for the following reasons :
status word bit 0 = 1 Command not recognized by the CCX17
bit 1 = 1 Command buffer full
bit 2 = 1 Size of the command (in bytes) less than the minimum
required
bit 3 =1 Command cannot be executed : MMI17 transfer
in progress.
bit 4 = 1 Field length greater than the maximum mailbox length
bit 5 = 1 Incorrect command
bit 6 = 1 Message number out of limits, the high order byte
indicates the last invalid message
bit 7 = 1 Group number is out of limits
bit 8 = 1 Impossible to process the command because the
CCX17 is displaying a system screen

___________________________________________________________________________
8/8
Section 99
Application examples
9 Application examples

9.1 Examples
The various examples shown in the rest of this section are setting up the same MMI
interface application on a CCX 17-30 LPS connected on UNI-TELWAY.

• The application is configured entirely by MMI 17 WIN, therefore communication is


either
- via mailbox,
- via integrated MMI functions,
• The application is totally managed by integrated MMI functions.

Description of the application

Fixed message

Use of the
Use of the
command
keys Oven 4 command
keys
Run Stop

Set point = 326 °C


Temperature = 325°C
Variable Variable to
to be
% Humidity : be entered
updated

Bargraph display

Assigning the PLC variables


• %M0 = Run key (causes the CCX 17 green indicator lamp to flash),
• %M2 = Stop key (causes the CCX 17 red indicator lamp to flash),
• %MW0 = setpoint (value both read and written),
• %MW10 = temperature measurement (value read),
• The humidity shown in a bargraph (value read), is in internal word %MW20 for a
CCX17 connected on UNI-TELWAY.

___________________________________________________________________________
9/1
CCX 17 connected on UNI-TELWAY
The CCX 17 operator panel is connected as shown below (the programming terminal
can also be directly connected to the network) :

Network 1 Station n Station 1

UNI-TELWAY
Processor with
integral SCI link

address 1

___________________________________________________________________________
9/2
Application examples 9

9.2 Application configured using MMI17 WIN


9.2-1 Configuring the application
The application includes six status messages assigned to two groups of messages,
three alarm messages, management of two command keys and modification of the
status of the red and green indicator lamps of the operator panel.
Configuring the protocol

Communication via UNI-TELWAY

___________________________________________________________________________
9/3
Configuring the link

• %MW150 is the status word written by the CCX 17 to the PLC,


• acknowledgment of alarms must be confirmed,
• the mailbox zone is located starting at %M200 for the alarms (four bits long) and from
%MW200 for status messages (10 words long),
• management of acknowledgments in read and write mode.

___________________________________________________________________________
9/4
Application examples 9

Configuring the status messages


The messages are as follows :
• Oven 4 (status message 1), with clear line,
• Run (status message 2), with clear line,
• Stop (status message 3), without clear line since Stop is on the same line as the Run
message,
• Setpoint = ---- °C (status message 4, read and write word %MW0 in decimal), with
entry of the variable (RKB). Entry is incremental (minimum limit 100, maximum limit
350 and increment 10),
• Temperature = ----°C (status message 5, displaying word %MW10 in decimal), with
clear line,
• % Humidity = (status message 6, displaying word %MW20 as a bargraph for UNI-
TELWAY), with clear line.

Status message 1

___________________________________________________________________________
9/5
Status message 2

Status message 3

___________________________________________________________________________
9/6
Application examples 9

Status message 4

Status message 5

___________________________________________________________________________
9/7
Status message 6 (UNI-TELWAY)

___________________________________________________________________________
9/8
Application examples 9

Configuring the alarm messages


The application manages three alarms :
• a single message (double size) : Emergency stop,
• a message displaying a variable : Overheating oven 4 = ---- °C (displaying word
%MW125 in decimal),
• a message displaying a variable : Insufficient humidity = ---- % (displaying word
%MW20 in decimal).

Each alarm is displayed on-screen when it occurs.

Alarm message 1

___________________________________________________________________________
9/9
Alarm message 2

Alarm message 3

___________________________________________________________________________
9/10
Application examples 9

Configuring the groups of status messages


• The first group includes the following status messages :
- Oven 4 (status message 1)
- Run (status message 2),
- Stop (status message 3),
- Setpoint = ---- °C (status message 4),
• The second group includes the following status messages :
- Temperature = ---- °C (status message 5)
- % Humidity = (status message 6).

The first group is displayed by default with clear screen option. The second group is
displayed when requested by the user. It is displayed following the first group, so it must
not include the clear screen option.

Group 1

___________________________________________________________________________
9/11
Group 2

___________________________________________________________________________
9/12
Application examples 9

Configuring the command keys

The two command keys are configured in an edge type operation. One controls the
internal bit %M0 (Run key), the other controls the internal bit %M2 (Stop key).

___________________________________________________________________________
9/13
Transferring the application
Once the application is configured and saved, it must be transferred to the CCX 17
operator panel. In the example shown, the operator panel is connected on UNI-
TELWAY.

Transfer on UNI-TELWAY
The CCX 17 only authorizesintra-station addressing. It is at slave addresses UTW 4-5.
The processor has an integral SCI link.
The PLC is connected on a network at the
following address :
Network 0, Station 254.

The operator panel address is :


{0.254}0.0.4,

The transfer screen enabling choice of


operator panel address is thus :

___________________________________________________________________________
9/14
Application examples 9

9.2-2 Exchanges via mailbox


Managing the status messages
In the example shown, the mailbox structure is as follows :
Command table Acknowledge on read table

%MW200 Status of indicator lamps %MW210 Status of indicator lamps


displayed

%MW201 No. of group to display %MW211 No. of group displayed

%MW202 No. of 1st message to display %MW212 No. of 1st message dis-
played

%MW203 No. of 2nd message to display %MW213 No. of 2nd message dis-
played

%MW209 No. of last message to display %MW219 No. of last message dis-
played

The application program contained in the PLC must therefore update the command
table according to the process parameters. The user can check that the requested
commands have been correctly executed by analyzing the acknowledge read mode
table.

Examples of commands :
(* Displaying group 2 *)
! IF %M10 THEN
%MW201:=2;
END_IF;
(* Managing the Run key (shown by the green indicator lamp) *)
! IF %M0 THEN
%MW200:=16#011F;(*Green blinking, Others off*)
RESET %M2;
END_IF;
(* Managing the Stop key (shown by the red indicator lamp) *)
! IF %M2 THEN
%MW200:=16#0F11;(*Red blinking, Others off*)
RESET %M0;
END_IF;

___________________________________________________________________________
9/15
Managing the alarm messages
The table reserved for the alarm messages starts at %M200 :
• Setting bit %M200 to 1 displays and prints alarm message 1 (Emergency stop).
• Setting bit %M201 to 1 displays and prints alarm message 2 (Overheating oven 4 :---°C).
• Setting bit %M202 to 1 displays and prints alarm message 3 (Insufficient
humidity :---%).

___________________________________________________________________________
9/16
Application examples 9

9.2-3 Exchanges via integrated MMI functions


Once the whole application is configured by MMI17 WIN, the user can, if he wishes,
choose to use only integrated MMI function communication instead of mailbox
communication.
PL7 Junior offers special utility functions for sending and receiving messages. The aim
of the latter is to replace PL7.2 and PL7.3 Text Blocks. This type of exchange is
supported by the Integrated MMI functions
Reminder :
Both types of communication (mailbox and integrated MMI functions) can be used in
the same application.

Generating the application on PL7 Junior :


• the DISPLAY_GRP function displays the groups,
• the CONTROL_LEDS function manages the LEDs,
• the DISPLAY_ALRM function activates the alarm messages and the PANEL_CMD
function deactivates them.

Displaying message group 2


The example shown comprises two groups. Group 1 is displayed automatically
(displayed by default). Displaying group 2 is requested using the DISPLAY_GRP
function as follows :
• Operator panel address : the topological address is ADR#0.0.4 (for UNI-TELWAY),
• Confirmation report : starts at internal word %MW50 and is four bytes long,
• Data to send : at address %MW55 and specifies the number of the group to be
displayed (%MW55 = 2).

<Display group 2
! IF RE %I0.0) THEN
%MW55:=2;
DISPLAY_GRP(ADR#0.0.4,%MW55,%MW50:4);......
END_IF
If an error occurs during transmission, the confirmation report contains two words
enabling the source of the error to be defined.

___________________________________________________________________________
9/17
Managing the Run and Stop keys
The example shown comprises two command keys. Displaying the LEDs is requested
via the CONTROL_LEDS function as follows :
• Confirmation report : starts at internal word %MW60 and is four bytes long,
• Data to send : starts at word %MW65 and comprises two words (4 bytes long). The
first word (%MW65) contains a value marker 16#CC17. The second %MW66 defines
the display encoding.
<Managing the Run key
! IF %M0 THEN
%MW65:=16#CC17;
%MW66:=16#011F;
CONTROL_LEDS(ADR#0.0.4,%MW65:2,%MW60:4);....
END_IF;
<Managing the Stop key
! IF %M2 THEN
%MW65:=16#CC17;
%MW66:=16#0F11;
CONTROL_LEDS(ADR#0.0.4,%MW65:2,%MW60:4);....
END_IF;
If an error occurs when the text block is transmitted, the confirmation report contains
two words enabling the source of the error to be defined.

Managing the alarm messages


An alarm message is activated via the DISPLAY_ALRM function and it is deactivated
via the PANEL_CMD function as follows :
• Confirmation report : starts at internal word %MW70 and is four bytes long,
• Data to send : In the case of activating the alarm, the alarm number (example alarm
2) to be displayed is encoded in word %MW77. In the case of deactivating the alarm,
it starts at word %MW75 and contains three words (6 bytes long). The first word
(%MW75) contains a value marker 16#CC17, the second (%MW76) the deactivation
command (command 29) and the last (%MW77) the alarm number.

___________________________________________________________________________
9/18
Application examples 9

<Managing activation of alarm 2


! IF RE %I0.1 THEN
%MW77:=2;
DISPLAY_ALRM(ADR#0.0.4,%MW77,%MW70:4);....
END_IF;
<Managing deactivation of alarm 2
! IF FE %I0.1 THEN
%MW75:=16#CC17;
%MW76:=29;
%MW77:=2;
PANEL_CMD(ADR#0.0.4,%MW75:3,%MW70:4);....
END_IF;
If an error occurs when the text block is transmitted, the confirmation report contains
two word enabling the source of the error to be defined.

Comment :
In this example, alarm 2 is not included in the “Alarm zone” of the link configuration.
Indeed, the DISPLAY_CMD and PANEL_CMD functions cannot be executed if the
alarm can be accessed via the mailbox (see sections 4.4 and 5.2.4).

___________________________________________________________________________
9/19
9.3 Application configured without MMI17 WIN
9.3-1 Exchanges via integrated MMI function
When MMI17 WIN software is not available to the user, the PLC can still communicate
with the CCX 17 operator panel. Communication is only performed via integrated MMI
function. The transmission table called Data to send must contain all the parameters
of the message to be sent.
Important : The data to send table of integrated MMI functions on TSX Micro and TSX
Premium PLCs is limited to 47 bytes.

So as not to complicate this example, only the display of message number four is shown
below (Setpoint = ---- °C). This message is representative since it includes an updated
variable which can be modified by the operator (incremental entry).
The integrated MMI function used to send this message is GET_MSG. Its parameters
are given below :
• Operator panel address : its topological address is ADR#0.0.4 for communication via
UNI-TELWAY.
• Confirmation report : starts at internal word %MW80 and is four bytes long,
• Data to send : starts at word %KW85 and includes 37 words (74 bytes long). The first
word (%KW85) contains the marker 16#CC17, the second (%KW86), the status
message display command (command 6), the other words correspond to the
message characteristics. The transmission table is detailed later.

Reminder of the message 4 characteristics

Setpoint = ---- °C (read and write word %MW0 in decimal format) with incremental entry
(increment 10). This message must be positioned at line 4 column 11.

___________________________________________________________________________
9/20
Application examples 9

A description of the Data to send parameter is shown in the following box :

Once all the values are entered the function is started, for example as follows :

<Starting the text block


! IF RE %I0.2 THEN
GET_MSG(ADR#0.0.4;%KW85:37,%MW80:4); ....
END_IF;
If an error occurs when the text block is transmitted, the report contains two words
enabling the source of the error to be defined.

___________________________________________________________________________
9/21
___________________________________________________________________________
9/22

You might also like