0% found this document useful (0 votes)
559 views

Device Programming PLC PHARAO

This document provides information about programming function blocks on PHARAO controllers. It describes the different types of inputs, outputs, function blocks and system memory bits that can be used. The document also explains the key functions, menus and LCD displays of the controller and how to directly program and connect function blocks.

Uploaded by

Rogelio Velez
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
559 views

Device Programming PLC PHARAO

This document provides information about programming function blocks on PHARAO controllers. It describes the different types of inputs, outputs, function blocks and system memory bits that can be used. The document also explains the key functions, menus and LCD displays of the controller and how to directly program and connect function blocks.

Uploaded by

Rogelio Velez
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 49

PHARAO

310807

Device Programming Handbook

GB
PHARAO – Device Programming Handbook

Foreword
• This manual contains text, diagrams and explanations which will guide the reader in the correct
installation, safe use and operation of the PHARAO controllers and should be read and under-
stood before attempting to install or use the unit.
• The connection and installation of a PHARAO controllers may be effected only by a qualified
electrician. National regulations and any valid safety conditions should be observed. Interfer-
ence with and changes to the product will result in cancellation of the guarantee.
• For inquiries concerning installation, application and operation please contact the Theben cus-
tomer service department (Tel.: +49 07474/692-177, Fax: +49 07474/692-207, e-mail: hot-
[email protected]) or the relevant foreign representative.
• This manual is subject to change without notice. GB
PHARAO – Device Programming Handbook

PHARAO Controller

GB
Device Programming Handbook: Ident. no.: 310 807

GB-i
PHARAO – Device Programming Handbook

Table of Contents

1. Introduction ...........................................................................................................1

2. Function Block Programming ..............................................................................3


2.1 Signal and Function Block Types ..................................................................................4
2.1.1 Inputs ............................................................................................................................. 4
2.1.2 Front Panel Keys ........................................................................................................... 4
2.1.3 System Memory Bits ...................................................................................................... 4
2.1.4 Function Blocks ............................................................................................................. 4
GB
2.1.5 Outputs .......................................................................................................................... 4
2.2 Programming Methods for the PHARAO-Controller ......................................................5
2.2.1 Function block programming ......................................................................................... 5
2.2.2 Direct Programming ....................................................................................................... 5
2.2.3 Programming via PHARAO Windows software ............................................................. 5

3. Keys, Menus, and LCD Displays ..........................................................................6


3.1 Key Functions ...............................................................................................................6
3.2 Menu Overview .............................................................................................................7
3.2.1 Operating mode STOP .................................................................................................. 7
3.2.2 Operating mode RUN .................................................................................................... 7
3.3 Menü RUN ....................................................................................................................7
3.4 Menu Stop .....................................................................................................................8
3.4.1 The “Others...” Programming Screen ............................................................................ 8
3.5 Operation in menu RUN ................................................................................................9
3.6 The Edit Menu .............................................................................................................10
3.7 The Function Block Edit Menu ....................................................................................10
3.8 The Function Block Edit Menu ....................................................................................11
3.8.1 How to change the Language ...................................................................................... 11
3.8.2 Real Time Clock SET .................................................................................................. 11
3.8.3 SummerTime ............................................................................................................... 11
3.8.4 Password ..................................................................................................................... 11
3.9 LCD-Displays ..............................................................................................................12
3.9.1 Image Table ................................................................................................................. 12
3.9.2 LCD Function ............................................................................................................... 12
3.10 Block Items ................................................................................................................12
3.10.1 Input Blocks ............................................................................................................... 12
3.10.2 Function Blocks ......................................................................................................... 12
3.10.3 Output Blocks ............................................................................................................ 13
3.10.4 Connected Blocks ...................................................................................................... 13
3.11 Function Block Diagrams ..........................................................................................13

4. Direct Programming ............................................................................................14


4.1 Block Availability .........................................................................................................14
4.2 Connecting Blocks ......................................................................................................15
4.2.1 To connect the blocks from the left (signal provider) block
to right (signal receiver) block. .................................................................................... 15

GB-ii
PHARAO – Device Programming Handbook

4.2.2 To connect the blocks from the right (signal receiver) block
to left (signal provider) block. ...................................................................................... 15
4.3 Disconnect Two Blocks ...............................................................................................16
4.4 Methods to Create a Function Block ...........................................................................16
4.4.1 New FB ........................................................................................................................ 16
4.4.2 AddFB .......................................................................................................................... 16
4.5 Function Block Editing .................................................................................................17
4.5.1 Setup Function Block ................................................................................................... 17
4.5.2 Change No. (of a Function Block) ............................................................................... 17
4.5.3 Delete FB ..................................................................................................................... 17
GB
4.6 Movement between Function Blocks ..........................................................................18
4.6.1 Movement Between Unconnected Blocks ................................................................... 18
4.6.2 Movement Between Connected Blocks ....................................................................... 18
4.6.3 The Jump Command ................................................................................................... 18
4.7 Using Keys as Inputs ..................................................................................................18
4.8 Programming the System Bits M01 - M05 ..................................................................19
4.9 Function Block Description and Byte Consumption ....................................................19
4.10 The Monitor Mode .....................................................................................................20
4.10.1 Monitor/Update Function Block Values ..................................................................... 20
4.10.2 Forcing Outputs ON/OFF .......................................................................................... 20
4.10.3 Add/Delete Function Blocks in the Monitor Mode ...................................................... 20

5. The Logic Function Blocks ................................................................................21


5.1 The AND Block ............................................................................................................21
5.2 The OR Block ..............................................................................................................21
5.3 The NOT Block ............................................................................................................22
5.4 The XOR Block (Exclusive OR) ..................................................................................22
5.5 The NAND Block (Not AND) .......................................................................................22
5.6 The NOR Block (Not OR) ............................................................................................23

6. Function Blocks ..................................................................................................24


6.1 Boolean Function Block ..............................................................................................24
6.2 The SET/RESET Block ...............................................................................................25
6.3 The PULSE Block .......................................................................................................25
6.4 The ALT Block .............................................................................................................25
6.5 The DELAY Block .......................................................................................................26
6.6 The ONE SHOT Block ................................................................................................26
6.7 The FLICKER Block ....................................................................................................27
6.8 The TimeSW Block .....................................................................................................27
6.8.1 Setting the First Time Switch ....................................................................................... 28
6.8.2 For the Date operation: ................................................................................................ 28
6.8.3 For the Weekly Operation: ........................................................................................... 29
6.8.4 To Enter New Time Switches ...................................................................................... 29
6.8.5 To Edit Time Switches ................................................................................................. 29
6.8.6 To Delete Time Switch Data ........................................................................................ 29
6.9 The COUNTER Block .................................................................................................30
6.10 The UP/DOWN COUNTER Block .............................................................................30
6.11 The COMPARE Block ...............................................................................................31

GB-iii
PHARAO – Device Programming Handbook

6.12 The OFFSET Block ...................................................................................................31


6.13 The DISPLAY Block ..................................................................................................32
6.13.1 Displaying Data Onscreen ......................................................................................... 32
6.13.2 Editing Data Onscreen .............................................................................................. 32
6.14 The ZONE COMPARE Block ....................................................................................33
6.15 The Schmitt Trigger ...................................................................................................33
6.16 The Hour Meter .........................................................................................................34

7. Lets Make a Program ..........................................................................................35


7.1 Option Settings ............................................................................................................35
GB
7.2 The Function Block Diagram .......................................................................................35
7.3 Input the Program .......................................................................................................36
7.3.1 Adding Function Blocks by the Left to Right method ................................................... 36
7.3.2 Scroll through the Function Blocks by Number ........................................................... 37
7.3.3 Use the Jump Command ............................................................................................. 37
7.3.4 Use the NewFB command ........................................................................................... 38
7.3.5 Connect the Function Blocks from Right to Left .......................................................... 38
7.4 Set up the Function Block Parameters ........................................................................39
7.5 Exit the Function Block Diagram board .......................................................................40

GB-iv
PHARAO – Device Programming Handbook Introduction 1

1. Introduction
The programmable compact control devices of the PHARAO series (PHARAO controllers)
offer you a flexible monitoring system for your home, office or business premises. The
PHARAO-controllers can control the On/Off function of electrical devices or display information
on the front panel LCD. Some of the typical uses for the PHARAO controllers include control
of lighting, air conditioning, irrigation, doors, gates, simple security systems, greenhouses, and
air fans. The number of applications for the PHARAO controllers is almost unlimited. The built
in Real Time Clock lets the Alpha serve as a powerful time switch tool.
GB
PHARAO controllers can process both digital and analog electric input signals. The program-
ming is carried out by means of the control panel located at the front of the module or via the
programming software in Windows 95/98. In both cases, PHARAO avails of the most straight-
forward programming available, i.e. function block programming.

PHARAO controllers offer various input/output configurations and are suitable for use with all
AC and DC power supplies. The programming menu is available in five languages and pass-
word protection, EEPROM modules and a 20-day backup battery provide the programmer with
all necessary options for the safety of the program data.

This manual will describe the procedure by which the PHARAO-Steuerungen Series control-
lers can be programmed from the front panel, the functions of the keys, and the powerful func-
tion block capabilities.

GB-1
PHARAO – Device Programming Handbook Introduction 1

Available information on the PHARAO Series system:


