Vous êtes sur la page 1sur 168

CH 28/02/2008

Iss 1.13
Copyright:
2008 Trend Control Systems Limited,
Horsham, West Sussex, U.K.

All rights reserved. These training notes contain


confidential and proprietary information which is
protected by copyright. No part of these training
course notes may be reproduced, transcribed, stored
in a retrieval system, translated into any language, or
transmitted in any form whatsoever without the prior
written permission of Trend Control Systems Limited.

Please note that whilst every care is taken in the


preparation of these notes the definitive source of
information remains the appropriate technical
publication: datasheet, installation instruction or
product manual.

Trend Control Systems Limited reserves the right to


revise this publication from time to time and make
changes to the content hereof without obligation to
notify any person of such changes.

SET Comms Iss 1.13 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 0 - Page 3 of 12
Company Profile

Trend is one of the worlds leading Building Management Systems manufacturers,


with a worldwide distribution and support network covering over 50 countries. Its
fully integrated control solutions are able to meet the most complex requirements of
modern buildings.
Founded in 1980, Trend has undergone rapid and consistent growth, achieving turnover
in excess of $90m in 2006 (product supply). Trend is a BSI registered company,
complying with the requirements of BS EN ISO 9001: 2000. This quality assurance
standard covers the sales, marketing, design, manufacture and support of Building
Management Systems. Through close control and monitoring of heating, ventilation,
air conditioning and other building services, Trend systems are able to minimise
energy consumption and maintain consistently comfortable conditions as well as
bringing other key benefits such as lower plant maintenance costs.
Systems are to be found in virtually every type of non-residential building, from
schools, hospitals and leisure centres to office blocks, shops and factories. Suitable
for the largest building complexes and multi-site applications, they are still cost-
effective even in very small premises.
Trend control systems are supplied, engineered and commissioned by approved
systems integrators. A significant number of these specialist controls companies have
qualified as Trend Technology Centres, a status they have achieved by demonstrating
they can meet defined high standards of workmanship, contract management,
documentation and quality control. All are subject to regular audit to ensure these
standards are being maintained.
Trend understands that every business has unique requirements, so our philosophy of
service in the UK is to offer flexibility and choice through a range of tailored Service
Level Agreements (SLAs). Supported 24/7 by a nationwide network of skilled
engineers, we offer a range of services which are available to both installers and end
users and cover both Trend and other manufactured systems. Furthermore, the ongoing
monitoring of energy consumption and environmental conditions optimizes plant
operation and reduces associated energy costs whilst ensuring that comfort conditions
are maintained. The Trend package of advanced products, specialist services and a
tried and tested route to market, not only provides systems that are fit for purpose but
also ensures lowest lifetime costs.
For more information please visit www.trend-controls.com

SET Comms Iss 1.13 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 0 - Page 5 of 12
Major Clients

Retail Sector Health Sector


- J.Sainsbury - Leeds General Infirmary
- Superdrug - Great Ormond St. Hospital
- B&Q - King Edward VII, Sheffield
- Asda/Walmart - The London Hospital
- W.H.Smith - St. Bartholomews Hospital
- BHS - Royal Marsden Hospital
- Metro Centre, Gateshead - Derriford Hospital
- Morrison/Safeway - St. Georges Hospital
- Netto - Whittington Hospital
- Princess Royal Hospital
- City Hospitals, Sunderland
Hotel Sector Commercial Sector
- Marriott Hotels - Abbey National
- The Ritz - National Westminster Bank
- The Savoy - Land Securities
- Mandarin Oriental Hotels - Prudential Insurance
- Raddisson Hotels - British Airways
- Union Bank of Switzerland
- Royal Bank of Scotland
- Lloyds/TSB

Industrial Sector Public Sector


- Rolls Royce - The Post Office
- Proctor & Gamble - British Library
- Unilever - BBC
- Hewlett Packard - BAA
- B.P - Dorset County Council
- Kodak - Southampton University
- Leeds University
- University College, London
- Kings College, London
- Imperial College
FM/EMSco Sector - University of Hertfordshire
- Dalkia - Palace of Westminster
- London Eye
- Imperial War Museum
- National Gallery, London

Pharmaceutical Sector Public (PFI Sector)


- GSK - Jarvis
- Pfizer - Interserve
- Wyeth - Kajima
- Group 4 Global Solutions
- HBG
- AWG

Section 0 - Page 6 of 10 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.13
This page is intentionally blank

Section 0 - Page 10 of 10 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.13
Section 1 - ToolSET Introduction

Aims and Objectives

Aims: To introduce and demonstrate:-


1. ToolSET - the container program.
2. The ToolSET window.
2. How to use System View in ToolSET.
3. The concept of a Trend Universal Address
(TUA).

Objectives: By the end of the section you will be


able to :-
1. Set up a TUA to connect to a local site.
2. Use System View in SET to map networks
and enter configuration.
3. Use System View to display a graph or chart
a sensor value.

SET Comms Iss 1.07 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 1 - Page 1 of 18
Overview Of Training Room Network

13 12 13
IQ OK
Tx Rx
12 Tx
OK

Rx
IQ

1
2
4
8
16
32
64
19K2
9K6
1K2

1
2
4
8
16
32
64
K2
K6
K2
19
9
1
1 2 3 4 5
24V
6 2 4 V 7 8 2 4 V 9 102 4 V 11
230 V
AC AC AC

24V 23 0 V

14
1 2 3 4 5 6 2 C
A 4 V 7 8 2
A4CV 9 10 2
4 V
C
A 11

14 1 2 3 4 5 6 78 9 10

11
1 2 34 5 6 78 9 10

IQ
OK
11 IQ
LAN 20 LAN 21
Tx Rx
OK

x
T Rx

1
2
4
8
16
32
64
19K2
9K6
1K2

1
2
4
8
16
32
64
9K2
9K6
1K2
1
1 2 3 4 5
24V
6
2 4 V
7 8
2 4 V
9 10
2 4 V
11
23 0 V
AC AC AC

1 2 3 4 5
24V
2 4 V 2 4 V 2 4 V
23 0 V
6 7 8 9 10 1
AC AC AC

1 2 3 45 6 7 8 910

1 2 3 45 6 7 8 910

INC INC
OK OK

TX RX TX RX
L AN LAN OK OK

TX RX TX RX
L AN L AN
1 23 4 5 6 78 9 10 1 2345678 910

1 2 3 4 5 6 7 8 9 1
0
123456 789 1
0

I/N

INC INC
OK OK
OK OK
TX RX TX RX
TX RX TX RX L AN LAN
L AN L AN

1 23 4 5 6 7 8 9 10 12 34
5 6789 10
1 2 3 4 5 67 8 9 10 1234567 8910

IQ LAN 22 LAN 23 IQ
OK

Tx Rx

11 11
OK

Tx Rx
1
2
4
8
16
32
64
19K2
9K6
1K2

1 2 3 45 6 7 8 910
1 2 3 4 5 6 7 8 9 1
0
1
2
4
8
16
32
64
19K2
9K6
1K2

1 2 3 4 5
24V
6 2 4 V 7 8 2 4 V 9 10 4 V
2 11
23 0 V
AC AC C
A

1 2 3 4 5
24V
6
2 4 V
7 8
2 4
V
9 10
2 4 V
11
230 V
AC AC AC

14 14
IQ IQ
x
T
OK
Rx

12 12 OK

Tx Rx
1
2
4
8
16
32
64
19K2
9K6
1K2
1
2
4
8
16
32
64
19K2
9K6
1K2

24V 2 4 V 2 4 V 2 4 V 23 0 V
1 2 3 4 5
24V
6 4 V
2 7 2 4 V 2 4 V
23 0 V 1 2 3 4 5 6
AC
7 8
AC
9 10
AC
11
8 9 10 1
C
A AC AC

1 2 34 5 6 7 89 10
12 3 4 56 7 8 9 10

13 13

SET Comms Iss 1.07 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 1 - Page 3 of 18
The ToolSET Display

System View - Site file SET - Project


or live site options option

ToolSET - A container program which houses the software


tools (applets) needed to engineer and maintain a Trend
system.
There are two main areas of ToolSET:
1) SET - The component used to design controller
strategies.
2) System View - An engineering navigator used to learn a
site. From here an Engineer can access controller data or
launch a number of tasks e.g. config, upload or download.
ToolSet contains other applets, such as iP Tool and Iql
Tool2.
Section 1 - Page 4 of 18 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.07
Starting A ToolSET Session

Run up ToolSET, and choose what type of session to run : -

System View - network


access for multiple upload
and download. Either create
a site file to save site data
or use live site for quick
access.

SET Project - create


controller strategy data
files and documentation.

Import/Export Zip - for


archivng and transferring
projects between PCs.

The site file option can be used to access and back up the
controllers. However this site file will be stand alone.
If you intend to develop strategy files at any point, choose
the SET Project option, this will automatically link the
project to the system view.

SET Comms Iss 1.07 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 1 - Page 5 of 18
The System View Explained

If the System View window is not displayed you can toggle


it on/off by clicking on either

Device Finder - Enter a LAN and


Edit Comms address then click find.
Connection
Show/Hide -
Action Click here to
Launcher - hide the top
You can part of the
launch tasks system view.
from here
instead of
using tree
below.
Select the
action then Manual Refresh Buttons -
click Go. These can be used to
manually refresh any system
view data, however the auto
Auto Refresh refresh needs to be disabled.

Section 1 - Page 6 of 18 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.07
Site Connection - The Trend Universal Address
To perform any engineering function on a Trend system you
need to connect to either the Trend network or a device.
ToolSET must have its connection details configured.
Typical connection methods are:

1) Direct 3) Direct to Virtual CNC

Trend LAN
VCNC

2) Direct to
hardware CNC

4) To a TMN Modem
TMN
OK

TX RX
LAN

1 2 3 4 5 6 7 8 9 10

TMN Trend LAN


OK

TX RX
LAN

1 2 3 4 5 6 7 8 910

5) Software modem To a TMN Modem

The Trend Universal Address (TUA):


The TUA is a text string that specifies the connection path
from your PC to an item in a Trend System.
SET Comms Iss 1.07 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 1 - Page 7 of 18
Site Connection Details
The route to the 'Site Connections' dialogue depends on
the ToolSET session selected, A B or C:

A) 'SET Project'

Display System View -

Select 'Edit Site Details' -

B) 'Site File'

Enter Project Name:

C) 'Live Site'

The current connection details are shown.


Click the 'Edit Connection Details' button to
Customise or use a Standard Connection.
Section 1 - Page 8 of 18 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.07
Site Connection Local - TUA
All three connection methods shown below use a simple
TUA. Specify the Com port number and baud rate.

TUA

1) Direct 3) Direct to Virtual CNC

Trend LAN
VCNC

2) Direct to
hardware CNC

This is the commonest connection method, and is installed


by SET as the default.
SET Comms Iss 1.07 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 1 - Page 9 of 18
Site Connection Modem - TUA
Using a modem connection involves specifying the phone
number and possibly the LAN number to which you are
connecting.

TUA

Software ANC
TMN Trend LAN
OK

TX RX
LAN

1 2 3 4 5 6 7 8 9 10

and conventional
PC modem

For additional information on using a SANC refer to


Dr TechniCare Document ID - LTPLKJ, this is in the
appendix to these notes.

Section 1 - Page 10 of 18 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.07
Exercise - Learning the site 10 minutes
This exercise will demonstrate how to access the System View, map the network and
access config.

1. Click on the SET icon and run up ToolSET, when run up select 'Live Site', this
will enable us to map the network quickly without having to create a project.

2. Check that your comms connections are set to : -


Serial 9600 baud COM port 1

3. To learn the site make sure that the auto refresh button is on (green).

4. Then click on the new site icon.

5. This will learn the next layer of the


system architecture.

6. Click on internetwork to learn the other


LANs

Click on local lan to learn the contents


of the lan you are connected to.

Continued...

SET Comms Iss 1.07 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 1 - Page 11 of 18
Exercise - continued
A number of tasks can be performed from within the system view. The easiest way to
launch a task is to right click on an object in the navigation window of the system view.

7. Locate the IQ223 controller on your


desk, it will be address 13 or 14. Right
click on the controller which will
display a popup menu showing a list of
options. These tasks are often run as
applet windows within ToolSet and are
enabled or disabled depending on the
user who is logged on at the time.

Select 'Config Session....'

You should notice that a config window is shown on the right hand side of the display.
Use config to check that the controllers time clock is OK. Type your configuration
commands in the box at the bottom of the display.

8. Click on Options and


enable both of these
options.

9.Exit from configuration


mode in your controller.

Section 1 - Page 12 of 18 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.07
How To Use System View
1. Select the required
controller, LAN or site.

2. Right click on item


3. From the popup menu
select the task you wish to
run.
Note: Many of these options
listed in the menu bar run
applets within ToolSET for
config, text comms, upload
and download.
Not all applets are installed as
standard. Some applets need
to be downloaded from PNET
if required, for example the
OPC Server.
4. Click on the + next to a
controller to reveal a list of
strategy module types.
5. Click on the + next to a
module to reveal the
individual modules.
6. Click on the + next to a
specific module to reveal
its parameters.

SET Comms Iss 1.07 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 1 - Page 13 of 18
Exercise - Exploring the network 20 minutes
In this exercise we will create a new SET Project. There are two reasons for creating a
project and not using the live site option. First, we want to ensure the strategy project
we will be working on later is linked to the system view. Second, to ensure the site
backup files, we will be taking later, are stored within our project.
The exercise is designed to demonstrate how information is displayed in the system
view, this may prove useful to help identify network faults.
1. From the File menu in ToolSET select the 'Open / New Project' option. When
asked 'Do you wish to save the site' select NO. Now, from the options window
select 'Create New SET Project' then click OK.
2. Use the following details for this site:
Project Name: SET Comms Course
Project number: 654321
Later we will use this project to reverse engineer some strategies from our
controllers.
3. If the system view navigator is not already visible. Click the system view icon .
4. Check the site connection details are set to Com port 1 @ 9600.
5. When the system view is displayed
you should be able to learn your site.
Click on the auto refresh button (this
must be green), then click on the Site
icon to reveal the lans, then click on the
lan icons to learn the devices.
Now we are going to create a couple of
problems on the network to see what
happens in system view.
6. In co-operation with your neighbour,
disconnect the power supply to one of the controllers on your desk and check the
system view by refreshing your lan (right click on the lan icon and select Refresh).
Note the controller is now displayed with an X through it. Reconnect the power
supply and check that the system view updates, right click the lan and select
refresh.
7. Set both the IQ223 controllers on your LAN to address 13, then refresh your
lan, note what happens?
8. Right click your lan and delete it, then refresh the site, what do you notice this
time with the duplicate addressed controllers?
Continued...

Section 1 - Page 14 of 18 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.07
Exercise - continued
9. Return the controllers to the correct addresses and refresh your LAN again.
Check to make sure the network is OK.

System View hints and tips read carefully:

i) The System View does not auto refresh by itself. However, if you have the
'Toggle Auto Refresh' button selected (coloured green) then anything you click in
the tree is refreshed.

ii) The System View Icons:


Icon Comments

SET is displaying previously learnt data. The site requires refreshing to


confirm the devices are still present. Note: When SET closes it prompts
you to save the site data, the data saved is the System View tree, this
can then be used as a comparison the next time the site is visited. How
much data is saved can be configured 'ToolSET Options' option in the
'Tools 'menu.

Represents a device, which was learnt, but is now missing. For example,
you learnt the network, a device has powered down and you have then
refreshed the network.

SET cannot identify the device at this address. This may indicate a faulty
device or two devices having the same address.

iii) If two devices on the lan have the same address you won't be able to
communicate with either of them, but you will be able to see the address (as
in the table above). You will be able to communicate with all the other
devices on the lan.

iv) If your PC has the same address as another device on the lan you won't be
able to communicate with anything. This is a common problem when
engineers enable a virtual CNC in order to view a lan, as it is easy to pick an
address that has already been used. The solution is to disconnect the
controller from the rest of the lan, then you will be able to change the VCNC
address. Try a high number address (>110) as these are generally used less
frequently.

Continued...

SET Comms Iss 1.07 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 1 - Page 15 of 18
Exercise - continued

10. Now display a graph. In the system


view select the IQ223 on your desk and
then select sensors, you may need to
right click on the sensor and select
refresh. Wait until all the sensor labels
have been collected.

Right click on a sensor (try sensor 1)


and from the popup menu select 'Graph'.

You will be asked to specify a plotting


interval from those available in the
controller.

11. If you wanted to add a second trace to the graph, right click on another sensor,
choose graph, a window will ask you 'Use existing window?' click on yes. Up to
eight traces can be displayed together.

12. A quick tour of the Graph buttons.

Help

Edit Y axis range

Copy to clipboard

Print

Set chart interval

Edit trace colours

Continued...

Section 1 - Page 16 of 18 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.07
Exercise - continued
13. On the right hand side of the graph display are a number of options.

To remove a trace from the graph display click


