Comat Comat BoxX Owner's manual

Comat AG Bernstrasse 4 CH-3076 Worb Tel. +41 (0)31 838 55 77
Ba Quick BoxX / 2.2004 E
Programming Manual
Quick II

Preface
Programming Manual Quick II / 2.2004 E
2
Preface
Quick II is a programming software for a Comat BoxX controller. Quick II is required to carry out the
programming and simulation of the Comat BoxX on a computer. It can implement the preparation of a
control program (function diagram) for Comat BoxX.
It can also simulate the operation of the edited programme and display the operation in a clear manner.
This feature enables the accuracy of the edited program to be confirmed. Quick II can execute both
short-distance and remote communication of Comat BoxX, and write an edited program into the
EEPROM of the Comat BoxX.
This issue replaces all previous issues.
Availability, errors and specifications subject to change without notice.

Table of contents
Programming Manual Quick II / 2.2004 E 3
Table of contents
CHAPTER I 6
General 6
1.1 System Requirement..................................................................................................................... 6
1.2 Installation of Quick II ................................................................................................................. 6
1.3 Uninstallation ............................................................................................................................. 11
1.4 Start of the program.................................................................................................................... 12
1.5 Language 13
1.6 Editing Window ......................................................................................................................... 13
1.7 Main functions............................................................................................................................ 14
CHAPTER II 15
Programming rules.............................................................................................................................. 15
2.1 Programming rules ..................................................................................................................... 16
2.2 Intermediate replay..................................................................................................................... 17
CHAPTER III 18
Operation instructions ........................................................................................................................ 18
3.1 Function instructions .................................................................................................................. 18
3.1.1 Menu File ............................................................................................................................ 18
3.1.2 Menu Controller .................................................................................................................. 19
3.1.3 Menu Communication......................................................................................................... 19
3.1.4 Menu View.......................................................................................................................... 20
3.1.5 Menu Options...................................................................................................................... 22
3.1.6 Menu Help........................................................................................................................... 23
3.1.7 Menu Edit............................................................................................................................ 24
3.1.8 Menu Search........................................................................................................................ 25
3.1.9 Menu Comat BoxX operation ............................................................................................. 25
3.1.10 Menu Window................................................................................................................... 26
CHAPTER IV 27
Quick II 27
4.1 Editing Window ......................................................................................................................... 27
4.1.1 Open a new file.................................................................................................................... 27
4.1.2 Open an existing file............................................................................................................ 29
4.1.3 Size of schematic window................................................................................................... 30
4.1.4 Inputs and Outputs............................................................................................................... 31
4.1.5 Save a file ............................................................................................................................ 32
4.1.6 Zoom 33
4.2 Edit Function Diagram Program ................................................................................................ 34
4.2.1 Place Blocks ........................................................................................................................ 34
4.2.2 Edit Block Properties........................................................................................................... 35
4.2.3 Link 36
4.2.4 Copy Function Blocks and Links ........................................................................................ 38

Table of contents
Programming Manual Quick II / 2.2004 E
4
4.2.5 Move Block or Link ............................................................................................................ 38
4.2.6 Delete Block or Link ........................................................................................................... 39
4.3 Print 40
4.4 Simulation operation .................................................................................................................. 42
4.5 BoxX settings (Option menu)..................................................................................................... 43
4.5.1 Modify BoxX date and time................................................................................................43
4.5.2 Winter- / Summertime......................................................................................................... 44
4.5.3 Change BoxX address ......................................................................................................... 44
4.5.4 Change BoxX Password...................................................................................................... 45
4.6 Read and write the program ....................................................................................................... 46
4.6.1 Write program into BoxX.................................................................................................... 46
4.6.2 Read Program from Comat BoxX ....................................................................................... 48
4.7 Monitoring 48
CHAPTER V 49
General description of Function Blocks ............................................................................................ 49
5.1 General function block (GF) ...................................................................................................... 50
5.1.1 AND 50
5.1.2 OR 51
5.1.3 NOT 53
5.1.4 NAND 53
5.1.5 NOR 54
5.1.6 XOR 54
5.2 Time-Function blocks................................................................................................................. 55
5.2.1 DPR (ON time delay) .......................................................................................................... 56
5.2.2 DDR (Off time delay).......................................................................................................... 57
5.2.3 MPLR (Single-pulse time relay) ......................................................................................... 58
5.2.4 PLR (Pulse relay) ................................................................................................................ 59
5.2.5 CPG (Clock on time generator)........................................................................................... 60
5.2.6 RPR (Hold on time delay relay) .......................................................................................... 61
5.3 Set relay / Reset relay (RS) ........................................................................................................ 62
5.4 Counter - Function blocks .......................................................................................................... 63
5.4.1 UCN (Up-counter)............................................................................................................... 63
5.4.2 DCN (Down-counter).......................................................................................................... 64
5.5 Analogue input block ................................................................................................................. 65
5.5.1 AN 65
5.6 Clock switch function block....................................................................................................... 66
5.6.1 CW 66
5.7 Audio / Tel.-Function Blocks..................................................................................................... 71
5.7.1 PLAY (It is necessary to connect AF-MUL to the Comat BoxX) ...................................... 71
5.7.2 MR (It is necessary to connect AF-MUL to the Comat BoxX)........................................... 72
5.7.3 Tel (In combination with Voice & Remote Unit AF-MUL) ............................................... 73
CHAPTER VI 75
Block Library 75
6.1 Block Library Operation ............................................................................................................ 76
6.2 General Property......................................................................................................................... 77
6.3 Blocks with timers...................................................................................................................... 78