• Hardware manual, ident. no.: 310 151, part of the scope of delivery
• Programming cable short description, ident. no.: 310 152, part of the scope of delivery
• EEPROM short description, ident. no.: 310 153, part of the scope of delivery
• Unit programming manual, ID No.: 310 807, available as PDF document, on CD ROM
or via the internet (http://www.theben.de)
• Software programming manual, ID No.: 310 817, available as PDF document, on CD ROM
or via the internet (http://www.theben.de)
• Additional information is available via the Internet (http://www.theben.de)

PHARAO Series ordering information: GB


Control module options:
• PHARAO 6, order no.: 575.0.006
• PHARAO 10, order no.: 575.0.010
• PHARAO 11, order no.: 575.9.011
• PHARAO 12, order no.: 575.9.012
• PHARAO 20, order no.: 575.0.020
• PHARAO 21, order no.: 575.9.021
• PHARAO 22, order no.: 575.9.022

Control module accessories:


• Programming software for Windows 95/98/NT, order no.: 907.0.251
• Programming cable, order no.: 907.0.252
• External EEPROM memory module, order no.: 907.0.253
• Front panel installation set, order no.: 907.0.001

GB-2
PHARAO – Device Programming Handbook Function Block Programming 2

2. Function Block Programming


The PHARAO controllers use a special, simple method of programming called function block.
The task is broken down into various stages which can be represented by a number of function
blocks. To achieve the overall task all the blocks are connected together. This means the pro-
gram can be developed in very simple steps but even a complex task can be represented in
this way. For ease of use, the function blocks have been preprogrammed to perform certain
tasks yet offer flexibility to be tailored to individual requirements.

GB
S B01
I01 O01

1 B02 C S B03
I02 2
O02

3
ONE SHOT
I03 R
4
OR SET/RESET
O03

The base upon which the blocks are programmed is the Function Block Diagram (Fbd) base.
A complete function block diagram is shown above, where I = Input and O = Output. The user
can build a complex circuit in small easy steps by starting at the input and working forward in a
logical manner. The PHARAO controllers will gather information, process that information, and
provide control for the system.

GB-3
PHARAO – Device Programming Handbook Function Block Programming 2

2.1 Signal and Function Block Types


The PHARAO program supports the following signal and function block types: inputs, control
panel keys, system bits, function blocks and outputs.

2.1.1 Inputs
The PHARAO controller processes digital (ON/OFF) and analog (voltages within the range of
mV) data via the hardware ports. For technical data and circuit diagrams, please refer to the
Hardware Handbook of the PHARAO controller. Depending on the model, the device is
equipped with four, six or twelve hardware input ports respectively. The input ports are dis- GB
played and labeled as "I1", "I2" to "I12".

2.1.2 Front Panel Keys


The control panel keys are used for operating the menu and for the entry of program data. The
keys can also be used for the entry of additional input signal for control functions in the control
program. There are eight keys which are referenced as K01 - K08. Please see Chapter 3 for
an explanation on the function of each key.

2.1.3 System Memory Bits


These Memory Bits can provide predefined signals - Always On, Always Off, 0.5 second On,
0.5 second Off, or provide information about the Real Time Clock time or errors. The five
Memory bits are referenced as M01 - M05.

2.1.4 Function Blocks


Functions blocks are the heart of the PHARAO controllers. They process the information
received from the previously mentioned inputs and control the system Outputs. They can also
provide input signals or information to other function blocks. To make programming easier, the
Function Blocks have all been preprogrammed. You only have to set the parameters (e.g.
timer and counter values) in the respective function block according to the required task. There
are 22 function blocks available, which are described in more detail in the following chapters.
Within a single control program, up to 64 function blocks can be programmed, which are
labeled as B01 and B64.

2.1.5 Outputs
The Outputs make or break the electrical circuits which control the electrical devices con-
nected to the PHARAO controller. High current switching relays or fast switching long life tran-
sistor outputs are available. The Outputs are referenced as O01 - O08.

GB-4
PHARAO – Device Programming Handbook Function Block Programming 2

2.2 Programming Methods for the PHARAO-Controller


2.2.1 Function block programming
The PHARAO device series operates by means of function block programming. In this type of
programming, function blocks are connected to each other. This results in what is known as a
function block diagram.

2.2.2 Direct Programming


Direct Programming uses the keys on the front panel to create the program and input any GB
required data values. The method for Direct Programming is explained in this manual begin-
ning at Chapter 3. This results in what is known as a function block diagram.

2.2.3 Programming via PHARAO Windows software


The software in Windows gives you the option to set up a PHARAO program in a very simple
manner. By means of the user-friendly drag&drop option, the icons representing the signals
and functions available for a specific function block diagram can be grouped in a (FBD)-win-
dow. The completed program is then transferred from the PC via a programming cable (PHA-
232CAB) to the PHARAO controller. This software is also extremely suitable for beginners and
its graphic user interface offers many advantages compared to direct programming at the
device (download software demo at www.theben.de).

GB-5
PHARAO – Device Programming Handbook Keys, Menus, and LCD Displays 3

3. Keys, Menus, and LCD Displays

3.1 Key Functions


The eight keys on the front panel allow access to all the PHARAO controller internal functions
and programming capabilities. The keys may be used as program inputs in addition to their
functions listed below

GB

Note:
In the control program, the keys K1 to K8 can be
used for the purpose of additional input signals (e.g.
for manual control functions)

.
Table 3.1: Key Number and Basic Operation

Key Key
Name number Key Function

OK K01 Used to enter menu options, confirm data entry, and manually force inputs in the
monitor function.
Used to cancel an operation, move to a higher level screen, or to move to a new
ESC K02
menu.
Used to connect (or “add”) function blocks, increase Direct Set input values or
“+” K03 times, or move through programs or menus.

“–” K04 Used to disconnect function blocks, decrease Direct Set values or times, or move
through programs or menus.
( ) K05 Scroll up through menu options (menus, keys, FB, Inputs, Outputs, etc.)
( ) K06 Scroll down through menu options (menus, keys, FB, Inputs, Outputs, etc.)
( ) K07 Move to the right on the LCD display, FB program, or Jump command
( ) K08 Move to the left on the LCD display, FB program, or Jump command

GB-6
PHARAO – Device Programming Handbook Keys, Menus, and LCD Displays 3

3.2 Menu Overview


3.2.1 Operating mode STOP

Power ON
All key Others
Date Top Menu Soft Version
STOP/RUN (FB Edit)
Confirmation FB Program FB Parameter Version Display
Time,Day Run
display Setup FB OK:enter
Password
Input/ Language Password
Language Change.. FB..Change Set/Delete
Output German
English
French
FB Choice
(+)*
Delete
FB FB Delete Menu key
Menu Key
Setting
GB
Italian Connect Summer time
Spanish (New FB) * When wire is
SummerTim Cancel
ProgEdit (-)* flashing
Edit Menu Disconnect Manual On
ProgSize Date type
All Program UK, US, EU
delete ProgramSize
ProgClear Confirmation Jump display Modem Initial
See next page Modeminit
Code set
Timer New FB FB choice
ClockSet
setting Prog Transit
OK
Exit Add New FB Prog Tran** Verify
Others Cassette
ESC or OK/ESC
Mnemonic ** Only when the memory Cassette
Mnemonic Display cassette is installed prior ProtectSW
to power On.

3.2.2 Operating mode RUN

From Top Menu Others


STOP/RUN
previous FB Program (FB Edit) Soft Version
Stop Confirmation FB Parameter Version
page display Display
Language Setup FB OK:enter
Password
Language German Password
Change.. FB..Change Set/Delete
English FB Choice
French Menu Key
Menu key Setting
Italian
Spanish Summer time
Monitor Cancel
Edit Menu SummerTim
ProgramSize Manual On
ClockSet Timer ProgSize Date type
setting display
UK, US, EU
Others Jump FB choice
Modeminit Modem Initial
Exit Code set

3.3 Menü RUN


There are Menus to help guide the user through the powerful options available in the PHARAO
controller. The Top Menu has a Run Mode that can be accessed while the PHARAO controller
is running a program or a Stop Mode that is accessed when the PHARAO controller is not run-
ning a program. Many options and program setting parameters can be accessed from either
menu while some options only exist in one of the Modes.
The Edit Menu and the Function Block Edit Menu can be accessed when in either ProgEdit or
Monitor. These menus can be used to create and/or change programs steps or values.
Use the OK key to enter a programming option or to enter data into memory.
Set all the data on the screen before using OK to write the data to system memory. If there are
multiple data screens in an option, enter the required data and accept each screen with the OK
button. The ESC key will move the screen back to a higher menu option. It will cancel any data
input that has not been accepted with the OK key.
Use the ESC to exit the option to the higher menu; at times, it will be necessary to press the
Escape key a number of times to move to through multiple programming layers.

GB-7
PHARAO – Device Programming Handbook Keys, Menus, and LCD Displays 3

3.4 Menu Stop


The Menu Stop is the first Menu the user will see if the PHARAO
controller is not running. When the PHARAO controller is first T o p Me n u
turned On, the Input/Output Image Table will appear. Hit any key Run
to move to the Stop Mode version of the Top Menu. L ANGUAGE
ProgEdit
Description of the menu ProgClear
Cloc kSet
• Run: Run the current program in memory. O t h e r s. . .
• LANGUAGE: Choose the onscreen language from German, GB
English, French, Italian, or Spanish
(Section 3.8.1 on page 11).
• ProgEdit: Function block diagrams: For programming, change to the base of the Function
block diagram (FBD-base). During the editing, the current control program in memory is
overwritten. To prevent this, save the current program onto an external memory module
(PHA-EEPROM) or, by means of the PHARAO Windows software, onto the hard drive.
• Program Clear: Deletes the entire program memory of the PHARAO controller.
• ClockSet: Set the Real Time Clock (Section 3.8.2 on page 11).
• Others … (Section 3.4.1 on page 8)
3.4.1 The “Others...” Programming Screen
Description of the menu:
• Version:
Lists the Input/Output configuration and Version of the CPU. O t h e r s. . .
• Password: Ver s i o n
Restrict entry to the ProgEdit and Monitor mode ith the four Password
digit password (Section 3.8.4 on page 11). Me n u K e y
• Menu Key: SummerTim
Set the PHARAO controller to prohibit programming access Mo d e m I n i t
until the OK and ESC keys are pressed simultaneously. Cas sette
• Summertime:
Choose the preferred daylight savings time: Manual On/Off
(immediate action), Set Date, UK type, US type, or EU type (Section 3.8.3 on page 11).
• ModemInit:
Use the respective AT command for the initialization of your modem. For a detailed
description of the AT command, refer to the operation manual of your modem. Set a Delay
time of 0 - 10 seconds after system power up for the command to begin.
• Cassette:
The external memory module PHA-EEPROM enables you to run a special program in the
PHARAO controller simply by plugging in. When the external memory module is plugged
in, the CPU does not run the program from the internal EEPROM system memory rather
from the external EEPROM memory module. After the external memory module is
removed, the program is again run by the internal system memory.

GB-8
PHARAO – Device Programming Handbook Keys, Menus, and LCD Displays 3

Note:
• The electronics in the slot for connecting the programming cable or the external memory
module are not safely disconnected from the mains voltage electrically.
• Only specially trained persons familiar with the local and national standards may install
and remove the programming cable or the external memory module.
• Switch off the voltage before installing or removing the programming cable or the external
memory module.
• Do not touch the exposed contacts of the PHARAO controller. Check that no voltage is
present after switching off the voltage supply.
GB

3.5 Operation in menu RUN


When the PHARAO controller is running, the LCD defaults to the
Image Table screen. Press any key (that is not an input key in the
program) to view the Run Mode of the Top Menu. T o p Me n u
Stop
Description of the menu L ANGUAGE
• Stop: Takes the PHARAO controller out of Run Mode. Mo n i t o r
Cloc kSet
• Monitor: Monitor the program settings while in the Run mode.
Function Block setups can be modified and new Inputs, FBs, O t h e r s ...
and Outputs added to the program. The existing Run program
cannot be modified in Monitor.
• ClockSet (see above)
• LANGUAGE (see above)
• Others (see above):
Version, Password, Menu Key, Summertime, ModemInit (the Cassette option will not
show).

GB-9
PHARAO – Device Programming Handbook Keys, Menus, and LCD Displays 3

3.6 The Edit Menu


The Edit Menu can be entered when the PHARAO controller is in
the ProgEdit or Monitor main programming screen. If entering
E d i t Me n u
options or connecting FBs, these procedures have to be finished
Pr ogSi ze
or canceled before the Edit Menu can be entered. Press the ESC
J u mp
key at any time place in the main programming screen to enter the
Ne w FB
Edit Menu.
Exi t
Description of the menu
Mn e mo n i c
• ProgSize:
Shows the numbers of FBs used and percent program mem-
GB
ory used (64 function blocks or 1500 bytes or memory maximum). Please refer to section
4.9 for the number of bytes used by each function block.
• Jump:
Leads to a screen that shows available places to go in the program. M - system bits (1-5);
I - system Inputs (4, 6, or 12); O - system Outputs (2, 4, or 8), K - Keys (1-8); and B - Func-
tion Blocks (created by user). Choose the desired block with the arrow keys and enter OK
to jump to that spot in the program.
• New FB:
Create a new Function Block from one of the 21 premade FBs. Refer to section 4.4 for
details.
• Exit: Exits to the Top Menu.
• Mnemonic:
Gives a mnemonic display of the current programming rung. Enter the programming
mode by OK or return to the Edit Menu by ESC.

3.7 The Function Block Edit Menu


The Function Block Edit Menu can be entered only while in the
ProgEdit or Monitor mode. Move to the Function Block to Edit and
press OK when the Function Block number is flashing. B 0 4: F L
• Change No.: Change the Function Block Number
• Delete FB: Delete Selected Function Block Option Screen C hange No
Setup
Delete FB

GB-10
PHARAO – Device Programming Handbook Keys, Menus, and LCD Displays 3

3.8 The Function Block Edit Menu


The PHARAO controller is equipped with various functions in order to adjust the operation of
the module to suit different countries and safety standards. Enter your user-defined settings.
Settings can be modified in both RUN and STOP mode.

3.8.1 How to change the Language


Turn the PHARAO controller On, hit the OK button to go to the L ANGUAGE
Stop Menu. Scroll to the “LANGUAGE” option, which appears as
Ger m an
written above in every language, and enter OK. The screen
English
GB
showing the five languages appears. From Top to Bottom, the lan-
guages available are German, English, French, Italian, and Span- French
ish. Choose the appropriate language and enter OK. Use the Esc Italian
key to exit. Spanish

3.8.2 Real Time Clock SET


From either of the Top Menus, scroll to the ClockSet option and
enter OK. Use the arrow keys to move to the various options and
the “+” and “-” keys to manipulate the data. Update every option on Cl oc k Set
the screen and then the entire screen can be accepted with the OK dd /mm /yy yy
button. 30 /0 9 / 1998
The first option is the setup of the Year, Month, Day menu. Options 14: 35 wed
include setting yyyy/mm/dd, dd/mm/yyyy, or mm/dd/yyyy.
Now set the year, month, day, hour (24 hour clock) and minute. The
day of the week will update automatically.
Hit Esc to Cancel or OK to accept.

3.8.3 SummerTime
In the menu "Summertime", you have the option to adjust the set- SummerTime
tings for the change from summertime to wintertime and vice versa.
Canc el
Description of the menu: Ma n u a l O n
• Cancel - Turns off the Summertime clock setting. Date Type
• Manual On - Moves the clock one hour ahead immediately. UK Type
• Date Type - Set the On date, Off date, and Time adjustment. US Type
• UK Type - Last Sunday of March to the First Sunday of Novem- EU Type
ber.
• US Type - First Sunday of April to the last Sunday of October.
• EU Type - Last Sunday of March to fourth Sunday of October.
3.8.4 Password
The password consists of four digits and will prohibit entry into the
ProgEdit and Monitor modes only. Run, Stop, ProgClear, etc. can Set up
still be accessed. When ProgEdit or Monitor is entered, a box will
Passwor d
pop up onscreen asking for the password. If the password is
entered correctly, the Fbd base can be accessed.
When Password is first entered, “Setup” will appear in the top left 0921
corner of the screen. Enter the desired password and accept with
OK. To cancel the password, enter Password and re-enter the
secret code. “Cancel” will appear in the top left corner. LCD Displays
There are a number of types of data and/or information that can be displayed.

GB-11
PHARAO – Device Programming Handbook Keys, Menus, and LCD Displays 3

3.9 LCD-Displays
In addition to the above described menus and functions, other data and information can be dis-
played on the LCD of the PHARAO controller.

3.9.1 Image Table


The first LCD display to appear is the Input/Output image table and
I
the Real Time Clock.
An open circle indicates that a contact is Off.
- - : - -
A darkened circle indicates a contact is On.
I :
GB
The clock shows the current time as Set by the User. The Sum-
mertime mode is shown by an “s” preceding the time if activated.
The current operating mode (RUN or STOP) is indicated by a run- O:
ning bar at the top of the LCD display. Running bar = RUN mode
No running bar = STOP mode

3.9.2 LCD Function


Display up to 10 different letters or characters on each of four lines.
Options include character strings (design your own message), func-
tion block data, or analog data.
Ac t u al
He at i n g O N
Temper 21C
Hum i d 64%

3.10 Block Items


Each block item has an individual diagram that shows the block number, available number of
input pins, the output pin if applicable, and the block mnemonic. Connections between blocks
can be viewed at the pin locations when connected blocks are shown individually on the LCD.
See examples below.

3.10.1 Input Blocks


The Input Blocks consist of System Inputs (I01 - I12), Key Inputs
(K01-K08), and System Bits (M01-M05). The input number is shown
in the top right hand corner, the type of input in the lower right hand 01
corner, and the output pin is shown on the far right of the block.
Input Blocks provide information to the Function Blocks or Outputs.
In
3.10.2 Function Blocks
The function blocks are described in more detail in the following
chapters. Function Blocks can have from 0 to 4 input pins shown on
the left of the diagram and an output shown on the far right. Some 01
function blocks have data that can be used for comparison purposes
only or are used to display data onscreen. These blocks have no
output pin. The number and block mnemonic are shown in the top CN
right and bottom right locations respectively.

GB-12
PHARAO – Device Programming Handbook Keys, Menus, and LCD Displays 3

3.10.3 Output Blocks


Output Blocks have one input an done output pin. They only have
the capacity for one input signal through the input pin. The Output
Block number and Mnemonic are shown in the top right and lower 01
right hand corner of the diagram respectively.

Ou t
3.10.4 Connected Blocks
Blocks that are connected can be shown simultaneously onscreen. GB
The block providing the output signal will be shown on the left of
the screen. The input pin accepting the signal will flash. Any input 04 29
pin that is already connected will be shown as a solid triangle.

In CN
3.11 Function Block Diagrams
The programming technique for PHARAO controller begins by making a function block dia-
gram. This is a pictorial representation of the information flow. The Inputs appear on the left
side of the screen, the Function Blocks in the middle, and the Outputs on the Right hand side -
the same style as in an actual the program.

Ex - In order to keep a light on for 20 seconds after the light switch has been turned Off (maybe
there is a light switch at only one end of the hallway!), the following diagram has been drawn.

DEL AY
I 01 O0 1
(20sec)

There are three rectangles in the diagram:

1) Input I01 to receive the information that the light switch is Off.
2) A Delay Function Block to add the twenty second delay.
3) Output O01 to turn the light Off at the proper time.