on the drop down button , click on the trace
label, then click on Remove.

There is a reveal button, this is used to toggle


on/off a text table listing the values that make
up the trace selected at the top.

Use the save button to export the data as a


comma seperated variable (CSV) format text
file. Try saving the graph as My IQ Sensor
1.txt in the C:\Set Projects\SET Comms Course
directory.

Finally, close the graph window.

14.To display a chart you will need


to reveal the parameters for a sensor,
this also works on other modules
such as knobs, drivers, nodes etc.
Select sensor 1 in the system view
and locate the value, then right click
on the value and select Chart.

Close down any graph or charts that


are open.

SET Comms Iss 1.07 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 1 - Page 17 of 18
This page is intentionally blank

Section 1 - Page 18 of 18 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.07
Section 2 - Uploading And Downloading
Aims and Objectives

Aims:
1. To use ToolSET to upload and download
controller data files.

Objectives: By the end of this section you will


be able to:
1. Choose an appropriate method to upload
and download data to a single controller.
2. Use the Transfer list window to upload and
download to multiple controllers.

SET Comms Iss 1.06 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 2 - Page 1 of 10
Exercise - Upload and download 10 minutes
This exercise will explain how ToolSET handles controller strategy files. You will
upload an IQF file from a controller and then locate the file using Windows Explorer.

1. Upload an .IQF file for the IQ223 controller on your desk, be careful not to clash
with your neighbour and upload from the same controller.

Locate the IQ223 in System View


and right click on the controller,
from the popup menu select 'Get
IQF From Device'.

Note: The upload window has an


option box to set the device pin. If
the controller is protected you will
require a Pin level of 85 or more to
upload and 95 to download.

2. Repeat the process for the remaining three controllers on your LAN. You will
have to do this one at a time, check with your neighbour that you don't both try to
upload from the same controller at the same time.

3. Locate the files you have backed up. To do this Open My Computer or Windows
Explorer and navigate your way to C:\Set Projects\SET Comms Course. When a
Site File or a Project is created in ToolSET a sub-directory is created in - C:\Set
Projects\<Project Name>.

You will find some sub-directories in the project directory. Open the 'Upload'
directory and you will find the files you have uploaded. There may be files with a
.bak extension these are previous backup files for the same controller.

Continued...

Section 2 - Page 2 of 10 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.06
Exercise - continued
4. Next, download one strategy back
into the controller.

The 'Download' folder contains


strategy files created in the SET
project, whilst 'Upload' contains
datafiles that have been uploaded
using system view. Therefore, when
you select 'Send IQF to Device' the
download window defaults to
looking in the download directory.

6. From the System View


Navigator locate the IQ223
and then right click on it,
from the popup menu select
'Send IQF to Device'.

Click on 'Change' to browse


and navigate to a different
directory.

Select the Upload folder for


your project.

Locate the file you


uploaded earlier and
click it to highlight,
then click on 'Open'
and download the file.

SET Comms Iss 1.06 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 2 - Page 3 of 10
Multiple File Transfer - Upload
The file transfer window is intended to be used when a
number of files need to be transferred, such as for a lan or
site backup.

1) Add devices to list by


right clicking on the lan
or individual Controllers
in System View.

6) Launch the task.

5) Configure
security settings.
level 85 user for
upload.

4) View files currently


in upload directory.
2) Devices are added
to the list. You must
highlight devices to
upload. 3) Specify the
upload directory.

Note: You can save the


device list for use next time.

Section 2 - Page 4 of 10 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.06
Multiple File Transfer - Download
5) Start the download.

4) Configure
security settings.
L95 user for
2) Specify the file download.
directory. Where
files to download
are stored.

1) Highlight devices
to receive download. 3) Select files to download.

For the files to download automatically to the correct


controller, they must be labelled as follows:
L<LAN No>n<Outstation address>.<File ext>

The progress of both uploading and downloading can be


monitored in the four windows on the right.

SET Comms Iss 1.06 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 2 - Page 5 of 10
Exercise - continued

ii). Choose IQ2 from the file


list. This shows a list of the
files of that type that are
already saved in the project
directory.
iii). If required you can specify
a directory location where
to upload the files or
download from. Make sure
that the directory specified
is C:\SET Projects\SET
Comms Course\Upload

iv). For IQ3s only add user


and password

Set up a pin if required,


this must be level 95 or
greater.

v). Click the Upload button.

Continued...

SET Comms Iss 1.06 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 2 - Page 7 of 10
Exercise - continued

4. When the upload is complete check that the files have been saved in the correct
directory.

5. Delete the uploads we performed earlier with the correct reference. Rename
your files you have just uploaded, as appropriate to reflect your home lan.

Section 2 - Page 8 of 10 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.06
Exercise - Multiple uploading and downloading
This exercise will demonstrate how to create a transfer list, that is a list of the
controllers for upload or download, and then show the different options for initiating the
task.

1. Working on your lan only, negotiate with your neighbour who is going to go first.

2. We are going to upload IQ2 files from all the controllers on your lan. We will use
these later for reverse engineering.

The first step is to create the


transfer list. Right click on
your lan and select Add to
Transfer list, this should add
all the devices on your lan
to the transfer list

It is also possible to right


click on individual
controllers and add them
to this list.

3. Follow these steps to upload IQ2 files for the controllers on your lan
i). Check that all the required
controllers are selected. Click
on Select All.

Continued...

Section 2 - Page 6 of 10 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.06
File Used by: For: IQ 2 Notepad Default File Name Notes:
Extension: Upload Download Compare Firmware readable Format:
<lan><add>.SCN Strategy Browser only works on
.SCN Strategy Browser <2.0
e.g. 0000024.SCN pre version 2 controllers.
L<lan>N<add>.SCN

SET Comms Iss 1.06


SET <2.0
e.g. L000N024.SCN
PowerTool <2.0 L<lan>N<add>.SCN
<lan><add>.LDF
.LDF 822 ToolBox <2.0
e.g. 000024.LDF
L<lan>N<add>.LDF
SET <2.0
e.g. L000N024.LDF
L<lan>N<add>.LDF
PowerTool <2.0
e.g. L000N024.LDF
<lan><add>.IQF Hex memory dump
.IQF 822 ToolBox <2.0
e.g. 000024.IQF
Updown <2.0 You type file name Hex memory dump
L<lan>N<add>.IQF Hex memory dump
PowerTool <2.0
e.g. L000N024.IQF
<lan><add>.IQF Hex memory dump
Wupdn <2.0
e.g. 000024.IQF
<lan><add>.IQF
.IQF(text)# 822 ToolBox =>2.1
e.g. 000024.IQF
You type the file
Updown =>2.1
name
L<lan>N<add>.IQ2 * Set does not create the file it
SET * =>2.1
e.g. L000N024.IQ2 uses it. Rename to IQ2
<lan><add>.IQF
Wupdn =>2.1
e.g. 000024.IQF

2008 Trend Control Systems Limited, Horsham, West Sussex, U.K.


L<lan>N<add>.IQ2
.IQ2# SET =>2.1
e.g. L000N024.IQ2
Controller File Names And Extensions

L<lan>N<add>.IQ2
PowerTool =>2.1
e.g. L000N024.IQ2
L<lan>N<add>.IQ3 IQ3.TXT files are text
IQ3 SET N/A IQ3 files e.g. L001N024.IQ3 equivalent of IQ3 file and are
readable.
Note: 1. Compare is used to update SET database after commissioning it can also be used to reverse engineer a controller.
2. # IQF and IQ2 are the same file structure, to use within a specific tool rename to default file name and extension as indicated.
3. SCN.DAT file available in SET v4 for support of XNC <2.1

Section 2 - Page 9 of 10
This page is intentionally blank

Section 2 - Page 10 of 10 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.06
Section 3 - SET Strategy
Aims and Objectives

Aims:
To cover the main aspects of SET project view
for software design and controller engineering.

Objectives: By the end of this section you will


be able to:
1. Add controllers to the SET project.
2. Add sensor types to a controller in SET.
3. Add modules to the SET screen and connect
them together.
4. Describe the use and purpose of connectives.

SET Comms Iss 1.06 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 3 - Page 1 of 20
SET Refresher - Desktop View

System Project navigator


view (live) Strategy page

Module
search Strategy page Strategy
box management library Toolbars
navigator

Section 3 - Page 2 of 20 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.06
SET Refresher - Project Navigator

Navigate Lans,
controllers and
strategy pages in
your project.

The project navigator allows you to create the Lans


and controllers that make up a project.
Use the navigator window to move between Lans,
controllers and strategy pages.
To reveal the navigator click the tab on the right
hand edge of the main window.
Double click a page in the navigator to display it.

SET Comms Iss 1.06 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 3 - Page 3 of 20
The Strategy Library

The Strategy Library allows a section of strategy which does


one small control function to be saved, documented and
indexed. The small piece of strategy is sometimes called a
macro and can be easily imported into other controllers.
Using the Strategy Library is covered on this course.

Section 3 - Page 4 of 20 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.06
Manipulating Windows In SET
The windows in SET can be pinned and docked.

Pinned. To pin a window click


the title bar pin so it points
down. The window will be
permanently visible.

Unpinned. To unpin a
window click the title bar
pin so it points sideways.
The window will now have a
tab and will appear only
when this is clicked. The
window will disappear if you
click in another window.

SET Comms Iss 1.06 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 3 - Page 5 of 20
Manipulating Windows In SET

Docked. The window is


fixed in position on one
side of the main
window.

To undock a window
simply grab the title bar
and drag it into the
main window.

Undocked. An undocked
window can be dragged
anywhere in the SET work
area.

When you drag the window to


the edge of the main desktop
these blue parking icons
appear, drop the cursor on one
of these icons to change the
window back to docked.
Section 3 - Page 6 of 20 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.06
Exercise - Set up a controller Duration = 10 minutes
1. In your SET project view right click on the project name and add your local
lan, giving it the correct lan number.

2. Right click on the LAN and from the 'Insert Device' menu option select
'Controller' then add controller 69 as shown:

i) The firmware informs SET what type and number of software modules you can
use with this controller. You can upgrade a controller at any time, however SET
will not allow you to change the firmware to an older version.
ii) The hardware option informs SET the exact I/O available for the chosen
controller type.
When finished click 'OK'.
Continued...

SET Comms Iss 1.06 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 3 - Page 7 of 20
Exercise - continued
3. When the Address module dialogue appears fill it in with these details.
Identifier Ravenclaw
Attribute F Lupin
Attribute G Training
Text Enabled
Alarm address 0 Remote LAN 0
Once complete click 'OK'.

4. Once the address module is configured, SET sets up the sensor types. All Trend
sensor types are built into SET, in addition custom sensor types can be added.

c
d
e
f

This section takes you through how to set up sensor types, don't set up any
yet.
First select which sensor type module to set up (1).
Most sensors have a fixed range, but in some older controllers you had to select
the range as well. Select the sensor part number and range if necessary (2).
Alternatively, select the 'Unique Sensor Reference' (3).
Finally, click 'Apply' to copy these settings to this sensor type (4).
The text settings are copied to the panel on the right and a graph of the sensor's
characteristics appears at the bottom left of the dialogue. The sensor type has
not been set up until this graph appears.
Continued...

Section 3 - Page 8 of 20 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.06
Exercise - continued
5. Now set up the following sensor types:
tYpe Sensor Range
1 Trend Thermistor -40 to +110C Type 5
2 T/314 -10 to +110C
Don't forget to click Apply for each sensor type,
click Exit when you have finished.

6. From IQ2xx controllers issue 2.0 the


characterise sensor type (type 5) replaces all the
older types and increases the accuracy with which
non-linear sensors are read.

The older sensor types are still provided so that


datafiles from older controllers can still be used
without modification. All new work should use
sensor type 5, characterise only as this allows
greater accuracy.

If you are working only with new controllers in the


Sensor Types window (as shown on the
previous page) click the 'Filter' button and
deselect sensor types 0 to 4. This will greatly reduce the number of choices in the
sensor choice boxes.

To edit the address module or sensor types once the controller has been
added, select the appropriate option from the Device menu when a strategy
page is displayed.

SET Comms Iss 1.06 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 3 - Page 9 of 20
Creating The Strategy And Page Control
To place a module, right click on the page and select the
module from the list of main types - or select the module
from a tool bar.

SET will allocate the next free


module and sequence step.

The module will appear on the screen with a hand cursor,


left click to drop the module on the page.

Normally located at the bottom of the screen the Pointer


Tool Bar can help with page control, and has tool tips.

Previous Add and Delete Page Go to


and next insert details any
page page

Section 3 - Page 10 of 20 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.06
Creating Links Between Modules
To make a link, click on a module destination, drag to a
module source and release.
Links will autoroute around modules.
Note: Only links between matching nodes are allowed, i.e.
Analogue nodes to analogue nodes.

10 11

0 E
F2 F3
102 0 E
0 G D 103
0 F
0 D
F 0
RSCL FR G
D=(G/100)(F-E)+E 0 H ADD
E+F +G+H

27

0,0 A L10
17
0 P Dev Sp t. 285,4
0 O F2D E F4
70 104
0 U 0 F D
D
0 L 0,0 B
GATE
0,0 S LOOP D = F when B = 1
1 Reschedule Time
5 Gain

Modules can be moved after the links have been made, but
the links will reroute.
If a group of modules is selected by dragging a box round
it and then the whole group is moved, the link routing
between modules is preserved.
Links which branch are shown with a dot.

SET Comms Iss 1.06 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 3 - Page 11 of 20
Editing Module Parameters
Double-click on a module to edit the internal parameters.
Every module in SET can have a label. These are not
downloaded to IQ1 and IQ2 series controllers, but using
them can make an engineers life easier when following a
strategy drawing. More later!

For a logic combination module click one of the E buttons


once to set 'E' and twice to set 'e'.
Click a third time to set the combination to 'nothing'.
Parameter edit boxes for other modules vary but are easy
to follow.

Section 3 - Page 12 of 20 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.06
Sensor Input Types

Analogue Input Sensor i.e. Any real sensor for variable


measurement.

10
Poly House Temp
Poly House Temp
S1 V 1
S1V S P1
PLOT
EXTERNAL 1 Sensor
DegC Units 1 Min Period
2 Type
110 High AlarmLimit
-40 LowAlarmLimit

Internal Analogue Sensor i.e. a sensor for monitoring/


plotting any analogue node inside the controller.
19
Average

V= 32 54 S9 9 Average
V
An analogue node 54 S S9V S P5
INTERNAL PLOT
9 Sensor
DegC Units
1 Min Period
3 Exponent

Internal analogue sensors allow operators to look at nodes


using the display panels, i.e. they want to monitor heating
or cooling demand from the DP.

Note:
As the IQ223 has eight inputs the first eight sensor
modules should be reserved for these. Internal sensors
should start from sensor 9.

IQ Engineering Iss 5.20 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 7 - Page 3 of 8
Sensor Input Types

Internal Digital Sensor i.e. a sensor for monitoring or


plotting any digital node inside the controller.

20
Sensor 10
Sensor 10
32,0 S10 V
10
Adigital node 32,0 S S10V S P6
PLOT
INT DIG 10 Sensor
Units 15 Min Period

Internal Digital Sensors allow operators to look at nodes


using the display panels, e.g. if frost status needs to be
checked or plotted.

Section 7 - Page 4 of 8 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. IQ Engineering Iss 5.20
Internal Sensors
Exercise
Previously we had set up a function module to calculate the average of our four real
sensors, it may be useful to display this on a display panel or even plot a graph of the
average:

1. Configure Sensor 19 as shown on page 7 of this section.

2. Set up the plotting channels as shown for each sensor.

3. Download the data file to your controller, use live values to check the average
temperature on sensor19.

4. Pull out S7 from the controller terminals.

5. What happens to the average if a sensor is shown as failed ?


......................................

6. We are now going to display a graph of sensor 1 using SET. Follow these
instructions:

7. Select the System View Icon or from the 'View' menu select 'System View'.
This area allows you to map the network you are connected to and ultimately display
a graph.

8. When the System View is displayed you should be able to learn your site. Right
click on the Site icon and select the 'Refresh' option, this will reveal the LANs, then
right click on the LAN to refresh the LAN to learn the devices.

Continued...

IQ Engineering Iss 5.20 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 7 - Page 5 of 8
9. Click on the auto refresh button (this must
be green) , to help refresh the controllers
modules. Select controller 24 and then select
sensors, wait until all the sensor labels have
been collected.

10. Right click on sensor 1 and from the


popup menu select 'Graph'. You will be asked
to specify a plotting interval from those
available in the controller.

Note: If you wanted to add a second trace to


the graph, right click on another sensor,
choose graph, a window will ask you 'Use
existing window?' click on yes. Up to eight
traces can be displayed together.

Help
Edit Y axis range

Copy to clipboard

Print
Set chart interval

Edit trace colours

Section 7 - Page 6 of 8 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. IQ Engineering Iss 5.20
10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250

180

170