Table of contents
Programming Manual Quick II / 2.2004 E 5
6.4 Properties of RS relay................................................................................................................. 79
6.5 Blocks with counters .................................................................................................................. 80
6.6 Setup for Analogue Block AN ................................................................................................... 81
6.7 Properties of DW (Clock Switch Block).................................................................................... 82
6.8 Properties of Voice Broadcasting and Recording Blocks and of TEL Block............................. 86
6.9 Animation Blocks....................................................................................................................... 88
CHAPTER VII 89
Remote programming and monitoring via Modem ......................................................................... 89
7.1 Remote programming and monitoring via Modem .................................................................... 89
7.2 Two connection methods for Comat BoxX remote programming and monitoring.................... 90
7.2.1 Connect Modem with AF-C232 and AF-M232 cables ....................................................... 90
7.2.2 Connection between Comat BoxX and voice module AF-MUL via Modem ..................... 91
CHAPTER VIII 93
Programming operation on Comat BoxX panel ............................................................................... 93
8.1 Edit a new program .................................................................................................................... 93
8.2 Edit PRG (Edit function)............................................................................................................ 93
8.3 Edit an existing program (Edit a program)................................................................................. 94
8.4 Read program from Comat BoxX .............................................................................................. 94
8.5 Characters of the general function blocks ..................................................................................95
8.6 Function blocks with timing function......................................................................................... 95
8.7 Set-/Resetrelay function block RS.............................................................................................. 96
8.8 Function blocks with counting function include ........................................................................ 96
8.9 Set the analogue block (AN) ...................................................................................................... 97
8.10 Parameters for the Clock Switch (CW).................................................................................... 98
8.11 Set the Telephone Block (TEL).............................................................................................. 100
8.12 Insert Function Block (Insert FB)........................................................................................... 101
8.13 Delete Function Block (Delete FB)........................................................................................ 102
8.14 Delete Program (Clear Prg).................................................................................................... 102
8.15 Programming over LCD display ............................................................................................ 103

Chapter 1
General
Programming Manual Quick II / 2.2004 E
6
Chapter I
General
1.1 System Requirement
Pentium II 266, Pentium III or Pentium IV processor-based personal computer
Windows 98/ME/2000/XP or Windows NT 4,0
64MB RAM Memory
100MB free storage capacity on the hard disk
1.2 Installation of Quick II
The installation of Quick II is very simple. A prompt dialogue box will appear automatically and you
will complete the installation smoothly on the computer under it’s guidance.
The main steps are as follows.
Fig. 1.1
Installationwindow
Fig. 1.2
Installation-
Guidance window
Click on the button <Next> to enter the next step of the installation guide.

Chapter 1
General
Programming Manual Quick II / 2.2004 E 7
Fig. 1.3
Licence
The usual licence...click <Yes>.
The User Name and Computer Name will be displayed, as shown in Fig. 1.4, and you can modify
them.
Fig. 1.4
User Name Setting
Window
Click <Next> to enter the Set Installation Path Setting dialogue Box, as shown in Fig. 1.5.
Click <Browse>, and you can modify the current installation path (the original installation path is
C:\Programm Files\Comat BoxX\Quick II) to your desired installation path.

Chapter 1
General
Programming Manual Quick II / 2.2004 E
8
Fig. 1.5
Installation Path
Selection window
Click <Next>, it will enter the next step of installation and enter the Setup Type window for selecting
installation type,
If <Typical> option is selected, the Quick II normal program will be installed.
If <Compact> option is selected, the Quick II basic program will be installed.
If <Custom> option is selected, the user will be allowed to select the Quick II program components.
Fig. 1.6
Installation Type
Selection window
Note:
Selection of <Typical> option is recommended. If <Custom> option is selected, it will enter Selection
Components window, as shown in Fig. 1.7.