Block diagrams are made only as an aid to inputting the program into the controller. The visual
reference can be useful when checking to see that your connections have been properly
constructed. The PHARAO Software can show all the Function Block connections on your
computer screen.

GB-13
PHARAO – Device Programming Handbook Direct Programming 4

4. Direct Programming
The PHARAO controller can be programmed using only the keys on the front panel. When the
function block diagram is complete, the program can be logically entered into the PHARAO
controller. The following sections will describe how to connect/disconnect function blocks, set
program parameters, add Function Blocks, and move around within the program.
The ProgEdit mode in the Stop Menu has full programming capability. The Monitor mode in the
Run Menu has the capability to manipulate Function Block values and settings but cannot
edit, change, or delete the existing program.
GB
4.1 Block Availability
The number of System Inputs and Outputs is determined by the type of controller being pro-
grammed. The different PHARAO controller models offer you the following configurations for
input and output: 4 inputs and 2 outputs, 6 inputs and 4 outputs, or 12 inputs and 8 outputs.
Up to 64 Function Blocks can be used in a program or 1500 bytes of memory. The Function
Blocks must be added in the course of programming. The eight Keys and the five system M
bits are automatically available for every program.
Inputs, Outputs, System Memory Bits, and Keys do not count in the Function Block total.

GB-14
PHARAO – Device Programming Handbook Direct Programming 4