160
10
Poly House Temp
S1
V 1
150
EXTERNAL Poly House Temp
DegC Units S1V S P1
2 Type PLOT

IQ Engineering Iss 5.20


140 110 High AlarmLimit
-40 LowAlarmLimit 1 Sensor
1 Sec Period

130
12
Contact sensor
S2 V 2
120
EXTERNAL Contact sensor
DegC Units S2V S P2
1 Type PLOT
110 110 High AlarmLimit 2 Sensor 18
-10 LowAlarmLimit
1 Sec Period 5
S1V E F1 Average

100 S19 19 Average


S2V F 101 V
16 D F1D S S19V S P5
External sesnor S6V G INTERNAL PLOT
DegC Units 19 Sensor
S6 S7V H 1 Sec Period
90 V 6 AVERAGE 3 Exponent

EXTERNAL External sesnor


DegC Units S6V S P3
80 2 Type PLOT
110 High AlarmLimit
6 Sensor
-40 LowAlarmLimit
1 Sec Period

70
17
Thermistor bead
S7 V 7
60
EXTERNAL Thermistor bead
DegC Units S7V S P4
2 Type PLOT
50 110 High AlarmLimit
7 Sensor
-40 LowAlarmLimit
1 Sec Period

40

2007 Trend Control Systems Limited, Horsham, West Sussex, U.K.


30

20

10

Drawing Reference Page Details Issue Revision Checked By Project Number: 123456 Date: 15/01/2007

Section 7 - Page 7 of 8
Set Strategy
SET-000-024-04 Average module D esigned By: Trend Training
0 - 01 Outstation: 024 Page: 04 of 05
Internal Sensors

Exercise Answers
Previously we have set up a function module to find the average of our four real
sensors, it may be useful to display this on a display panel or even plot a graph of the
average:

4. What happens to the average if a sensor is shown as failed?


Its value is removed from the equation.

Note: If all the sensors fail the average value freezes at the last good value.

Note: Module alarms:


4
Poly House Temp
S1
1
V

EXTERNAL
DegC Units
2 Type
40 High Alarm Limit
15 Low Alarm Limit

9
5 Average
Contact sensor S19 19
S2 V
2 F2D S
V
INTERNAL
EXTERNAL DegC Units
3 Exponent
DegC Units
1 Type 8
26 High Alarm Limit
16 Low Alarm Limit
S1V E
F2
S2V F 102
D
6 S6V G
External sesnor
S6 S7V H
6 AVERAGE
V

EXTERNAL
DegC Units
2
26
Type
High Alarm Limit
R O L H
15 Low Alarm Limit
alarM 0 1 1 0
7
Thermistor bead
S7
V
7 Node alarm information is
DegC
2
Units
Type
EXTERNAL
also transferred between
35
15
High Alarm Limit
Low Alarm Limit
modules for fail safe.
R O L H
alarM 0 1 1 0

Section 7 - Page 8 of 8 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. IQ Engineering Iss 5.20
What Are Connectives?
1. Connections between strategy pages, i.e.
2
Heating Loop Strategy
L1
W1V A Page 2
S1V P Dev Spt. 281,0
Strategy
0 O Page 3
61
0 U
D 3
0 L Heating Valve

20,5 LOOP D1 L 1
S
L1D 61
1 Fail Action A 0
Heating Loop L1D
1 Reschedule Time S 297,0
From Page 2
5 Gain R
Alarm
ANALOGUE M

2. Keeping a busy strategy drawing tidy 4


6
Return Air Temp
0,0 A L2
S2
2
V
S2V P Dev Spt. 281,4
EXTERNAL 0 O
DegC Units 62
0 U
D
0 L

0,0 S LOOP

0,0 A L3
S2V
Return Air Temp S2V P Dev Spt. 282,0
From Page 2
0 O
63
0 U
D
0 L

0,0 S LOOP

3. They can be used to connect modules to free or defined


nodes, i.e.
7
A series of Free or Defined
nodes have been used on W1V A L4

this Loop module's inputs S1V P Dev Spt. 282,4


49 K1V O
Default = 0
64
49 U
D
100 L
100
Default = 100 33,0 LOO P
S

33,0
Time bit sent from another controller

SET Comms Iss 1.06 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 3 - Page 13 of 20
10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250

180

170 Exercise
160 V=40 1. Fill in the references for the boxes and the missing sequence steps.
150

53
110

Section 1 - Page 16 of 22
Undefined[2] 2 3
Pump change over RM
140 D4 L 4
53 E
F10
A 0
100 F D F10D S 298,4 2 Relay Module Link set for R/L
130 G10D R
B
GATE Alarm Pump 1 (Lower relay) @ 4 volts
ANALOGU E M
D = F when B = 1 Pump 2 (Raise relay) @ 10 volts
Default = 100
120

110 Note: Digital inputs can be


100
sequenced if fast
sequencing is utilised. Used
100
predominately in old IQs.
1,2
90
Pump change over
I3
S 1
80
EXTERNAL I3V E
G10
J or
W5V F K or
L or D
70 0,0 G M
0,0 H
COMB
60 Manual change over E J Comb.
22,1
F K Comb.
W5 V

SW ITCH
50

18,4

2007 Trend Control Systems Limited, Horsham, West Sussex, U.K.


How it works....
40
The purpose of the strategy is to select between two pumps, controlled from the 2RM. It does
30
this by switching either 4V or 10V onto the 2RM from D4. D4 is set to analogue such that 100%
on its source gives 10V out and 0% in gives 0V out. F10, the gate, performs the switching
20
action, selecting either 40% (=4V) or 100% (=10V). F10 is in turn controlled from G10. G10 is
linked to digital input 3 (Input E) and to switch 5 (Input F). It will give a '1' out if either E=1 or F=1
10 (shown as E+F).

IQ Engineering Iss 5.1


Drawing Reference Page Details Set Strategy Issue Revision Checked By Project Number: 123456 Date: 18/02/2003
SET-000-025-03 Pump Changeover Strategy Designed By:
Trend Control Systems Limited
0 - 01 Outstation: 024 Page: 02 of 05
10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250
180

170
Inputs Run Sequence Safety
Manual overide
18,0
Maintain Temperature at The delays are being used for plant safety.
160
W1 V
setpoint, therefore use a
SWITCH Loop.
Outputs
150 10
S1V Heating Loop
Poly house temp
From Page 3 W1V A
L1
14 16

IQ Engineering Iss 5.20


140 12
S1V P Stage 1 Heating
Dev Spt. 281,0
Note: As Sensor 1 has already been G2 D2 L 2
K1V O F3
6 E
used if it is selected again it will be 61 143,0 21,1 A 0
K3V U
130 D L1D G D F3D S D G2D S 297,4
placed on screen as a connective.
Undef L R
8 F
HYST BAND Alarm
Z1,0 LOOP DIGITAL M
S TIMER
E=Level F=Band
120 0 Fail Action 120 Minimum On
5 Reschedule Time
20 Gain
Occupied setpoint 32 Default Value

110 K1 221
V
25
KNOB
DegC Units
40 Top of Range
100 0 Bottom of Range
15 17
13
Stage 2 Heating
Unoccupied Setpoint G3 D3 L 3
90 K2 222 30 E F4
V 21,2
10 144,0 A 0
L1D G D F4D S D G3D S 298,0
KNOB
DegC Units 40 R
F
80 40 Top of Range HYST BAND Alarm
DIGITAL M
0 Bottom of Range TIMER
E=Level F=Band
120 Minimum On

70 Manual Level
K3 V
223
New strategy for heating stage specification
50
KNOB
60 % Units
100 Top of Range 18
0 Bottom of Range
Heating Demand

50
S20 20 P20
V PLOT
L1D S
20 Sensor
INTERNAL 1 Sec Period
DegC Units
40 3 Exponent

2007 Trend Control Systems Limited, Horsham, West Sussex, U.K.


Startup / Shutdown A useful internal sensor has been
set up to show heating demand.
30 sequence
Poly Heating 13,0
Z1

20 TIME ZONE Startup and shutdown sequence is very simple,


0 3 6 9 12 15 18 21 24
MON
its just with occupancy.
TUE Note: Logic modules are utilised a lot for startup
WED
10 THU sequence. e.g. Flow AND occupancy OR frost to
FRI
SAT start plant.
SUN

Drawing Reference Page Details Set Strategy Issue Revision Checked By Project Number: 123456 Date: 19/02/2003

Section 14 - Page 13 of 16
SET-103-024-02 Sensor Loop & 2 Digital driver Designed By: Trend Control Systems Limited
0 - 01 Outstation: 024 Page: 02 of 05
Using Connectives
Connectives and default nodes are in - Right click on page -
Other - Connective

A large strategy will have


many connectives. Click
one of the filter buttons at
the bottom of the window
to reduce the size of the
list or search for a
connective using its label.

Once the main module is


highlighted associated
connectives are shown.

The window lists all the modules already used together


with the SET label. Double-click a connective to drop it
onto the page.
G1D 21,0
Five Second Pulse
From Page 2

Control + F will toggle full-screen mode which gives the


maximum desktop size when developing strategy.

Section 3 - Page 14 of 20 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.06
Undefined Connectives And To Connectives

An 'undefined connective' will place any node (used or not)


on the page. Use it to place free nodes and destination nodes
for IC comms from other controllers
93
Chiller flow temp IC Comms

Double-click a connective to edit its label.

A To Connective is a marker or flag attached to the source


module to show that its value is used on another page.
Maint Override
W1 18,0
0 V

SW ITCH

1
Space Temperature
S1
1
2
V Heating Loop

W1V A
L1
EXTERNAL
DegC Units S1V P Dev Spt. 281,0 L1D
K1V O
Heating Loop
Occ Setpoint 61 To Pages(s) 3,
0 U
221 D
K1 V
21 0 L
KNOB 20,5 LOOP
S
DegC Units
1 Fail Action
1 Reschedule Time
20,5
5 Gain
Default = 1

They are useful when fault finding and reading strategies,


as they indicate where the node is used.
SET Comms Iss 1.06 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 3 - Page 15 of 20
Title Page - Page 1
Company Address
details module

Trend Control Systems Limited


P.O.Box 34,

Horsham,
West Sussex.

RH12 2YF

Telephone: 01403 211888

Fax: 01403 240271


Email:

Address Module Issue Revision Project Change Note / Comments Pages Affected Date Approved Approved By
0 0 These are the project ch ange n otes all 2 5/11 /04 GAL
Supervisor Address 0
NDP Address 0

Alarm Address 0
1 1 This is another pro ject controlle r chang e note 23 2 6/11 /04 CH
Remo te Lan 0 These are acce ssible from the 'Issue details' o ption in the con trollers
'Device menu
Text Switch ON

Identifier Training VAV

Attribute F Office

Attribute G Floor 1
Attribute H North Blk

Attribute I
Attribute J

Attribute K

Firmware Version IQ210 Iss3.01 Ju l 2 2001

Loader Issue Load er Iss 2.21 Mar 01 2001

Serial Number 89101004

Site:
Notes GUID: {0F3217 9B-8BB2-49 20 -806E-FF CCE69BF7D3 }

Project: SET Comms Course


Th is a re a is the controller notes are a. Client: Training
It is accessible from th e 'Notes' op tion in the co ntroller 'De vice' m enu
Details: These are th e con troller de tails. Accessible fro m the
'Device De ta ils' o ption in the co ntrolle rs 'Device ' me nu.

Drawn By:

Engineer: G.A.Lewry

Contro ller Type: IQ 211

Project Number: 6543 21 Date: 2 5/11/20 04

Outst ation: 011 Lan: 02 0 Page: 0 1 of 07

Notes Issue Device


Details Details

The Notes, Issue Details and


Device Details are all accessible
from the controller Device menu.

The title page always has this layout.


The company name cannot be changed as this forms part
of the licence. The company address and phone number
can be changed.
The logo can be replaced by a TTC or system house logo.
SET Comms Iss 1.06 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 3 - Page 19 of 20
Printing From SET
SET can print to any printer capable of 300 dpi resolution.
For a single controller:
First open the desired controller strategy page. Then select
'Print' from the 'File menu:

Print range - refers to


strategy pages only.

Print what - selects


strategy, individual
module tables or all.

For several controllers:


In the navigator, click the box to the left of the controller,
LAN or Site icon. Ticks indicate controllers to be printed.

Then select 'Print' from the 'File' menu. Two options are
available: Strategy or Strategy + Tables.
Section 3 - Page 20 of 20 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.06
Section 4 - Reverse Engineering Strategies

Aims and Objectives

Aims:
1. To reverse engineer a control strategy.

Objectives: By the end of this section you will


be able to:
1. Reverse engineer a strategy file from an IQ2
controller, firmware ver 2.1 or above, when
the strategy was originally designed with
SET.
2. Reverse engineer a strategy file from an IQ2
controller pre-version 2.1.

SET Comms Iss 1.06 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 4 - Page 1 of 12
Reverse Engineering Strategies - Easy

When SET is used to design strategy, it records the module


location with page, x and y references.
X Reference
10 20 30 40 50 60 70 80 90 100 11 0 120 13 0 14 0 150 160 170 180 190 200 2 10 22 0 23 0 2 40 2 50

180

170

160

150
W 10V = 1 19,1
Enable Boiler
From Page 4
140

S9V
Boiler Flow Temp 4
130 From Page 2 Boiler Heating Loop

W10V A
L1
K10V = 66 230 8
Occ SP Boiler Flow 6
S9V P Dev Spt. 281,0 Boiler Low Fire
From Page 4 Low fire signal
120
K10V O F7 D1 L 1
49 26 E
Default = 0 61 147,0 A 0
49 U
D L1D G D F7D S 297,0
K11V = 50 231
110 Manual Level K11V L 50 R
F
Y Reference

From Page 4 HYST BAND Alarm M


13,0 13,0 S LOO P DIG IT AL
E=Level F=Band 0 Start Delay
1 Fail Action
5 Reschedule Time Disabled Invert
100 5 Gain Disabled Maint. Int. Enable
1 Integral Time Disabled Readback Enable
0 Derivative Time 0 Maint. Int. Alarm
50 Default Value 0 Readback Alarm
0 Setpt. Dev. Level
90 0 Setpt. Dev. Delay
7 9
0 PV Fail Delay
Disabled PV Fail Alarm High fire signal Boiler High Fire
Disabled Setpt.Dev. Alarm
F8 D2 L 2
75 E
80 148,0 A 0
L1D G D F8D S 297,4
49 F
R
HYST BAND
Alarm
DIG IT AL M
70
E=Level F=Band 0 Start Delay
Disabled Invert
Disabled Maint. Int. Enable
Disabled Readback Enable
60 0 Maint. Int. Alarm
0 Readback Alarm

50

40

30

Page No.
20

10

Drawing Re fere nce Page Details Set Strategy Issue Re vision Checked By Proje ct Num be r: 1 Date : 22/11/20 04
SE T-023 -014- 06 Boiler stage con trol Designed By:
Novar Training Services
0 - 01 Outs tation: 0 14 P age: 06 of 10

If the controller is an IQ2 firmware version 2.1 or greater,


these references are sent with the download file and stored
in the controller.

In the future, an upload file from this controller can be


used to reverse engineer the strategy drawings, just by
importing the file into SET.

Note: IQ1 series and pre IQ2 series firmware version 2.1
controllers do not have these parameters in the controller.

Section 4 - Page 2 of 12 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.06
Reverse Engineering Strategies - Easy

The file can be imported from the


menu with 'Project' then
'Import'.
SET uses the file name
(L020n011.IQ2) to identify the
lan and controller address, and
will add this controller to your
project.
The rest of the file is used to generate the strategy and
place it on the relevant pages.
Some things to be aware of:
1) Module links will adopt the auto-route path, therefore
these may require editing.
2) To connectives placed on the original SET drawing are
not stored in the controller configured modules, so
these will have to be added.
1 1
Room Temperature S1V Room Temperature
S1 S1
1 Room Temperature 1
V V
To Page(s) 9,10,
EXTERNAL EXTERNAL
DegC Units DegC Units
1 Type 1 Type
0 Offset 0 Offset
35 High Alarm Limit 35 High Alarm Limit
5 Low Alarm Limit 5 Low Alarm Limit
0 High Alarm Delay 0 High Alarm Delay
0 Low Alarm Delay 0 Low Alarm Delay
Enabled Read Alarm Enabled Read Alarm
Enabled Out. Limits Alarm Enabled Out. Limits Alarm
Enabled Low Alarm Enabled Low Alarm
Enabled High Alarm Enabled High Alarm

To connectives are very useful for following strategy


drawings, especially if the strategy covers many pages.

SET Comms Iss 1.06 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 4 - Page 3 of 12
Exercise - Reverse engineering - easy 10 minutes
We are going to import the strategy file from one of our controllers and reverse
engineer it in SET. This strategy was originally developed in SET and the controller's
firmware is 3.1.

1. Close any open strategy pages, but keep the SET Comms Course project open.
This will leave you with the project navigator on the right hand side of the screen
and the majority of the SET window grey.