Chapter 1
General
Programming Manual Quick II / 2.2004 E 9
Set your desired program set name on the Set Up Program Set Name window as shown in Fig. 1.7 (the
original name is Comat BoxX). When setup is completed click <Next> with the left mouse button,
installation of the program components will start, as shown in Fig. 1.8.
Fig. 1.7
Program Folder
Selection window
The installation program proceeds to the automated installation procedure. Please click the <Cancel>
button if you want to terminate now.
Fig. 1.8 Quick II Installation
Window
When the automated installation process is completed, the Setup Finished Window appears, as shown
in Fig. 1.9. Please click the <Finish> button to complete the installation process.

Chapter 1
General
Programming Manual Quick II / 2.2004 E
10
Fig. 1.9
Setup
Finished
window

Chapter 1
General
Programming Manual Quick II / 2.2004 E 11
1.3 Uninstallation
Under the Windows Window, click <Start> <Program> <Comat BoxX> and <Uninstall Quick II>
Fig. 1.10
Uninstall window
When a Remove Window, as shown in Fig. 1.11, appears, removal can be done. Click the <Next>
button to complete the removal.
Fig. 1.11
Remove window of
Quick II
After successful uninstallation of Quick II click <Finish>.
Fig. 1.12
Complete

Chapter 1
General
Programming Manual Quick II / 2.2004 E
12
1.4 Start of the program
The operating interface of Quick II is friendly and all of it’s operations can be completed by clicking
the mouse. By clicking <Start> <Programs> <Quick II> in the Windows operating window Fig.
1.12, you can enter the main interface of Quick II, as shown in Fig. 1.13:
Fig. 1.13
Set up Quick II
After starting Quick II the following window of the main interface appears.
Fig. 1.14 Main Interface of Quick II
For Quick II, the operating methods of pull-down Instruction Tools and Quick buttons are adopted. All
function blocks are directly distributed in the window. Using a mouse with Windows operation, you
can perform; creating and editing, simulation running and monitoring of a Comat BoxX program
quickly.

Chapter 1
General
Programming Manual Quick II / 2.2004 E 13
1.5 Language
TBD
1.6 Editing Window
As you click the <New> button by using the mouse and the Logical Diagram Edit Window will
appear.
Fig. 1.16 Comat BoxX Logical Diagram Editing Window
Comat BoxX Logical Diagram Editing window is as shown in Fig. 2.3.
In this Editing Window, you can click the desired block in the block library on the left to draw the
Logical Function Diagram and set the block property.
After the function diagram is completed, simulation can be run in this window and the program can be
downloaded to Comat BoxX.

Chapter 1
General
Programming Manual Quick II / 2.2004 E
14
1.7 Main functions
Editing function
The first function of Quick II is programming for Comat BoxX on a computer. Through the Logical
Function Editing window of Quick II, you can edit your desired Comat BoxX programs using various
function blocks of Comat BoxX.
Simulation operation function
After the program is edited, you can view the program operation result on the computer and
conveniently check if the said program meets your controls requirements. Here Quick II provides you
with a completely new off-line test function, through which you can debug the program without
installing the Comat BoxX on site. With this function, many inconvenience of the on-line test can be
avoided.
Real-time monitoring
Quick II has a Real-Time Monitoring window, through which you can view the process of the control
system and the running conditions of all Comat BoxX and conduct control of remote Comat BoxX,
only by connecting the Comat BoxX communication port to the PC.
Communication with Comat BoxX
1. Local Comat BoxX Communication:
Through use of an RS-232 communication port, communication between the Comat BoxX and a
computer can be realised, allowing for easily downloading programs from computer to Comat
BoxX and uploading programs from Comat BoxX to computer. Monitoring of operation
conditions and controlling of Comat BoxX can also be carried out.
2. Remote Comat BoxX Communication:
In certain applications several sets of equipments may be located at disparate distances and far
from each other. When frequent or urgent modification are needed, caused by unexpected events,
during Comat BoxX operation, the problems can be easily solved by just connecting Comat BoxX
to the telephone line through a modem.

Chapter 2
Programming rules
Programming Manual Quick II / 2.2004 E 15
Chapter II
Programming rules
Edit Comat BoxX function program
During editing of Comat BoxX function program, special attention must be paid to some programming
rules, the application of the intermediate relays and how to use Comat BoxX's operation key panel
with LCD.
4.The outputs of the function blocks can not be connected together.
Fig. 2.1 This way of connection is not allowed.
Fig. 2.2 Correct connection of the outputs.