4.2 Connecting Blocks


Any block that has an output pin can be connected to any block that has an (unused) input pin.
System Inputs, Keys, and Memory M bits have output pins only.
Function Blocks and Outputs have both input and output pins (the Display and TimeSwitch
Blocks are exceptions). Blocks can be connected beginning with an output pin, from “left to
right” on the display, or beginning with an input pin, from “right to left” on the display.

4.2.1 To connect the blocks from the left (signal provider) block to right (signal
receiver) block. GB
It is necessary to choose the block to provide the output (step 1), the block to accept the sig-
nal (step 2), and the pin with which to accept the signal (step 3).

1 ) Step 1: Select the block providing the data to be output and


move to the right until the output pin is flashing. Press the “+”
button to “add” a block. 04

In

2 ) Step 2: Choices will appear on the right side of the screen that
include System Outputs (if available), existing Function Blocks
that have free input pins, and the option to add a new function 04
block (AddFB, see section 4.4). Scroll to the preferred option
and select with the OK button. AddFB
O0 3
Con n ec t

3 ) Step 3: The block accepting the signal will display as many of


its input pins as possible (at times they will not all fit onscreen).
Pins that have been used will show as filled triangles; pins that
04 05
are open will show as “>” signs. A “Connect” prompt will appear
onscreen, either above or below the left hand block. The current
input choice will flash. Scroll to the desired pin and press OK to
accept. The process is complete. Con n ec t

4.2.2 To connect the blocks from the right (signal receiver) block to left (signal
provider) block.
It is necessary to choose the block input pin (Step 1), the signal provider (Step 2), and to
accept the connection (Step 3).

1 ) Step 1: Select the block that will be receiving the signal and
move left until an input pin is flashing. Scroll to the desired
unused input pin (“>”). Enter “+” to begin the connection pro-
05
cess.
I 04

CN

GB-15
PHARAO – Device Programming Handbook Direct Programming 4

2 ) Step 2: Because output pins may have multiple connections, all


the Keys, Function Blocks, System Inputs, Outputs will show on
the left of the screen as well as an option to “AddFB”. Scroll to 05
the preferred option and Enter OK.
AddFB- I
M0 1
Co n ne c t

3 ) Step 3: The chosen connection will be flashing onscreen along


with the “Connect” prompt. Press OK to accept.
02 05
GB

Co n ne c t

4.3 Disconnect Two Blocks


Blocks can be disconnected by implementing the following procedure.
Move to the connection that is to be disconnected. Enter “-” as the disconnect command. A
“Disconnect” prompt will appear onscreen. Press OK to accept the disconnect.

4.4 Methods to Create a Function Block


The two methods of creating a Function Block. They are the New FB option in the Edit Menu
and the AddFB option when connecting two blocks.

4.4.1 New FB
7

To use the New FB option, proceed to the Edit Menu (Section 3.4.1)
with the ESC key. Scroll to the New FB option and press OK. Scroll
to the desired Function Block and press OK to create a New FB. The FB Sel ect
block will appear on the Function Block Diagram board. Fl i cker
On e Sh o t
4.4.2 AddFB Of f s e t
When connecting a Function Block, scroll to the AddFB prompt and
enter OK. This brings up the Function Block list. Scroll to the desired
Function Block and choose by pressing OK. The Function Block will be shown on the screen
with the connecting block.

GB-16
PHARAO – Device Programming Handbook Direct Programming 4

4.5 Function Block Editing


To enter the Function Block editing menu (section 3.2.4), enter OK when the Function Block
number and name is flashing on the screen. Up to three options appear onscreen: Setup FB,
Change No, and Delete FB. The Setup Function option is not valid for some Function blocks
and so will not always appear.

4.5.1 Setup Function Block


Each Function Block has its own individual parameters outlined in Chapter 6. The Function
Blocks might have multiple data screens that can be optimized. As with other menu options, GB
the ESC key will move the screen back to a higher menu option without changing the option
parameters for that screen. If there are multiple data screens in an option, enter the required
data and accept each screen with the OK button. Use the ESC key to exit the Function Block
OK button.

4.5.2 Change No. (of a Function Block)


Change the number of an existing Function Block with this screen. The current FB number is
shown onscreen when the option is entered. Scroll up or down with the “+” or “-” keys to find an
open FB number. Press OK to accept the new number.

4.5.3 Delete FB
This menu option will Delete the current Function Block. After the Delete FB is chosen, confirm
the delete operation with OK or use the ESC key to cancel the function. All connections to the
Function Block will be deleted with the block.

GB-17
PHARAO – Device Programming Handbook Direct Programming 4

4.6 Movement between Function Blocks


There are a number of ways to move from one item to another when in the ProgEdit or Monitor
modes.

4.6.1 Movement Between Unconnected Blocks


Movement between System Inputs, System Outputs, Keys, and M bits can be accomplished
with the “+” and “-” keys. When the block number is flashing onscreen, press the “+” key to
scroll to the next higher value of the same block type; e.g. move from I01 to I02 to I03...until
the highest value is reached. The scroll will then proceed to the lowest value of the next block GB
type. The same technique will work for the “-” key in the opposite direction.
Function Blocks can be scrolled through in the same manner, although only the Function
Blocks are rotated through in this case.

4.6.2 Movement Between Connected Blocks


The Right arrow moves horizontally (to the right) along the path of connections between
blocks. If an output pin is connected to multiple input pins, the current path will flash. The Up
and Down arrows can be used to choose the desired path. The left arrow will move back along
the path of the connections to the left.

4.6.3 The Jump Command


The ESC key can be used to enter the Edit Menu anytime a function
block is displayed on the LCD screen. {The ESC will cancel in pro- E d i t Me n u
cess commands first. Keep pressing the ESC key until the Edit Pr ogSi ze
Menu has been entered}. Enter the Jump Command. Choose any J u mp
system Memory Bit, Input, Output, Key, or existing Function Block by Ne w FB
Exi t
using the front panel keys. Enter OK to “Jump” to the chosen block Mn e mo n i c
in the programming mode.

4.7 Using Keys as Inputs


Connect the Keys for use as Manual Inputs by using the Jump command to access the desired
key, by connecting a Function Block or Output as described in Section 3.4.2, or by scrolling
through the blocks as described in section 4.6.1.
The programmed Key(s) will give an output signal for as long as the key is depressed. If all the
Keys are used by the program, the method to return to the Stop menu is as follows: Turn the
PHARAO controller Power Off, and simultaneously depress the OK and ESC key while turning
the power On.

GB-18
PHARAO – Device Programming Handbook Direct Programming 4

4.8 Programming the System Bits M01 - M05


The System Bits were created to provide constant input signals and to provide status on the
Real Time Clock operations. Access them in the same manner as a programming Key.

Key Description
M01 Always “ON”
M02 Always “OFF”
M03 Alternate - 0.5 seconds “ON”, 0.5 seconds “OFF”
M04 “ON” when Real Time Clock data error occurs GB
M05 “ON” when Summer time schedule is activated

4.9 Function Block Description and Byte Consumption


This Table gives a brief description of the Function Block uses and memory consumption.

Function Block Byte Description