2. From the Project menu select 'Import IQ2 File (V2.1 > Firmware only)'. This
will open the Windows browse dialogue in the upload directory. Select controller
11 for import, this will be file L<Your Lan No>N011.IQ2.

3. Once the import process has completed you should be left on page 07 of 07. If
not contact your instructor.

4. Now the IQ strategy has been imported into SET it is a good idea to check it.
You can scroll through the pages using the page up and page down buttons on the
keyboard.

This strategy follows the Trend standard layout which is as follows:

Page 1 ----------- Title page - not visible on the screen, only on printouts
Page 2 ----------- Real inputs - sensors, plots and digital inputs
Page 3 ----------- Software inputs - knobs and switches
Page 4 ----------- Times zones and critical alarms
Page 5 ----------- Control strategy
Page 6 ----------- Control strategy
(Page 7 ----------- Simulation strategy - for training values)

5. To connectives make it much easier for engineers to follow a strategy. On the


input pages, to connectives can be used to show where the module values are used.
Add to connectives to the modules on the sensors and digital inputs, knobs and
switches pages.
To place a to connective, right click on a blank part of the strategy drawing and
select 'Other' then 'To connective'. Place the module on the screen then link it to
the desired module. Once the To connective is linked it shows all the pages that
use the value. You can speed up the process of adding connectives by using copy
and paste (control + c, then control + v).

6. We also need to check that the address module and sensor types have been
imported correctly. These are both in 'Device' in the drop down menu bar. First
view the address page and then the sensor types - there should be one configured
sensor type.

Section 4 - Page 4 of 12 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.06
Reverse Engineering Strategies - Less Easy

With older controllers the page, x and y parameters are not


present in the modules.

We can still import the file if it has come from an IQ2


controller. SET will import the modules but they will all be
in the 'Unplaced modules' window as SET doesn't know
which pages to put them on.


23
Heating Valve
D1 L 1

A 0
102 S 297,0
R
Alarm
ANALOG UE M
0 Start Delay
0 Offset
100 Range
Disabled Invert
Disabled Maint. Int. Enable
Disabled Readback Enable

A102. Where does


this come from?

Start by placing all the inputs for the controller on the first
few pages.
Then, on the next blank page, place a driver on the right of
the page and work your way backwards to the inputs.

SET Comms Iss 1.06 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 4 - Page 5 of 12
Exercise - Reverse engineering - less easy 20 minutes
We are going to import the strategy file from one of our controllers. This file was
originally developed in an older controller, so unfortunately SET will be unable to
reverse engineer it fully. However, we can regenerate the strategy pages from the
unplaced modules list. Although this controller strategy was not originally developed in
a later controller, as we have uploaded it from a later controller the import feature can
still be used.

1. Close any open strategy pages, but keep the SET Comms Course project open.
This should leave you with the project navigator on the right hand side of the
screen and the majority of the ToolSET window grey.

2. From the Project menu select 'Import IQ2 File (V2.1 > Firmware only)'. This
will open the Windows browse dialogue in the upload directory. Select controller
13 for import, this will be file L<Your Lan No>N013.IQ2.

3. Once the import process has completed you should be left on page 02 of 02 but
the page will be empty. If not contact your instructor. The controller and its
strategy have been imported into SET, but no strategy pages have been created.

5. From the Tools menu select 'Unplaced modules' and position the Unplaced
modules window in a convenient place on the page. Follow the layout shown
below, for pages 2 to 5 only using the standard way of laying out strategy, just
concentrate on the inputs at present. To place a module on a page double click the
module in the Unplaced modules window, then position the module on screen.
Don't close the Unplaced modules window until you have finished the whole
exercise.

The Trend standard layout groups together the strategy inputs on the first few
pages like this:

Page 1 ----------- Title page - not visible on the screen, only on printouts
Page 2 ----------- Real inputs - sensors and plots
Page 3 ----------- Real inputs - digital inputs
Page 4 ----------- Software inputs - knobs, switches and time zones
Page 5 ----------- Inter controller comms (if the controller has any)
Do not start the following pages yet, this is covered in the next step of
the exercise.
Page 6 ----------- Control strategy
Page 7 ----------- Control strategy
Page 8 ----------- Simulation strategy - for training values

Continued...

Section 4 - Page 6 of 12 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.06
Exercise - continued
7. When you have finished the part of the strategy which feeds drivers 1 to 3, add a
new page at the end. Add drivers 4 and 5 to this page. In the same way as before
work back through the strategy to all the dead ends.

There are a few modules left to add, we will now look at a some quirks of reverse
engineering you should be aware of:

8. Add G12 and G13 to your last page, these are hours run modules. The 'iNterval'
outputs are used to trigger hours run service alarms for the heating and cooling
pumps. Position the appropriate logic module next to the correct driver.

9. Look at the 'reset Address' of the hours run modules. You will notice the hours
run can be reset via a switch. With a switch on its own the end user may leave the
switch in the ON state, which will prevent the module from working.

With this in mind many engineers adopt a strategy which resets the switch status to
'OFF' every minute. Add G15 to the page and look at its inputs and outputs:
39

The previous switch 493,0 E G15 The logic module


J or W 11V
status is read and 19,2 F K or
L or D
destination has been
0,0 G
compared to the 0,0 H
M
changed to reset a
minute pulse. eF
COMB
J Comb. switch.
K Comb.
L Comb.
M Comb.

10. To make it easier to follow, manually add the links between the output & input
of the logic module, as shown: 39

493,0 E G15
J or W 11V
G15D F K or
L or D
0,0 G M
0,0 H
COMB
eF J Comb.
K Comb.
L Comb.
M Comb.

If you need to you can change the destination of a module by right clicking the
module and selecting 'Change destination.'

Continued...

Section 4 - Page 8 of 12 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.06
Exercise - continued
6. Please read all the notes on this page before you proceed, so that what you have
to do is clear. If you need further clarification please ask your tutor.
Now all the inputs have been placed on the first few
pages we can move on to the control strategy. Add a 23
Heating Valve
new page, and place drivers 1, 2 and 3 on the right D1 L 1

hand side like this: 102 S


A 0
297,0
R
Alarm
i) Refresh the page by pressing the Page up key on 0
ANALOGUE
Start Delay
M

0 Offset
the keyboard, then the Page down key. SET will 100 Range
Disabled Invert

place input connectives on the page for these Disabled Maint. Int. Enable
Disabled Readback Enable

three driver modules. From the connectives you 25


Cooling Valve
can now see which modules connect to the D2 L 2

drivers, so place these modules on the page near 104 S


A 0
297,4
R
to the connectives. ANALOGUE
Alarm
M
0 Start Delay
0 Offset
ii) Right click the connective label and select 'Cut' 100 Range
Disabled Invert
Disabled Maint. Int. Enable
(NOT DELETE). Refresh the page again (Page Disabled Readback Enable

up, then Page down) and SET will draw in the 24


Recirc Dampers
links between the function modules and drivers. D3 L 3

A 0
At the same time SET will place the connectives 103 S 298,0
R
on the page for the modules you have just ANALOGUE
Alarm
M
0 Start Delay
added. Carry on doing this until the page is 0
100
Offset
Range
Disabled Invert
finished. Disabled Maint. Int. Enable
Disabled Readback Enable

iii) The question is: How do I know when the page


is finished?
The answer is: When all the module sources on the page link to modules on
earlier pages. Look at the examples below:
This links to This links to 18
15
sensor 10 which switch 4 on 18,0 A L2
F5
is on page 2 0 E
105 page 4 9 P Dev Spt. 281,4
10 G D
106 O
20 F 62
RSCL TO 100 U
This '20' is a D=100(G-E)/(F-E)
Sensor 9 is 49 L
D

constant on page 2 13,0 S LOOP

Of course you may find that this part of the strategy is too big to get onto one
page. In this case, when the page is full, click insert a page. This will add a
new page before the current one.
Next, place the module which links to a source on the current page, on the
new page. Add a 'To connective' to the destination of this module to show
that the strategy links to the next page.
Continued...

SET Comms Iss 1.06 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 4 - Page 7 of 12
Exercise - continued
11. Finish placing the modules on the page. You should be left with F30 to F32
and F51 to F55, these are modules used to generate values for the training
strategies. Add these modules to the last page but don't try to interpret the
strategy. If you have any other modules left contact your instructor.

12. Check that the address module and sensor types have been imported
correctly. Right click on a blank part of the strategy and select the 'Device' menu
option. First view the address page and then the sensor types - there should be
one configured sensor type.

SET places the input connectives for loops rather close to one another. If time
permits tidy up the pages.

Important

We need to import the strategy for controller 14 into our project for tomorrow's
work. Follow the steps below but don't bother to check the strategy.

13. Close any open strategy pages, but keep the SET Comms Course project
open. This should leave you with the project navigator on the right hand side of
the screen and the majority of the ToolSET window grey.

14. From the Project menu select 'Import IQ2 File (V2.1 > Firmware only)'. This
will open the Windows browse dialogue box in the upload directory. Select
controller 14 for import, this will be file L<Your Lan No>N014.IQ2.

SET Comms Iss 1.06 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 4 - Page 9 of 12
Compare - Overview

Reverse engineering IQ1 and early IQ2 data files is


accomplished by using 'Compare'.

The controller has to be created in the project first, then


the uploaded file is compared with this empty controller
file.

For all IQ1 and IQ2 pre v2.0 controllers Compare requires
a .SCN file.

Compare will import all the strategy modules and place


them in the 'Unplaced modules' window. Reverse
engineering then follows the same method used in the
previous exercise.

Section 4 - Page 10 of 12 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.06
SET Compare

First open the controller file and display page 2.


Then select 'File' - 'Compare' - then the file type.
Navigate your way to the file, select it and click 'Open.'

This will display the dialogue box above:


'Update database' - should be selected as it imports the
changes to SET.
'Backup database' - makes a copy of the empty SET
controller file first, this should not be selected.
'Print report file' - prints a list of all the the modules in
the SCN file. This should not normally be selected.
'Start' will then import the SCN file to SET. Remember all
the modules will be in the 'Unplaced modules' window.
SET Comms Iss 1.06 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 4 - Page 11 of 12
This page is intentionally blank

Section 4 - Page 12 of 12 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.06
Section 5 - SET Strategy Library

Aims and Objectives

Aims:
To introduce the SET strategy library, its use
and purpose.

Objectives: By the end of this section you will


be able to:
1. Use strategy blocks.
2. Create single and multi-page strategy
blocks.

SET Comms Iss 1.12 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 5 - Page 1 of 16
SET Strategy Library - Description

Group

Strategy
block

Strategy
page

The strategy library is a fixed or pop-out window on a SET


controller strategy page.
The strategy library is split into three sections:
Standard -the new, enhanced strategy library.
Custom - a working area for creating and editing
strategy blocks.
Old - all the SET 5 plant blocks are stored
here.
Each section can have groups which serve to organise the
strategy blocks.
Each block is a collection of Trend modules which
performs one small control or calculation task.

Separate strategy blocks are


available for IQ1-2 and IQ3
controllers.
Section 5 - Page 2 of 16 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.12
Exercise - Using Strategy Blocks
This exercise will take you through the two methods of using strategy blocks. The
first is useful for small single-page strategy blocks, and the second is used with larger
multi-page blocks.

First method - one page at a time


1. Open the strategy pages for controller 69 on your LAN, and add a new page
which is to receive the block.

2. In the strategy library, open the Standard section (click on its + sign), then
open Calculations, then Psychrometrics.

3. Open the block Psychrometrics - degC for IQ1-2 controllers and you will see it
contains four pages.

4. Drag page 1 (P01) and drop it onto your strategy page.

5. SET will open the dialogue box shown above which lists the free modules in
the controller, and the modules needed to import the strategy.

6. The left hand part of this


dialogue lists just the I/O modules
(sensors, digital inputs, knobs,
switches and drivers) required by
the strategy block.

Just a single sensor in our case.

Continued...

SET Comms Iss 1.12 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 5 - Page 3 of 16
Exercise - Continued
7. The right hand side of the dialogue
shows, for each type of module, the
number free in the controller, the number
required by the strategy block, and the
number of the next module to be used.

If there are enough modules free in the


controller for the block to be imported,
the 'Required' module boxes will be
green.

If modules of one type are NOT available, the 'Required' box for that type will be
red.

It is possible to specify
which I/O modules are
used in the strategy block
by selecting the 'Select /
Override Modules' check
box.

8. Make sure the 'Select /


Override Modules' box is
ticked, then click 'OK' to
close the dialogue box.

9. The cursor will change to a hand with an outline of the strategy block attached
to it. Move the strategy block to where you want it and click to drop the block in
position. SET will now display the 'Select Module' dialogue box for you to choose
the sensor module.

For your plant block use Sensor 1 for the 'Air Temperature'.
During the selection process the module on the page turns yellow to indicate
which one you are working on.

Continued...

Section 5 - Page 4 of 16 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.12
Exercise - Continued
Second method - all pages in one go
Larger multi-page plant blocks are best imported in a single step using this
method. This is an explanation only, DON'T do this on your controller, yet.

Drag the TITLE of the strategy block from the library and drop it on the SET
work space.

If this was the four page Psychrometrics block, SET will add four pages to your
controller and place a strategy block page on each one.

i) Drag from
here

ii) Drop here

1. You will probably need to refresh the strategy library first by clicking the
refresh button . Find the two-page block called 'AHU with label_Good' in
'Custom' then 'Training', add this strategy block to your controller 69.
2. When SET prompts you, use the following input and output modules:
Air Flow Temp---------------------S2
AHU Times-------------------------Z1
Flow Setpoint---------------------K1
Cooling Deadband------------------K2
Heating Valve---------------------D6
Dampers---------------------------D7
Cooling Valve---------------------D8
PressureUnit Healthy--------------I3

Again you will notice the engineer has kept the main modules separate, to allow
them to be easily moved to the input strategy pages.
Continued...
SET Comms Iss 1.12 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 5 - Page 5 of 16
Exercise - Continued
3. View the two new pages which have been added to your strategy.

Note that the first page creates the demand signal, but there is no room on the
page for the drivers, so the engineer has used a connective to link to the second
page which has the driver strategy.

Section 5 - Page 6 of 16 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.12
Strategy Blocks - Multi-Page Label Warning

The strategy block stores the types of modules and how


they are linked on a page, but not the module numbers.
These are allocated only when the block is imported.
Linking information between pages is through connectives
which are normally identified by the module number.
The strategy block makes this link by using the source
module's label.

Page X Page Y
20

20 E F12
112
F11D G D

100 F
RSCL TO
D=100(G-E)/(F-E)

19
Comdined heat & cool
F11 21
1 E

-1 F 111 F13
-20 E
D F11D F11D 111 113
L1D G Comdined heat & cool demand F11D G D
Comdined heat & cool demand From Page 3
L2D H ADD/SCLR To Page(s) 4, 20 F
D = (E * G) + (F * H) RSCL TO
D=100(G-E)/(F-E)

22

-20 E F14
114
F11D G D

The link is made using the 100 F


RSCL TO
D=100(G-E)/(F-E)

source module's label.

Therefore, when the strategy block is created the engineer


must ensure that modules which have connectives on other
pages have labels.

SET Comms Iss 1.12 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 5 - Page 7 of 16
Strategy Blocks - Multi-Page Label Warning

If labels have not been used in modules used as


connectives, SET will not make the links when the plant
block is used.
Connectives will be imported as 'Undefined' and given
node 0,0 for digital or 0 for analogue.
C2 0,0 39 27

C2 E
G5 -20 E
F26
C3 C1 0 126
0,0 J or
C3 F 21,4 C1
K or G D
L or D
0,0 G M 20 F
RSCL TO
0,0 H D=100(G-E)/(F-E)
COMB
EF J Comb.

These connectives will need to be redefined before the


strategy will function.

1) Display the connectives window and filter for


'Undefined Connectives' .

2) Highlight a
connective to
define.

3) Click the 'Define'


button.

Continued over page

Section 5 - Page 8 of 16 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.12
Strategy Blocks - Multi-Page Label Warning

4) Highlight the node to


which you want to
connect C1.

5) SET confirms you wish


to redefine the
connective as F24D.

6) Click 'Yes' and the


connective is redefined.

27

-20 E
F26
F24D 126
C1 G D

20 F
RSCL TO
D=100(G-E)/(F-E)

SET Comms Iss 1.12 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 5 - Page 9 of 16
Exercise - Demonstrating a faulty strategy block
We will now use a multi-page plant block that does not have the connective labels set
up. Note that it is the same strategy as the before, but the module label is missing.

1. Delete the last two pages of controller 69. These are the pages we have just
added with the multi-page plant block.

2. Add the 'AHU without label_Bad' plant block to controller 69.

Step i) Drag the plant block


labelled 'AHU with label_bad'
from here

Step ii) ...and drop it here.

3. When SET prompts you, use the following input and output modules:

Air Flow Temp---------------------S2