Chapter 2
Programming rules
Programming Manual Quick II / 2.2004 E
16
2.1 Programming rules
Rule 1:
Before the beginning of programming your circuit, the complete circuit diagram shall be designed on a
drawing with the necessary intermediate relays (M) marked.
The Comat BoxX circuit diagram may be drawn directly with Quick II.
Subsequently the arrangement of the blocks can be executed with the respective function keys on the
LCD panel according to rules 2 and 3.
Rule 2:
The wiring of circuit is always from input to output. The block sequence number of the cause block
must be smaller than the block number of the result block. The block numbers which have nothing to
do with each other are irrelevant.
Example:
Cause block B03 Result block B04
Rule 3:
In a program path, an output may be connected to the lead input (for number transfer), but the block
with a smaller sequence number shall be used as the lead input (cause block). The block with a greater
sequence number shall be the result block. Please adjust the block sequence numbers accordingly.
Rule 4:
One output may be connected to multiple inputs, but multiple outputs may not be connected to an
input.
Rule 5:
At power-on and initialisation of Comat BoxX (at the instant of power-on), the intermediate relay (M)
and output port (Q) are all in logical 0 status. Their later status will be determined by the program.
Rule 6:
It is not allowed to connect two outputs together (only allowed for CW blocks).
Fig. 2.3
Fig. 2.4

Chapter 2
Programming rules
Programming Manual Quick II / 2.2004 E 17
2.2 Intermediate replay
The intermediate relay is a very important bridge in Comat BoxX programming. The intermediate
relay of Comat BoxX is similar to that in a relay control system. They can store some intermediate
status and then transfer it to a block, requiring this status for input.
Using of intermediate relays has two advantages:
1. The output terminal of the previous block can be used as the input signal for different additional
blocks.
2. When a block is inserted or deleted, the original logical relation can be retained.
No intermediate relay is provided for other products of the same category.
The basic functions of the intermediate relay are as shown in figure 2.5.
Fig. 2.5
Note:
In the diagram, the output status of B01 may not only be used directly as the input of B02 block, but
also be stored by M01 and then used as input of B03.

Chapter 3
Operation instructions
Programming Manual Quick II / 2.2004 E
18
Chapter III
Operation instructions
3.1 Function instructions
When Quick II is used to edit Comat BoxX programs, some basic operations including file
management, opening and closing of the Tool Bar and Status Bar access to Help information are
completed by using pull-down menu under File, Controller, Communication, View, Option and Help.
The Instruction Function list of Quick II is characterised by its flexibility and variation according to
the main selection.
It can be changed according to the current operation for convenience of your specific operations.
3.1.1 Menu File
The instruction is mainly used for file management, including creation, opening, saving and printing
of files.
Fig. 3.1 File Instructions Menu
The file instruction menu contains following entries:
Instruction name: Function:
New Open a new file
Open... Open an old file
Close Close the current active Window
Save Save a file
Save As... Save current file to a new path & a new file name
Print... Print a file
Print Preview Preview the file printing result
Page Setup... Setup printing format
Exit Exit Quick II

Chapter 3
Operation instructions
Programming Manual Quick II / 2.2004 E 19
3.1.2 Menu Controller
With this function it is possible to read a program from the Comat BoxX into the Quick II
programming software for editing and simulation on the PC.
Fig. 3.2 Controller Instruction
Menu
3.1.3 Menu Communication
The configuration function is used to select the communication port to set up a connection between the
computer and the BoxX.
Fig. 3.3 Communication
Instruction Menu
Instruction name: Function:
Configuration Selection of communication port for connection between PC and
BoxX.
Disconnect Line When it is not necessary for Comat BoxX to communicate with the
computer, click this option to interrupt.

Chapter 3
Operation instructions
Programming Manual Quick II / 2.2004 E
20
3.1.4 Menu View
Under the menu „View” you select or hide the different Toolbars and adjust with „Zoom” the
displayed screen size.
Fig. 3.4 Display Instruction
Menu
Instruction name: Function:
Controller Toolbar Select Controller Toolbar
Accessorise Toolbar Select Block Library
Standard Toolbar Select Standard Toolbar
Status Bar Select Status Bar
Zoom Enlarge or reduce window between 150% - 50%
The following icons can be displayed with Toolbar in the edit window.
Controller Toolbar
Symbol Function Symbol Function
Write:
Write program to Comat BoxX
Run:
Run Comat BoxX
Diagnosis: Diagnose Comat BoxX,
System Information
Monitor: Monitor Comat BoxX
running status
Stop:
Stop running Comat BoxX
Table of contents
Other Comat Controllers manuals
Popular Controllers manuals by other brands

Gree
Gree CE53-24/F(C) owner's manual

Galil Motion Control
Galil Motion Control DMC-4040 user manual

Sollae
Sollae CIE-H12A user manual

opti-solar
opti-solar SC-50 Installation and operation manual

Titan Controls
Titan Controls EOS 702603 instruction manual

Moxa Technologies
Moxa Technologies ioLogik 4000 Series user manual