AND 19 Output On when all Inputs are On, Unused inputs considered On
OR 19 Output On when at least one input On, Unused inputs considered Off
XOR 13 Exclusive OR; Output On when only One of Two Inputs is On
NAND 19 Not AND; Output On when all Inputs Off, Unused inputs considered Off
Not OR; Output On when at least one Input is Off, Unused inputs consid-
NOR 19
ered On
NOT 10 Inverts a signal; changes an Off to an On and vice versa
BOOLEAN  Logic equation using AND, OR, XOR, NOT, (, ), and selected inputs.
SET/RESET 14 Latch a relay in SET or RESET position, give Set or Reset priority
DELAY 19 Delay a signal on the Rising, Falling, or both Edges
ONE SHOT 17 Send a single pulse; Time or Input signal based, Reset pin available
PULSE 10 Send a Pulse on the Rising, Falling, or both Edges
Send a pulse train; On/Off times, repetitions, duration, or continuous opera-
FLICKER 19
tion
ALT 13 Output alternates turning On or Off with each input pulse
COUNTER 16 Count upward on pulses, can reset at a signal
U/D COUNTER Count upward or downward, Set a Preset Value for the Output to come ON
COMPARE 17 Compare two values for <,>,=,<=,>=,<> (Analog, Direct Set, or FB values)
TIME SWITCH ô Use the RTC to turn output On/Off; Calendar or weekly schedule
OFFSET GAIN 22 Manipulate Analog Values; y = A/B*x + C; Set High and Low Limit Values
DISPLAY í Display Messages or Data on the LCD display
ZONE
COMPARE 20 Compare a value to a range of values (Analog, Direct Set, or FB values)

SHMITT
19 Turn an Input On at the High Value and Off at the Low Value (or vice versa)
TRIGGER
Hour Meter 19 Records the accumulated time a signal has been ON
System Outputs 10 Controls External Devices through Relays and Transistors.
1*) No. of bytes used = 19 + 1 x (Characters in Equation)
2*) No. of bytes used = 8 + 4 x (Number)
3*) No. of bytes used = 13 + 1 x (Each character displayed)

GB-19
PHARAO – Device Programming Handbook Direct Programming 4

4.10 The Monitor Mode


Function Block values and Output status can be manipulated from the Monitor option.
When placed in the Run mode, the PHARAO controller defaults back to the Image Table
screen. Press any key to enter the Top Menu and then enter Monitor. The program will now be
displayed onscreen. Movement among the function blocks is the same as in the ProgEdit
mode.

4.10.1 Monitor/Update Function Block Values


Move to the function block to monitor and enter Setup FB. The Function Block Values can GB
be updated and monitored. Changes to current values will be valid only while in the Monitor
Mode. Changes to Set point data and the comparison values will be written to the system
memory.

4.10.2 Forcing Outputs ON/OFF


Outputs can be forced ON/OFF if they do not have a direct conflict with the program. To force
an Output On, proceed to the position where the Output name and number are flashing an
press OK. A solid rectangle will appear underneath the block number to signify that the block
is ON.

A solid rectangle will appear underneath the block number to signify


that the block is ON. Input pins will have a smaller solid block next to
their arrow to show that they are activated. In the block at right, the 27 03
Delay output pins are ON, along with the input and output pins for
the system Output O03.
DL Ou t

An example of a block that cannot be forced follows.


Ex. Output O01 is connected to System Bit M01. M01 is constantly
ON, therefore Output O01 is constantly ON and cannot be forced 01 01
OFF.

_M Ou t

4.10.3 Add/Delete Function Blocks in the Monitor Mode


The user cannot Add or Delete Function Blocks while in the Monitor mode.

GB-20
PHARAO – Device Programming Handbook The Logic Function Blocks 5

5. The Logic Function Blocks


Logic Function Blocks operate by reading whether signals are On or Off and then adjusting the
status of their Outputs accordingly. There are six types of logic blocks available in the
PHARAO controller units - AND, OR, NAND, NOT, NOR, XOR. Analog signals cannot be pro-
cessed by the Logic blocks.

This chapter has been formulated to have a description of the Function Block, a diagram of
the Function Block as seen on the LCD Display, and a logic table to show how the Output is
controlled by the input signals. GB
An Input that is ON (or High) is shown as a “1” while an input that is OFF (or Low) is shown by
a “0”. Input numbers are nonspecific, so that a “1” appearing in the first column could actually
be placed in any Input 1, 2, 3, or 4. Unlike the Function Blocks in Chapter 6, the vertical place-
ment of the inputs in the Logic Block has no significance.

The status of unused inputs is described for each block. At least one input must be used to
active a block’s output. If no Input pin is used, the block output is OFF.

5.1 The AND Block


The AND block comes ON when all the inputs are ON.
Any Input that is OFF will keep the Output turned OFF.
Unused inputs are considered to be ON. 00
If no Input pin is used, the block output is OFF.

I I I I O AND
1 1 1 1 1
1 1 1 0 0
1 1 0 0 0
1 0 0 0 0
0 0 0 0 0

5.2 The OR Block


The Output comes ON when any input is ON.
The Output remains OFF only if all the inputs are OFF.
Unused Inputs are considered to be Off. 00

I I I I O
1 1 1 1 1 OR
1 1 1 0 1
1 1 0 0 1
1 0 0 0 1
0 0 0 0 0

GB-21
PHARAO – Device Programming Handbook The Logic Function Blocks 5

5.3 The NOT Block


The NOT block takes a signal and inverts it - an Input that is On
has an Output that is Off, and vice versa.
The Output comes ON when the input is OFF. 00
The Output is OFF when the input is ON.
If no Input pin is used, the block output is OFF.
The electrical circuit for a NOT block is the same as a Normally NT
Closed input.

In Out
GB
1 0
0 1

5.4 The XOR Block (Exclusive OR)


The Output comes ON when one input is ON and one is OFF. The
Output remains OFF when both Inputs are equivalent (either both
ON or both OFF). 00
Unused Inputs are considered to be ON.

In In Out
X OR
1 1 0
1 0 1
0 0 0

5.5 The NAND Block (Not AND)


The Output comes ON if any or all inputs are OFF.
If every input is ON, the Output turns OFF.
Unused Inputs are considered to be ON. 00
If no Input pin is used, the block output is OFF.
(This is equivalent to an AND block followed by a NOT block).
NAND
In In In In Out
1 1 1 1 0
1 1 1 0 1
1 1 0 0 1
1 0 0 0 1
0 0 0 0 1

GB-22
PHARAO – Device Programming Handbook The Logic Function Blocks 5

5.6 The NOR Block (Not OR)


The Output comes ON when all the inputs are OFF.
The Output remains OFF if any input is ON.
If no Input pin is used, the block output is OFF. 00
Unused Inputs are considered to be OFF
This block is equivalent to an OR block followed by a NOT block.
NOR
In In In In Out
1 1 1 1 0 GB
1 1 1 0 0
1 1 0 0 0
1 0 0 0 0
0 0 0 0 1

GB-23
PHARAO – Device Programming Handbook Function Blocks 6

6. Function Blocks
Function Blocks are the heart of programming the PHARAO controller. The blocks provide a
wide range of possible operations and have been preprogrammed for ease of use. Some
Function Blocks have parameters that can be tailored to meet individual requirements in the
programs.

Each function block will have a description of the Block’s purpose, a diagram of how the
Block will appear onscreen, and a description of the inputs, outputs, and available options.
GB
The following terms are used throughout this chapter and in the PHARAO controller.

DEFINITIONS

Abkürzung Beschreibung
T The Set Time value input by the user, range 0 - 3276.7 seconds.
The elapsed time since the function came ON, range 0 -
t
3276.7 seconds.
N The Count value set by the user, range 0 - 32767.
The actual count value, range 0 - 32767. This value can be set to a one
n
time offset value.
DirectSet Enter a value using the “+” and “-” keys.
Analog In An Analog input value from a System Input (A01, A02, A03, ... A08)
FB Value An analog value contained in a Function Block (T, t, N, n, Direct set, etc.).
Word Comparison A 16 bit output value from a Function Block

6.1 Boolean Function Block


It is possible to express the Logic functions in the form of an equa-
tion. The main advantage of doing this is that more Logic blocks can
be coded using only one equation. 01
To represent an AND function: OUTPUT = S1 AND S2
To represent a NAND function: OUTPUT = NOT (S1 AND S2)
Very complex arrangements can also be coded in this manner. BL

Options: AND, OR, NOT, XOR


Inputs: 1>, 2>, 3>, 4>
Output: ON/OFF

GB-24
PHARAO – Device Programming Handbook Function Blocks 6

6.2 The SET/RESET Block


This block can act as either a SET or RESET latch upon receipt of
a signal. A latched Output does not depend on the constant signal
to retain its status. 01
Set Priority: When the Set input comes ON, the Output comes ON
and remains ON until the Reset pin receives a signal. Once the
Output is ON, the Set input signal can turn OFF without affecting SR
the Output.
If both the Set and Reset pins are ON, the Output is ON.
Reset Priority: The operation is the same as the Set Priority except that when both pins are
GB
ON, the Output is OFF.
Options: SET Priority, RESET Priority
Inputs: S> (Set), R> (Reset)
Output: ON/OFF

6.3 The PULSE Block


The PULSE Block sends a single pulse at any the following times
(chosen by the user): the Input pin receives an ON signal, the Input
signal turns OFF, or Both. 01

If both options are chosen and the Input signal turns ON and OFF
faster than the pulse duration, one double length pulse signal will be PL
sent.

Options: Rising Edge (Input ON), Falling Edge (Input OFF), Both Edges
Input: I>(Input)
Output: ON/OFF

6.4 The ALT Block