AHU Times-------------------------Z1
Flow Setpoint---------------------K1
Cooling Deadband------------------K2
Heating Valve---------------------D1
Dampers---------------------------D2
Cooling Valve---------------------D3
PressureUnit Healthy--------------I3

Again you will notice the engineer has kept the main modules separate, to allow
them to be easily moved to the input strategy pages if required

Continued...

Section 5 - Page 10 of 16 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.12
Exercise - Continued
4. View the two new pages which have been added to your strategy. Note that this
time the connective which links the combined demand to the drivers page is
undefined. Use SET to redefine this connection to the correct function module
for your strategy.

Additional notes on multi-page plant blocks:

i) The define connective feature is also used if the plant block is a partial strategy
and you need to link it into the rest of the controller. For example a pump change-
over plant block will require a connective to link it to the pump demand bit.

ii) Care should be taken with labels. What if the label used in a plant block is
already used in the controller? SET will link the plant block to the label used in
the controller.

SET Comms Iss 1.12 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 5 - Page 11 of 16
The Strategy Library - Structure

The strategy library has three sections:

Standard This has a fixed structure and is


distributed with SET.
Strategy blocks here can be copied to
Custom where they can be edited and
saved.
It will be updated from time to time.
Custom New blocks can be created here and
existing ones can be edited or deleted.
The group structure can be changed.
Old All your existing SET 5 plant blocks are
here.
They can be copied to custom where they
can be edited and used.

Section 5 - Page 12 of 16 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.12
Creating A New Strategy Block

1) Right click the Custom Library to


create a new Group if necessary.

2) Right click a Group to create


a new Strategy Block.

3) Give the
block a
name

4) Select the controller type (IQ1-2 or


IQ3) and firmware version.

5) Click 'OK.'
SET will create the block and display a blank page where
you can design the strategy in the normal way.
SET reminds you that you are in a block, rather than a
controller strategy by making the workspace GREEN.
SET Comms Iss 1.12 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 5 - Page 13 of 16
Creating A New Strategy Block

You can also copy and paste from


an existing controller strategy.
On the menu bar click 'Window'
then the controller address.

Or Tile the two windows, then copy from one and paste to
the other.

Strategy blocks must be saved, but SET warns if you try to


close the block without saving.

Section 5 - Page 14 of 16 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.12
Strategy Block Properties

In Strategy Block properties you can specify the group and


sub-group where the block is saved.

In the Key Search field type relevant search phrases (e.g.


AHU). These are saved in a database and SET can filter the
library for all blocks that control AHUs.

Search blocks for Refresh


matching text database

Filter for IQ2,


IQ3 or all

SET Comms Iss 1.12 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 5 - Page 15 of 16
Exercise - Create a strategy block

1. Display controller 69 and the page to which you added the original
saturated vapour pressure strategy (this may be page 3). Add an internal
sensor to the saturated vapour pressure function module, label the sensor
'Sat vapour pressure'.

2. In the Custom section of the Strategy Library create a new Group called
'Improved Strategies'.

3. Create a new block in this group.

4. Call the new block 'Saturated Vapour Pressure Mark 2'. Set the
controller type to IQ1-IQ2, the firmware version to 1.0 and the revision to
1.

5. In Key Search type 'Psychrometric, Saturated Vapour Pressure, Humidity'


then click OK.

6. Tile the two strategy windows. Highlight the strategy in the controller
window, right click one module and select 'Copy.' Right click in your new
strategy block and select 'Paste.' Don't be tempted to drag the strategy
across, this won't work.

7. Close the green strategy block window and save the block when
prompted.

8. Test the result of making your new block by importing it to a new page.

9. Add an external sensor to one of your strategy pages, also add a plot
module next to the sensor and link the two. Delete the sensor label and set
the plot interval to one minute. Finally, add a 'To Connective' and arranged
40
S3V
S3
V 3
To Page(s)
EXTER NAL
DegC Units
1 Type
0 Offset
0 High Alarm Limit
P3
0 Low Alarm Limit PLOT
0 High Alarm Delay 3 Sensor
0 Low Alarm Delay 1 Min Period

the modules like this:


If this small piece of strategy is turned into a strategy block it can save time
when engineering future controllers.

10. Create another group called 'Basic modules' and add this strategy block
with the name 'Sensor and Plot'.

Section 5 - Page 16 of 16 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.12
Section 6 - Introduction To Text Comms

Aims and Objectives

Aims: To introduce and demonstrate:-


1. An overview of text communications.
2. The following terms: global-global, global
and directed.

Objectives: By the end of the section you will be


able to :-
1. Describe the equipment required for
creating text comms messages.
2. Use system view to launch text
comms messages.
3. Describe how to set up global-global and
local-global IC comms.

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 6 - Page 1 of 12
Text Communications Introduction

Text comms describes a method of sending messages to


all IQ controllers (IQ1xx, IQ2xx, IQ3, IQL).
A message can ask for data to be returned, or it can
change values.
Many network servicing and fault-finding tasks may be
performed using text comms.
The power of text comms is that they may be sent to one
controller, one lan or to the whole network.
There are two types Text comms messages and Visitor
messages.

Some useful terms:

1) A directed message is sent to one controller.


2) A global message is sent to all controllers on a lan.
We also use the terms local global for our own lan
and remote global for other lans.
3) A global-global message is sent to all controllers on
all lans on a hard-wired system. This includes
controllers linked by ethernet, but not controllers on
autodialled links.

Section 6 - Page 2 of 12 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
Text Comms In SET

To open a text comms window in SET, select the system


view and refresh it to view your site.

Global-global:
right click on the
internetwork and
choose 'Text comms...'

Global: right click on


the appropriate lan and
choose 'Text comms....'

Directed: to one device


- right click on the
appropriate controller
and choose 'Text
comms....'

When a global text comms window is opened two dialogue


windows appear:
Are you sure? - this is
to check you have the
correct target lan.
Then an option box
asks if you wish to append R(N,L) to
the start of each message, this makes the
controller return its lan and address in
each reply.
SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 6 - Page 3 of 12
The Text Comms Window

2) The Replies are


shown here.

Click on the drop


down menu to recall
a previous message.

Click on the >>>


1) Type in your message here and button to save a
click the Read button or hit Enter favourite
to launch the message. message for
future use.

The Options button contains some useful options. These will


be explained in the next exercise.

Some older Trend tools can also be used for text comms:
Wupdon 1.3.3 - all text comms
822+Utility - all text comms
Powertool - directed text comms only

See the appendix for more details.


Section 6 - Page 4 of 12 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
Exercise - Creating and sending messages 20 minutes
This exercise is designed to get you started sending simple text comm messages to
IQ2xx controllers, also the exercise will explain some of the options available.

1. We are going to start by sending out some local-global messages (to all
controllers on your local lan). Right click on your local lan in system view and
select Text comms.... then reply
Yes and Yes to the two dialogue
boxes.
2. Click the Options button and
Set up the dialogue as follows:
i). Caps lock On on entry.
ii). One line per item
iii). Check that the protocol
character is set to 'v -
Normal'. Then click OK.

3. Key in the message S1(V) and


hit <enter>. There should be
four correct replies. How many
replies were there?.....................
4. Edit the message to: S1($,V,%) and send the message again. What do the extra
parameters represent in the replies?.............................................................
5. Select the options button and change the display to 'One line per parameter.'
6. Send the last message again. Notice how the display changes.
7. Select the 'Options' button and try the 'Non-formatted display output.' Different
messages work best with different display formats, there is no one setting that is
best for all messages. For the moment set the display to 'One line per item'.
8. Recall and edit the last message to include the high and low alarm values.
9. Open up a global-global window by right clicking on the internetwork icon and
send the message again. Check every IQ responds, you should normally get 16
replies.
Be careful when sending global messages as the amount of data in the reply can be
very large, resulting in the display being crowded and confusing. Global-global
messages are most useful when trying to find a limited piece of information from
many controllers, for example when checking controller alarm destination
addresses.
Continued...

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 6 - Page 5 of 12
Exercise - Continued
You have just opened two text comms windows one on top of the other. You can
see all the windows by clicking the 'Window' menu item below and selecting the
one you want. It is a good idea to keep three windows open on this course to
communicate with (i) your desk controller. (ii) your local lan and (iii) the whole
site. You can see the window mode in the title bar. Lan 128 means 'global-global.'

You can also tile the windows by clicking one of these icons. You may have to
reset (unclick) the padlock icon first.

Section 6 - Page 6 of 12 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
Why Are The Replies Not In Order?

The replies you see on the screen are not usually in order.
As the message travels around the network each internal
CNC passes a global message to its controller, and at the
same time sends it on round the lan.

IQ
Text comms 1 2 3 4 5 6 7 8 9 10
Internal
message paths CNC CNCs
OK

TX RX
LAN

1 2 3 4 5 6 7 8 910

CNC
TX
OK

RX

1 2 3 4 5 6 7 8 9 10
LAN

CNC IQ
OK

TX RX
LAN

1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10

CNC
OK

TX RX
LAN

1 2 3 4 5 6 7 8 9 10

OK

Tx Rx
1
2
4
8
16
32
64
19K2
9K6
1K2

1 2 3 4 5
24V
6
2 4 V
7 8
2 4 V
9 10
2 4 V
11
23 0 V
AC AC AC

Each controller is a separate device so the replies are not


synchronised. Also there may be delays in some controllers
assembling the replies, so they may be in any order.

You will also see this message:

R(N=inv,L=inv)
This reply has come from the INCs they respond to global
messages, but the values are invalid.
SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 6 - Page 7 of 12
This page is intentionally blank

Section 6 - Page 8 of 12 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
Section 7 - Text Comms Messages

Aims and Objectives

Aims: To introduce and demonstrate:-


1. Creating progressively more complex text
comms messages.

Objectives: By the end of the section you will be


able to :-
1. Create safe text comms messages using
module codes or labels.
2. Insert conditions into text comms messages.

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 7 - Page 1 of 20
Simple Text Comms Messages

All text comms messages are composed of two elements


which describe :
1. Which module to target.
2. Then, in brackets, the parameters to collect or
change in the module.
The parameter codes used are the same as for
config and must be separated by commas.

e.g.1 K1($,V,%)
K1 targets the module (knob 1)
($,V,%) the parameters to return

e.g.2 S($,V,H,L)
S no number means ALL sensors
($,V,H,L) label, value, high and low limits

e.g.3 S1-5($,V,%)
S1-5 sensors 1 to 5
($,V,%) label, value, units

e.g.4 K1(V=28.7)
K1 knob 1
(V=22) use the '=' symbol to change values
Section 7 - Page 2 of 20 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
Exercise - Basic controller messages 10 minutes
Open a text comms window to the IQ223 controller on your desk, this will be
address 13 or 14 on your local lan, and send the following text messages.

Write down what the commands do

1. S1($,V,%)

2. S1-10($,V,%)

3. S($,V,%)

4. S(*) * means all the parameters in a module, it is probably


unwise to ask for too much data at a time.

5. K1($,V,%) Before you change a value, view its label and current
value.

6. K1(V=25) You can't view a value and change it in the same


message.

7. T(H)

8. T(H=23)

9. T(H)

10. It would be a good idea to put the controller clock back to the correct time
with this message:
T(H= ,N= ) fill in the message, send it, and then check it.

11. R(N,L)

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 7 - Page 3 of 20
Exercise - Answers 10 minutes
Open a text comms window to the IQ223 controller on your desk, this will be
address 13 or 14 on your local lan, and send the following text messages.

Write down what the commands do?

1. S1($,V,%) Sensor 1, label, value and units

2. S1-10($,V,%) Sensors 1 to 10, label, value and units

3. S($,V,%) All the sensors, label, value and units

4. S(*) * means all the parameters in a module, it is probably


unwise to ask for too much data at a time.

5. K1($,V,%) Before you change a value, view its label and current
value.

6. K1(V=25) You can't view a value and change it in the same


message.

7. T(H) Ask for the time hours

8. T(H=23) Change the value

9. T(H) Check that it has changed

10. It would be a good idea to put the controller clock back to the correct time
with this message:
T(H= ,N= ) fill in the message, send it, and then check it.

11. R(N,L) The controller's laN number and address (L).

Section 7 - Page 4 of 20 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
Additional Parameters

1) Digital bytes are regarded as modules with the code B.


The bits within the byte can be accessed with S for
status.

e.g. B1(S2)
will return the status of byte 1, bit 2.

B1(*) or B1(S)
These are useful as they both return the whole byte
e.g. B1(S=OOOOOOOO)

2) Text comms does not recognise digital states as 0 and 1,


it uses the letters capital O and I instead.
e.g. W1($,S)
may return:
W1($="Manual Override",S=O)
and the switch status can be changed with:
W1(S=I)

3) Since a comma is used to separate module parameters


it can't be used in a digital reference. Text comms uses
a full stop instead.
e.g. G1(E,F,D)
may return:
G1(E=1.2,F=13.0,D=21.0)
SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 7 - Page 5 of 20
This page is intentionally blank

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 7 - Page 7 of 20
Setting Pins

If an IQ controller has pin protection you won't be able to


change values unless the correct pin is sent with the
message. The pin used must be level 99 in the destination
controller.

To set the pin for text comms windows carry out the
following:

Right click on the site


name, and select 'Set
Pin,' this sets a pin for
all controllers on the
site.
Or, right click on a lan
icon, this sets a pin for
all controllers on that
lan.
Or, you can set a pin
for a single controller.

Type in the PIN and click Apply.

'Force Sub-nodes' only applies


if multiple controllers are
selected.
All controllers must be set
up with the same level 99 pin.

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 7 - Page 9 of 20
Text Comms - Conditionals

A conditional statement may be added to the first part of


the message:

e.g. 1 S1{V>26}($,V,%)
Curly brackets { } are used to set the condition, and this
must be immediately before the parameter brackets.

Up to four conditions can be combined using for logical


OR, and & for logical AND.

e.g. 2 S{V>28V<19}($,V,%)
e.g. 3 S{I=0&Y=1&V>21.8}($,V,H,M)
Note some keyboards show as | . It's normally in the
bottom left of the keyboard, shift \.

Exercise - Conditional messages 10 minutes


Select your local-global window ('Window' in the menu bar) to send these messages to
your local lan. Explain their function:

1. S{M=???IM=??I?}($,V,M)

2. S{M=I???M=?I??}($,V,M),R(N,L) - why would this be useful on a


site service visit?

3. D{L=3}($)

4. Using a global-global window, see if you can find the address of the time
master on this site. Write the outgoing message below.

Section 7 - Page 10 of 20 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
This page is intentionally blank

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 7 - Page 11 of 20
Exercise - Answers
Select your local-global window ('Window' in the menu bar) to send these messages
to your local lan. Explain their function:

1. S{M=???IM=??I?}($,V,M) - All sensors in high or low alarm.

2. S{M=I???M=?I??}($,V,M),R(N,L) - why would this be useful on


a site service visit?

Sent as a global-global it will find all the broken (in out of limits or read
error) sensors on a site.

3. D{L=3}($) - Checks for two drivers writing to the same channel

4. Using a global-global window, see if you can find the address of the time
master on this site. Write the outgoing message below.

T{G>0}(*),R(N,L) - There should only be one time master per site.

Section 7 - Page 12 of 20 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
Editing Text Labels

Labels can be edited using text comms, but the label must
be within double quotes " ".

e.g. 1 S1($="Floor 1 Supply Temp")

e.g. 2 K4(%="DegC")

Exercise - Set up a label 5 minutes


Select the the text comms window to the IQ223 controller on your desk by clicking
Window on the menu bar and try the following:

1. S8($)

2. S8($="My label on input 8")

3. S8($)

With the above exercise a sensible safe approach has been taken, i.e. check first,
make the change, check the change.

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 7 - Page 13 of 20
Attribute Addressing - Using Module Labels

Knobs, switches, sensors, digital inputs, drivers, time zones


and directory modules all have labels.
Information can be gathered from groups of modules with
the same label or part label.
e.g. Room Temperature($,V)
will return the label and value from all modules labelled
Room Temperature.
Room*($,V)
will return values from all modules whose labels start with
Room......
This may bring back information from Room Setpoints,
Room Drivers, Room zones as well as Room Temperatures.

Warning: All labels are CASE sensitive

Exercise - Label matching 10 minutes


Try the following messages to ALL (Local-Global) controllers on your local LAN.
Explain their function:

1. Outside*($,V)

2. O*($,V)

3. Room Temp*{V<19|V>25}($,V)

4. Write below the message needed to display Label, Value, Top and Bottom
limits for all modules labelled "Occ SP Boiler Flow".

Section 7 - Page 14 of 20 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
This page is intentionally blank

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 7 - Page 15 of 20
Exercise Answers
Try the following messages to ALL (Local-Global) controllers on your local LAN.
Explain their function:

1. Outside*($,V) - Any item with label Outside.......

2. O*($,V) - Any item with label starting with letter O -


NOTE: This includes knobs, drivers or sensors

3. Room Temp*{V<19|V>25}($,V) - Any item with the label Room


Temp... IF the value is outside the
range 19 to 25.

4. Write below the text comm needed to display Label, Value, Top and Bottom
limits for all modules labelled "Occ SP Boiler Flow". -
Occ SP Boiler Flow($,V,T,B) or
*Boiler Flow($,V,T,B)

Section 7 - Page 16 of 20 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
Using Module Codes And Labels

S\Room*($,V)
This command will only bring back information from
sensors called Room......
No information will come back from knobs by mistake.
K\Room*($,V) will bring back information from all
knobs called Room......
Either the / or \ can be used between the module code and
the label in IQ1 and IQ2 controllers. The / is usually
documented in older manuals.
However, as IQ3 controllers only accept the \ this should be
used now.

Exercise - Module codes and labels 15 minutes


Send the following messages to ALL the controllers on your local lan (local-global)
and explain their function:

1. K\O*($,V)

2. W\O*($,S)

3. S\O*($,V)

4. S\*Temp*{V>23&V<30}($,V)

5. K\*Flow*(T,B,$,V)

6. W($,S)

7. W\?*($,S)

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 7 - Page 17 of 20
This page is intentionally blank

Section 7 - Page 18 of 20 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
Exercise Answers
Try the following messages to ALL (Local-Global) controllers on your local LAN.
Explain their function:

1. K\O*($,V) All knobs starting with letter 'O'.

2. W\O*($,S) All switches starting with letter 'O'.

3. S\O*($,V) All sensors starting with letter 'O'.

4. S\*Temp*{V>23&V<30}($,V)All sensors with 'Temp' in the label


AND value between 23 and 30.

5. K\*Flow*(T,B,$,V) All knobs with 'Flow....' in the label, top of range,


bottom of range, label and value.

6. W($,S) This gives ALL the switch labels and status (as
used earlier).

7. W\?*($,S) The ?* label filter is very useful for filtering out


only items with at least one character in the label.
Items with no label will not match. Normally, all
I/O modules used in a strategy will have a label, so
this filter can be regarded as 'list only the switches
used in the strategy'.

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 7 - Page 19 of 20
This page is intentionally blank

Section 7 - Page 20 of 20 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
Section 8 - Attribute Messages

Aims and Objectives

Aims: To introduce and demonstrate:-


1. Controller attributes.

Objectives: By the end of the section you will be


able to :-
1. Create text comms that can target
controllers with particular attributes, i.e. all
Floor 1 controllers.

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 8- Page 1 of 12
Using Controller Attributes

In addition to the module labels it is very useful to specify


controller attributes (or labels) in a global text comms
message. The message will then target specific controllers.

Attributes are set in the controller's addRess page:

Identifier, Attribute 1 -
Max. 15 chars.

Attributes 2 (F) to 7
(K) - Max 10 chars.

Do not use single characters as attributes, such as S,W,K


as text comms cannot separate these from module codes.

Do not use the following characters:- $ ( ) { } [ ] :; , . / - \ % "


= as these are used in other parts of the message.

Section 8 - Page 2 of 12 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
Flowchart Of Full Attribute Message

Floor 1\K\Base*($,V)

Requires a match Requires a match Requires a match


in the controllers' to a strategy in a module's label.
address module module code.
attributes.

Message travels The message visits each


around network controller and is
filtered through three
Controller CNC steps. Only if all three
receives message
filters match do you
get a reply.

False 1) Any Controller


No Reply Attribute 3 (H) = Floor 1
Attribute Match

True

False 2) Module Code


No Reply K = All Knobs
Match

True

False 3) Module Label K1 $ = Basement Setpoint


No Reply
Match K9 $ = Base Deadband

True
K1($="Basement Setpoint",V=18.00)
Reply
K9($="Base Deadband",V=5.00)
SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 8- Page 3 of 12
Using Controller Attributes - Example 1

Floor 1\K\Base*($,V)

Controller Attributes Module label Value


Floor 1 North Base Setpoint 23
Floor 1 South Base Setpoint 24
Floor 1 East Base Setpoint 33
Floor 1 West Occ Setpoint 34
Floor 1 Central Base Setpoint 33
Floor 1 AHU Load Base Setpoint 33

AHU 1 West Base Setpoint 21

AHU 2 North Base Setpoint 33


AHU 3 East Base Setpoint 23
AHU 4 South Occ Setpoint 22
AHU 5 Central Base Setpoint 19

Floor 2 East Base Setpoint 28


Floor 2 West Base Setpoint 24
Floor 2 North Occ Setpoint 23
Floor 2 South Base Setpoint 34
Floor 2 AHU Load Base Setpoint 33

The message causes the items highlighted to reply with the


items requested ($,V).

Section 8 - Page 4 of 12 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
Using Controller Attributes - Example 2

AHU*\K\Base*(V=23)

Controller Attributes Module label Value


Floor 1 North Base Setpoint 23
Floor 1 South Base Setpoint 24
Floor 1 East Base Setpoint 33
Floor 1 West Occ Setpoint 34
Floor 1 Central Base Setpoint 33
Floor 1 AHU Load Base Setpoint 23

AHU 1 West Base Setpoint 23


AHU 2 North Base Setpoint 23
AHU 3 East Base Setpoint 23
AHU 4 South Occ Setpoint 19
AHU 5 Central Base Setpoint 23

Floor 2 East Base Setpoint 28


Floor 2 West Base Setpoint 24
Floor 2 North Occ Setpoint 23
Floor 2 South Base Setpoint 34
Floor 2 AHU Load Base Setpoint 23

The message causes knobs labelled "Base Setpoint" to be


changed in all AHU or AHU Load controllers. This is a
dangerous, powerful message, remember to send another
message first to find out what the initial values are.
SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 8- Page 5 of 12
Using Controller Attributes - Example 3

Floor 1AHU*\K\Base*(V)

Controller Attributes Module label Value


Floor 1 North Base Setpoint 23
Floor 1 South Base Setpoint 24
Floor 1 East Base Setpoint 33
Floor 1 West Occ Setpoint 34
Floor 1 Central Base Setpoint 33
Floor 1 AHU Load Base Setpoint 23

AHU 1 West Base Setpoint 23


AHU 2 North Base Setpoint 23
AHU 3 East Base Setpoint 23
AHU 4 South Occ Setpoint 23
AHU 5 Central Base Setpoint 19

Floor 2 East Base Setpoint 28


Floor 2 West Base Setpoint 24
Floor 2 North Occ Setpoint 23
Floor 2 South Base Setpoint 34
Floor 2 AHU Load Base Setpoint 23

The message causes Base Setpoint values to be returned


from all Floor 1 or AHU controllers.

Section 8 - Page 6 of 12 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
Using Controller Attributes - Example 4

Nor*&Floor*\*Setpoint*(V=21)

Controller Attributes Module label Value


Floor 1 North Base Setpoint 21
Floor 1 South Base Setpoint 24
Floor 1 East Base Setpoint 33
Floor 1 West Occ Setpoint 34
Floor 1 Central Base Setpoint 33
Floor 1 AHU Load Base Setpoint 23

AHU 1 West Base Setpoint 23


AHU 2 North Base Setpoint 23
AHU 3 East Base Setpoint 23
AHU 4 South Occ Setpoint 23
AHU 5 Central Base Setpoint 19

Floor 2 East Base Setpoint 28


Floor 2 West Base Setpoint 24
Floor 2 North Occ Setpoint 21
Floor 2 South Base Setpoint 34
Floor 2 AHU Load Base Setpoint 23

The message causes Setpoint values to be changed in just


two controllers.

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 8- Page 7 of 12
Message Structure When Using Attributes

Controller Module Parameters to


attribute match label match display or
change

_____\_____\_____{_____}(_____)

Module Conditional
code match statement, = & | < >

The order of parameters in the text comm message is


important. Think of the message as it passes through the
IQ, what does it need to match first?

e.g.
South&Floor*\S\Room*{Y=1}($,V,%)
If match is not required at any level, that part of the
message can be omitted:

e.g.
South&Floor*\S{Y=1}($,V,%)

Section 8 - Page 8 of 12 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
This page is intentionally blank

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 8- Page 11 of 12
Section 9 - Visitor Messages

Aims and Objectives

Aims: To introduce and demonstrate:-


1. How visitor messages travel around the
network.
2. Set up ToolSET to send visitor messages.
3. Assembling visitor messages.

Objectives: By the end of the section you will be


able to :-
1. Create maximum, minimum, and sum
visitor messages.

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 9 - Page 1 of 10
Visitor Messages - Introduction

Visitor messages are a variant of normal text comms


message, there are three types:

Maximum, Minimum and Sum

When launched, a visitor message visits each controller


on a lan, in sequence, and then returns to the source
with the data. There is always only one reply*.

A visitor can only operate on one lan, there are no


directed or global-global messages.

A visitor is sent to address 127, the CNCs recognise this


address as a visitor and treat it accordingly.

A visitor can make use of attribute addressing, so you


can ask for the:
Sum of all 'Gas meters'
Minimum of all 'Room Temp' on 'Floor 2'
Maximum 'CHW valve position'

Visitor messages are supported by IQ1xx v5 and above,


IQ2s, IQLs and IQ3 ver1.2 and above.

*With a normal text comms message you may get no


replies, one reply or many replies.
Section 9 - Page 2 of 10 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
Visitor Message Example

To find the maximum Room Temp in all the Floor


controllers:

Floor*\Room Temp*(V>0);AD=0,CT=0

1) Attributes. 3) Two extra fields


of information

2) The data part

1) Controller and module attributes are used in the same


way as for text comms.

2) The data part is different for visitor messages:


for a maximum value - (V>low value)
for a minimum value - (V<high value)
for a sum - (V+0)

3) Two extra fields which show the ADdress of the last IQ


to change the message, and a CounT of how many
times the value has been changed. Notice the separators
are a semi-colon and a comma.

4) Conditional statements can also be used in the same


way as before.

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 9 - Page 3 of 10
The Journey of a Visitor MAX Message
4) Result picked up from network: 1) Message launched:
*VAV*\Room Temp* (V>25); AD=16,CT=2 *VAV*\Room Temp* (V>0); AD=0,CT=0

Section 9 - Page 4 of 10
CNC
OK

TX RX
LAN

1 2 3 4 5 6 7 8 9 10

Address Attributes 2) Visitors can only be


RnD VAV 9 sent to one LAN at a time.
Office 1 8 INC
OK OK

TX RX TX RX
LAN LAN

1 2 3 4 5 6 7 8 9 10 123 456 78910


1st Floor 8 16
IQ
Group 1 8 1 2 3 4 5 6 7 8 9 10
Trend LAN
3) Message matches attributes,
all matching modules are
Address Attributes
checked. The original message
36
IQ RnD VAV 9
is updated:
1 2 3 4 5 6 7 8 9 10
Office 1 8
*VAV*\Room Temp* (V>25);
1st Floor 8
AD=16,CT=2
Group 1 8
IQ
10

2008 Trend Control Systems Limited, Horsham, West Sussex, U.K.


Room Temperature
3) Message matches attributes, all matching
1 2 3 4 5 6 7 8 9 10

S13 13 modules are checked. The original message


V
F7D S is updated:
INTERNAL Value = 25C Address Attributes
degC Units *VAV*\Room Temp* (V>21); AD=36,CT=1
RnD FCU 8
13
Heating Demand Office 2 8
16
S13 13 Group 2 8
V Room Temperature
L6D S
2nd Floor 8 S16 16
INTERNAL Value = 45% V
% Units F8D S
INTERNAL Value = 21C

SET Comms Iss 1.05


degC Units
The Journey of a Visitor MIN Message - Paper Exercise
*Off*\Heating Demand(V<_____); 1) Message launched:

SET Comms Iss 1.05


AD=_____,CT=_____ *Off*\Heating Demand(V<_____);

CNC
OK

TX RX
LAN

1 2 3 4 5 6 7 8 9 10

Address Attributes 2) Visitors can only be


RnD VAV sent to one LAN at a time.
Office 1 INC
OK OK

TX RX TX RX
LAN LAN

1 2 3 4 5 6 7 8 9 10 123 456 78910


1st Floor 16
IQ
Group 1 1 2 3 4 5 6 7 8 9 10
Trend LAN

Message= Address Attributes


*Off*\Heating Demand(V<_____); Message= 36
IQ RnD VAV
AD=_____,CT=_____ *Off*\Heating Demand(V<_____); Office 1
1 2 3 4 5 6 7 8 9 10

AD=_____,CT=_____ 1st Floor


Group 1
24
IQ

2008 Trend Control Systems Limited, Horsham, West Sussex, U.K.


10
Room Temperature 1 2 3 4 5 6 7 8 9 10

S13 13
Message=
V 13
F7D S *Off*\Heating Demand(V<_____);
Heating Demand
INTERNAL Value = 25C
degC Units
Address Attributes S13 13 AD=_____,CT=_____
V
RnD FCU L6D S
13
INTERNAL
Heating Demand Office 2 % Units 13
S13 13 Heating Demand
V Group 2
L6D S S13 13
INTERNAL 2nd Floor Value = 62% V
% Units
Value = 45% L6D S
INTERNAL
Value = 66%

Section 9 - Page 5 of 10
% Units
The Journey of a Visitor MIN Message - Answer
*Off*\Heating Demand(V<45); 1) Message launched:
AD=16,CT=3 *Off*\Heating Demand(V<101); AD=0,CT=0

Section 9 - Page 6 of 10
CNC
OK

TX RX
LAN

1 2 3 4 5 6 7 8 9 10

Address Attributes 2) Visitors can only


RnD VAV be sent to one LAN.
Office 1 INC
OK OK

TX RX TX RX
LAN LAN

1 2 3 4 5 6 7 8 9 10 123 456 78910


1st Floor 16
IQ
Group 1 1 2 3 4 5 6 7 8 9 10
Trend LAN

Message= Address Attributes


*Off*\Heating Demand(V<45); Message= 36
IQ RnD VAV
AD=16,CT=3 *Off*\Heating Demand(V<62); Office 1
1 2 3 4 5 6 7 8 9 10

AD=24,CT=2 1st Floor


Group 1
24
IQ

2008 Trend Control Systems Limited, Horsham, West Sussex, U.K.


10
Room Temperature 1 2 3 4 5 6 7 8 9 10

S13 13
Message=
V 13
F7D S *Off*\Heating Demand(V<66);
Heating Demand
INTERNAL Value = 25C
degC Units
Address Attributes S13 13 AD=36,CT=1
V
RnD FCU L6D S
13
INTERNAL
Heating Demand Office 2 % Units 13
S13 13 Heating Demand
V Group 2
L6D S S13 13
INTERNAL 2nd Floor Value = 62% V
% Units
Value = 45% L6D S
INTERNAL
Value = 66%

SET Comms Iss 1.05


% Units
Sum And Average Visitor Messages

Visitor messages are used by IC Comms to gather


maximum, minimum sum and average data.

The IC Comms module performs the average calculation.

If you are sending visitor messages using ToolSET:


e.g, find the sum of all Floor Gas meters the reply may be:

OUT : Floor*\Gas*(V+0);AD=0,CT=0
BACK : Floor*\Gas*(V+23759);AD=23,CT=3

The total gas consumption (on this lan) is 23759 m3


There are 3 Gas meters

To calculate the average using ToolSET requires the use of


the following tools :

E.g. 23759 / 3 = 7919.7 (approx.)

The Windows calculator is available by pressing the


windows key and R, then type calc and press <enter>.

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 9 - Page 7 of 10
Troubleshooting Visitor Messages

There is only one visitor message at a time which passes


through every device on a lan.
If one device does not recognise visitors it will regard it as a
corrupted message and delete it.
Devices which will delete visitor messages include:
Some old third party interfaces.
Pre issue 3 IQ1xx series controllers.
A stand-alone CNC which thinks it should have an
IQ as its device.
Exercise - Visitor messages
Exercise
The only way to set up a visitor text comms window is to use the selection boxes in
top
the 1. window
Load theofexisting
systemkey file.
view. Set up a visitor window for your own lan like this:
2. Assemble a message to ask for
T(H,N,D,M,Y),
i) Type in thetry
lanthe message
number as a 0.
to target,
LOCAL
ii) Set GLOBAL
the Outstation to 127.

iii)AddSelect
3. Context
a comment = 'Device'
using the ';' character,
iv) Select Action = '*Text comms...'
eg T(H,N,D,M,Y); My first message
v) Click the 'GO' button.
4. Save the message as ALT - E, using the
procedure shown previously.
1. Find the average Room Temperature on your lan, you'll also need the
5. Test out the action of ALT - E - if it works save the new file
Windows calculator for this.
6. Change address to global, global using ctrl -L and repeat your key.

2. What answer do you get if you disconnect one of the Room Temperature
sensors then repeat the last message and calculation?

3. Insert a conditional statement into your message to check that the fail alarM
bit is clear (hint! ROLH), now what is the answer?

Section 9 - Page 8 of 10 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
This page is intentionally blank

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 9 - Page 9 of 10
Exercise Answers
1. Find the average Room Temperature on your LAN .
Room Temperature(V+0);AD=0,CT=0