Every time the input pin receives a signal the ALT Output changes
its ON/OFF status. The Output alternates turning ON and OFF.
A Clear input signal overrides the input signal and turns the Output 01
OFF.
Options: None
Inputs: I> (Input), C> (Clear) AL
Output: ON/OFF

GB-25
PHARAO – Device Programming Handbook Function Blocks 6

6.5 The DELAY Block


The delay block can delay the signal to an output for a set length of
time.
The On Delay option will delay the Output from turning ON for a set 01
time after the Input comes ON.
The Off Delay will delay the Output from turning OFF for a set time
after the Input has turned OFF. DL
The On or Off delays can be set individually or in combination.
GB
Example:
The On Delay Time is set to 5 seconds. The Delay Block Input signal comes ON; five sec-
onds later the Delay Block Output will come ON. The Output signal stays ON as long as the
Input signal is ON. The Output signal turns OFF at the same time the Input signal turns OFF.

The Clear Input will turn the Output OFF and cancel the current operation. The Clear pin over-
rides the Input pin if both signals are ON at the same time.

Options: On Delay (T,t) and Off Delay (T,t)


Inputs: I> (Input), C> (Clear)
Output: ON/OFF and Word Comparison

6.6 The ONE SHOT Block


This block gives a single Output pulse. The user can set the length
of the pulse from 0 to 3276.7 seconds.
If the Time priority is chosen, the Output pulse will come ON for the 01
user’s set length of time when the input pin receives a signal. The
input signal can turn OFF without affecting the One Shot Pulse.
OS
If the Input priority is chosen, the Pulse will remain ON as long as the
input signal remains ON (up to length of time set in the One Shot
option).

If the Set Time is 0.0 seconds, the block will function like the Pulse block.

The Reset Input returns the Output to the OFF condition and will override the Input pin.

Options: One Shot (T,t) or Priority (Time, Input)


Inputs: I> (Input), C> (Clear)
Outputs: ON/OFF and Word Comparison

GB-26
PHARAO – Device Programming Handbook Function Blocks 6

6.7 The FLICKER Block


This block provides a method to give a patterned ON/OFF Output
signal. The user can set independent ON and OFF times for the
Output. The output pattern can be dependent on an input signal, or 01
can be performed for a preset cycle time or number of repetitions.

FL

Example: GB
When the alarm sounds, it is desired to have the light flash twelve times to alert an operator.
The flicker can be set for an the Output to come ON for one second, turn OFF for 0.5 sec-
onds, and to repeat the cycle 12 times.

Options: On Time (T, t); Off Time (T, t)


Period: Time (T,t), Count (N,n), or Continuous
Inputs: I> (Input)
Outputs: ON/OFF and Word Comparison

6.8 The TimeSW Block


The real time clock in the TimeSW block can be programmed for a
date operation or for a weekly schedule. Up to Fifty time settings can
be programmed into each Function Block and up to sixty-four 01
Function Blocks can be used in any program. The total memory for a
PHARAO controller is 1500 bytes; the number of time switches
available will be limited by the program memory.
TS
Switch setting numbers must be created with the NewData option.
To input or update the data, scroll to the desired time switch, enter
OK, and use the EditData function.

GB-27
PHARAO – Device Programming Handbook Function Blocks 6

6.8.1 Setting the First Time Switch


Enter the Function Block Setup Screen and the message “No Set-
ting Data” will appear. Enter OK to reach the NewData Screen.
The New Data screen lets you choose between using a calendar B 01: TS_#01
type of setting (Date) or a repetitive type of setting (Weekly). Each Ne wDa t a
TimeSW Block can mix Date and Weekly time switches indiscrimi- We e k l y
nately. Dat e

After choosing the type of time switch, a screen will appear with a
time switch number flashing in the top right corner. This screen is GB
used to select the time switch to edit by using the “+” or “-” keys. B 0 1 : TS #01
The only time switch available to begin is TS #01. Press OK to dis- Ed i t Dat a
play the option screen shown at right. Ne wDat a
De l Dat a

EditData: Edit the data for the time switch number shown in the top line.
NewData: Add a new time switch. Time switch numbers will increment from the highest
current number.
DelData: Deletes a time switch. Higher numbered time switches will decrement.

Choose EditData and enter data as described in the following sections:

6.8.2 For the Date operation:


The Date calendar screen is shown at the right. The setting options
include the year/month/day, hour (0-23), minute, and the Output ON
or OFF action. B01: TS #02
Thu
Use the left, right, up, and down buttons to move to different loca- 1998/ 01/ 01
tions on the LCD display. Use the Plus and Minus key to increase 0 0 : 0 0 → Of f
or decrease the values for each setting. Type “OK” when all the
data for the entire screen has been entered.

Example:
The example at right shows a time switch that will turn OFF on July
14th, 1999 at 9:00 AM (Note - 9:00 PM is designated on the 24 hour B01: TS #02
clock as 21:00). The day of the week is automatically updated when We d
the date is changed. 1999/ 07/ 14
0 9 : 0 0 → Of f
Note:
The time switch can also be programmed to perform on a yearly
basis. Reduce the year to below 1998; the numbers signifying the year will display as **** and
the day of the week message will appear as “Yearly”. The operation will perform each year on
the specified date.

GB-28
PHARAO – Device Programming Handbook Function Blocks 6

6.8.3 For the Weekly Operation:


The Weekly Calendar is shown at right. The setting options
include week of the month (0-5), day of the week, hour (0-23),
minute and Output ON/OFF status. Use the left, right, up, and B01: TS #01
down buttons to move to different locations on the LCD display. - - - - -
- - - - - - -
Use the Plus and Minus key to active the week of the month and 0 0 : 0 0 → Of f
the day of the week settings as well as to set the time. Type “OK”
when all the data for the entire screen has been entered.
GB

The example screen shown at the right shows that the Output will
turn ON at the following times:
The first week of the month on Monday, Wednesday, and Saturday B01: TS #01
at 11:30 AM. 1 - 3 4 -
The third week of the month on Monday, Wednesday, and Saturday - M- W- - S
at 11:30 AM. 1 1 : 3 0 → On
The fourth week of the month on Monday, Wednesday, and Satur-
day at 11:30 AM.

6.8.4 To Enter New Time Switches


Enter the Function Block Setup Menu. Enter OK until the screen at
right appears. Scroll down and enter NewData. Choose either the
Weekly or the Date type of switch. The TimeSwitch has been cre- B 0 1 : TS #01
ated. Please see section 6.8.5 for instructions on how to enter the Ed i t Da t a
data. Ne wDa t a
De l Da t a

6.8.5 To Edit Time Switches


Enter the Function Block Setup Menu. The currently selected time
switch number will be flashing in the top right hand corner. Use the
“+” or “-” key to go to the time switch desired to edit and press OK. B01: TS #02
Alternately, when the Edit Data screen appears, use the “+” or “-” Thu
keys to change the time switch number. 1998/ 01/ 01
Choose the EditData option to view the selected time switch data. 0 0 : 0 0 → Of f
Update data as required and accept with the OK button.

6.8.6 To Delete Time Switch Data


Enter the Function Block Setup Menu. The currently selected time
switch number will be flashing in the top right hand corner. Use the
“+” or “-” key to go to the time switch to be deleted and press OK. B 01: TS #01
Choose DelData at the bottom of the screen and accept with OK. Ed i t Da t a
Ne wDa t a
Options: EditData, NewData (Weekly, Date), DelData De l Da t a
Inputs: None>
Outputs: ON/OFF

GB-29
PHARAO – Device Programming Handbook Function Blocks 6

6.9 The COUNTER Block


The Counter function counts input pulses and turns the Output ON
when a preset limit is reached. The counter counts up only to a
maximum value of 32767 and increments on the rising pulse. 01

The Clear input resets the counter value to 0.


CN
Options: Count (N,n)
Inputs: I> Input, C> Clear GB
Outputs: ON/OFF and Word Comparison

6.10 The UP/DOWN COUNTER Block


This counter has the capability to count both upwards and down-
wards and will turn the Output ON at the Preset (or greater) value.
The values are updated on the rising pulse. 03

The Up input pin increments the counter value.


The Down input pin decrements the counter value. UD
The Clear input pin resets the counter to zero.
The Preset input pin sets the counter value to the Preset value which
will turn the Output ON.

If both the Up and Down inputs pins receive a signal at the same time, there is no change in
the counter value.

Set the Preset value (N, -32768 to +32767) by Direct Set.