2. What happens if you disconnect one of the Room Temperature sensors then
repeat the last message ?
All sensors respond, even if they are in out of limits or read alarm so
the average value calculated is wrong.

3. Insert a conditional statement into your message to check that the fail alarM
bit is clear (hint! ROLH).
Room Temperature{M=OO??}(V+0);AD=0,CT=0

Section 9 - Page 10 of 10 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
Section 10 - Inter Controller Communications

Aims and Objectives

Aims: To introduce and demonstrate:-


1. Simple IC comms (From and To).
2. Global IC comms.

Objectives: By the end of the section you will be


able to :-
1. Engineer Global IC comms using controller
attributes.

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 10 - Page 1 of 26
Inter-Controller Communications - From

N1 92
0 S D

FROM
0 Remote Address
0 Remote Lan
0 Message Interval

The FROM IC comms module requests information from


a controller at the address on the remote laN at the
specified interval.

The from can request different variable types:


analogue node, digital byte or digital bit.

The remote parameter is the remote node from which


values are collected. The local parameter is where to write
the value in this controller.

A From module in 24 can


request information IQ
24 IQ
25
from 25, at the interval 1 2 3 4 5 6 7 8 9 10
LAN 1 2 3 4 5 6 7 8 9 10

only.

Section 10 - Page 2 of 26 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
Inter-Controller Communications - To

N2 0
0 S D

TO
0 Remote Address
0 Remote Lan
0 Message Interval
0 Significant Change

The TO IC comms module sends information from this


device to the address on the remote lan at the specified
interval, and if the value changes by the significant
changed change.

The to can send the same variable types:


analogue node, digital byte or digital bit.

The local parameter specifies the value to send, and the


remote parameter specifies where to write the value in the
receiving controller.

A to module in 24 can
send information to 25, IQ
24 LAN IQ
25
at an interval and when 1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10

a significant change
occurs.

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 10 - Page 3 of 26
IC Comms - Additional Information

1. A 'To' IC Comm is more efficient than a 'From' as


you can set a high interval, e.g. 60 minutes, but still
transmit on a significant change.

2. Always set the highest acceptable interval and


significant change.

3. If several IC Comms are required then have


staggered interval times and use prime numbers
e.g. 17, 19, 23, 29, this prevents a burst of IC
Comms on the hour.

4. Never have an interval of 0 on a 'From' IC Comm,


as this can generate up to six messages per second.

5. IC Comms also transmit the alarm conditions. For


example if A1 (S1) is the subject of the ICComm,
byte 41 bits 0, 1, 2 and 3 will also be sent.

Section 10 - Page 4 of 26 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
Global To And Visitor IC Comms Configuration
SET Comms Iss 1.05

1) Choose the 2) Choose the


required direction required variable
type. type.
2008 Trend Control Systems Limited, Horsham, West Sussex, U.K.

4) Configure the
module
parameters.
3) Only

} Analogue
variable.
5) For 'Global To'
LAN 128 will
target all LANs.

2
Outside Air Temp
S3 N1 9
3
V
S3V S D

EXTERNAL
DegC Units GLOBAL TO
Section 10 - Page 5 of 26

6 Remote Attributes
128 Remote Lan
1 Message Interval LAN
0.40 Significant Change

The Global To and Visitor IC Comms use attribute addressing.


Remember IC Comms do not work in Configuration mode.
IC Comms - How The Controller Assembles The Message
Section 10 - Page 6 of 26

2 1
Outside Air Temp Room Temperature Occ SP Boiler Flow Occ Setpoint
S3 S1
3 1 K10 230 K1 221
V V
66 24
V V
EXTERNAL EXTERNAL KN OB KNOB
DegC Units DegC Units
DegC Units DegC Units
2008 Trend Control Systems Limited, Horsham, West Sussex, U.K.

c
N1 9
S3V S D

GLOBAL TO
6 Remote Attributes
128 Remote Lan
1 Message Interval
0.40 Significant Change

e f
LAN
SET Comms Iss 1.05

Group 1\A9(V=<Current Value>)

The message is assembled by the IC Comms Module.


It is then sent onto the network every minute or if the value changes by 0.41.
IC Comms - How The Controller Assembles The Message - Config
SET Comms Iss 1.05

2 1
Outside Air Temp Room Temperature Occ SP Boiler Flow Occ Setpoint
S3 S1
3 1 K10 230 K1 221
V V
66 24
V V
EXTERNAL EXTERNAL KNOB KNOB
DegC Units DegC Units
DegC Units DegC Units
2008 Trend Control Systems Limited, Horsham, West Sussex, U.K.

N1 9
S3V S D

GLOBAL TO

c 6
128
1
0.40
Remote Attributes
Remote Lan
Message Interval
Significant Change

d e f

d g LAN
Section 10 - Page 7 of 26

Group 1\A9(V=<Current Value>)

The message is assembled by the IC Comms Module.


It is then sent onto the network every minute or if the value changes by 0.41.
Section 10 - Page 8 of 26

The Journey Of A Global IC Comms Message


5) Message picked up from network 1) Message sent from previous page:
but not actioned in sending controller. Group 1\A9(V=12.00)

IQ
2008 Trend Control Systems Limited, Horsham, West Sussex, U.K.

1 2 3 4 5 6 7 8 9 10

Address Attributes 2) LAN No.128 sends


FCU A 8 message to all LANs.
Office 1 8 INC
1st Floor 8
OK OK

IQ
TX RX TX RX
LAN LAN

1 2 3 4 5 6 7 8 9 10 123 4567 8910

Group 1 9 1 2 3 4 5 6 7 8 910

Trend LAN
4) Message matches
attributes, Analogue Address Attributes
node 9 is updated. FCU C 8
IQ
10 Office 1 8
1st Floor 8
1 2 3 4 5 6 7 8 9 10

OAT - From L001n024


S9 9
9 S
V Group 1 9
INTER NAL IQ
DegC
3
Units
Exponent 1 2 3 4 5 6 7 8 9 10
3) Message matches
attributes, Analogue
Address Attributes node 9 is updated.
FCU B 8
SET Comms Iss 1.05

10
Office 2 8 OAT - From L001n024

Group 2 8 S9
V
9
9 S
2nd Floor 8 INTER NAL
DegC Units
3 Exponent
How The Controller Assembles The Message - Using Label Matching
SET Comms Iss 1.05

2
Outside Air Temp
S3
3
V

EXTERNAL
DegC Units
2008 Trend Control Systems Limited, Horsham, West Sussex, U.K.

e
c N1 9
S3V S D

GLOBAL TO

f
7 Remote Attributes
128 Remote Lan
1 Message Interval
0.40 Significant Change

g LAN
Section 10 - Page 9 of 26

Group 2\Outside Air Temp(V=<Current Value>)

The message is assembled by the IC Comms Module.


It is then sent onto the network every minute or if the value changes by 0.41.
How The Controller Assembles The Message, Label Matching In Config
Section 10 - Page 10 of 26

2
Outside Air Temp
S3
3
V

3) As remote node is zero IC Comms EXTERNAL


DegC Units
uses the "label" of node it is sending
2008 Trend Control Systems Limited, Horsham, West Sussex, U.K.

e f
N1 9
S3V S D

c
GLOBAL TO
7 Remote Attributes
128 Remote Lan
1 Message Interval
0.40 Significant Change

d
g
d
h LAN
SET Comms Iss 1.05

Group 2\Outside Air Temp(V=<Current Value>)

The message is assembled by the IC Comms Module.


It is then sent onto the network every minute or if the value changes by 0.41.
SET Comms Iss 1.05

The Journey Of A Global IC Comms Message - Using Label Matching


4) Message picked up from network 1) Message sent from previous page:
but not actioned in sending controller. Group 2\Outside Air Temp(V=12.00)

IQ
2008 Trend Control Systems Limited, Horsham, West Sussex, U.K.

1 2 3 4 5 6 7 8 9 10

Address Attributes 2) LAN No.128 sends


FCU A 8 message to all LANs.
Office 1 8 INC
1st Floor 8
OK OK

IQ
TX RX TX RX
LAN LAN

1 2 3 4 5 6 7 8 9 10 123 4567 8910

Group 1 8 1 2 3 4 5 6 7 8 910

Trend LAN

Address Attributes
IQ FCU C 8
Office 1 8
1st Floor 8
1 2 3 4 5 6 7 8 9 10

10
Outside Air Temp
Group 1 8
S9 9
IQ
V
S9V S 1 2 3 4 5 6 7 8 9 10

INTERNAL
DegC
3
Units
Exponent
Address Attributes 3) Message matches
Section 10 - Page 11 of 26

FCU B 8 attributes. Any


Office 2 8 matching module
5
Outside Air Temp Group 2 9 label is updated.
S7
V
7 2nd Floor 8
S7V S
INTERNAL
DegC Units
3 Exponent
Exercise - Paper exercise only
1. Study the example below, and work out what the last message was which was
produced by the sending controller, the attributes are as shown on page 5. Write the
outgoing message below:

2. In the receiving controller why did knob 14 apparently not receive the value?

SENSOR 1 at step(s) 1 INTER C COMS 1


$ Test* % DegC Direction 2 global
Value 30.34 Attribute 2 remote laN 0
Input type 0 analogue input timer 12 Interval 15
tYpe 1 Offset 0.00 Var 0 analogue
H alarm 80.00 Delay 0.00 minutes Remote 0
L alarm 10.00 delAy 0.00 minutes Local 1 v 30.34 s 0000
alarm bit ROLH timer 24.83 minutes last sent v 30.41 s 0000
alarM 0000 Sig change 0.10
eNabled 0000 =?
acKed 0000
=? Sending controller

SENSOR 32 at step(s) 1
$Testing Testing % Receiving controller
Value 30.41
Input type 1 internal analogue
Source 32 v 30.41 s 0100 KNOB 1 $Testy Knoby
Expon't 3 Value 30.41 %
H alarm 40.00 Delay 0.00 minutes Analogue node 221
L alarm 10.00 delAy 0.00 minutes Trange 1000.00 Brange 0.00
alarm bit ROLH timer 0.00 minutes Pin level 0
alarM 0000 =?
eNabled 0000 KNOB 11 $Testament
acKed 0000 Value 30.41 %
=? Analogue node 231
Trange 1000.00 Brange 0.00
Pin level 0
KNOB 13 $1-2-3 Testing Test =?
Value 28.00 %
Analogue node 233 KNOB 14 $Test Brain
Trange 1000.00 Brange 0.00 Value 5.00 %
Pin level 0 Analogue node 234
=? Trange 10.00 Brange 0.00
Pin level 0
=?

Section 10 - Page 12 of 26 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
This page is intentionally blank

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 10 - Page 13 of 26
Exercise - Answers
1. Study the example below, and work out what the last message was which was
produced by the sending controller, the attributes are as shown on page 5. Write the
outgoing message below:

Basement\Test*(V=30.41)

2. In the receiving controller why did knob 14 apparently not receive the value?

Any module with a label 'Test......' will receive the value, however the knob
limits still apply hence K14's value does not change.

Section 10 - Page 14 of 26 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
This page is intentionally blank

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 10 - Page 15 of 26
Using The Full Stop In A Label

The full stop . has a special function when used


as part of a module or device attribute.
When the message leaves the controller the full
stop and all the characters following it are
replaced by *
If a controller contains the master setpoint
knob for a set of fan coils it could be labelled:
OCC Setpoint.Master
This would be sent in an IC comms message as:
OCC Setpoint*
This makes it clear which knob is the master
but it still writes to its intended targets.

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 10 - Page 19 of 26
How The Controller Assembles A Visitor Message With Label Matching
Section 10 - Page 20 of 26

5
Heating Demand
S11 11
V
S11V S
INTERNAL
2008 Trend Control Systems Limited, Horsham, West Sussex, U.K.

% Units

e N3 S11V
0 S D

c 7
0
MAX
Remote Attributes
Remote Lan
10 Message Interval

f
V = 55
d

g LAN
SET Comms Iss 1.05

*VAV*\Heating Demand{M=OO??}(V>-9999)

The message is assembled by the IC Comms Module.


It is sent on to the network every 10 minutes to address 127.
How The Controller Assembles A Visitor Message In Config
SET Comms Iss 1.05

5
Heating Demand
S11
3) As remote node is zero IC Comms V
11

e
S11V S
uses the "label" of node it is sending %
INTERNAL
Units
2008 Trend Control Systems Limited, Horsham, West Sussex, U.K.

N3 S11V
0 S D

MAX
7 Remote Attributes
0 Remote Lan
10 Message Interval

c
f V = 55

d
g
LAN
Section 10 - Page 21 of 26

*VAV*\Heating Demand{M=OO??}(V>-9999)

The message is assembled by the IC Comms Module.


It is sent on to the network every 10 minutes to address 127.
Section 10 - Page 22 of 26

The Journey Of A Maximum Visitor IC Comms Message


9) Message picked up from network 6) Message sent from previous page:
and value sent to originating node. *VAV*\Heating Demand{M=OO??}(V>-9999)

IQ
2008 Trend Control Systems Limited, Horsham, West Sussex, U.K.

1 2 3 4 5 6 7 8 9 10

Address Attributes 7) Visitors can only


RnD VAV 9 be sent to one LAN.
Office 1 8 INC
1st Floor 8
OK OK

IQ
TX RX TX RX
LAN LAN

1 2 3 4 5 6 7 8 9 10 123 4567 8910

Group 1 8 1 2 3 4 5 6 7 8 910

Trend LAN
8) Message matches
attributes, all matching
Address Attributes
modules are checked.
IQ RnD VAV 9
5
Office 1 8
1st Floor 8
1 2 3 4 5 6 7 8 9 10

Heating Demand
S11
V
11
Group 1 8
L1D S IQ
INTERNAL
% Units
Value = 50% 1 2 3 4 5 6 7 8 9 10

8) Message matches
13 attributes, all matching
Heating Demand
S13 Address Attributes modules are checked.
13
L6D S
V
RnD FCU 8
Office 2 8
SET Comms Iss 1.05

INTERNAL 5
% Units Value = 45% Heating Demand
Group 2 8 S11 11
2nd Floor 8 L1D S
V

INTERNAL
% Units Value = 55%
Error Checking in Visitor Messages
SENSOR 1 at step(s) 1
$ Heating Demand %DegC
Value 18.67
Input type 0 analogue input
tYpe 1 Offset 0.00
H alarm 35.0 Delay 0.00 minutes
L alarm 2.5 delAy 0.00 minutes
alarm bit R O L H timer0.00 minutes
alarM 0000
eNabled 0 0 0 0
If read or out of limits
acKed 0000 bits are set in a
module, then that
SENSOR 2 at step(s) 2 value will be ignored
$ Heating Demand %DegC by the IC comms
Value 24.2
Input type 0 analogue input visitor message.
tYpe 1 Offset 0.00
H alarm 35.0 Delay 0.00 minutes
L alarm 2.5 delAy 0.00 minutes
alarm bit R O L H timer0.00 minutes
alarM 0000
eNabled 0 0 0 0
acKed 0000

Working with your neighbour on one PC


1. Using your project in SET, set up a visitor IC comms in controller 14 to find the
average 'Room Temperature' every minute, for all the controllers on your lan.

You will need to add a new internal sensor to your controller to store the value,
use sensor 21 and give it the label 'Room Temperature.AVG'. Set up the sensor
like S11 on page 21.

2. Use a local-global text comms window to display all the Room Temperature
readings, and do a rough calculation to see if your result is correct. Do the
readings include sensors in your IQ 14?

3. What is the significance of adding the '.' in the sensor label?

SET Comms Iss 1.05 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. Section 10 - Page 23 of 26
Security And IC Comms

Security is required whenever you want to change a value:


e.g. Global (direction 2) ICC or TO (direction 1) ICC
1) User 1 level 99, the pin
is encoded and sent with
the message.

IQ IQ

Trend LAN
1 2 3 4 5 6 7 8 9 10

1 2 3 4 5 6 7 8 9 10

2) The pin is
checked against
users 1 to 6 for a
level 99 match.

3) If user 1 is not set up in


the sending controller no
pin is sent.

IC Comms Type Level Required


Global TO 99
Digital (bit only) TO 95
Note: If the IC Comms is to change the value of a knob or switch, the PIN sent
must match a user in the receiving controller with a level equal to or greater than the
PIN for that particular item.

Section 10 - Page 24 of 26 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
IC Comms Sending Occupancy Status
SET Comms Iss 1.05

For some sites IC comms may be used to transmit time zone


bytes from one or more 'Master' IQs to many others. This set up
will be easier to maintain for the end user as fewer time zones
will need updating when changes are required.
2008 Trend Control Systems Limited, Horsham, West Sussex, U.K.

d
Lighting 14,0 32,
Z2
N5 0
TIME ZONE Z2,0 S D 1
0 3 6 9 12 15 18 21 24
MON 2
TUE GLOBAL TO
3
WED 6 Remote Attributes
THU 0 Remote Lan 4
FRI 20 Message Interval 5
SAT
Section 10 - Page 25 of 26

e
SUN 6

f
7
LAN

Basement\B32(S=--------)

Note: Security issues may need to be addressed.


This page is intentionally blank

Section 10 - Page 26 of 26 2008 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.05
Appendix
Using Text Comms With Older Trend Products ....................................................... 2
Dr Technicare LTPLKJ - SANC Settings .................................................................. 3
SET Project Defaults................................................................................................. 4
Customising Your Own ToolSET Start Up. .............................................................. 5
The Comms Display ................................................................................................. 6
Notes for setting up the Trend NXNI Variable Speed Drive Network Interface. ....... 7
Text Comms Support In IQ3 Controllers ................................................................. 9
New Module Parameters In IQ3 Controllers ........................................................... 10

SET Comms Iss 1.04 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. Appendix - Page 1 of 12
Using Text Comms With Older Trend Products

The system view in ToolSET sets the correct addressing


mode (directed, global or global-global) automatically when
you launch the text comms applet.

If you are using Wupdn, 822 or Powertool the mode has to


be set in the controller (node) and lan address as follows:
Node LAN
Type of Text Comm
Address Address
Global-Global
0 128
(All devices all LANs)
Local-Global
0 0
(All devices on local LAN)
Remote-Global 0 LAN No.
Single Device Address LAN No.
Visitor Message 127 LAN No.
Note: Only valid Trend addresses can be used (1,4-9,11-119) as well as 0 for
local LAN.

Appendix - Page 2 of 12 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.04
Dr Technicare LTPLKJ - SANC Settings
DESCRIPTION: How to get the best from SANC in System Engineering Tool

ANSWER: SANC (Software Autodialling Node Controller) is an historic term inherited from Trends
early supervisor, 921. It is a means of autodialling into Trend modem connected sites using a standard PC
modem, rather than a Trend network and a Trend modem. SANC is now implemented in SET, and can be
used with a variety of modems. The modem can be internal or external to the PC, and can even be a mobile
phone with modem capabilities.
TCC, the comms engine behind SET, will set the modem up as required, but should you not be able to
connect via SANC ensure that the modem has the following settings.
S
e
t
t
i
n
g

V
a
l
u
e

A
T
C
o
m
m
a
n
d
E
c
h
o
c
o
m
m
a
n
d
s

O
F
F

A
T
E
0
M
o
d
e
m
t
e
x
t
m
e
s
s
a
g
e
s

O
N

A
T
V
1
S
e
r
i
a
l
p
o
r
t
s
p
e
e
d

L
o
c
k
e
d

A
T
&
B
1
H
a
r
d
w
a
r
e
d
a
t
a
f
l
o
w
c
o
n
t
r
o
l
R
T
S
/
C
T
S

O
N

A
T
&
H
1

D
S
R
w
h
e
n
c
o
n
n
e
c
t
e
d
D
S
R
f
o
l
l
o
w
s
c
a
r
r
i
e
r

O
N

A
T
&
S
1

D
C
D
c
o
n
t
r
o
l
D
C
D
f
o
l
l
o
w
s
c
a
r
r
i
e
r

O
N

A
T
&
C
1

E
r
r
o
r
d
e
t
e
c
t
i
o
n

O
F
F

A
T
&
M
0
S
t
o
r
e
s
e
t
t
i
n
g
s
i
n
n
o
n
-
v
o
l
a
t
i
l
e
m
e
m
o
r
y
p
r
o
f
i
l
e

N
o

A
T
&
W
0
S
t
o
r
e
s
e
t
t
i
n
g
s
i
n
n
o
n
-
v
o
l
a
t
i
l
e
m
e
m
o
r
y
p
r
o
f
i
l
e

Y
e
s

A
T
&
W
1

Before making any of these changes it is recommended that the modem be rest to the factory default settings
(AT&F). After the settings have been made the modem must be set to use the new settings with ATZ.
Note that the AT commands described above are for a US Robotics 56JK Faxmodem.
For a Hayes Accura 56K modem, all the above settings still apply, excepting;
Instead of AT&H1 - send AT&R1
and dont send AT&W1
SANC has also been tested using Nokia 6310i mobile phones, with cable, infra-red and Bluetooth
connections. This works without any additional settings being entered, but does require the installation of
the Nokia modem software and the enabling of data on the phones account.
For more information about specific AT commands for other modems, please visit WWW.MODEMS.COM.

SET Comms Iss 1.04 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. Appendix - Page 3 of 12
SET Project Defaults

To enter the defaults window for SET, open a project open then select 'SET options'
from the 'Tools' menu.

c
d f

c In Company details the company name cannot be changed as it forms part


of the licence. The address and phone numbers can be changed to allow
companies operating from several branches to show the appropriate
contact details.
d Base project directory is the root for all projects. Both this and the Plant
block directory may be mapped to a network drive to allow projects and
macros to be shared and backed up easily.
e The Comms window allows a serial or TCP/IP connection to the Trend
LAN to be set up.
f Module labels can either be typed in or selected from a drop-down box.
The default labels which appear in the box can be edited here.

Appendix - Page 4 of 12 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.04
Customising Your Own ToolSET Start Up.

From the Tools menu select ToolSET Options

c Load/Save Options - Specify what needs to be saved to the ToolSET


project when a session is closed.

d Do not show Login Window - Hides the login window when ToolSET first
runs up.

e Standards Comms Connection - Configure your own Standard Comms


connections for site connections.

SET Comms Iss 1.04 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. Appendix - Page 5 of 12
The Comms Display

To show the comms window. Click the comms LEDs on the bottom right hand
corner of the ToolSET display.

Replies Sent messages

Note. Right click on the comms


display to bring up a Popup menu
with a number of options.

The Log file will be saved in :-

C:\Program Files\Trend Control Systems\System


Engineering Tool\<Project Name>.log

Appendix - Page 6 of 12 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.04
Notes for setting up the Trend NXNI Variable Speed Drive
Network Interface.

These notes should be read in conjunction with NXNI Installation instructions (TG200543), the NXNI
Data Sheet (TA200544) and the NX Variable Speed Drive Data Sheet (TA200433).

Installation
Insert the interface board in the Trend NX variable speed drive and connect the network cable
following the instructions in the NXNI installation instructions pages 1 to 2. The default address
is 4 and the default network baud speed is 9600.
If you need to change the address or network baud speed use the drive keypad and follow the
instructions in the NXNI installation instructions, which are very clear. When completed you
should be able to map the NXNI and communicate with it using Powertool and text comms
messages such as R(*).

Control
The drive can be controlled from the following sources:
1 Drive keypad This is usually used for commissioning and gaining
familiarity with the control parameters.
2 Drive I/O For conventional control of enable, speed and override using
voltage and status signals.
3 Fieldbus This is the drives name for the Trend network.
4 A mixture of 2 and 3 In practice many sites will control fan enable and speed
through Fieldbus, with a safety override hard-wired to the
drive I/O.

The parameter for selecting the main control source is called Control Place, and it is selected using the
drive keypad.

The Drive Keypad


The screens on the keypad are in a tree system. Generally, each screen shows either a list of items such
as alarms or parameters (e.g. P1-P15) or a single parameter and its current setting. Use the plus and
minus keys to scroll through the list of parameters until you find the right one. The Trend NX VSD Data
Sheet has a full list of screens.
If a parameter can be changed press the right arrow key and the setting will flash. This is edit mode.
Because of the small size of the screen only one choice can be seen at a time, so use the plus and minus
keys to scroll through the list of choices. The lists of choices sometimes do not wrap round as the Trend
keypad does, so if you are at the top of a list pressing the plus key may have no effect but the minus key
will scroll down through the choices. When you have selected your choice press the enter key to
confirm the change. Then press the left key to escape from that menu.
Continued...

SET Comms Iss 1.04 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. Appendix - Page 7 of 12
Each screen has a useful index at the top left showing the screen number and the path. For example
P2.1.11, this means menu 2 (parameters), choice 1 (basic parameters), item 11 (I/O parameters).
The initial capital letter changes from M to G, then to P as you move down the menu tree.
Setting the control place:
Press the left key until you reach the menu area M
Press plus or minus until you reach page M3
Press right which will show the current Control Place setting (on page P3.1)
Press right to edit the Control Place setting
Press plus or minus to select a new setting
Press the enter key to confirm the change
Press left to go back to the previous menu

To set up the unit for a mixture of Fieldbus and I/O control (option 4 on page 1) the Control Place
must be set to 'Fieldbus', and a digital input (e.g DIN3) must be set to 'Run Enable'. DIN3
functionality can be changed on page P2.2.2.

Trend Monitoring and Control


The NXNI has twenty sensors and ten digital inputs for monitoring all relevant drive parameters.
Sensor and digital input labels, alarm enables and alarm levels can be all be changed. Three
plotting channels are available and can be linked to any sensor. Display and directory modules are
already set up to give default pages for Operation and Diagnostics.
If the Control Place is set to Fieldbus all control of the fan can be achieved via the Trend network.
However, with this option there can be no hardware control of the fan from a fire signal input.
For this reason control will often be set to a mixture of Fieldbus and Drive I/O (option 4 on the
previous page). Speed control of the fan can then be achieved by sending values from an IQ
controller using ICcomms to knob 1 in the NXNI, and on/off control by sending a status signal to
Switch 1. Under all conditions the drive will stop if input 3 (DIN3) is switched off.
Control will normally be from an IQ controller using ICcomms modules to send enable and
demand signals to the interface. The NXNI has only the text comms protocol installed, so it will
not respond to compact comms or configuration mode comms. IQ controllers use compact comms
for 'data to' ICcomms, and text comms for global ICcomms. This means a normal data to
ICcomms will not be understood by an NXNI. To achieve communications set the IQ ICcomms
to global which forces the IQ to send in text comms protocol. You should also use a unique
attribute in the address modules of both the controller and the NXNI to ensure that only the NXNI
receives the message.
Furthermore, the NXNI contains no analogue or digital nodes, so for the ICcomms demand signal
to be received it must be sent using module label matching. If the remote (destination) node of the
ICcomms module is set to zero, the ICcomms module picks up the source module label and uses
this as a second attribute in the global message. In the NXNI the label of knob 1 must be set to the
same text as the controller source module. Remember that matching is case-sensitive.
If a fault is caused which can be remotely reset, then set switch 2 (Fault Reset) to ON (it will reset
itself automatically). Then set switch 1 (Command Signal) to off. The unit will restart when
switch 1 is next turned on.

Appendix - Page 8 of 12 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.04
Text Comms Support In IQ3 Controllers
Summary of IQ3xcite differences for Text comms:-
If using item attributes (labels) for searching:

IQ2 message format = Room*($,V,%)


IQ3xcite message format = Room*($,V,%)

There is no format difference between controllers, however this shows replies from any matching
module attribute, i.e. Sensors, Knobs, sWitches. Therefore if searching for specific module types,
this shows a different format needs to be used:

IQ2 message format = S\Room*($,V,%)


IQ3xcite message format = S{$="Room*"}($,V,%)

When launching full controller attribute & item attribute text comms.

IQ2 message format = Floor 1\Occ*($,V,%)


IQ3 message format = Floor 1\Occ*($,V,%)

Note:
IQ2's will accept "\" or "/" between controller attribute and module attribute
IQ3xcites will only accept "\".

There is limited difference in the message format used, however this shows replies from any
matching module attribute, i.e. Sensors, Knobs, sWitches. Therefore if searching for specific
controller attributes and module types use:

IQ2 message format = Floor 1\K\Occ*($,V,%)


IQ3xcite message format = Floor 1\K{$="Occ*"}($,V,%)

Visitor Messages:
IQ3xcite controllers at present do not respond to visitor messages.
IQ3xcite firmware 1.2 will respond to IC Comms visitor messages.

Note:
the Text comms window has an 'Options' button, as shown
the protocol character can be selected. This specifies the
communications protocol that is used. It should always be
set to v Normal for Pre IQ3 controllers. It should be set
to t Structured for IQ3 controllers. This allows deeper
module information to be retrieved, for example Time zone
day period start and stop times.

When communicating with IQ3 controllers v Normal


can be selected if the results of v comms are required.
However if you do this, the structured parameters will not
be shown.

SET Comms Iss 1.04 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. Appendix - Page 9 of 12
New Module Parameters In IQ3 Controllers
Sensor Module

Prompt Comment

$ Module Label - Reply will be within "quotes"

% Module Units - Reply will be within "quotes"

Module Override - I indicates module is disabled and not updating, O indicates module is
~
enabled and calculating

V Scaled value of this sensor, in engineering units

Value connections - [L1P;L2P] indicates this module value is being read by loop modules 1 & 2
Vc
process variable

Y Sensor type - selects the sensor type data to be used for scaling this sensor

O Offset in engineering units which will be added to the scaled value

Oc Offset connections - [K1V] indicates this module is reading its offset value from knob 1

H High alarm limit - when the sensor value is above this limit a sensor high alarm is generated

Hc High alarm connections - which modules are reading the status of this sensors high alarm

L Low alarm limit - when the sensor value is above this limit a sensor low alarm is generated

Lc Low alarm connections - which modules are reading the status of this sensors low alarm

Alarm status indicator - ranges from 0, 2 to 5


!
0 = OK, 2 = High alarm, 3 = Low alarm, 4 = OUTL alarm, 5 = Read alarm

Traditional alarm status indicator - OOOO Each of the four alarm bits indicates either the alarm
M state I or the non-alarm state O. The alarms are reading from left to right. Read, OUTL, LOW,
HIGH.

Digital Input Module

Prompt Comment

$ Module Label - Reply will be within "quotes"

Module Override - I indicates module is disabled and not updating, O indicates module is
~
enabled and calculating

S Source input state signal from module channel

R Required state for input signal - determines when the occured and cleard alarms are generated

Required state connection - [W1V] indicates this module is reading its required state value from
Rc
switch 1

Alarm status indicator - ranges from 0 to 1


!
0 = OK, 1 = Digital input alarm occured

H Hours run value - cumulative run time in hours for this digital input

Hc Hours run connections - indicates which modules are reading the hours run value

N Number of starts - number of starts for this digital input

Nc number of starts connections - indicates which modules are reading the number of starts value

Appendix - Page 10 of 12 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.04
New Module Parameters IQ3xcite controllers
Driver Module

Prompt Comment

$ Module Label - Reply will be within "quotes"

Module Override - I indicates module is disabled and not updating, O indicates module is
~
enabled and calculating

S Source signal for this module

Sc Source signal connection - indicates where module is reading its source signal from

Alarm status indicator - ranges from 0, 8 to 9


!
0 = OK, 8 = Maintenance interval alarm, 9 = Readback alarm

Time Zone Module

Prompt Comment

$ Module Label - Reply will be within "quotes"

V Current Value/State of time zone - I indicates occupied, O indicates unoccupied

Value signal connection - [L1S;L2S] indicates this module value is being read by loop modules 1
Vc
& 2 setpoint selects

Address Module

Prompt Comment

$ SET project name- Reply will be within "quotes"

D Controller identifier - Reply will be within "quotes"

FGHIJK Controller attributes - Reply will be within "quotes"

L Local address

N Local node (address)

U RS232 local supervisor address

i IP address in dotted decimal format - Reply will be within "quotes"

n Subnet mask in dotted decimal format - Reply will be within "quotes"

u UDP port number

s IQ3xcite MAC address - Reply will be within "quotes"

r Default router in dotted decimal format, string is returned in "quotes"

Global Unique IDentifier (GUID) used when sending alarms to IP addressses - Reply will be
O
within "quotes"

m Email server for Email server,- Reply will be within "quotes"

P Controller language,- Reply will be within "quotes"

T Module override timer (minutes)

C Controller issue

SET Comms Iss 1.04 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. Appendix - Page 11 of 12
This page is intentionally blank

Appendix - Page 12 of 12 2007 Trend Control Systems Limited, Horsham, West Sussex, U.K. SET Comms Iss 1.04
Contact Details
Technical Support Queries
In the first instance technical support queries should be directed
to the installer responsible for the site. Failing this, enquiries may
be directed to Trend Technical Support via one of the following
options:
Tel +44 (0) 1403 226600
Fax +44 (0) 1403 226310
e-mail techsupport@trendcontrols.com

Information on Training Courses


Details of the current schedule of courses offered by Trend are
available from the following web site:
www.trend-controls.com
(click 'Support' then 'Training')
In addition a paper prospectus and individual course data sheets
are available from the registrars:
Tel +44 (0) 1403 226230
Fax +44 (0) 1403 226450
e-mail education@trendcontrols.com

Booking Trend Training Courses


All booking enquiries, including availabilty should be directed to
the registrars at the contact details shown above.

NTST-BMS-111-002 28/02/2008
This page is intentionally blank

NTST-BMS-111-002 28/02/2008
This page is intentionally blank

NTST-BMS-110-007 28/02/2008

Vous aimerez peut-être aussi