The Actual value (n, range = -32768 to +32767) can be set to an initial offset.
Options: Count (N,n;
Inputs: U> (Up), D> (Down), C> (Clear), P> (Preset)
Outputs: ON/OFF and Word Comparison

GB-30
PHARAO – Device Programming Handbook Function Blocks 6

6.11 The COMPARE Block


Compare two values and when the equation is true the Output will
come ON.
01
Options: V1, Comparator, V2
V1 and V2 can be set to the following values:
DirectSet (-32768 to +32767) CP
Analog IN (Input #, 0 - 10 Volt)
FB Value (Setting, Current) GB
The Comparator can be: <, >,<=, >=, =, <>
Input: I> (Input)
Output: ON/OFF

6.12 The OFFSET Block


This block is used to adjust an Analog Input value according to the
following equation:
Y = A/B*x + C 01
Y = the final Output value
A and B act as multipliers for the Analog Input Value
x is a System Analog Input (Choose A01, A02, A03, etc.) OG
C is an offset value
There are High and Low Limit settings for the value of Y

Choose values for A,B,C, Low and High with the Direct Set option only. The values for Direct-
Set range from -32768 to +32767.

Options: A, B, x, C, Low, High (Limits)


Inputs: I> (Input)
Output: Word Comparison

GB-31
PHARAO – Device Programming Handbook Function Blocks 6

6.13 The DISPLAY Block


Allows information to be displayed on the LCD screen. The Position
line sets the starting point for the data or message to be displayed.
There are ten available spaces horizontally and four rows that can 00
be utilized.

DP
6.13.1 Displaying Data Onscreen
Character strings (letters, numbers, symbols), Analog values, GB
Function Block values, the current time, and the current date can be shown on the screen. If
two Display blocks contain the same positioning data, the data from the Function Block with
the highest number will be displayed.

Character strings that run over the available number of spaces on a line will show on the next
line down. Function Block values, analog values, the date, and time will not be displayed on
the next line. Function Block and analog values will be automatically updated on the screen as
they change.

When entering character strings, choose the desired character with


the Up or Down buttons. Move to the left or right with the arrow keys.
Accept the data with OK after all the data has been input. Ac t u a l
Heat i ng O N
The display shows Onscreen only when the input is activated. Temper 21C
Hum i d 64%

6.13.2 Editing Data Onscreen


The parameters of the function blocks as well as date and time can be modified while dis-
played by means of the keys located at the front of the PHARAO controller. During the function
block setup, when the type of data to be shown onscreen is chosen - i.e. Function Block, Date,
or Time - type the “+” key to place the Display Block in the front panel edit mode. An “e” will
appear when the “+” is depressed.
When the program is in Run, depressing any key (that is not used elsewhere in the program)
will cause one set of data onscreen to flash. If multiple entries can be edited, use the arrow
keys to choose the data to change.

To edit the time or date, press OK when the appropriate data is flashing. Edit as required and
accept with the OK key.
To edit the function block values, proceed to the value to be adjusted as described above. Use
the “+” and “-” keys to adjust the value onscreen and in memory.

To exit to the Top Menu, press the ESC and OK keys simultaneously.

The Display edit mode can be removed from the program by entering the “-” key in the function
block setup when the “e” is flashing. The “e” will disappear when the “-” key is pressed.

Options: Pos(#,#): X = #, Y = #
“No Data”: Strings, Analog, FB Value
Input: I> (Input)
Output: Data Onscreen

GB-32
PHARAO – Device Programming Handbook Function Blocks 6

6.14 The ZONE COMPARE Block


This function checks whether a value is within a specified range.
There are three values - the Low Limit (L), Input Value (I), and High
Limit (H). These values can be Set Directly, be Analog Inputs, or be 01
Function Block values.

The Output can be given a Set or Reset priority. ZC

Set Priority: The Output turns ON when the Input Value is equal to GB
or between the High and Low Limits.
Reset Priority: The Output turns ON when the Input Value is outside the High and Low Lim-
its.
Options: L, I, H, Set, Reset
Inputs: I>(Input)
Outputs: ON/OFF and Word Comparison

6.15 The Schmitt Trigger


The Schmitt Trigger is used to compare an Input value against a
specified range of values and turn the Output ON/OFF when certain
conditions are met. 01
There are three values that must be set - the Input Value, the Low
Limit and the High Limit. All three values can be either DirectSet,
Analog In, or Function Block values. ST

When the High Limit value is larger than the Low Limit value, the
output will turn ON when the High Limit value is reached or exceeded. The Output will turn Off
when the Input value is equal to or less than the Low Limit. (The Output does not turn OFF
when the Input Value falls below the High Limit).

Example:
An air conditioner is set to turn ON when the air temperature reaches 23 C and turn OFF when
the temperature reaches 18 C. The air conditioner is not constantly turning ON and OFF over
slight temperature fluctuations.

When the High Limit value is less than the Low Limit value, the Output ON/OFF pattern is
reversed. When the Input Value is greater than or equal to the Low Limit Value, the Output
turns OFF. When the Input Value is equal to or less than the High Limit value, the Output
comes ON.

The input pin must be ON for the Function Block to register a new value from a Function Block
or Analog Input. Therefore, the input pin must be ON for the status of the Output to change.
The input pin does not have to be ON for the Output to be ON.
Options: InputVal, LimitHigh, LimitLow
Input: I> (Input)
Output: ON/OFF

GB-33
PHARAO – Device Programming Handbook Function Blocks 6

6.16 The Hour Meter


The Hour Meter is used to track the amount of time that a device
has been operating. This can be very useful for preventative main-
tenance schedules or for performing feasibility studies. 04

The timing starts at the receipt of an Input signal and retains the
accumulated time through system shutdowns or power outages. HM
When the Set Time value is reached, the block Output will turn ON.
GB
The Hour Meter will continue recording time after the Output time is reached. A signal to the
Clear pin will return the current time value to zero.

Options: Hours (T, t) 0 - 32767 Hr, Minutes (T, t) 0 - 59 Min


Input: I> (Input), C> (Clear)
Output: ON/OFF and Word Comparison

GB-34
PHARAO – Device Programming Handbook Lets Make a Program 7

7. Lets Make a Program


Lets create a sample program from beginning to end. Power up the PHARAO controller and
press any key to go the Run Menu.

7.1 Option Settings


Before starting to program, we can set any desired options from the following list.

• Language (this one might be important!): Section 3.8.1 on page 11. GB


• Real Time Clock Set: Section 3.8.2 on page 11
• Others: Password, Summertime Clock, Menu Key, and ModemInit: Section 3.4.1 on
page 8.

For the program below, none of the above options need be set. Use the ProgClear to erase the
current memory contents with OK. To confirm the memory erase, press OK again.

7.2 The Function Block Diagram


The system Inputs I01, I02, and I03 are shown on the left of the diagram and the system Out-
puts O01, O02, and O03 are shown on the right. The function blocks are numbered in the
order that they are added to the program.

S B01
I01 O01

1 B02 C S B03
I02 2
O02

3
ONE SHOT
I03 R
4
OR SET/RESET
O03

The input pins are shown on the left side of the FB and Outputs while output pins are shown on
the right side of the blocks. Note that each input pin can receive only one signal but the output
pins can provide signals to multiple sources.

GB-35
PHARAO – Device Programming Handbook Lets Make a Program 7

7.3 Input the Program


The options are set and the Function Block diagram is finished. It is time to start inputting the
program. Enter ProgEdit to begin programming.

If during the course of the programming you wish to begin again, use the ESC key to enter the
Edit Menu (you might have to press the key more than once). Use the Exit option to go back to
the Top Menu. Erase the memory with ProgClear and you can begin again.

7.3.1 Adding Function Blocks by the Left to Right method


GB
(Section 4.2.1 on page 15)
The first block that is shown will be the Input Block I01 with the
Input number 01 flashing. Press the “+” key or “-” key to scroll
through available programming blocks including Outputs, M bits, 01
Keys, and the Inputs. Return to I01. Press the ( ) arrow key. The
output pin should now be flashing.
In

Enter “+” to add a function block to Input I01. The options available
to connect to the Input block will be shown on the right hand side of
the screen. Use the ( ) and ( ) arrows to move to the option to 01
select, AddFB. Enter OK (Section 4.4.2). AddFB
O0 1
Con n ec t

The FB select menu containing the twenty-two Function Blocks will


appear (picture). Again, use the ( ) and ( ) arrows to scroll to the
desired Function Block, in this case the One Shot (OS) Function FB Sel ect
Block. Fl i cker
Use the OK button to accept. On e Sh o t
Of f s e t

The OS block has two input pins, the Input Pin on top and the Clear
Pin beneath. Use the ( ) and ( ) arrows to choose the desired pin,
in this case the Input pin. Confirm with the OK button. The blocks 01 01
have been connected!

In OS

Use the ( ) arrow twice to move right until the OS output pin is flash-
ing (picture). Enter the “+” key to add a block. There is no need to
enter the AddFB mode because O01 will appear on the list of blocks 01
to add. Use the ( ) and ( ) arrows to scroll to O01, choose with the
OK key, and then confirm with the OK key.
OS

GB-36
PHARAO – Device Programming Handbook Lets Make a Program 7

7.3.2 Scroll through the Function Blocks by Number


(Section 4.6.1 on page 18)
When the Output has been connected, move one space to the right
so that the Output number “01” is flashing. Use the “+” key to scroll
through to Input I02. (You will scroll through the Outputs, Keys, M B 01 01
bits, and finally get to the Inputs).

Move to the right one space so that the output pin is flashing. Con- Out
nect I02 to the OR block, (the same procedure as connecting I01 to
the One Shot Block). The input pins for the OR Block are equiva- GB
lent so that any input pin can be chosen. [The key sequence for the
OR Block addition is OK, scroll to AddFB, OK, scroll to OR, OK, OK].

Move right until the OR output pin is flashing. Connect Output O03
in the same manner that O01 was added. [The key sequence will be
OK, scroll to O03, OK, OK]. 02 03
I
With the OR output pin still flashing (see diagram at right), press the
“+” key again. The output pin of the OR block can be connected to OR Ou t
another location.

Scroll to “B01OS” and enter OK. The OR block and the OS block
can now be connected through the Clear pin (picture). Since the OS
Input pin on top has already been filled, there can be no further con- Con n ec t
nection to that pin.
=C
OR OS

Press OK to accept the connection to the “C”, or Clear pin.

02 01

=C
OR OS

7.3.3 Use the Jump Command


(Section 4.6.3 on page 18)
Press the ESC key to enter the Edit Menu. Enter the Jump option.
Use the ( ) key to move to the I column. Use the “+” key to move to E d i t Me n u
I03 and accept with the OK key. Input I03 should now be shown on Pr ogSi ze
the LCD. J u mp
Ne w FB
Connect to the OR block [( ), “+”, scroll to B02OR (it should not be Exi t
necessary to move in this case), OK, OK]. Mn e mo n i c

GB-37
PHARAO – Device Programming Handbook Lets Make a Program 7

7.3.4 Use the NewFB command


(Section 4.4.1 on page 16)
Use the ESC key to enter the Edit Menu again. This time enter the
New FB option. Scroll to the Set/Reset FB and select with the OK
button. The SR diagram should now appear on the LCD. 03

SR

GB
7.3.5 Connect the Function Blocks from Right to Left
(Section 4.2.2 on page 15)
Move to the left until one of the two input pins is flashing. The top
pin is the Set pin which will be connected to the OS block. The
Reset pin on bottom will be connected to the OR block. K08 03
Move to the Set pin and type “+”; the available blocks to add will be B 0 1 OS - S
shown on the left of the screen. Scroll down through the choices B 0 2 OR
until B01OS is shown (picture). Use the OK to choose the block, Co nne c t
then the OK key again to confirm the choice.

Use the ( ) arrow to move down to the Reset pin. Connect the OR block using the same pro-
cedure. [“+”, scroll ( ) to B02OR, OK, OK]

Move to the SR output pin and connect Output O02 using the Left to
Right method of connecting blocks. [( ), ( ), “+”, scroll to O02, OK,
OK]. B 01 03
B 02 O0 2
Move back to the left one space. The following diagram should now
be showing on the LCD. SR

GB-38
PHARAO – Device Programming Handbook Lets Make a Program 7

7.4 Set up the Function Block Parameters


(Section 4.5.1 on page 17)
The options for the Function Blocks now need to be Set.
Move left until the SR Function Block number (03) is flashing.
Press OK to enter the FB Edit Menu and OK again to enter the
Setup FB option. Choose the Reset option and enter the data into B 03: SR
program memory with the OK button. Pr i or i t y
This is the only option in the SR Function Block. Use the ESC key Set
to return to the Function Block Diagram board. Res et GB
The OR Block, like all the Logic Blocks, does not have any parame-
ters that can or need to be set.

Proceed to the One Shot Function Block. Use either the Jump command, trace the path
through the Set pin, or simply press the “+” key to scroll through the Function Blocks. Enter
the Setup FB option. (When the One Shot Function Block number (01) is flashing, press the
OK key twice).
There are two option screens to be set.

Enter the OneShot option with the OK button. B 0 1 : OS


On e Sh o t
Pr i or i t y

The One Shot screen has two timers that can be set. The “T” timer
is the Set Time for the One Shot block Output signal.
The t timer is the elapsed time or actual time the OneShot has been B 01: OS
ON. If a value is input for t, the first time the One Shot block is acti- OneShot
vated it will begin timing from the input value. T= 0.0 s
t= 0.0 s

Use the “+” button to raise the T timer to 20 seconds. Move down to
the t timer and raise the value to 5.0 seconds. The OK button will
accept the data for the entire screen. If the OK button is pressed B 01: OS
before all the data on the screen is input, re-enter the screen and OneShot
input the data. Data can be changed or edited in the same manner. T= 20.0 s
t= 5.0 s

Move down to the Priority screen. The Priority can be set for either
Time or Input. Move to the Time input and accept with the OK key.
All the screen data has been set. Return to the Fbd board by using B 0 1 : OS
the ESC key. Pr i or i t y
T i me
I nput

GB-39
PHARAO – Device Programming Handbook Lets Make a Program 7

7.5 Exit the Function Block Diagram board


The programming is complete. To exit the Fbd, press the ESC key to bring up the Edit Menu.
Scroll to the Exit option and enter OK to move to the Stop Mode Menu.

GB

GB-40
PHARAO – Device Programming Handbook

Index

! Movement between . . . . . . . . . . . . . . . 18
**** . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
H
A Hour Meter . . . . . . . . . . . . . . . . . . . . . . . . . . 34
AddFB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
ALT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 I
AND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Image Table . . . . . . . . . . . . . . . . . . . . . . . . . 12
Information flow . . . . . . . . . . . . . . . . . . . . . . . 13 GB
B Input Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Base of function Block Diagram . . . . . . . . . . . 3 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Block Items . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Block number . . . . . . . . . . . . . . . . . . . . . . . . 12 J
Boolean . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Jump . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10, 18
Jump Command . . . . . . . . . . . . . . . . . . 18
C
Change Function Block Number . . . . . . . . . . 10 L
ClockSet . . . . . . . . . . . . . . . . . . . . . . . . . . . 8, 9 LANGUAGE . . . . . . . . . . . . . . . . . . . . . . . . 8, 9
COMPARE . . . . . . . . . . . . . . . . . . . . . . . . . . 31 LCD
Connected Blocks . . . . . . . . . . . . . . . . . . . . . 13 Display . . . . . . . . . . . . . . . . . . . . . . . . . 12
COUNTER . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Function . . . . . . . . . . . . . . . . . . . . . . . . 12
CPU Version . . . . . . . . . . . . . . . . . . . . . . . . . . 8 List
Input configuration . . . . . . . . . . . . . . . . . 8
D Output configuration . . . . . . . . . . . . . . . . 8
Date Type . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Logic
DELAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Function Blocks . . . . . . . . . . . . . . . . . . 21
Delete Function Block . . . . . . . . . . . . . . . . . . 10
DISPLAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 M
Menu Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
E Menu options . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Edit Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Mnemonic . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
EU Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 ModemInit . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
F Monitor Mode . . . . . . . . . . . . . . . . . . . . . . . . 20
Fbd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
First Time Switch . . . . . . . . . . . . . . . . . . . . . 28 N
FLICKER . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 NAND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Front Panel Keys . . . . . . . . . . . . . . . . . . . . . . 4 New FB . . . . . . . . . . . . . . . . . . . . . . . . . . 10, 16
Function Block . . . . . . . . . . . . . . . . . . . . . . . . 3 NOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Function Block Diagram NOT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Base . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Function Block Diagrams . . . . . . . . . . . . . . . 13 O
Function Block Types . . . . . . . . . . . . . . . . . . . 4 OFFSET . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Function Blocks . . . . . . . . . . . . . . . . . . . . . . 12 ONE SHOT . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Availability . . . . . . . . . . . . . . . . . . . . . . 14 OR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Change No. . . . . . . . . . . . . . . . . . . . . . 17 Output Blocks . . . . . . . . . . . . . . . . . . . . . . . . 13
Connecting . . . . . . . . . . . . . . . . . . . . . 15 Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Creating . . . . . . . . . . . . . . . . . . . . . . . . 16
Delete . . . . . . . . . . . . . . . . . . . . . . . . . 17 P
Disconnect . . . . . . . . . . . . . . . . . . . 14, 16 Password . . . . . . . . . . . . . . . . . . . . . . . . . 8, 11
Editing . . . . . . . . . . . . . . . . . . . . . . . . . 17 Programming

GB-41
PHARAO – Device Programming Handbook

Direct . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Delete . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Programming Methods . . . . . . . . . . . . . . . . . . 5 Edit . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
PULSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Enter . . . . . . . . . . . . . . . . . . . . . . . . . . 29
enter . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
R for the Date operation . . . . . . . . . . . . . 28
Real Time Clock . . . . . . . . . . . . . . . . . . . . 8, 11 for the Weekly operation . . . . . . . . . . . 29
RESET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 TimeSW . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
RUN Top Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
U GB
S UK Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Schmitt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 UP/DOWN COUNTER . . . . . . . . . . . . . . . . . 30
Schmitt Trigger . . . . . . . . . . . . . . . . . . . . . . . 33 US Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
SET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 X
Summertime . . . . . . . . . . . . . . . . . . . . . . . 8, 11 XOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

T Z
Time Switch ZONE COMPARE . . . . . . . . . . . . . . . . . . . . . 33

GB-42
PHARAO – Device Programming Handbook

Sales and outlet addresses


Denmark: Sweden:
BENNIKE + WANDER A/S GYCOM Automation AB
Hændværkerbyen 57, 2670 Greve Box 1203, 18312 Täby
Tel.: 02/4 39 080 00, Fax: 4 36 900 90 Tel.: 468/5 62 01 100, Fax: 468/7 92 06 54

Great Britain: Finland:


TIMEGUARD LTD. SÄHKÖPALVELU THEBEN OY
Apsley Way, Waterloo Rd.; London NW2 7UR Vattuniemenkatu 17,PL 114, 00210 Helsinki
Tel.: 0181/4 50 89 44; Fax: 0181/4 52 51 43 Tel.: 090/67 06 70, Fax: 090/67 04 10
GB
Norway:
GYLLING TEKNIKK A/S
Rudsletta 91, P.O. Box 103, 1351 Rud
Tel.: 067/13 61 70, Fax: 067/13 87 85

Netherlands:
ITHO B.V., P.O.
Box 21, 3100 AA Shiedam
Tel.: 010/4 27 85 00, Fax: 010/4 36 33 72

Portugal:
DUARTE NEVES LTDA.
Apartado 4075, 1502 Lisboa
Tel.: 011/71 55 87, 011/7 15 57 10, Fax: 011/7 16 07 48

GB-43

You might also like