0% found this document useful (0 votes)
2K views182 pages

File315403376031 2

This technical guide provides documentation for a PTS controller board modification called PTS-U3. The guide includes information on the controller's features and specifications, supported communication protocols for fuel dispensers and ATG systems, board interfaces and connectors. It also describes configuration and operation of the controller using a configuration utility, and includes details on application programming interfaces for integrating the controller into various systems.

Uploaded by

Haseeb Ashraf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views182 pages

File315403376031 2

This technical guide provides documentation for a PTS controller board modification called PTS-U3. The guide includes information on the controller's features and specifications, supported communication protocols for fuel dispensers and ATG systems, board interfaces and connectors. It also describes configuration and operation of the controller using a configuration utility, and includes details on application programming interfaces for integrating the controller into various systems.

Uploaded by

Haseeb Ashraf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 182

PTS controller

over fuel dispensers and ATG systems


for petrol stations

TECHNICAL GUIDE
(PTS controller PCB board modification: PTS-U3)

Review date: 29 July, 2013

TECHNOTRADE LTD
PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

CONTENT
REVISION HISTORY .......................................................................................................................................... 6
PURPOSE OF THE DOCUMENT ......................................................................................................................... 7
TECHNICAL FEATURES ..................................................................................................................................... 8
Appointment ........................................................................................................................................... 8
Specification ............................................................................................................................................ 8
SUPPORTED FUEL DISPENSERS COMMUNICATION PROTOCOLS ....................................................................... 9
SUPPORTED ATG SYSTEMS COMMUNICATION PROTOCOLS........................................................................... 11
BOARD CONNECTORS AND INTERFACES ........................................................................................................ 12
COMMUNICATION PORTS ............................................................................................................................. 13
CONNECTION TO CONTROL SYSTEM .............................................................................................................. 14
CONNECTION TO FUEL DISPENSERS ............................................................................................................... 15
CONNECTION TO ATG SYSTEMS ..................................................................................................................... 16
PTS CONTROLLER MULTI POS SYSTEMS OPERATION ...................................................................................... 17
PTS CONTROLLER CONFIGURATION ............................................................................................................... 19
General information ...............................................................................................................................19
Scheme of connections ...........................................................................................................................20
Launching pts_conf utility .......................................................................................................................20
Configuration of pump channels .............................................................................................................20
Configuration of ATG channels ................................................................................................................22
Parameters configuration .......................................................................................................................23
Configuration of parameters for pumps protocols ...............................................................................23
Configuration of parameters for ATG systems .....................................................................................24
Configuration of parameters for PTS controller ...................................................................................25
Configuration of parameters for interface converters..........................................................................26
Configuration of parameters for logging ..............................................................................................27
Update of the PTS controller firmware ....................................................................................................28
Logging of PTS controller operation ........................................................................................................30
Self-diagnostics of PTS controller interfaces and DIP-switch ....................................................................33
Saving of all configuration of PTS controller to file ..................................................................................35
Loading of all configuration of PTS controller from file ............................................................................36
Additional possibilities of PTS controller configuration utility ..................................................................37
Reading of PTS controller firmware version .........................................................................................37
Setting of PTS controller configuration utility language .......................................................................37
Setting of PTS controller configuration utility skin for graphical user interface ....................................38
Logging of Pts_conf utility operations..................................................................................................39
BUILT-IN PUMP SIMULATOR .......................................................................................................................... 40
BUILT-IN ATG PROBE SIMULATOR.................................................................................................................. 41
APPLICATION PROGRAMMING INTERFACES (API) .......................................................................................... 42
C and C++ API..........................................................................................................................................43
C# API .....................................................................................................................................................45
C# application .........................................................................................................................................47
Delphi API ...............................................................................................................................................49
Java API ..................................................................................................................................................51
Python API ..............................................................................................................................................53
Visual Basic .NET API ...............................................................................................................................55
Visual Basic .NET application ...................................................................................................................57
COM-object for MS Windows OS.............................................................................................................59

www.technotrade.ua page 2 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
Visual Basic 6.0 application .....................................................................................................................59
PTS CONTROLLER SOFTWARE DEVELOPMENT KIT (SDK) ................................................................................ 61
PTS controller SDK appointment .............................................................................................................61
PTS controller SDK structure ...................................................................................................................62
PTS controller SDK technical features ......................................................................................................62
Specification .......................................................................................................................................62
Communication ports..........................................................................................................................62
PTS controller SDK connections scheme ..................................................................................................63
RS-232/RS-485 interface converter purpose ............................................................................................65
Appointment.......................................................................................................................................65
Specification .......................................................................................................................................65
Communication ports..........................................................................................................................65
Features ..............................................................................................................................................65
RS-232/RS-485 interface converter PCB board connectors overview .......................................................66
Top view .............................................................................................................................................66
Back view ............................................................................................................................................67
RS-232/RS-485 interface converter operation .........................................................................................68
USB software protection dongle Guardant ..............................................................................................69
Appointment.......................................................................................................................................69
Installation ..........................................................................................................................................69
NaftaPOS software for petrol stations .....................................................................................................70
Appointment.......................................................................................................................................70
Installation ..........................................................................................................................................70
Configuration of NaftaPOS software to work with PTS controller ........................................................73
Running NaftaPOS software ................................................................................................................85
PumpDemo utility ...................................................................................................................................86
Open source PTS controller .NET application ...........................................................................................88
Purpose ..............................................................................................................................................88
Start ....................................................................................................................................................89
Configuration of PTS controller ...........................................................................................................89
Main view ...........................................................................................................................................91
Settings of fuel point icons ..................................................................................................................92
Reading of fuel point total counters ....................................................................................................93
Settings ...............................................................................................................................................94
Displaying ATG systems probes states .................................................................................................95
Settings of ATG probe icons ................................................................................................................96
TiT.PTS classes help file .......................................................................................................................97
PTS COM-object ......................................................................................................................................98
PTS controller test utility .........................................................................................................................99
Purpose ..............................................................................................................................................99
PTS terminal utility................................................................................................................................100
Purpose ............................................................................................................................................100
UniPump pumps software simulator .....................................................................................................101
Purpose ............................................................................................................................................101
Main view .........................................................................................................................................101
Configuration ....................................................................................................................................102
UniProbe ATG probes software simulator .............................................................................................105
Purpose ............................................................................................................................................105
Main view .........................................................................................................................................105
www.technotrade.ua page 3 from 182
PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
Configuration ....................................................................................................................................106
Start Italiana ATG probes software simulator ........................................................................................108
Purpose ............................................................................................................................................108
Step-by-step configuration of the PTS controller SDK ............................................................................109
Purpose ............................................................................................................................................109
Step 1. Downloading of PTS controller SDK software .........................................................................109
Step 2. Assembling PTS controller SDK cabling and connection to PC .................................................109
Step 3. Connection of cabling ............................................................................................................111
Step 4. Installation of NaftaPOS software for petrol stations .............................................................112
Step 5. Configuration of NaftaPOS software to work with PTS controller for communication with
pumps and ATG systems ...................................................................................................................112
Step 6. Configuration of pumps software simulator ...........................................................................120
Step 7. Configuration of ATGs software simulator .............................................................................122
Step 8. Running NaftaPOS software...................................................................................................123
Step 9. Configuration and running of open-source application for PTS controller ..............................127
EXAMPLES OF FUEL DISPENSERS CONNECTION SCHEMES ............................................................................ 132
Gilbarco dispenser connection scheme .................................................................................................132
Wayne Dresser dispenser connection scheme (RS-485 interface) ..........................................................135
Wayne Dresser dispenser connection scheme (current loop interface) .................................................136
TATSUNO (Japan) dispenser connection scheme ...................................................................................138
TATSUNO Benc dispenser connection scheme.......................................................................................140
Tokheim dispenser connection scheme .................................................................................................141
Nuovo Pignone dispenser connection scheme (RS-485 interface) ..........................................................143
Nuovo Pignone dispenser connection scheme (4-wire current loop interface) ......................................144
Batchen Email dispenser connection scheme ........................................................................................145
Scheidt & Bachmann T20 dispenser connection scheme .......................................................................147
PETPOSAN-S4 / MEKSAN-S4 / EUROPUMP-S4 dispensers connection scheme .......................................148
PETPOSAN-Beta / EUROPUMP-Beta dispensers connection scheme ......................................................149
EuroPump dispenser connection scheme ..............................................................................................150
Mekser dispenser connection scheme...................................................................................................151
Mepsan UNIMEP dispenser connection scheme ....................................................................................152
Meksan / Wayne SU86 dispenser connection scheme ...........................................................................153
Baransay dispenser connection scheme ................................................................................................154
Korea EnE (LG EnE) dispenser connection scheme .................................................................................155
SAFE dispenser connection scheme.......................................................................................................156
Shelf dispenser connection scheme ......................................................................................................157
UniCon dispenser connection scheme ...................................................................................................158
EXAMPLES OF ATG SYSTEMS CONNECTION SCHEMES.................................................................................. 159
Gilbarco Veeder Root ATG systems TLS2, TLS-250, TLS-300, TLS-350, TLS-450 connection scheme ........159
Start Italiana wired probes connection scheme .....................................................................................160
Start Italiana wireless probes connection scheme .................................................................................161
Start Italiana ATG system connection scheme .......................................................................................162
Struna ATG system connection scheme .................................................................................................163
OPW Site Sentinel ATG system connection scheme ...............................................................................164
Colibri ATG system connection scheme .................................................................................................165
FAFNIR ATG system connection scheme ................................................................................................166
Hectronic ATG probes connection scheme ............................................................................................167
PTS CONTROLLER PCB BOARD ..................................................................................................................... 168
PCB board top view ...............................................................................................................................168
www.technotrade.ua page 4 from 182
PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
PCB board bottom view ........................................................................................................................168
Board dimensions .................................................................................................................................169
PTS CONTROLLER CABLINGS ........................................................................................................................ 170
PREVIOUS HARDWARE VERSIONS OF PTS CONTROLLER BOARD................................................................... 177
PTS-U2 board modification ...................................................................................................................177
PTS-U2 board connectors and interfaces ...........................................................................................177
PTS-U2 board ....................................................................................................................................178
PTS-U2 board cabling ........................................................................................................................179
PTS-U board modification .....................................................................................................................180
PTS-U board connectors and interfaces .............................................................................................180
PTS-U board ......................................................................................................................................181
PTS-U board cabling ..........................................................................................................................182

www.technotrade.ua page 5 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

REVISION HISTORY

REV DATE BY SECTION DESCRIPTION


R01 12.04.2013 Eugene All First release of PTS-U3 board revision
Vasylyev

R02 29.07.2013 Evgeniy UniPump pumps software simulator Updated UniPump pumps software simulator
Vasyliev UniProbe ATG probes software simulator Updated UniProbe ATG probes software
simulator

www.technotrade.ua page 6 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

PURPOSE OF THE DOCUMENT


This Technical Guide is intended for studying of PTS controller over fuel dispensers and ATG systems for
petrol stations. It contains basic information regarding its
technical characteristics
supported communication protocols of fuel dispensers and ATG systems
board interfaces and connectors
configuration
supplied application programming interfaces (API)
description, configuration and connection of PTS controller software development kit (SDK)
schemes of connection to fuel dispensers and ATG systems
board schematics
cabling
Information regarding connection to specific fuel dispensers and correspondent configuration of PTS
controller can be received upon request to TECHNOTRADE LTD company.
Given technical manual describes the latest hardware version of the PTS controller board (PTS controller
PCB board modification PTS-U3), older versions of the PTS controller (PTS-U2 and PTS-U) and their
corresponding connection schemes are found in the end of this document.
Due to a reason that PTS controller firmware is constantly being developed in direction of improvement of
its possibilities, changes are possible in final version, which are not described in given Technical Guide.
During the system development process given Technical Guide is also expanded and updated and new
chapters are added. Latest version of this Technical Guide can be downloaded from the PTS controller web-
page: http://www.technotrade.ua/fuel_pump_controller.html.
TECHNOTRADE LTD hereby permits reproduction of this document as may be required by any of the
customers or OEMs wishing to use it.
This document has been carefully prepared and is believed to be accurate. However TECHNOTRADE LTD, its
employees and its agents do not assume responsibility for its use either directly or indirectly.
TECHNOTRADE LTD shall not be liable for technical or editorial errors or omissions which may appear in this
document. TECHNOTRADE LTD reserves a right to make changes to this document at any time without
notice. Prospective users of this document should contact TECHNOTRADE LTD at the time they wish to use
PTS controller together with their products to become aware of any updates that may apply.
In case if you find any mistakes, omissions in this document or have any suggestions on improvements to
this document, please feel free to e-mail them to our support mailbox: [email protected]. We
will be grateful to you for this valuable information.
All technical questions regarding the PTS controller are welcome to be asked on support mailbox:
[email protected]. Our support team will be glad to help you.

Also you can call to us or visit us on:

TECHNOTRADE LTD
Ukraine, 04114 Kiev, Polupanova str. 10, office 1
Tel: +38-044-502-46-55, +38-044-502-46-77
Web: www.technotrade.ua
Mail: [email protected]

www.technotrade.ua page 7 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

TECHNICAL FEATURES
Appointment
PTS controller over fuel dispensers and ATG systems for petrol stations is a specialized controller intended
to be used in connection with third party control system for petrol station (POS system, cash register, OPT
terminal, etc) to provide simultaneous remote control over petrol, diesel, CNG and LPG dispensers and
automatic tank gauge (ATG) systems installed at petrol, CNG and LPG stations and storage depots.

PTS controller provides control using the single common communication protocol. PTS controller provides
conversion of the common communication protocol into various proprietary communication protocols of
fuel dispensers and ATG systems.

PTS controller is supplied with a rich set of API (application programming interfaces) developed under most
popular programming languages and environments in order to make comfortable and quick
implementation of PTS controller into control systems for petrol stations (POS system, cash register, OPT
terminal, etc).

Specification
PARAMETER VALUE
Power supply voltage 12 V DC
Current consumption 200 mA max
Temperature range -40°C ÷ +80°C
Weight 120 g
Overall dimensions 120 x 85 x 30 mm

www.technotrade.ua page 8 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

SUPPORTED FUEL DISPENSERS COMMUNICATION PROTOCOLS


Baud rate is configured for pump channels in PTS controller independently on the used communication
protocol.
Some dispensers may demand using interface converter boards to RS-485 interface (depends on electronics
of used pumphead in dispenser). Read more information on interface converters on:
http://www.technotrade.ua/dispenser_interface_converters.html
## FUEL DISPENSER BRAND PROTOCOL NAME
1 GILBARCO GILBARCO Two-Wire
2 WAYNE DRESSER WAYNE Dart
3 WAYNE DRESSER Wayne US Current Loop
4 WAYNE PIGNONE WAYNE Dart
5 NUOVO PIGNONE Nuovo Pignone
Tokheim Controller-Dispenser
6 TOKHEIM
Communication protocol
7 TATSUNO (JAPAN) TATSUNO SS-LAN
8 TATSUNO EUROPE (FORMER BENC) TATSUNO Benc PDE
9 LOGITRON Marconi PumaLAN
10 EUROPUMP S4-Dart
11 MEPSAN S4-Dart
12 MEKSAN / WAYNE SU86 WAYNE Dart
13 MEKSER S4-Dart
14 2A S4-Dart
15 PETROLMECCANICA WAYNE Dart
16 TOKICO Tokico SS-LAN
17 TOMINAGA Tominaga SS-LAN
18 SALZKOTTEN GILBARCO Two-Wire
19 ADAST (ADAMOV SYSTEMS) ADAST EasyCall
20 PEC (GALLAGHER FUEL SYSTEMS) PEC Pump Communication Protocol
21 PETROTEC GILBARCO Two-Wire
22 ZAP / MM PETRO MM PETRO ZAP RS-485
23 BENNETT BENNETT pump dispenser protocol (current loop)
24 BENNETT BENNETT pump dispenser protocol (RS-485)
25 EMGAZ DRAGON Marconi PumaLAN
26 KALVACHA Kalvacha
27 GALILEO PumpControl GC21
28 KRAUS MNET design specification
29 BATCHEN GILBARCO Electroline
30 BATCHEN GILBARCO MPP
31 PROWALCO SPDC-1, MPDC-1
32 BARANSAY GILBARCO Two-Wire
33 FALCON LPG GILBARCO Two-Wire
34 KOREA ENE EnE Dispenser POS protocol
35 LG ENE EnE Dispenser POS protocol
36 SOMO PETRO POS protocol
37 HONG YANG HongYang 886 communication protocol

www.technotrade.ua page 9 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

38 HONG YANG HongYang FZ-protocol


39 LANFENG RS–232 Protocol of Dispenser
40 SANKI Sanki communication protocol
41 BLUE SKY Blue Sky
42 REAL-TECH Blue Sky
43 SEA BIRD Blue Sky
44 DONG HWA PRIME Prime pump interface
45 EPCO EPCO protocol specification
46 GREENFIELD GILBARCO Two-wire
47 SAFE SAFE Graf
48 DEVELCO DEVELCO
49 PUMP CONTROL PumpControl GC21
50 AGIRA PumpControl GC21
51 ASPRO PumpControl GC21
52 IMW PumpControl GC21
53 IMW Tokheim UDC
54 SLAVUTICH SLAVUTICH FD-Link
55 SHELF SHELF
56 UNICON-TIT TIT UniPump
57 KPG-2 TIT UniGaz
58 KIEVNIIGAZ TIT UniGaz

www.technotrade.ua page 10 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

SUPPORTED ATG SYSTEMS COMMUNICATION PROTOCOLS


Communication parameters (baud rate, parity control, data and stop bits) are configured for ATG channels
in PTS controller independently on the used communication protocol.
## ATG SYSTEM BRAND PROTOCOL NAME
GILBARCO Veeder Root
1 GILBARCO Veeder Root
(TLS-2, TLS-300, TLS-350, TLS-450)
2 OPW GILBARCO Veeder Root
3 INCON GILBARCO Veeder Root
4 LABKO GILBARCO Veeder Root
5 OMNTEC GILBARCO Veeder Root
6 ENRAF ENRAF Height-, Volume-protocol
7 START ITALIANA START ITALIANA SMT/XMT
8 PETRO VEND PETROVEND4
9 STRUNA STRUNA Kedr spec. 1.4
10 FAFNIR FAFNIR VISY-Quick
11 FAFNIR Gilbarco Veeder Root
12 ASSYTECH Assytech
13 HECTRONIC HECTRONIC HLS
14 MTS ATG SENSORS MTS USTD
15 UNIPROBE UNIPROBE

www.technotrade.ua page 11 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

BOARD CONNECTORS AND INTERFACES

NOTE! Jumper XP4 serves for selection of DISP channel interface between RS-485 and RS-232.

www.technotrade.ua page 12 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

COMMUNICATION PORTS

PORT NAME INTERFACE PURPOSE


Connection with control system (POS system,
PC PORT RS-232
cash register, OPT terminal, etc)
Optically isolated RS-485: 2 wires Connection with fuel dispensers using
Pump port 1 for lines A and B, 2 wires for RTS configurable proprietary communication
control protocol (up to 16 fuel dispensers)
Optically isolated RS-485: 2 wires Connection with fuel dispensers using
Pump port 2 for lines A and B, 2 wires for RTS configurable proprietary communication
control protocol (up to 16 fuel dispensers)
Optically isolated RS-485: 2 wires Connection with fuel dispensers using
PUMP PORTS

Pump port 3 for lines A and B, 2 wires for RTS configurable proprietary communication
control protocol (up to 16 fuel dispensers)
Optically isolated RS-485: 2 wires Connection with fuel dispensers using
Pump port 4 for lines A and B, 2 wires for RTS configurable proprietary communication
control protocol (up to 16 fuel dispensers)
1. PTS controllers interconnection (up to 16
PTS controllers) for simultaneous control
over the same fuel dispensers and ATG
DISP port Optically isolated RS-485: 2 wires
systems
(RS-485) for lines A and B
2. Connection with ATG systems (probes)
using configurable proprietary com.
protocol (up to 16 ATG probes)
Connection with ATG system (console) using
DISP port
RS-232 configurable proprietary communication
(RS-232)
protocol (up to 16 ATG probes)
1. Connection with ATG system (console)
ATG PORTS

using configurable proprietary


communication protocol (up to 16 ATG
LOG port RS-232 probes)
2. Writing of operation log of PTS controller
interaction with fuel dispensers, ATG
systems, PTS interconnection
Connection with ATG system (console) using
USER port RS-232 configurable proprietary communication
protocol (up to 16 ATG probes)

www.technotrade.ua page 13 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

CONNECTION TO CONTROL SYSTEM

Connection to the control system (POS system, cash register, OPT terminal, etc) is made through a PC port,
which has RS-232 interface.

Scheme of connections:

In case if the control system does not have a COM-port – it is possible to use any type of converter to COM-
port (like USB-to-COM converter, Ethernet-to-COM, others).

Communication with PTS controller is made using commands and responses described in UniPump
communication protocol (own proprietary protocol of TECHNOTRADE LTD) – see document “UniPump
communication protocol specification for PTS controller over fuel dispensers and ATG systems” for more
information. Thus PTS controller provides conversion of the common communication protocol UniPump
into various proprietary communication protocols of fuel dispensers and ATG systems.

www.technotrade.ua page 14 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

CONNECTION TO FUEL DISPENSERS

PTS controller can simultaneously control up to 16 fueling places (16 sides of 1-sided dispensers or 8 sides
of 2-sided fuel dispensers) that use up to 4 various communication protocols (each of the pump channels
can be adjusted to a separate communication protocol and baud rate and connect up to 16 fueling places)
(see section “Examples of connection to fuel dispensers”).

NOTE: if there are less than 4 various types of fuel dispensers at petrol station (which use various exchange
protocols) – it is recommended to distribute fuel dispensers between 4 PTS controller channels in
approximately equal quantities in order to minimize delays between fuel dispensers querying in the same
channel.
www.technotrade.ua page 15 from 182
PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

CONNECTION TO ATG SYSTEMS

PTS controller can simultaneously control up to 16 ATG probes (gauges) (separate probes or probes
connected to ATG systems / consoles) that use up to 3 various communication protocols (each of the ATG
channels can be adjusted to a separate communication protocol and baud rate and connect up to 16 ATG
probes) (see section “Examples of connection to ATG systems”).

NOTE: DISP channel provides a possibility to connect ATG system (probes) over either RS-485 or RS-232
interfaces – interface is selected using a jumper XP4, located on PTS PCB board.

www.technotrade.ua page 16 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

PTS CONTROLLER MULTI POS SYSTEMS OPERATION


PTS controller allows a possibility to lead management over the same fuel dispensers from several POS
systems and share ATG probes measurement values between several interconnected PTS controllers. Thus
every interconnected PTS controller is able to provide control over any of the connected fuel dispensers
and know ATG system measurement data of every other interconnected PTS controller.

Scheme of PTS controllers interconnections:

NOTE! In order to enable PTS interconnection a jumper XP4 should be selected for DISP RS-485 interface
and DISP channel should not be configured for any ATG system (see section “PTS controller configuration”).

www.technotrade.ua page 17 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Configuration:
At necessity to organize several working places at petrol station (several POS systems) each of the POS
systems should have its own PTS controller connected. PTS controllers should be interconnected with each
other through a dispatcher PTS port (DISP channel on RS-485 interface) and with fuel dispensers. Thus
control over each fuel dispenser at petrol station can be made from every POS system and each PTS
controller will know measurement data of every ATG probe connected to any of the interconnected PTS
controllers. At authorization of a fuel dispenser from one POS system the fuel dispenser becomes locked by
PTS controller of this POS system and while it is locked all other POS systems can not control over given fuel
dispenser, they can only monitor current state of the fuel dispenser. When operation of given POS system
is finished with given fuel dispenser, PTS controller of this POS system unlocks the fuel dispenser and it
becomes commonly available for all other PTS controllers, which makes it possible to be controlled (locked)
by any of the PTS controllers connected to other POS systems.

NOTE! In order to provide control over same fuel dispensers from several PTS controllers locking and
unlocking of dispensers is required. For this reason in configuration of PTS controller in parameters for PTS
controller ‘Lock’ and ‘Unlock’ commands should be set to be used (see section “Configuration of
parameters for PTS controller”).

NOTE! In order to provide correct exchange of ATG systems measurement data between interconnected
PTS controllers logical addresses of connected ATG probes in configuration of interconnected PTS
controllers should not intersect.

www.technotrade.ua page 18 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

PTS CONTROLLER CONFIGURATION


General information
PTS controller configuration utility Pts_conf.exe serves for configuration of the PTS controller.
Currently utility is made under Windows OS. It is based on PTS controller communication protocol
UniPump.

PTS controller configuration utility Pts_conf.exe is a multipurpose utility for PTS controller. It provides the
following possibilities:
- configuration of pumps (fuel dispensers) channels
- configuration of ATG systems (probes) channels
- configuration of pumps (fuel dispensers) parameters
- configuration of PTS controller parameters
- configuration of logging parameters
- update of the PTS controller firmware
- taking logs from PTS controller
- self-diagnostics of PTS controller interfaces and switches
- saving of all configuration of PTS controller to file
- loading of all configuration of PTS controller from file

Pts_conf.exe utility is developed to be multilanguage and supports various skins in order to suit to various
control systems graphical interfaces.

Use PTS controller configuration utility Pts_conf.exe to make configuration of the PTS controller.

www.technotrade.ua page 19 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Scheme of connections

NOTE! On some PCs for correct operation COM-port FIFO settings should be adjusted to Tx: 1, Rx: 1. This
may also apply to situations when a PC does not have a native COM-port and external COM-port converter
are applied (like USB-to-COM, PCI-to-COM, Ethernet-to-COM, etc).

Launching pts_conf utility


Run Pts_conf.exe utility. Make sure that in main menu in tab “Adjustments” type of PTS controller
connection “Direct connection of controller to PC” is selected (other types of connection serve for
connection of PTS controller through fiscal modules). Set up a correct COM-port number and press “Open”
button.

Configuration of pump channels


Pump channels are configured on main form of the utility.

To read current configuration of the PTS controller use a button “READ CONFIGURATION”.

Selection of the pump channel is made by activating of a checkbox near it (there are 4 pump channels
available). When pump channel is activated it is necessary to select a protocol to be used on pump channel
and baud rate from the dropdown lists.

Selection of the connected pump is made by activating of a checkbox near it (there are 16 pumps available).
When pump is activated it is necessary to select:
- a pump channel, to which this pump belongs to, from the dropdown list
- physical address of the fueling place from the dropdown list

www.technotrade.ua page 20 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
Logical address of the pump means the address on which the control system (POS system, cash register,
OPT, etc) will see given fueling place. Physical address of the pump means address of the real fueling place,
which is programmed or set in configuration of the fuel dispenser fueling place.

After configuration is finished it is necessary to click a button “WRITE CONFIGURATION”, which will write
current pump channels configuration to controller. Information about result of operation of writing of
configuration to controller (whether it is made successfully or there was some problem) will be written in
the log window on the form.

Selected baud rate in Logical address of pump Selected pump Fueling place
pump channel visible for POS system channel physical address

Selected protocol in Button for setting parameters for given


pump channel pump (if applicable)

Log window with information about results


of performed operation

For some protocols it is also required to configure parameters. In this case after a button “WRITE
CONFIGURATION” is clicked a warning dialog will appear:

At this a button with a letter “P” on it will be activated. By clicking on this button a corresponding window
for parameters configuration of the selected pump channel protocol will be shown (see section ‘Parameters
configuration’ below).

Current configuration of pump channels can be saved to a file on a hard drive for future usage (select in
main menu a tab ‘File’ → ‘Save as pump configuration’ to save configuration or ‘File’ → ‘Open pump
configuration’ to open configuration from file).

www.technotrade.ua page 21 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Configuration of ATG channels


ATG channels are configured on form, which is called from the main menu in tab “ATG configuration” by
selecting an item “Configuration of ATG channels”.

To read current configuration of the PTS controller use a button “READ CONFIGURATION”.

Selection of the ATG channel is made by activating of a checkbox near it (there are 4 ATG channels
available). When ATG channel is activated it is necessary to select a protocol to be used on ATG channel
and baud rate from the dropdown lists.

Selection of the connected ATG is made by activating of a checkbox near it (there are 16 ATG available).
When ATG is activated it is necessary to select:
- ATG channel, to which this ATG belongs to, from the dropdown list
- physical address of the ATG probe from the dropdown list

Logical address of the ATG means the address on which the control system (POS system, cash register, OPT,
etc) will see given ATG probe. Physical address of the ATG means address of the real ATG probe, which is
programmed or set in configuration of the ATG console (probe).

After configuration is finished it is necessary to click a button “WRITE CONFIGURATION”, which will write
current ATG channels configuration to controller. Information about result of operation of writing of
configuration to controller (whether it is made successfully or there was some problem) will be written in
the log window on the form.

Selected baud rate in


ATG channel

Selected protocol Logical address of ATG Selected ATG ATG probe


in ATG channel visible for POS system channel physical address

Log window with information about results


of performed operation

Current configuration of ATG channels can be saved to a file on a hard drive for future usage (select in main
of performed operation
menu a tab ‘File’ → ‘Save as ATG configuration’ to save configuration or ‘File’ → ‘Open ATG configuration’
to open configuration from file).

www.technotrade.ua page 22 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Parameters configuration
Configuration of parameters in PTS controller includes:
configuration of parameters for pumps protocols
configuration of parameters for ATG systems
configuration of parameters for PTS controller
configuration of parameters for interface converters
configuration of parameters for logging
All parameters are described in details in UniPump communication protocol description.

Configuration of parameters for pumps protocols


Due to a reason that various fuel dispensers are supplied worldwide with various configurations like
single product and multi product
quantity of digits in price and cost per liter/gallon,
mode of dispenser operation and dispenser type, quantity of nozzles per side
others
For flexibility of adjustment of PTS controller operation with fuel dispensers special parameters for pump
protocols in PTS controllers are foreseen. Adjustment of parameters for every separate communication
protocol is made using a main menu tab “Parameters” or by clicking a button with a letter “P” located in a
main form near each of the pumps (where it is activated).

Parameters for various Button for calling parameters for


pump protocols selected pump

All forms for configuration of pump parameters are similar and include:
switch for selection a pump number, which parameters are configured
set of parameters to be configured
button “Read” to read parameters for selected pump from PTS
button “Write” to write parameters for selected pump into PTS
button “Write default” to write default parameters for selected pump from PTS
description of default parameters, which are to be written at clicking a button “Write default”

www.technotrade.ua page 23 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
log window with information about results of performed operation

As an example a form for configuration of parameters for Tatsuno SS-LAN protocol look as shown below:

Switch for selection a Set of parameters to be Parameters for various Button


pump number configured pump protocols “Write default”

Button Button Log window with information about results


“Read” “Write” of performed operation

Configuration of parameters for ATG systems


Form for configuration of parameters for ATG systems is called from main form main menu tab ‘ATG
configuration’ → ‘ATG parameters’ or from a form for configuration of ATG channels main menu
“Parameters” → ‘ATG parameters’.

Parameters for ATG systems include:


setting of speed of polling the ATG probes (delay between pollings ATG probes)
setting of flexible configuration of communication adjustments (data bits, stop bits, parity) for each
ATG channels

Parameter for setting of flexible configuration of communication adjustments is necessary for cases when
different ATG systems using the same communication protocol may have different communication settings.

www.technotrade.ua page 24 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Configuration of parameters for PTS controller


Form for configuration of parameters for PTS controller is called from main form main menu tab
‘Parameters’ → ‘PTS controller parameters’.

Parameters for PTS controller include:


setting of the way PTS controller should work: poll pumps and ATG systems at absence of requests
from the control system or not
in case if the PTS controller should not poll pumps and ATG systems at absence of requests from
the control system – timeout in seconds of requests absence from the control system after which
polling should not be performed
setting of the way PTS controller should work: use commands ‘Lock’ and ‘Unlock’ or not
setting of the way PTS controller is linked with pumps: wireless or wired connection

In accordance with UniPump communication protocol of PTS controller commands ‘Lock’ and ‘Unlock’ are
used every time control system wants to take control over fuel dispenser – it should first lock it with
command ‘Lock’ and in the end of control – unlock it with command ‘Unlock’. This behavior is required for
www.technotrade.ua page 25 from 182
PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
cases when there are several control systems installed at the same sight (petrol station) each having its
own PTS controller connected and each of these control systems should be able to provide control over any
of the fuel dispensers on the sight. Using these commands ‘Lock’ and ‘Unlock’ gives a possibility for each
control system to provide control over any of the connected fuel dispensers, Read more about it below in
section “PTS controller multi POS systems operation”.

In case if parameters are set not to use commands ‘Lock’ and ‘Unlock’ – then PTS will always respond that
pump is locked.

Configuration of parameters for interface converters


Form for configuration of parameters for PTS controller is called from main form main menu tab
‘Parameters’ → ‘Interface converter parameters’.

Parameters for interface converters are used for some of manufactured interface converters working
together with PTS controller, which are used for fuel dispensers, which do not have addressing in
communication protocol. So, addressing of the fuel dispenser is made by a number of a pump channel of
the interface converter, to which a fuel dispenser is connected.

Parameters for interface converters include:


setting of the logical pump number, which is connected through an interface converter to PTS
controller
setting if the pump channel should be configured to work with interface converter or in standard
way
channel number in interface converter for given pump (substitutes address of the fuel dispenser)

www.technotrade.ua page 26 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Configuration of parameters for logging


Logging is one of the possibilities of PTS controller. It is described in section “Logging of communication”
below.

www.technotrade.ua page 27 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Update of the PTS controller firmware


PTS controller firmware is constantly being improved and new versions of firmware with new added
communication protocols and fixed bugs of the previous firmware versions are proposed to be applied.
New versions of PTS controller's firmware are always available for downloading for customers.

PTS controller firmware update is made using a built-in updater in Pts_conf.exe utility.

Scheme of connections of the PTS controller should be same as for configuration:

In Pts_conf.exe utility leave a COM-port closed. Form for updating of PTS controller firmware is called from
main form main menu tab ‘Firmware update’ → ‘Firmware update’.

On the opened form select a COM-port of connected PTS controller, path to a file with a new firmware and
press a button “UPDATE”. Firmware will start to be updated. Wait until the process is finished. In case of
any errors - restart a tool and try again.

www.technotrade.ua page 28 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Selection of a COM-port with Selection of a file with new


connected PTS controller firmware

Button for start Button for emergency


firmware updating stopping of update

After the firmware update is completed - check PTS controller configuration. Some of the new firmwares (in
case if it contains sufficient changes of PTS controller operation) may erase the PTS controller
configuration.

Due to a reason that some firmware versions may erase all configuration of the PTS controller it
recommended to save all configuration of PTS controller to file before making an update (see section
‘Saving of all configuration of PTS controller to file’) and in case if after the update the PTS controller
configuration turns out to be erased – restore all the configuration from the previously saved file (see
section ‘Loading of all configuration of PTS controller from file’).

www.technotrade.ua page 29 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Logging of PTS controller operation


With a reason to quickly locate and remove possible bugs in PTS controller communication with connected
equipment (fuel dispensers, ATG systems, other PTS controllers in PTS interconnection) PTS controller has a
possibility of logging of its exchange with connected equipment. Use Pts_conf.exe utility to save in a control
system exchange logs of PTS controller with connected equipment.

Before taking a log from PTS controller it is necessary to configure a channel, from which a log will be taken.
Scheme of connections of the PTS controller should be same as for configuration:

In Pts_conf.exe utility leave a COM-port closed. Form for logging is called from main form main menu tab
‘Logging’ → ‘Logging’.

On the opened form click on a button “Select a channel to log” to open a form of selection of the channel,
from which a log will be taken.

On the opened form open a COM-port, to which PTS controller is connected and select a channel, from
which a log will be taken. Click a button “Write” to save configuration and close a form.

www.technotrade.ua page 30 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

After the channel, from which a log will be taken, is configured it is possible to get a log from it. PTS
controller sends a LOG to a LOG-port, so it is necessary to connect it to COM-port of the control system.

Scheme of connections is the following:

In Pts_conf.exe utility on form for logging it is necessary to select a COM-port, to which a LOG-port of PTS
controller is connected and to select a .bin file, in which a log will be accumulated. After this clicking on a
button “START LOG” will start saving of the log into the file, which size is indicated on the form. If the file
size stays equal to zero – then log is being taken incorrectly. In case of any problem to take the log
information about it will be shown on the screen.
www.technotrade.ua page 31 from 182
PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Selection of a channel, from Selection of a COM-port, from Selection of a file for


which the log is taken which the log is taken storing of a log

Button for Button for


start logging stop logging

Log will be accumulated to the selected file. As an evidence of it logged data size of the accumulated file
will be displayed on the screen. To stop logging press a button ”STOP LOG”. In case of any errors – restart a
tool and try again.

Log in transferred in the encrypted form. After a log of exchange is taken it is required to pass a received
.bin file to “TECHNOTRADE LTD” for examining and elimination of possible problems, for reasons of which it
was taken.

www.technotrade.ua page 32 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Self-diagnostics of PTS controller interfaces and DIP-switch

With a reason to quickly provide diagnostics of PTS controller’s RS-485 and RS-232 interfaces and DIP-
switches a special diagnostics of PTS controller is used. Use Pts_conf.exe utility to provide diagnostics of PTS
controller.

In Pts_conf.exe utility open a COM-port with connected PTS controller. Form for PTS controller diagnostics
is called from main form main menu tab ‘Diagnostics’ → ‘Self-diagnostics’.

Diagnostics of 485 interfaces:

Configuration:

In order to check RS-485 interfaces connect all RS-485 connectors of C012 cable with appropriate
connectors of diagnostics cable C055 (connector X1 to connector X1, X2 – to X2, X3 – to X3 and so on).
Close XP4 jumper on the board of PTS controller to position RS-485.

On form for PTS controller self-diagnostics press a button “START DIAGNOSTICS” in order to start self-
diagnostics. On the tab “Diagnostics of RS-485 interface channels” results of diagnostics will be shown by
color of labels. Green color means that correspondent channel is working correctly (OK), red color –
correspondent channel is working incorrectly (BAD).

www.technotrade.ua page 33 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Tab for diagnostics of RS-485 Tab for diagnostics of Tab for diagnostics of RS-485
interfaces on the board DIP-switch on the board interfaces on the board

Button for Button for


start diagnostics stop diagnostics

Diagnostics of 232 interfaces:

In order to check RS-232 interfaces (ports USER, LOG, DISP on cable C029 or on cable C033, which is
connected to cable C029) connect pins 2 (Tx) with pins 3 (Rx) on each of these ports. Close XP4 jumper on
the board of PTS controller to position RS-232. On the tab “Diagnostics of RS-232 interface channels”
results of diagnostics will be shown by color of labels. Green color means that correspondent channel is
working correctly (OK), red color – correspondent channel is working incorrectly (BAD).

Diagnostics of DIP-switch:

Tab “Diagnostics of DIP-switches” will display current position of switches in a DIP-switch on PTS board. If
displayed position of switches correspond to real position of switches in a DIP-switch on PTS board after
checking them in various positions – then DIP switch is working correctly.

www.technotrade.ua page 34 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Saving of all configuration of PTS controller to file


Form for saving of all configuration of PTS controller (pumps channels configuration, ATG systems channels
configuration and all parameters) is called from main form main menu tab ‘File’ → ‘Save all configuration of
PTS controller to file’.

On the opened form it is necessary to specify a file, to which configuration of PTS controller will be saved,
and click “Save” button. The utility will save one by one:
pumps channels configuration
ATG systems channels configuration
parameters

www.technotrade.ua page 35 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Loading of all configuration of PTS controller from file


Form for loading of all configuration of PTS controller (pumps channels configuration, ATG systems
channels configuration and all parameters) is called from main form main menu tab ‘File’ → ‘Load all
configuration of PTS controller from file’.

On the opened form it is necessary to specify a file, from which configuration of PTS controller will be
loaded, and click “Load” button. The utility will load one by one:
pumps channels configuration
ATG systems channels configuration
parameters

www.technotrade.ua page 36 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Additional possibilities of PTS controller configuration utility


Reading of PTS controller firmware version
Pts_conf.exe utility is able to read current firmware version from the PTS controller and also all supported
communication protocols with fuel dispensers and ATG systems.

In order to make it on the main form of the utility open a COM-port, to which PTS controller is connected
and click a button “Check firmware version”.

Opened form will contain information about:


date of firmware release (including number of release)
list of supported communication protocols with fuel dispensers in given firmware
list of supported communication protocols with ATG systems in given firmware

Setting of PTS controller configuration utility language


PTS controller configuration utility is supports multiple languages and is easily localizable to new languages.
Form for selection of language of user interface is called from main form main menu tab ‘Adjustments’ →
‘Language selection’. For calling of this form COM-port on main form should be closed.

www.technotrade.ua page 37 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
Adding of a new language to the utility is also easy. All language phrases are located in a file lang.xml, which
is located in root folder of Pts_conf.exe utility. Adding a new translation of the phrases to this file will add a
new language to the utility.

Setting of PTS controller configuration utility skin for graphical user interface
PTS controller configuration utility in order to be used together with various POS systems and applications
has a possibility to change its skins to suit to various graphical user interfaces. Selection of the skin is made
form main menu tab ‘Adjustments’ → ‘Skin selection’:

Examples of skins:

Office 2007 Black Neutral 3

Retro WEB2

LongHorn iOS dark

www.technotrade.ua page 38 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Logging of Pts_conf utility operations


With a reason to give developers a possibility to show what commands PTS controller configuration utility
sends to PTS controller the utility has an option for saving of a log of all its actions to a file. This option is
configured in main menu in tab “Adjustments” → “Write log of operations” (possibility to switch it on and
off).

www.technotrade.ua page 39 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

BUILT-IN PUMP SIMULATOR

In order to make easy debugging of control systems without a fuel dispenser connected to PTS controller a
simulator of fuel dispenser is present in PTS controller firmware. There are 2 pump simulators present:
pump protocol “13. PUMP SIMULATOR 10”
pump protocol “37. PUMP SIMULATOR”
When any of these protocols is selected in configuration of the PTS controller – baud rate can be set any.

Purpose of the pump simulator protocol is to help developers in debugging of the control system software
over PTS controller at absence of real dispenser pumphead for connection or software simulators of fuel
dispenser.

When protocol “37. PUMP SIMULATOR” is selected then for pump with logical address 1 position of first 4
nozzles is selected using a DIP switch on the PTS controller board (DIP-switch has 4 switches: switch 1 is
responsible for position of nozzle 1, switch 2 – for nozzle 2 and so on). For pumps with logical addresses 2 –
16 the pumps always have nozzle 1 up (nozzle can not be placed down).

In protocol “13. PUMP SIMULATOR 10” all pumps always have nozzle1 up.

Pump simulators allow to:


authorize a dispenser with preset volume or amount values
simulate dispensing of fuel through this dispenser and stop it at necessity
set prices to dispenser and get prices from dispenser
read total counters values (both amount and volume) (total counters are lead on each of the
nozzles separately and are dropped to zero at restart of the PTS controller)

Difference of protocol “13. PUMP SIMULATOR 10” from protocol “37. PUMP SIMULATOR” is that when an
order is given in protocol “37. PUMP SIMULATOR” – dispensing is made from zero till the ordered dose.
When an order is given in protocol “13. PUMP SIMULATOR 10” – then dispensing is made from ordered
dose minus ten liters till the ordered dose, so always only last ten liters are dispensed (this is useful for
purposes when there is a need to make quick void sales for book keeping account at control systems).

www.technotrade.ua page 40 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

BUILT-IN ATG PROBE SIMULATOR

PTS controller firmware between its ATG probes protocols has a protocol “7 ATG SIMULATOR”, which
allows to simulate presence of connected ATG probe. Baud rate at this can be set to any possible.

At this depending on the selected address of the ATG probe output measurement values will be the
following:

For ATG probes with logical address 1 – dynamically changing all measurement parameters looping in the
following sequence (measurement numbers coming from 1 to 9 and back from 9 to 1):
Measurement number
1 2 3 4 5 6 7 8 9
Product level,
1000 1250 1500 1750 2000 2250 2500 2750 3000
mm
Water level, mm 100 125 150 175 200 225 250 275 300
Measurement parameter

Product volume, l 8000 10000 12000 14000 16000 18000 20000 22000 24000
Water volume, l 800 1000 1200 1400 1600 1800 2000 2200 2400
Temperature,
11 12 13 14 15 16 17 18 19
deg. C
Product
temperature
8500 10500 12500 14500 16000 17500 19500 21500 23500
compensated
volume, l
Product ullage, l 22000 20000 18000 16000 14000 12000 10000 8000 6000
Product density,
720 730 740 750 760 770 780 790 800
kg/m3
Product mass, kg 5760 7300 8880 10500 12160 13860 15600 17380 19200
Duration between changes equals 2 seconds.

For ATG probes with logical addresses 2-16: statically fixed measurement values:
product level – logical address + 123.4 mm (example - for address 6: 6123.4 mm)
water level – logical address + 56.7 mm (example - for address 9: 956.7 mm)
temperature – logical address + .8 deg. C (example - for address 12: 12.8 deg. C)

www.technotrade.ua page 41 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

APPLICATION PROGRAMMING INTERFACES (API)

PTS controller for developers is supplied together with rich set of API (application programming interfaces)
for mostly used programming languages and operation platforms:
C and C++: API for communication with a PTS controller through a COM-port, documentation and
examples of application in source codes under Windows OS and Linux operation systems
C#:
o open source library, which includes classes, methods and properties for communication
with PTS controller for provision of control over dispensers and ATG systems and
configuration of PTS controller
o open-source utility for testing and indication of all operations provided by the PTS
controller, allows to perform all operations with the PTS controller
o open source fully-functional application for provision of control over up to 8 pumps and 4
ATG systems by the PTS controller, allows to perform all operations with the PTS controller
Delphi: API for communication with a PTS controller through a COM-port, documentation and
examples of application in source codes
Java:
o open source library, which includes classes, methods and properties for communication
with PTS controller for provision of control over dispensers and ATG systems and
configuration of PTS controller
o open-source utility for testing and indication of all operations provided by the PTS
controller, allows to perform all operations with the PTS controller
Python: API for communication with a PTS controller through a COM-port, documentation and
examples of application in source codes
Visual Basic .NET:
o open source library, which includes classes, methods and properties for communication
with PTS controller for provision of control over dispensers and ATG systems and
configuration of PTS controller
o open-source utility for testing and indication of all operations provided by the PTS
controller, allows to perform all operations with the PTS controller
o open source fully-functional application for provision of control over up to 8 pumps and 4
ATG systems by the PTS controller, allows to perform all operations with the PTS controller
COM-object for PTS controller:
o open-source COM-object (written in Microsoft Visual C++ 6.0 IDE in C++ programming
language) with methods and properties for communication with PTS controller for
provision of control over dispensers and ATG systems and configuration of PTS controller
o open-source application in Microsoft Visual Basic 6.0 for testing and indication of all
operations provided by the PTS controller, allows to perform all operations with the PTS
controller
Description of communication protocol of PTS controller: describes communication parameters,
messages structure, commands and responses of communication between POS management
system and PTS controller, typical flowchart and diagram of interoperation

www.technotrade.ua page 42 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

C and C++ API


API represents a set of for communication with a PTS controller through a COM-port, documentation and
examples of application in source codes under Windows OS and Linux operation systems

API can be compiled as a static or dynamic library. The library can be compiled by different compilers for
different operating systems: POSIX compatible (tested with GNU Linux only) and Microsoft Windows.

Source code of library are located in ./src directory.


Headers of library located in ./include directory.
Directoty ./examples contains several examples of using library functions.
Directoty ./doc contains html documentation generated by ccdoc programm.

Conditionally, API functions can be divided into groups:


Manage API: Open/close, receiving error, set/get API options
o pts_open
o pts_open_dev
o pts_close
o pts_last_error
o pts_option_get
o pts_option_set
Handle of a controller configuration
o pts_pump_config_get
o pts_atg_config_get
o pts_pump_config_set
o pts_atg_config_set
o pts_version_get
Functions of a read and write parameters of the controller or filling places
o pts_param_get
o pts_param_set
Functions of management by filling places
o pts_authorize
o pts_pts_authorize_by_amount
o pts_halt
o pts_lock
o pts_unlock
o pts_preset_prices
o pts_prices_request
o pts_status_request
o pts_total_request
o pts_trans_close
Functions of reading measurements of Automatic Tank Gauge (ATG)
o pts_atg_measure_request

Library functions (except for : pts_open, pts_open_dev, pts_close) have common features:
return value: functions return 0 (FM_OK) if no error and error code if error (see
include/pts_errors.h for
determine the type of error)

www.technotrade.ua page 43 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
first of parameter - pts_api_descriptor - integer obtained by the open function: pts_open or
pts_open_dev
last parameter - pointer to PTS response structure - see include/pts_data.h for determine the data
type.

All commands in protocol involve getting a response.

PS: If you want use *.bat files for call make, please edit it for set true path to your favorite language
installation.

www.technotrade.ua page 44 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

C# API
The API for PTS controller is written in C# programming language in Visual Studio 2010 Express and requirs
.NET Framework 2.0.

Given API includes 2 projects:

PtsLib - project of PtsLib_CSharp.dll library for operation with a PTS controller. Includes classes,
methods and properties for communication with PTS controller using requests and responses
described in UniPump communication protocol for communication with PTS controller for provision
of control over dispensers and ATG systems and configuration of PTS controller.
Open-source utility for testing and indication of all operations provided by the PTS controller,
allows to perform all operations with the PTS controller (uses classes and methods of
PtsLib_CSharp.dll library).

Form for testing and indication of all operations provided by the PTS controller

www.technotrade.ua page 45 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Form for configuration of pumps channels of PTS controller

Form for configuration of ATG systems channels of PTS controller

www.technotrade.ua page 46 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

C# application

The application for PTS controller is written in C# programming language in Visual Studio 2010 Express and
requirs .NET Framework 2.0.

Given application includes 2 projects:

PtsLib - project of PtsLib.dll library for operation with a PTS controller. Includes classes, methods
and properties for communication with PTS controller using requests and responses described in
UniPump communication protocol for communication with PTS controller for provision of control
over dispensers and ATG systems and configuration of PTS controller.
Fully-functional open source application for provision of control over up to 8 pumps and 4 ATG
systems by the PTS controller, allows to perform all operations with the PTS controller (uses classes
and methods of PtsLib.dll library).

General view of the application: allows to provide control over up to 8 pumps

www.technotrade.ua page 47 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Form of ATG systems monitoring: allows to monitor up to 4 ATG systems

Form of PTS controller configuration: allows to set configuration for pumps and ATG systems channels
and also set parameters

www.technotrade.ua page 48 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Delphi API
Delphi API implements shared library libpts.dll calls.
Library libpts.dll was build with Borland compiler C PTS API (source C files you can find in libpts.zip).

Source code of library are located in ./src directory. Directoty ./examples contains several examples of
using library functions.

Graphical form for testing API for PTS controller written in Delphi

Conditionally, API functions can be divided into groups:


Manage API: Open/close, receiving error, set/get API options
o pts_open
o pts_open_dev
o pts_close
o pts_last_error
o pts_option_get
o pts_option_set
Handle of a controller configuration
o pts_pump_config_get
o pts_atg_config_get
o pts_pump_config_set
o pts_atg_config_set
o pts_version_get
Functions of a read and write parameters of the controller or filling places
o pts_param_get
o pts_param_set
Functions of management by filling places
o pts_authorize
www.technotrade.ua page 49 from 182
PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
o pts_pts_authorize_by_amount
o pts_halt
o pts_lock
o pts_unlock
o pts_preset_prices
o pts_prices_request
o pts_status_request
o pts_total_request
o pts_trans_close
Functions of reading measurements of Automatic Tank Gauge (ATG)
o pts_atg_measure_request

Library functions (except for : pts_open, pts_open_dev, pts_close) have common features:
return value: functions return 0 (FM_OK) if no error and error code if error (see
include/pts_errors.h for
determine the type of error)
first of parameter - pts_api_descriptor - integer obtained by the open function: pts_open or
pts_open_dev
last parameter - pointer to PTS response structure - see include/pts_data.h for determine the data
type.

All commands in protocol involve getting a response.

www.technotrade.ua page 50 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Java API

Java API for PTS controller is written in Java programming language in NetBeans IDE 7.2.1.

Given API includes:


JavaPtsLib: library for operation with a PTS controller. Includes classes, methods and properties for
communication with PTS controller using requests and responses described in UniPump
communication protocol for communication with PTS controller for provision of control over
dispensers and ATG systems and configuration of PTS controller.
JavaPtsApp: open-source utility for testing and indication of all operations provided by the PTS
controller, allows to perform all operation with the PTS controller (uses classes and methods of
JavaPtsLib).

Communication over the COM-port (RS-232 interface) is done using RXTX Java library (visit
www.rxtx.qbang.org for downloads and information): RXTX is a Java library, using a native implementation
(via JNI), providing serial and parallel communication for the Java Development Toolkit (JDK). It is based on
the specification for Sun's Java Communications API, though while many of the class descriptions are the
same the package used it not, since gnu.io is used instead. For more information please visit the rxtx wiki at
http://rxtx.qbang.org/wiki (latest releases of the library can be downloaded there).

Form for testing and indication of all operations provided by the PTS controller

www.technotrade.ua page 51 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Form for configuration of pumps channels of PTS controller

Form for configuration of ATG systems channels of PTS controller


www.technotrade.ua page 52 from 182
PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Python API
Before installation of this package it is necessary to install PySerial (http://pyserial.sourceforge.net/).
To install PTS module, run python setip.py install, Where python = your desired python version executable.

Graphical form for testing API for PTS controller written in Python

The protocol of exchange is realized in the pts.protocol module.


The exchange through a serial port is realized with use PySerial module (http://pyserial.sourceforge.net/)
(therefore, before installation of this package it is necessary to install PySerial).

The package was tested with python of versions 2.7 and 3.0

The pts.constants module contains values of various constants


The pts.config module - structures of data, for a controler configuration
The pts.response module - structures of the data returned by the controler
The pts.protocol module - protocol commands

Conditionally, API functions can be divided into groups:


Manage API: Open/close, receiving error, set/get API options
o pts_open
o pts_open_dev

www.technotrade.ua page 53 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
o pts_close
o pts_last_error
o pts_option_get
o pts_option_set
Handle of a controller configuration
o pts_pump_config_get
o pts_atg_config_get
o pts_pump_config_set
o pts_atg_config_set
o pts_version_get
Functions of a read and write parameters of the controller or filling places
o pts_param_get
o pts_param_set
Functions of management by filling places
o pts_authorize
o pts_pts_authorize_by_amount
o pts_halt
o pts_lock
o pts_unlock
o pts_preset_prices
o pts_prices_request
o pts_status_request
o pts_total_request
o pts_trans_close
Functions of reading measurements of Automatic Tank Gauge (ATG)
o pts_atg_measure_request

Work with the protocol can be set for work without exceptions (when error occured), and with generation
of exceptions (PtsException). Parameter of initialization of use_exceptions is responsible for it.

www.technotrade.ua page 54 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Visual Basic .NET API


Visual Basic .NET API for PTS controller is written in VB.NET programming language in Visual Studio 2010
Express and requirs .NET Framework 2.0.

Given API includes 2 projects:


PtsLib - project of PtsLib_VBNET.dll library for operation with a PTS controller. Includes classes,
methods and properties for communication with PTS controller using requests and responses
described in UniPump communication protocol for communication with PTS controller for provision
of control over dispensers and ATG systems and configuration of PTS controller.
PTS - open-source utility for testing and indication of all operations provided by the PTS controller,
allows to perform all operations with the PTS controller (uses classes and methods of
PtsLib_VBNET.dll library).

Form for testing and indication of all operations provided by the PTS controller

www.technotrade.ua page 55 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Form for configuration of pumps channels of PTS controller

Form for configuration of ATG systems channels of PTS controller

www.technotrade.ua page 56 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Visual Basic .NET application

The Visual Basic .NET application for PTS controller is written in VB.NET programming language in Visual
Studio 2010 Express and requirs .NET Framework 2.0.

Given application includes 2 projects:


PtsLib: project of PtsLib.dll library for operation with a PTS controller. Includes classes, methods and
properties for communication with PTS controller using requests and responses described in
UniPump communication protocol for communication with PTS controller for provision of control
over dispensers and ATG systems and configuration of PTS controller.
PTS: fully-functional open source application for provision of control over up to 8 pumps and 4 ATG
systems by the PTS controller, allows to perform all operations with the PTS controller (uses classes
and methods of PtsLib.dll library).

General view of the application: allows to provide control over up to 8 pumps

www.technotrade.ua page 57 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Form of ATG systems monitoring: allows to monitor up to 4 ATG systems

Form of PTS controller configuration: allows to set configuration for pumps and ATG systems channels
and also set parameters

www.technotrade.ua page 58 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

COM-object for MS Windows OS


COM-object for PTS controller is written in Microsoft Visual C++ 6.0 IDE in C++ programming language.
Project is located in PTSDriver folder. It builds PTSDriver.dll on output.

For communication with a PTS controller it uses API (application programming interface), written in C
language (located in C_API folder).

Visual Basic 6.0 application


For testing of the COM-object an open-source application in Microsoft Visual Basic 6.0 is written (located in
VB_6.0_app folder). It provides GUI form for testing and indication of all operations provided by the PTS
controller, allows to perform all operation with the PTS controller (uses classes and methods of PTSDriver).

Form for testing and indication of all operations provided by the PTS controller

www.technotrade.ua page 59 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Form for configuration of pumps channels of PTS controller

Form for configuration of ATG systems channels of PTS controller


www.technotrade.ua page 60 from 182
PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

PTS CONTROLLER SOFTWARE DEVELOPMENT KIT (SDK)


PTS controller SDK appointment

PTS controller SDK (Software Development Kit) is appointed on developers of control system software
applications (POS system, cash register, OPT terminal, etc) for petrol stations providing control over fuel
dispensers and ATG systems through PTS controller.

PTS controller SDK includes a PTS controller and RS-232/RS-485 interface converter board, which allow to
run software simulators of fuel dispensers and ATG systems on personal computer and debug operation of
control systems software with PTS controller on it without a necessity to connect to real fuel dispensers
and ATG systems. Thus it is convenient to work in office or at home rather than on a working petrol station
being connected to real equipment.

PTS controller SDK allows developers to:


1. Study operation with the PTS controller.
2. Implement the PTS controller into own developed POS system or software application for control over
fuel dispensers and ATG level measurement systems for petrol stations.
3. Debug own POS system or software application to work correctly with PTS controller by watching how
NaftaPOS software provides it, implement the same behavior in own system.
4. Debug own software application to correctly provide control over various popular fuel dispensers
locally (on the workplace) without a necessity to go to the petrol station and connect to real fuel
dispensers using supplied with PTS SDK fuel dispensers software simulators, which simulate operation
of various popular fuel dispensers. Through an interface converter RS-485 / RS-232, supplied together
with PTS SDK, connect a PTS controller output RS-485 to a PC COM-port with fuel dispensers software
simulators.
www.technotrade.ua page 61 from 182
PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
PTS controller SDK structure

HARDWARE:
1. PTS controller over fuel dispensers and ATG systems for petrol stations - 1 pcs
2. Interface converter RS-485 / RS-232 - 1 pcs
3. USB software protection dongle Guardant (required for NaftaPOS software and fuel dispensers
software simulators) - 1 pcs
4. Cabling

SOFTWARE:
1. NaftaPOS software for petrol stations – 1 license (protected by USB-dongle)
2. PumpDemo - free contracted version of NaftaPOS software for petrol stations
3. Software simulators of popular fuel dispensers
4. Software simulators of ATG systems (probes)
5. API for developers in various programming languages
6. Useful tools for debugging of communication with PTS controller

PTS controller SDK technical features


Specification
PARAMETER VALUE
Voltage +5 V, +12 V DC
Current consumption 450 mA max
Temperature range -40°C ÷ +80°C
Weight 1700 g
Overall dimensions 240 x 200 x 100 mm

Communication ports
PARAMETER VALUE
PC port RS-232
Pump port RS-232

www.technotrade.ua page 62 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

PTS controller SDK connections scheme

www.technotrade.ua page 63 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

PTS SDK box includes 2 boards mounted inside of a plastic case (PTS controller board and RS-232/RS-485
interface converter board) and all required cablings for power supply and communication of these boards.

Control systems software, which uses UniPump communication protocol, connects to the PTS controller
SDK box through a connector with inscription “RS-232 (control system)” is connected.

Fuel dispenser software simulator is connected to the PTS controller SDK box through a connector with
inscription “RS-232 (fuel dispenser simulator)”.

RS-232/RS-485 interface converter board is used in order to convert signals coming from PTS controller
pump channels in RS-485 interface into signals of RS-232 interface for the fuel dispenser software
simulator, which runs on PC and communicates through a COM-port. RS-232/RS-485 interface converter
board has 2 independent conversion circuits, so it is possible to simultaneously connect 2 fuel dispenser’s
simulators to PTS controller pump channels using the same RS-232/RS-485 interface converter board.
Connection of pump port to RS-232/RS-485 interface converter board is made through cable C029 and
C018-1. Connection of the RS-232/RS-485 interface converter board to PC COM-port is made through
cables C020.

For connection to software simulators of ATG systems PTS controller does not need the RS-232/RS-485
interface converter board because ATG port is already in RS-232 interface and can be connected through
cables C029-3 and C033 to the COM-port of PC, where the ATG systems software simulator is launched.

Cable C014 serves as a standard prolonger of RS-232 interface.

Thus it is possible to debug a correct operation of software, being developed, with the PTS controller
without a necessity to connect to real fuel dispensers and ATG systems, but using fuel dispenser’s software
simulators and ATG system’s software simulators.

www.technotrade.ua page 64 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

RS-232/RS-485 interface converter purpose

Appointment
RS-232 to RS-485 interface converter is intended for conversion of signals from RS-232 interface to signals
of RS-485 interface and backwards. Converter contains 2 separate independent conversion channels.

More technical information regarding interface converter RS-232/RS-485 can be found in technical guide
on: http://www.technotrade.ua/rs232_to_rs485_converter.html.

Specification
PARAMTER VALUE
Voltage +12 V DC, +5 V DC
Current consumption 250 mA max
Temperature range 0°C ÷ +40°C
Weight 120 g
Dimensions 145 x 100 x 20 mm

Communication ports
PARAMTER VALUE
RS-232 port RS-232 (can be with RTS control)
RS-485 port Half-duplex (2-wire) or full-duplex (4-wire)

Features
PARAMTER VALUE
Channels Converter contains 2 separate independent channels
Galvanic isolation Receiver and transmitter are galvanically isolated
RS-232 port can receive RTS control, for cases when it does not
RTS control
receive RTS control a RTS generating chip should be installed

www.technotrade.ua page 65 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

RS-232/RS-485 interface converter PCB board connectors overview

Top view

www.technotrade.ua page 66 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Back view

www.technotrade.ua page 67 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

RS-232/RS-485 interface converter operation

Signals of RS-232 interface enter the MAX232 chip, where are converted into signals of TTL logics, and after
conversion go through optocouplers H11L1, that serve for galvanic isolation of transmitter and receiver,
enter the TTL input of MAX485 chip, from the output of which signals of RS-485 interface are received.
Analogous behavior takes places in contrary direction of signals.

The board of the Converter has 2 separate channels, the only thing which unites them is source voltage
+5 V, which feeds interface RS-232. Voltage +5 V for circuits of RS-485 interface of the channels is taken
from separate DC-DC converters with galvanical isolation for the channels.

Depending on the state of switches Sn (where n=1,2 – number of channel) output of RS-485 interface can
be adjusted for operation in half-duplex or full-duplex modes (2-wire or 4-wire schemes of connection
accordingly). When switches Sn:1, Sn:3, Sn:4 (where n=1,2 – number of channel) are in position “OFF” – the
Converter works in full-duplex (4-wire) mode of RS-485 interface, in position “ON” - the Converter works in
half-duplex (2-wire) mode of RS-485 interface. Switch Sn:2 (where n=1,2 – number of channel) is intended
for switching on (position “OFF”) or turning off (position “ON”) of echo mode in half-duplex (2-wire) mode
of RS-485 interface (repeating of all signals, received on input).

Half-duplex (2-wire) mode of RS-485 interface requires presence of RTS (Request To Send) signal on the
input of RS-232 interface for synchronization of transmit/receive. In case if RTS signal is impossible to
receive from the source of signal of RS-232 interface, then it is possible to generate it with a help of RTS
generating chips of each channel, which are installed only in case of such necessity. If input of RS-232
interface contains RTS signals and RTS generating chips are not installed then it is necessary to place a
jumper Jn (where n=1,2 – number of channel) for the required channel, in contrary case the jumper should
be removed.

www.technotrade.ua page 68 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

USB software protection dongle Guardant

Appointment
USB protection dongle Guardant is required for running of NaftaPOS software and fuel dispensers software
simulators. To run this software it is necessary to have the dongle inserted in the USB port. Electronic
protection dongle Guardant – is a device that is connected to USB port (or a parallel port LPT in older
versions), located on a panel of a PC motherboard. Electronic protection dongle Guardant is necessary for
protection of NaftaPOS software and fuel dispensers software simulators from unauthorized copying and
illegal distribution. Scope of protection is that the dongle contains part of the code of protected software.
Without a dongle being inserted to PC protected software will not launch and correspondent error will be
shown to user.

Installation
To install Guardant dongle drivers run GrdDriversEN.msi.

Guardant USB dongle drivers are installed during NaftaPOS software installation process or can be
installed/updated any time later:

During installation process it is necessary to follow all steps in the installation wizard until installation is
completed.

www.technotrade.ua page 69 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

NaftaPOS software for petrol stations

Appointment
Front-Office software NaftaPOS is intended for control over technological processes, automated
measurement and commercial account at petrol stations (also called fuel stations or gas stations) and
petroleum storage depots.

Area of application – petrol stations for dispensing of light petroleum products, diesel fuel, liquified
petroleum gas (LPG), compressed natural gas (CNG), multifuel petrol stations, petroleum storage depots.

NaftaPOS system is developed with account of all modern requirements to systems for automation of
petrol stations, at this it is oriented as on small petrol stations, so as on big petrol complexes with
organization of several working places of operators and administrator (Back-Office) of a petrol station.

User Manual on NaftaPOS software system can be downloaded from NaftaPOS software web-page
http://www.technotrade.ua/petrol_station_software.html. it is strongly recommended to read User
Manual on NaftaPOS software prior to installation.

More technical information regarding NaftaPOS software can be found on NaftaPOS software web-page:
http://www.technotrade.ua/petrol_station_software.html

Installation
There are 2 types of installation files for NaftaPOS system:
32-bit version
64-bit version

Installation file, which corresponds to hardware characteristics of the POS terminal, should be used for
installation of the system.

NaftaPOS software is to be installed on a POS terminal (or a standard PC) with Microsoft Windows
operation system (supported OS Windows 2000, XP, Embedded POSReady 2009, Vista, 7, 8).

At using NaftaPOS you should in Windows Control Panel in configuration of regional parameters on tabs
"Numbers" and "Currency unit" as a "Separator of integer and fractional parts" set ‘.’ (point, dot).

Minimal requirements to a PC include the following:


1 GHz CPU
1 GB RAM
60 GB HDD

Installation of NaftaPOS software is made by running an installation file following instructions, specified in
installation wizard windows:

www.technotrade.ua page 70 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

www.technotrade.ua page 71 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

During installation process MySQL RDMS will be installed (starting MySQL service):

NaftaPOS installation process – MySQL DBMS installation

Borland Database Engine will be installed during NaftaPOS software installation process, so it is important
to agree with a request on its installation:

NaftaPOS installation process – Borland Database Engine installation

Guardant dongle drivers are installed during NaftaPOS software installation process, so it is important to
agree with a request on its installation:

Installation process – Guardant dongle drivers installation

www.technotrade.ua page 72 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
During installation the following NaftaPOS services will be installed:
T&T database server
T&T Scheduler

NaftaPOS installation process – service installation

After installation of NaftaPOS software a logical drive, on which the system is installed, will contain a
directory “NaftaPOS” with all files of NaftaPOS software and NaftaPOS system files that track its operation
(log-files):
main_logfile.txt
controller.txt
CashErr.txt,
Others log files may be created automatically during the system operation. By content of these log-files it is
possible to track reasons of possible errors and misoperations arisen during software operation and lead a
log of actions performed by operator of the petrol station. This information is written in logs that at
necessity can be sent to TECHNOTRADE LTD company for defining of found errors and their initial reasons
with subsequent fixing of these errors.

Configuration of NaftaPOS software to work with PTS controller


For configuration of NaftaPOS software it is necessary to have administrator rights in NaftaPOS system
(these rights are set in NaftaPOS configuration, person without rights can not configure NaftaPOS).

Configuration of NaftaPOS software is made in configuration utility POSSet.exe (located in


NaftaPOS\POSSet.exe folder), which can also be run from NaftaPOS software by selecting an item from
main menu ‘Configuration’ (in case if the configuration utility was started from inside the NaftaPOS
software – then for the made adjustments to enter into force it is necessary to restart NaftaPOS system).

At entering the configuration utility a user is requested to authenticate in order to prove his permission to
make configurations of the system:

By defaults after installation there is only 1 user present with login ‘Service’ and no password (adding of
other users and changing of passwords is made in configuration utility).

After logging inside the configuration utility the following window is shown, where on the left side – there
is a selector of tabs to be configured, and on the right side – configurable parameters of the selected tab.
www.technotrade.ua page 73 from 182
PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Initial configuration of NaftaPOS for operation with PTS controller should include the following steps:

www.technotrade.ua page 74 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
1. Configuration of tab ‘General’

Make sure that the following checkboxes are checked:


Dialog ‘Grades and Prices’ (needs flag ‘Permission to set prices at opened session’)
Permission to set book-keeping remains at opened shift
Permission to set prices at opened session
Permission on dispensing during fuel reception
Level meter presence in system

Other checkboxes can be left unchecked.


Additionally check ‘Manual price setting’ in Price change panel.

2. Configuration of tab “Tanks”

Make sure that you have the tanks quantity set and tanks are linked to fuel types:
Setting of Setting of contracted
tanks quantity products names

Linking of tanks to Petroleum products at


fuel types petrol station

3. Configuration of tab ‘Pumps’

Make sure that you have the pumps quantity set and pumps’ nozzles are linked to fuel types:

Setting of Linking of pumps’ Run PTS


pumps quantity nozzles to fuel types configuration utility

www.technotrade.ua page 75 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

NOTE!
Due to a reason of constant development of PTS controller firmware and adding to it communication
protocols of new fuel dispensers and ATG systems PTS controller configuration tool is also constantly being
developed. That is why in order to have the latest version of the configuration tool and the latest firmware
of the PTS controller – request it from “TECHNOTRADE LTD” company. Location of PTS controller
configuration tool (in case of installation of NaftaPOS system on drive C:\) is “C:\NaftaPOS\pts_conf\”.

4. Configuration of tab ‘View’

Make sure that you have the windows to be displayed on main form to be checked here:
- Pump window #... (for each of configured pumps quantity set on tab “Pumps” above)
- Window of products sales (for a reason to be able to provide sales of retail products from main form)
- Table of tanks

Check all the checkboxes in the options for graphical user interface adjustments.

Also select a skin for graphical user interface.

Configure windows to be Configure a skin for


displayed on the main form graphical user interface

www.technotrade.ua page 76 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
Configure graphical user
interface settings

5. Configuration of tab ‘Drivers’

Tab ‘Drivers’ serves for configuration of drivers of connected equipment to NaftaPOS software, namely:
Cash registers (receipt printers)
Forecourt controllers
ATG systems
Barcode scanners
Controller service
Tanks service

By default all drivers are set as void drivers (simulators).

For test operation it is recommended to set the following configuration:


As driver of cash register select “Void cash register driver”
As driver of controller select “PTS controller”
As driver of tanks select “PTS ATG driver”

For operation of NaftaPOS software with PTS controller it is necessary to click on button “Controller” from
the top menu in this tab “Drivers” and there select from the list of drivers a driver for PTS controller and
click on a button “Set “ to make it applied in the system.

www.technotrade.ua page 77 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
Configuration of Selection of device Currently set
currently set driver to configure driver
Setting of a driver Selection a driver from List of available
from a driver list outside the system drivers in system

Configuration of pump controller


Driver “PTS controller” should be selected as a driver for “Controller”.

Tab “Controller” specifies the pumps in NaftaPOS system, with which NaftaPOS works. To each of these
pumps on tab “Pumps” can be linked any pump logical address, which is configured in PTS controller
configuration.

Clicking of button “Test” opens a window for checking communication with the current PTS controller on
specified COM-port: If response is OK – communication is successful, otherwise various errors will be
displayed.

Response type:
if “OK” – successful, Quantity of received
else – various errros responses

Selection of the pump


number

www.technotrade.ua page 78 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Selection of quantity of PTS controllers in


system

Selection of adjustments for all pumps in


the system

Selection of COM-port with connected PTS


controller
Testing communication with a connected
PTS controller
Number of the PTS controller (in case of
several PTS controllers connection)

Pump numbers to be polled by the


NaftaPOS system

Selection of the logical pump address in


PTS controller to be polled
(linking to pump in NaftaPOS system)
Enabling flexible setting for each of the
pumps in NaftaPOS system
Flexible setting for each of the pumps in
NaftaPOS system

Pumps in NaftaPOS system

Selecting nozzles for each of the pumps in


NaftaPOS system

In configuration of “PTS controller” driver only logical addresses of dispensers are set, the physical address
of the connected fueling place is specified in PTS controller configuration utility.

www.technotrade.ua page 79 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
Linking of pump windows numbers to logical addresses of fuel dispensers set in PTS controller configuration
tool is made on tab “Pumps” of PTS controller driver:

Pump number in
NaftaPOS system

Pump logical number in


PTS controller

Linking of logical pump numbers in PTS controller to


pump numbers in NaftaPOS system

Multipliers can be set separately for each of the pumps. Clicking on button “Set for all pumps” leads to
setting of the current multipliers on currently selected pump for all other pumps.

www.technotrade.ua page 80 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Shown on image above multipliers set that there are 2 digits on the pump in fields of monay amount,
volume and price and also pump gives out total counters (volume and money) with 2 digits after decimal
separator.

Other examples of multipliers:

Setting multipliers for pump with 0 digit in money Setting multipliers for pump with 1 digit in money
amount and 3 digits in volume amount and 2 digits in volume

Except setting of multipliers for each of the pumps it is necessary to set multipliers in NaftaPOS system in
order to set how data should be accounted in system, stored in database and displayed in reports. Setting
of multipliers for NaftaPOS system is made on tab “Order” in configuration utility of NaftaPOS.

Driver “Virtual controller” is used for simulation of fuel dispensers. At using of this driver NaftaPOS can
simulate presence of actual fuel dispensers, but at this no real dispensers are connected to the system.
Driver “Virtual controller (HIGHSPEED)” is used for simulation of fuel dispensers like driver “Virtual
controller”, but unlike it dispensing is made very quickly and there is no need to wait until dispensing is
finished no matter what is the order value.

Configuration of ATG controller

www.technotrade.ua page 81 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
For operation of NaftaPOS software with PTS controller it is necessary to click on button “Tanks” from the
top menu in tab “Drivers” and there select from the list of drivers a driver for PTS ATG and click on a button
“Set “ to make it applied in the system.

Driver “PTS ATG driver” is used for communication with various ATG systems using the PTS controller.

In configuration of “PTS ATG driver” driver only logical addresses of ATG system probes (sensors) are set,
the original physical addresses of probes are specified in PTS controller configuration utility.

Setting of ATG probes quantity

Setting of tanks with installed


ATG probes

Selection of period of polling


the PTS controller for probes
measurement results (in
seconds)

www.technotrade.ua page 82 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Selection of a number of
connected PTS controller
Selection of logical number of
ATG probe is PTS controller
Selection a place from where the calibration chart
of tank should be taken (for calculation of fuel
volume in accordance with fuel level)

ATG probe logical number


in PTS controller

Linking of logical ATG probe numbers in PTS controller to


tanks in NaftaPOS system

Tank number in
NaftaPOS system

Driver “Driver of virtual tank” is used for simulation of ATG system presence in system. This driver should
be set, when there is no ATG system connected. In this case a checkbox “Level meter presence in system”
on tab “General” should be unchecked.

6. Configuration of tab ‘Order’

Tab ‘Drivers’ serves for configuration of several things of NaftaPOS system connected with order placing.
Make sure that the following things are checked:
Checkbox “order autoclose in Manual mode”
Only-non-zero dispensings

www.technotrade.ua page 83 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Area “Setting of multipliers” sets how many digits after decimal separator in values of money amount,
volume, price and total counter values received from pumps should be accounted in NaftaPOS system for
calculations, storing in database and displaying in reports.

All the described steps are basic configuration of NaftaPOS software to operate with PTS controller.
NaftaPOS has more options to configure, more details about them please read on NaftaPOS web-page:
http://www.technotrade.ua/petrol_station_software.html. For testing purposes of NaftaPOS software
operation with PTS controller these adjustments are enough.

www.technotrade.ua page 84 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Running NaftaPOS software


NaftaPOS software is to be started by running NaftaPOS.exe. After checking of connected equipment you
will see a desktop of NaftaPOS (graphical user interface is adjustable in right-mouse button menu).

In “NaftaPOS” shift mode of operation is applied. Cashier at beginning of operation should open a new shift
(in main menu tab ‘Shift’ → item ‘New shift’). Shift control is required in order to make the system operate
under responsibility of the logged cashier (under his personal login and password) and thus make him bear
responsibility for all actions happening at petrol station. Shift control can be switched off in configuration of
NaftaPOS on tab ‘General’.

Detailed description on running the NaftaPOS system is given in section “Step by step configuration” below.

To understand better how to work in NaftaPOS and lead control over fuel dispensers, sales of products and
management over a petrol station – please read documentation and see online videos on the NaftaPOS
software web-page: http://www.technotrade.ua/petrol_station_software.html.

Localization of NaftaPOS software to any language is quite easy. All text strings and their correspondent
translation is located in XML file lang.xml in root folder of NaftaPOS software.

www.technotrade.ua page 85 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
PumpDemo utility

PumpDemo utility is a contracted version of NaftaPOS software used for debugging purposes. It does not
require installation.

Configuration of the system is done by running a setup.bat file. Configuration is similar to configuration of
NaftaPOS software for operation with PTS controller (see section “Configuration of NaftaPOS software to
work with PTS controller” above):

This allows to set configuration for communicating with PTS controller.


Graphical user interface is adjusted in a file AZSDemo.dat, where all information is stored in a view of text.

Operation of the PumpDemo utility is made same as operation of NaftaPOS software.

www.technotrade.ua page 86 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
Pump icon Pump state IDLE: all nozzles are
number down

Fuel grade Order in


(nozzle) liters / galons
Selection of a Price on
discount fuel grade
Selection of a Order in
payment form money amount

Pump state Nozzle: specified


nozzle is taken up
Button Selection a mode of operation:
“Start” preset, manual or full tank

Pump state READY: the


dispenser is authorized

Pump state WORK: the


dispenser is currently
Button dispensing fuel
“Stop”

Dispensing
progress bar

Pump state NOZZLE: error on


dispenser (taken up not the
nozzle authorized)

As a confirmation of the fuel dispensing


ordered in preset mode or performed in
manual or full tank modes a correspondent
window is shown:

www.technotrade.ua page 87 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Open source PTS controller .NET application


Purpose
In order to provide control over PTS controller and simplify work of developers, writing on Microsoft .NET
Framework in implementation of UniPump communication protocol of PTS controller and give an open
source example of application for control over fuel dispensers and ATG systems at petrol station a .NET
library (with open source in C# and VB.NET languages and documentation on methods and properties) and
PTS controller .NET application (with open source in C# and VB.NET languages) are provides.

Given application includes 2 projects:


PtsLib - project of PtsLib.dll library for operation with a PTS controller. Includes classes, methods
and properties for communication with PTS controller using requests and responses described in
UniPump communication protocol for communication with PTS controller for provision of control
over dispensers and ATG systems and configuration of PTS controller.
Fully-functional open source application for provision of control over up to 8 pumps and 4 ATG
systems by the PTS controller, allows to perform all operations with the PTS controller (uses classes
and methods of PtsLib.dll library).

PTS controller .NET application is provided on both C# and VB.NET languages and requires .NET Framework
2.0 for operation.

www.technotrade.ua page 88 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
Start
To launch PTS controller .NET application run PtsApplication.exe, select from a dropdown list a COM port
name, to which PTS controller is connected, and press a button to open a selected COM port.

Note: connection with PTS controller is made through a 3-wire realization of RS-232 interface, an
asynchronous half-duplex channel, baud rate 57600 baud without a parity check. This configuration is
hardly coded inside a program.

Configuration of PTS controller


To open configuration form go on the main form to menu item “Configuration” → “Fuel point configuration
settings”.

Configuration allows to set pump channels, ATG channels, parameters in PTS controller. It is quite
convenient to use and open source code helps to understand better how the PTS controller works.

Pumps configuration tab allows to configure pumps channels of PTS controller (like PTS_conf.exe utility):

www.technotrade.ua page 89 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

ATGs configuration tab allows to configure ATGs channels of PTS controller (like PTS_conf.exe utility):

Parameters tab allows to read/write parameters in PTS controller (like PTS_conf.exe utility):

www.technotrade.ua page 90 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Tab “Version information” allows to reseave information about date and version of PTS controller firmware
release and also a list of supported communication protocols of pumps and ATG systems (like PTS_conf.exe
utility):

Main view

www.technotrade.ua page 91 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

In main view 8 fuel point icons are shown on the screen, which are to be linked to physical fuel points and
show its state.

Each of the displayed fuel point icons contains information about:


Fuel point ID - a logical number of a fuel point in PTS controller (number displayed in top left
corner, displaying with a symbol “-” means a fuel point not set)
Status – status of a fuel point (displayed in a top line)
Mode – selection between Preset mode (required to specify money amount or volume of fuel to be
dispensed) and Manual mode (does not require to specify money amount or volume of fuel to be
dispensed)
Amount – money amount for which a fuel dispensing should be made (in a range 0,00 – 9999,99)
Volume – fuel volume for which a fuel dispensing should be made (in a range 0,00 – 9999,99)
Price – price per 1 liter/gallon of fuel
Nozzle – number of an active nozzle that is taken up (displaying with a symbol “-” means no nozzle
is taken up)
Possible statuses of fuel points:
OFFLINE – fuel point is not active, is not set or is controlled in a manual mode
IDLE – fuel point is in idle state (all nozzles are hang down)
NOZZLE – nozzle is taken up, waiting for allowance on fuel dispensing
READY – fuel dispensing is allowed, test of indicator is running
WORK – fuel dispensing is in process
TransactionCompleted – transaction is finished normally, waiting for a nozzle to be hang down
TransactionStopped b
ERROR – Status of an error
Each of the fuel point icons contains the following buttons:
1. Start – start of fuel dispensing (fuel point authorization)
2. Stop – stop of fuel dispensing
3. Settings – opens a window for setting of fuel point icon configurations
4. Update prices – clicking leads to setting of prices per 1 liter/gallon of fuel for all nozzles of a fuel
point with which current fuel point icon is linked
5. Totals – opens a window for reading of fuel point totalizers

Settings of fuel point icons

www.technotrade.ua page 92 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Given window contains a dropdown list with all 4 pump channels of the PTS controller, selecting each of
which leads to displaying of all fuel points’ IDs and corresponding fuel points’ addresses configured to given
pump channel for a PTS controller in a field below. Selecting one of the fuel point IDs and pressing OK
button leads to linking given fuel point icon to selected fuel point ID and displaying its status. Selecting of a
PTS pump channel with value 0 will lead to switching off a fuel point icon.

Given window for each of the fuel points also contains a list of 6 nozzles for setting of prices per 1
liter/gallon of fuel, dispensed through these nozzles, in a range 0,00 – 999,99. If a fuel point has less than 6
nozzles – prices will be set only for first number of nozzles, which a fuel point has.

Clicking ‘Set prices’ button leads to updating prices on selected fuel point. Clicking ‘Get prices’ leads to
receiving of prices from selected fuel point.

Clicking OK button leads to updating a fuel point icon and updating (creating) a file “Config.xml” in root
folder with configuration of fuel point icons. At launching of a PTS controller .NET application next time
configuration of fuel point icons will be read from this file “Config.xml” in root folder.

Reading of fuel point total counters

In the end of every dispensing application itself reads total counters from the pump on the nozzle, whih
was dispensing. At this a sign of totals reading appears in the left top corner of the pump icon (and under
the header of the ‘T’ command is displayed, which means that currently PTS controller processes
TotalInfoRequest command).

Total counters can be updated at any moment from any of the pumps. Selecting of a button “Totals” on a
fuel point icon and clicking a button Update in it leads to reading of total counters:

www.technotrade.ua page 93 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Settings
Selection from top menu “Configuration” an item “Settings” leads to opening a new window, which allows
adjustment of

Settings include the following:


1. Authorization type of fuel dispensers:
Authorization by fuel volume – dispensers are to be authorized with volume
Authorization by money amount – dispensers are to be authorized with money amount
2. Authorization polling:
Keep polling when pump is in READY state – after the Start button is clicked to authorize a
dispenser, but nozzle is not taken up on the dispenser, the fuel point displays READY state; this
option enables to keep constantly sending authorization command in READY state (until nozzle is
taken up of fuel point and it is authorized)
Do not poll when pump is in READY state – after the Start button is clicked to authorize a
dispenser, but nozzle is not taken up on the dispenser, the fuel point displays READY state; this
option enables to send authorization command only once at clicking on a ‘Start’ button of fuel point
icon
3. Extended commands:
Use general commands – PTS controller can work with general commands (for prices containing up
to 4 digits) and also with extended commands (for more quantity of digits in price values); this
option sets to use general commands in communication with PTS controller (prices containing with
up to 4 digits)
Use extended commands – PTS controller can work with general commands (for prices containing
up to 4 digits) and also with extended commands (for prices containing with up to 9 digits); this
option sets to use extended commands in communication with PTS controller (prices containing
with up to 9 digits)
4. Request total counters:
Request total counters – this option sets that application should automatically request total
counters after each dispensing on dispenser is performed
www.technotrade.ua page 94 from 182
PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
Do not request total counters – this option sets that application should not automatically request
total counters after each dispensing on dispenser is performed
5. Manual mode settings:
Authorize automatically at nozzle up – this option sets that once a nozzle is taken up on the
dispenser – application should at once authorize it with a value set in field “Dose to authorize”; this
options enables the application to set in a way, when order is preset from dispenser keyboard and
application simply monitors the dispensers operation; in order this feature to work a fuel point
should be switched to Manual mode of operation (see above), in Preset mode this feature does not
work (preset is supposed to be given from application)
Authorize manually at nozzle up – this option sets that dispensers are to be controlled fully from
the application by clicking on Start and Stop buttons both in preset and Manual modes of operation
6. Quantity of digits:
Setting of quantity of digits in money, volume, price and total counters (volume and money
amount) - this option is required in cases when dispensers may have non-standard quantity of
digits (for example 3 digits in volume and 0 digits in money amount)

Displaying ATG systems probes states

In ATG view 4 ATG icons are shown on the screen, which are to be linked to physical ATG systems (probes)
and show its state.
Each of the displayed ATG icons contains information about measured by ATG system (probe) parameters
of petroleum product inside tanks. Depending on the type (communication protocol) of ATG system (probe)
the following data may be displayed:
- Product level (accuracy 0.1 mm)
- Product volume (accuracy 1 liter)
- Product temperature compensated volume (accuracy 1 liter)
- Product ullage (volume) (accuracy 1 liter)
- Water level (accuracy 0.1 mm)
- Water volume (accuracy 1 liter)
- Temperature (accuracy 0.1 degree Celcium)
- Product density (accuracy 0.1 kg/m3)
- Product mass (accuracy 0.1 kg)

www.technotrade.ua page 95 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

If ATG system does not support any the parameters – a correspondent value label on ATG icon stays
disabled. Picture of a tank on the ATG icon shows visually level of product in tank compared to tank height
(which should be equal to ATG probe height). If ATG icon is linked with an ATG system – its state is
“ACTIVE”, else – “NOT ACTIVE”.

Settings of ATG probe icons

Given window contains a dropdown list with all 3


ATG channels of the PTS controller, selecting each of
which leads to displaying of all ATG probes’ IDs and
corresponding ATG probes’ addresses configured to
given ATG channel for a PTS controller in a field
below. Selecting one of the ATG probe IDs and
pressing OK button leads to linking given ATG probe
icon to selected ATG probe ID and displaying its
state. Selecting of a PTS ATG channel with value 0
will lead to switching off a ATG probe icon.

Given window for each of the ATG probes also


contains a field for entering height of a tank with
installed probe (which is considered to be a
maximum level of product allowed for given tank).

www.technotrade.ua page 96 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
TiT.PTS classes help file
PTS controller .NET application is based on a number of classes which documentation describing methods
and properties is supplied together with it. Documentation is generated in a form of html-files.

www.technotrade.ua page 97 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

PTS COM-object

In order to provide control over PTS controller and simplify work of developers, who are working in
Windows OS in implementation of UniPump communication protocol of PTS controller, a COM-object with
methods and properties for operation with PTS controller is provided.

COM-object is compiled on Visual C++ 6.0 and is supplied together with a test application, written on Visual
Basic 6.0.

Documentation of COM-object describes all methods and properties of the COM-object and its application.

To register PTSDriver.dll library in Windows OS perform command

REGSVR32 PTSDriver.dll

from
PTS_SDK\API TOOLS\COM_object_API_plus_VB6.0_appilcation.rar\PTSDriver\ReleaseMinDependency\
folder.

www.technotrade.ua page 98 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

PTS controller test utility

Purpose
PTS controller test utility is written in the following languages:
C#
VB 6.0
VB.NET
Java

It is written for developers in order to give open source test application, which shows how to communicate
with PTS controller using commands from UniPump communication protocol without a necessity to
implement this protocol from zero.

Utility provides all operations with a PTS controller. Thus developers using one of the above languages can
view how control over PTS controller is provided in the utility and implement the same functions in own
developed applications for petrol stations.

Visual Basic 6.0 (uses COM-object) Java (developed in NetBeans IDE)

C# (developed in Visual Studio Express 2010) VB.NET (developed in Visual Studio Express 2010)

www.technotrade.ua page 99 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

PTS terminal utility

Purpose
PTS terminal is used in order to provide debugging of PTS controller operation. It allows to send to PTS
controller requests formed with bytes in accordance with UniPump communication protocol commands
without a necessity to add framing bytes and CRC.

This utility can be useful during development of own control software, when developers can test sending of
commands to PTS controller and receive its responses using this utility and in such a way compare then
with responses processed in own developed control software.

Commands to be sent to the Selection of COM-port Selection of the logical address,


specified logical address and a button for open/close to which request is addressed

Log of communication (shows


commands and responses)

www.technotrade.ua page 100 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

UniPump pumps software simulator

Purpose
PTS controller SDK includes a pumps software simulator with a purpose to enable debugging of PTS
controller implementation in third party software. Purpose of software simulators is to debug operation of
control system software (cash register, POS system, OPT, etc) over fuel dispensers through PTS controller
without a necessity to connect to real fuel dispensers.

Dispensed volume,
Main view money amount and price
total counters
Selection and Simulation of Pump mode of Volume and money Selection of nozzle to State of
opening/closing presence operation total counters take up/down and its pump
of a COM-port trigger state

Pump physical
address

Log of simulator operation with specification Pump mode of operation


of all transmitted commands and their data
operation Pumps software simulator main view

www.technotrade.ua page 101 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
In pumps simulator it is possible to add up to 99 pumps giving each a unique physical address. Each of the
pumps leads separately its total counters (volume and money amount) and prices for each of its 6 nozzles.
Total counter values as well as prices are stored in Windows system register. Each of the nozzles has a
trigger.

Each of the pumps can be transferred to automatic mode of operation (controlled from the control system)
or manual mode of operation (controlled manually and does not response to control system).

Pump control in pumps software simulator

In right-click mouse menu it is possible to preset the pump with money amount or volume value, stop the
pump, reset, pause and change volume:

Volume preset menu for pump


Pump right-button mouse menu

Configuration
Configuration of the pumps simulator includes configuration of:
communication settings, which include setting of baud rate, number of data bits and stop bits,
parity control
quantity of pumps (physical address is set on each pump control independently)
technical characteristics of the pumps in simulator (flow rate, slow flow rate (when flowdown valve
is on), quantity of pulses before the flowdown valve is switched on

www.technotrade.ua page 102 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
protocol type: selection between standard UniPump communication protocol and extended
UniPump communicatin protocol for PTS controller
setting quantity of digits in values of volume, money amount, price and total counters
selection of graphical skin

Settings of pumps simulator

Pumps simulator can simulate presence at the pumps – take up nozzles and make dispensing in random
way thus making it possible to debug control system software as if it was operating on real petrol station.

Log window of the pumps simulator enables to see all the requests and responses in communication and
their respective data.

For communication of PTS controller with the UniPump pumps software simulator it is necessary to select
in PTS controller configuration of the pump channel communication protocol “2. UNIPUMP” and select
appropriate baud rate (equal to set in simulator (9600 baud rate by defaults) and set pumps physical
addresses equal to those, which are set for pumps in simulator. Also it is necessary to set parameters to
UniPump protocol for each of the pumps in PTS controller configuration (see image below):
1. Parameter “Multiplier of dose” set equal to 1.
2. Parameter “Protocol type” set equal to “UniPump standard protocol” in case if protocol type is set to
“Standard UniPump” in pumps simulator or “Extended protocol for PTS controller” in case if protocol
type is set to “Extended UniPump for PTS controller” in pumps simulator.

www.technotrade.ua page 103 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Parameters for UniPump protocol in PTS controller

www.technotrade.ua page 104 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

UniProbe ATG probes software simulator

Purpose
PTS controller SDK includes a ATG probes software simulator with a purpose to enable debugging of PTS
controller implementation in third party software. Purpose of software simulators is to debug operation of
control system software (cash register, POS system, OPT, etc) over ATG systems through PTS controller
without a necessity to connect to real ATG systems or probes.

Main view
Selection and Simulation of ATG probe measurements
opening/closing presence (allows enable/disable any of the
Connection state
of a COM-port measured parameters)

Probe physical Tank height


address

Log of simulator operation with specification


of all transmitted commands and their data
operation ATG probes software simulator main view

In ATG probes simulator it is possible to set measurements of the following parameters:


Products height
Water height
Temperature
Product volume

www.technotrade.ua page 105 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
Water volume
Product ullage
Product temperature compensated volume
Product density
Product mass

Any of the specified parameters can be switched on or off.


Also it is possible to set height of tank in the system.

Each of the ATG probes can be transferred to connected (responses to PTS controller) or disconnected
(does not response to PTS controller) state.

Probe control in ATG probes software simulator

Configuration
Configuration of the pumps simulator includes configuration of:
communication settings, which include setting of baud rate, number of data bits and stop bits,
parity control
quantity of ATG probes (physical address is set on each probe control independently)
selection of graphical skin

Settings of probes simulator

www.technotrade.ua page 106 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
Probes simulator can simulate presence of liquids in tanks – change height and volume of fuel, temperature
mass in random way thus making it possible to debug control system software as if it was operating on real
petrol station.

Log window of the probes simulator enables to see all the requests and responses in communication and
their respective data.

For communication of the PTS controller with UniProbe ATG probes software simulator it is necessary to
select in PTS controller configuration of the ATG channel communication protocol “9. UNIPROBE” and
select appropriate baud rate (equal to set in simulator (9600 baud rate by defaults) and set probes physical
addresses equal to those, which are set for probes in simulator. Also it is necessary to set parameters to
UniPump protocol for each of the pumps in PTS controller configuration (see image below):
3. Parameter “Multiplier of dose” set equal to 1.
4. Parameter “Protocol type” set equal to “UniPump standard protocol” in case if protocol type is set to
“Standard UniPump” in pumps simulator or “Extended protocol for PTS controller” in case if protocol
type is set to “Extended UniPump for PTS controller” in pumps simulator.

www.technotrade.ua page 107 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Start Italiana ATG probes software simulator


Purpose
PTS controller SDK include ATG probes software simulator of Start Italiana. Purpose of the software
simulator is to enable debugging of PTS controller and ATG probe at implementation of PTS controller in
third party software. Purpose of software simulators is to debug operation of control system software (cash
register, POS system, OPT, etc) over ATG systems through PTS controller without a necessity to connect to
ATG system or probes.
Log of COM-port number Open/close
communication and baud rate COM-port

ATG probe measurement data: Setting of the probes address and


temperature, product level, water level setting if the probe is active

www.technotrade.ua page 108 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Step-by-step configuration of the PTS controller SDK

Purpose
In order to simplify understanding of PTS controller SDK operation and assembling this step-by-step
instruction is provided. It describes basic steps to be made with PTS controller SDK to assemble it correctly
and also to install and configure software coming in its structure.

Step 1. Downloading of PTS controller SDK software


Using a link for download of PTS controller SDK software it is necessary to get all files from it. The files
should include:
- API tools:
- Open source application programming interfaces, libraries, test utilities, applications and
documentation for development the third party software for communication with PTS
controller using various programming languages and environments
- UniPump communication protocol description for PTS controller
- Software tools
- NaftaPOS software for petrol stations
- PumpDemo util
- PTS controller configuration tool Pts_conf.exe
- PTS terminal utility
- USB dongle drivers
- Latest stable PTS controller firmware
- Software simulators
- Fuel dispensers software simulators
- ATG systems (probes) software simulators
- Documentation
- User manuals
- Technical guides

Step 2. Assembling PTS controller SDK cabling and connection to PC


For connection of PTS controller SDK cabling it is necessary to have at least 2 COM-ports available in PC
(one COM-port – for control system, other COM-port – for fuel dispenser software simulator or ATG probe
software simulator). In case of absence of native COM-ports in the PC motherboard it is possible to use any
standard interface converters to RS-232 interface: USB-to-COM, Ethernet-to-COM, PCI-to-COM, etc.

USB-to-COM interface converter cable


www.technotrade.ua page 109 from 182
PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
PTS controller SDK is generally supplied in a plastic box, where the PTS controller and RS-232/RS-485
interface converter boards are mounted in the box. Cabling in order to avoid damage of the boards during
transportation is supplied separately. So, it is necessary to make all the cablings connections correctly for
the system to start operation.

In this step-by-step instruction we will connect 1 pump simulator and 1 ATG probes simulator. Scheme of
connections should be the following:

www.technotrade.ua page 110 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Step 3. Connection of cabling


Refer to the scheme of connections above for connection of cabling:
1. Cabling for communication of PC with PTS controller:
- Connect cable C014-1 from one side to one of the COM-ports of PC (where the control
software is to be launched) and from the other – to connector “RS-232 (control system)”,
which is located on the box of PTS SDK (see connections 1 and 2 on the scheme above). This
connector “RS-232 (control system)” is a connector of cable C013-1, mounted inside the PTS
SDK box.
- Make sure that the cable C013-1 is mounted inside the PTS SDK box and is connected from one
side to cable C014-1 and from the other – to PC port of PTS controller (connections 2 and 3).
2. Cabling for connection to pump software simulator:
- Connect cable C012-1 to the pump port of PTS controller (connection 4).
- Connect connector X1 of cable C012-1 to the one side of cable C018-1 (connection 5).
- Connect the other side of cable C018-1 to XP1 connector (RS-485 channel 1) of RS-232/RS-485
interface converter board (connection 6).
- Make sure that cable C020 is mounted inside the PTS SDK box to connector “RS-232 (fuel
dispenser simulator)” with one of its sides (connection 8).
- Connect the other side of cable C020 to connector XP3 (RS-232 channel 1) of RS-232/RS-485
interface converter board (connection 7).
- Using a cable C014-1 link the connector “RS-232 (fuel dispenser simulator)”, located on PTS
SDK box, with a COM-port of the PC, where pumps software simulator is to be launched
(connections 8 and 9).
3. Cabling for connection to ATG software simulator (optional, may be skipped):
- Connect cable C029-3 to ATG port of PTS controller (connection 10).
- Connect connector USER of cable C029-3 to one side of cable C033 (connection 11).
- Connect the other side of cable C033 to COM-port of the PC, where ATG software simulator is
to be launched (connection 12).
4. Cabling for power supply of PTS controller and RS-232/RS-485 interface converter:
- Connect a cable C015-1, which is mounted inside the PTS SDK box, to PTS controller board
(voltage 12 V DC) and to RS-232/RS-485 interface converter board (voltages 5 V DC, 12 V DC)
(connections 13 and 14).
- Connect external side of cable C015-1 to PC power supply or to any other power supply source
having 2 voltages: 5 V DC and 12 V DC (connection 15).

So, PTS controller is to be connected to a COM-port of the PC using cable C013-1 (cable C013-1 comes
mounted to the PTS SDK box with inscription “RS-232 (control system)”). Connection can be made through
a cable C014-1, which serves as a prolonger of the COM-port.

RS-232/RS-485 interface converter board serves for connecting of PTS controller pump channels (in RS-485
interface) with COM-port of PC (which is in RS-232 interface), on which pumps software simulator is to be
launched. RS-232/RS-485 interface converter board has 2 independent conversion circuits. Input cable is
C018-1 (RS-485 interface), output cable is C020 (RS-232 interface).

www.technotrade.ua page 111 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
Due to a reason that in this description we will configure only channel 1 of PTS controller to communicate
with fuel dispensers – it is necessary to connect the connector X1 of cable C012-1 coming from the pump
port of the PTS controller to a cable C018-1 of the RS-232/RS-485 interface converter board. Output cable
C020 of the same conversion circuit of the RS-232/RS-485 interface converter (one of cables C020 comes
mounted to the PTS SDK box with inscription “RS-232 (fuel dispenser simulator)”) is to be connected to the
COM-port of PC, on which pumps software simulator is launched. Connection can be made through a cable
C014-1, which serves as a prolonger of the COM-port.
In order to connect ATG systems (probes) software simulators it is necessary to connect one of the
connectors of cable C029-3 through a cable C033 to the COM-port of PC, where ATG system (probes)
software simulator is launched. Connection can be made through the cable C014-1, which serves as a
prolonger of the COM-port. In this description we will use USER-port of PTS controller to connect ATG
probes software simulator, so it is necessary to connect USER connector of cable C029-3 to cable C033
(directly or through cable C014-1). C033 cable should be connected to COM-port of the PC.
It is worth to mention that only 1 application can work with a specific COM-port at the time, 2 applications
can not share the same COM-port.

Step 4. Installation of NaftaPOS software for petrol stations


Using instructions given in point “NaftaPOS software for petrol stations. Installation.” of given technical
guide it is necessary to download and install NaftaPOS software. During installation of NaftaPOS software
Guardant USB dongle drivers are to be installed.

Step 5. Configuration of NaftaPOS software to work with PTS controller for


communication with pumps and ATG systems
After the cabling is duly connected and NaftaPOS is installed run POSSet configuration utility of NaftaPOS
software (POSSet.exe, located in root folder of NaftaPOS software).

Go to tab “Pumps” and set there quantity to pumps equal to 8:

www.technotrade.ua page 112 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

On tab “Pumps” click on a button “PTS configuration” and set “2. UniPump” protocol and “4. 9600” baud
rate for pump channel 1. Adjust pumps 1 – 8 for pump channel 1 and write configuration.

As parameters for UniPump protocol set default parameters for each of the enabled pump:

In configuration of ATG channels set “2. START_ITALIANA SMT-XMT” protocol and “4. 9600” baud rate for
USER ATG channel. Adjust ATGs 1 – 8 for USER pump channel and write configuration.

www.technotrade.ua page 113 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Parameters for ATGs set as default:

Close PTS controller configuration utility and go to POSSet tab “General”, where set configuration as
shown on screen shots:

www.technotrade.ua page 114 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Go to tab “Drivers” and set for a cash register a driver “Void cash register driver”:

www.technotrade.ua page 115 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

As a driver of “Controller” select a “PTS controller” driver:

Go to configuration of “PTS controller” driver and set there the following configuration on tab
“Controllers”:
Number of COM-port, to which PTS controller is connected
Enable pumps 1 – 8
Set “Use pumps electronic totalizers”

www.technotrade.ua page 116 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

After specifying the COM-port number click on the button “Test”. The opened Window should show “OK”
statuses, which say that PTS controller is connected to the system and is responding correctly. In case if
you see any errors – there are mistakes in connection or configuration of the equipment.

On tab “Pumps” it is necessary to set for each of the configured pumps a correspondent number of the
pump in controller:
Pump #1 → 1
Pump #2 → 2
…………………
Pump #8 → 8

Also for each of the selected pump nozzle mask should include all nozzles (from 0 to 5).

www.technotrade.ua page 117 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

As a driver of “Tanks” select a “PTS ATG” driver:

Go to configuration of “PTS ATG” driver and set there the following configuration:

As drivers of “Barcode scanner”, “Controller service”, “Tanks service” leave the drivers, which are set as
default.

www.technotrade.ua page 118 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Go to tab “Order” and check that configuration is set as shown on the screenshot:

On tab “View” check windows to be displayed (pumps 1 – 8 and table of tanks):

www.technotrade.ua page 119 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

On tab “Pump modes” set the check that all modes are switched on:

Now PTS controller is configured to work with a pumps software simulator and also ATG software
simulator.

Step 6. Configuration of pumps software simulator


As a pumps software simulator we will use UniPump software simulator in this step-by-step instruction.

Run SimUniPump.exe and go to configuration of its properties. Set properties as shown on screenshot:

www.technotrade.ua page 120 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

After properties are set click OK and on the main form select a COM-port, to which the output of RS-
232/RS-485 interface converter board is connected, and click “Open” button:

After COM-port is opened in case all equipment is correctly connected and configured – you should see
blinking of the green and red LEDs on pump channel 1 of the PTS controller:

Green and red LEDs of


pump channel 1 should
be blinking

In case if only green LED is blinking on pump channel 1 – there is a mistake in connection or configuration
of equipment.

www.technotrade.ua page 121 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
Step 7. Configuration of ATGs software simulator
As a pumps software simulator we will use Start Italiana software simulator in this step-by-step instruction.

Run probe_simulator.exe and go to tab “Config. Select a COM-port, to which the cable C029-3 is connected,
and click “Apri porta” button as shown on screenshot:

Go to tab “Sonde 1-8”, where set some values for measurement of temperature, product and water levels
for each of the probes:

www.technotrade.ua page 122 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

After COM-port is opened in case all equipment is correctly connected and configured – you should see
blinking of the green and red LEDs on USER channel of the PTS controller happening once per 2 seconds:

Green and red LEDs of


USER channel should
be blinking

In case if only green LED is blinking on USER channel – there is a mistake in connection or configuration of
equipment.

Step 8. Running NaftaPOS software


Make sure that Guardant USB dongle is inserted into USB-port of PC and LED on it is shining.
Run NaftaPOS.exe. NaftaPOS software can show warning messages at first time for the pumps, which were
added and has a number bigger than 4 (there are 4 pumps by default set in NaftaPOS). Click OK button.

After the system loads open a new shift (“Shift” → “New shift”) using your login / password (if default user
credentials were not changed – then by defaults after installation there is only 1 user present with login
‘Service’ and no password (adding of other users and changing of passwords is made in configuration utility
POSSet).

www.technotrade.ua page 123 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

After start the system will ask you to adjust the prices for fuel in tanks:

After that you will need to place icons of pumps on the screen as it is comfortable for you and make their
scale as you need. This is made only once. After that in right-button menu of each of pump icons select
“Save attributes”:

www.technotrade.ua page 124 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
And now it is possible to make control over pumps from the NaftaPOS software:

www.technotrade.ua page 125 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Total counter values from dispensers can be read using a main menu item “Pumps” → “Totalizers”

For viewing of fuel parameters in tank select a main menu item “Fuel” → “Fuel in tanks” and you will be
able to view measurements of the ATG probes:

www.technotrade.ua page 126 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Also remains of fuel in tanks is possible to view from main form of NaftaPOS. For this select a main menu
item “View” → “Table of tanks”:

Now the NaftaPOS system correctly works with pumps and ATGs software simulators.

Step 9. Configuration and running of open-source application for PTS controller


The open-source application written in C# and VB.NET is a good place to start development of a new
control software for petrol stations. In this section we will see how it is easy to configure and run it.
Compile or simply run PTS Application (application is given in PTS SDK software kit and is located in API
TOOLS folder.
Go to main menu item “Configuration” → “Settings” and set the following:

www.technotrade.ua page 127 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Open a COM-port and go to main menu item “Configuration” → “Fuel point configuration settings”.
Make sure that all pumps channels and ATG channels are configured correctly:

www.technotrade.ua page 128 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

In main form of the application for each of the fuel point icons go to setting (“Settings” button) and set a
correspondent fuel point number (from fuel point channel 1) and prices for each of the nozzles:
Fuel point icon #1 → FuelPoint ID = 1, Address = 1
Fuel point icon #2 → FuelPoint ID = 2, Address = 2
…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..
Fuel point icon #1 → FuelPoint ID = 8, Address = 8

Now the main form of the application allows to provide control over pumps in pump software simulator:

www.technotrade.ua page 129 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

To view the measurement by the ATGs in PTS application go to main menu item “ATG” → “ATG
measurement data”, where for each of the ATG icons in settings set configuration of ATG to get
measurement values and also set tank’s height:

www.technotrade.ua page 130 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Now PTS application is able to indicate current level measurement data from ATG system:

NOTE! In case of necessity to debug operation with PTS controller and there are no software simulators
present (or equipment to do this) it is comfortable to use built-in simulators of pumps and ATGs in PTS
controller (read more in sections “BUILT-IN PUMP SIMULATOR” and “BUILT-IN ATG PROBE SIMULATOR”.

www.technotrade.ua page 131 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

EXAMPLES OF FUEL DISPENSERS CONNECTION SCHEMES


Gilbarco dispenser connection scheme
Connection to Gilbarco dispenser is made through Gilbarco interface converter, which provides connection
RS-232/RS-485 interface to Gilbarco 2-wire current loop interface.
Configuration of PTS controller: protocol GILBARCO Two-Wire, baud rate 5787.

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)

Cable C012-1 (connector X1)


Cable C026

+5 V
GND
GND
+12 V

Gilbarco fuel dispenser interface converter, more info on


http://www.technotrade.ua/gilbarco_interface_converter.html

Pump port (XP1): Pump port (XP2):


pump channels 1, 2, 3 pump channels 4, 5, 6
Cable C027

Connection through first channel of


Gilbarco converter (example)

Gilbarco Encore 500 dispenser board

www.technotrade.ua page 132 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Cable C027

Connection through first channel of


Gilbarco converter (example)

Gilbarco dispenser ASSY M06104A001 rev. B board

Cable C027

Connection through first channel of


Gilbarco converter (example)

Gilbarco dispenser board

Cable C027

Connection through first channel of


Gilbarco converter (example)

Gilbarco Euroline dispenser board

www.technotrade.ua page 133 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Cable C027

Connection through first channel of


Gilbarco converter (example)

Gilbarco Highline / Dimension Assy dispenser board

Cable C027

Connection through first channel of


Gilbarco converter (example)

Gilbarco Endeavor dispenser board

www.technotrade.ua page 134 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Wayne Dresser dispenser connection scheme (RS-485 interface)

Connection to Wayne Dresser dispenser is made directly without any interface converter.
Configuration of PTS controller: protocol WAYNE Dart, baud rate 9600.

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)
Cable C012-1 (connector X1)

Wayne Dresser iGem dispenser board


(connector X1)
Cable C012-1

Wayne Dresser dispenser board


www.technotrade.ua page 135 from 182
PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Wayne Dresser dispenser connection scheme (current loop interface)


Connection to Gilbarco dispenser is made through Gilbarco interface converter, which provides connection
RS-232/RS-485 interface to Gilbarco 2-wire current loop interface.
Configuration of PTS controller: protocol WAYNE USCL, baud rate 9600.

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)

Cable C012-1 (connector X1)


Cable C026

+5 V
GND
GND
+12 V

Gilbarco fuel dispenser interface converter, more info on


http://www.technotrade.ua/gilbarco_interface_converter.html

Pump port (XP1): Pump port (XP2):


pump channels 1, 2, 3 pump channels 4, 5, 6
Cable C027

Connection through first channel of


Gilbarco converter (example)

Wayne Dresser dispenser board

www.technotrade.ua page 136 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Cable C027

Connection through first channel of


Gilbarco converter (example)

Wayne Dresser dispenser board

Cable C027

Connection through first channel of


Gilbarco converter (example)

Wayne Dresser dispenser iGEM board

www.technotrade.ua page 137 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

TATSUNO (Japan) dispenser connection scheme


Connection to TATSUNO (Japan) dispenser is made directly without any interface converter.
Configuration of PTS controller: protocol TATSUNO SS-LAN, baud rate 19200.

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)

Cable C012-1 (connector X1)

TATSUNO POS joint box

Cable C012-1
(connector X1)

TATSUNO dispenser board

www.technotrade.ua page 138 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Cable C012-1
(connector X1)

TATSUNO dispenser board Cable C012-1


(connector X1)

TATSUNO dispenser board

www.technotrade.ua page 139 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

TATSUNO Benc dispenser connection scheme


Connection to TATSUNO Benc dispenser is made directly without any interface converter.
Configuration of PTS controller: protocol TATSUNO Benc PDE, baud rate 19200.

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)

Cable C012-1 (connector X1)

TATSUNO Benc pumphead

www.technotrade.ua page 140 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Tokheim dispenser connection scheme


Connection to Gilbarco dispenser is made through Gilbarco interface converter, which provides connection
RS-232/RS-485 interface to Gilbarco 2-wire current loop interface.
Configuration of PTS controller: protocol TOKHEIM, baud rate 9600.

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)

Cable C012-1 (connector X1)


Cable C026
GND
12 V

Tokheim fuel dispenser interface converter, more info on


http://www.technotrade.ua/tokheim_interface_converter.html

Connection through first channel of


Tokheim converter (example)
DCC
TTC

TTD

Tokheim dispenser board

www.technotrade.ua page 141 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

DCC
TTC

TTD

Tokheim dispenser board


DCC

TTC
TTD

Tokheim dispenser interface board


DCC

TTC
TTD

Tokheim dispenser interface board

www.technotrade.ua page 142 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Nuovo Pignone dispenser connection scheme (RS-485 interface)


Connection to Nuovo Pignone dispensers with RS-485 interface is made directly without any interface
converter. At this Nuovo Pignone dispenser should have an interface card for RS-485 interface and should
be adjusted to have Wayne Dart protocol.

Configuration of PTS controller: protocol WAYNE Dart, baud rate 9600.

Nuovo Pignone monoproduct dispenser

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)
Cable C012-1 (connector X1)

Nuovo Pignone monoproduct interface card for RS-485 interface, more


info on http://www.technotrade.ua/nuovo_pignone_interface_converter.html

Nuovo Pignone monoproduct dispenser board

Nuovo Pignone multiproduct dispenser


Connection through pump channel 1
of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)

Cable C012-1 (connector X1)

Nuovo Pignone multiproduct interface card for RS-485 interface, more


info on http://www.technotrade.ua/nuovo_pignone_interface_converter.html

Nuovo Pignone multiproduct dispenser board


www.technotrade.ua page 143 from 182
PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Nuovo Pignone dispenser connection scheme (4-wire current loop interface)


Connection to Nuovo Pignone dispensers with 4-wire current loop interface is made through uovo Pignone
current loop interface converter, which provides connection of RS-232/RS-485 interface to Nuovo Pignone
4-wire interface.
Configuration of PTS controller: protocol NUOVO PIGNONE CL, baud rate 2400.

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)

Cable C012-1
(connector X1)

Nuovo Pignone current loop interface converter, more info on


http://www.technotrade.ua/nuovo_pignone_interface_converter.html

Connection through first and second channels


of Nuovo Pignone converter (example)

GND
24 V
Rx+

Rx+
Tx+

Tx+
Rx-

Rx-
Tx-

Tx-
Nuovo Pignone dispenser board

Nuovo Pignone dispenser board

www.technotrade.ua page 144 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Batchen Email dispenser connection scheme


Connection to Batchen dispenser is made through Gilbarco interface converter, which provides connection
RS-232/RS-485 interface to Gilbarco 2-wire current loop interface.
Configuration of PTS controller: protocol BATCHEN Email, baud rate 4800.

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)

Cable C012-1 (connector X1)


Cable C026

+5 V
GND
GND
+12 V

Gilbarco fuel dispenser interface converter, more info on


http://www.technotrade.ua/gilbarco_interface_converter.html

Pump port (XP1): Pump port (XP2):


pump channels 1, 2, 3 pump channels 4, 5, 6

Cable C027

Connection through first channel of


Gilbarco converter (example)

Batchen dispenser board

www.technotrade.ua page 145 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Cable C027

Connection through first channel of


Gilbarco converter (example)

Batchen dispenser board

www.technotrade.ua page 146 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Scheidt & Bachmann T20 dispenser connection scheme


Connection to Scheidt&Bachmann T20 dispenser is made through a S&B T20 interface converter board.
Configuration of PTS controller: protocol UNIPUMP, baud rate 9600

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)
Cable C012-1 (connector X1)

DIP-switch for
address setting

S&B T20 interface converter board

Address setting on S&B T20 interface converter board using a DIP switch
Address 1&2 3&4 5&6 7&8 9 & 10 11 & 12 13 & 14 15 & 16
DIP 1 OFF OFF OFF OFF ON ON ON ON
DIP 2 OFF OFF ON ON OFF OFF ON ON
DIP 3 OFF ON OFF ON OFF ON OFF ON
DIP 4 OFF OFF OFF OFF OFF OFF OFF OFF

www.technotrade.ua page 147 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

PETPOSAN-S4 / MEKSAN-S4 / EUROPUMP-S4 dispensers connection scheme


Connection to S4 computer is made through Gilbarco interface converter, which provides connection RS-
232/RS-485 interface to Gilbarco 2-wire current loop interface.
Configuration of PTS controller: protocol DART Simplex, baud rate 9600.

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)

Cable C012-1 (connector X1)


Cable C026

+5 V
GND
GND
+12 V

Gilbarco fuel dispenser interface converter, more info on


http://www.technotrade.ua/gilbarco_interface_converter.html

Pump port (XP1): Pump port (XP2):


pump channels 1, 2, 3 pump channels 4, 5, 6

Cable C027

Connection through first channel of


Gilbarco converter (example)

S4 computer

www.technotrade.ua page 148 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

PETPOSAN-Beta / EUROPUMP-Beta dispensers connection scheme


Connection to Beta computer is made through Gilbarco interface converter, which provides connection RS-
232/RS-485 interface to Gilbarco 2-wire current loop interface.
Configuration of PTS controller: protocol DART Simplex, baud rate 9600.

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)

Cable C012-1 (connector X1)


Cable C026

+5 V
GND
GND
+12 V

Gilbarco fuel dispenser interface converter, more info on


http://www.technotrade.ua/gilbarco_interface_converter.html

Pump port (XP1): Pump port (XP2):


pump channels 1, 2, 3 pump channels 4, 5, 6

Cable C027

Connection through first channel of


Gilbarco converter (example) IntBox

Petposan-Beta CPU

www.technotrade.ua page 149 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

EuroPump dispenser connection scheme


Connection to EuroPump dispenser is made through Gilbarco interface converter, which provides
connection RS-232/RS-485 interface to Gilbarco 2-wire current loop interface.
Configuration of PTS controller: protocol DART Simplex, baud rate 9600.

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)

Cable C012-1 (connector X1)


Cable C026

+5 V
GND
GND
+12 V

Gilbarco fuel dispenser interface converter, more info on


http://www.technotrade.ua/gilbarco_interface_converter.html

Pump port (XP1): Pump port (XP2):


pump channels 1, 2, 3 pump channels 4, 5, 6

Cable C027

Connection through first channel of


Gilbarco converter (example)

EuroPump dispenser board

www.technotrade.ua page 150 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Mekser dispenser connection scheme


Connection to Mekser dispenser is made through Gilbarco interface converter, which provides connection
RS-232/RS-485 interface to Gilbarco 2-wire current loop interface.

Configuration of PTS controller: protocol DART Simplex, baud rate 9600.

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)

Cable C012-1 (connector X1)


Cable C026

+5 V
GND
GND
+12 V

Gilbarco fuel dispenser interface converter, more info on


http://www.technotrade.ua/gilbarco_interface_converter.html

Pump port (XP1): Pump port (XP2):


pump channels 1, 2, 3 pump channels 4, 5, 6

Cable C027

Connection through first channel of


Gilbarco converter (example)

Mekser dispenser board

www.technotrade.ua page 151 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Mepsan UNIMEP dispenser connection scheme


Connection to Mepsan dispenser is made directly without any interface converter.
Configuration of PTS controller: protocol DART Simplex, baud rate 9600.

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)

Cable C012-1 (connector X1)

Mepsan Unimep dispenser calculator Cable C012-1


(connector X1)

Mepsan Unimep dispenser calculator


Cable C012-1
(connector X1)

Mepsan dispenser board


www.technotrade.ua page 152 from 182
PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Meksan / Wayne SU86 dispenser connection scheme


Connection to Meksan / Wayne SU86 dispenser is made directly without any interface converter.
Configuration of PTS controller: protocol DART Simplex, baud rate 9600.

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)

Cable C012-1 (connector X1)

MEKSAN / WAYNE SU86 dispenser board

www.technotrade.ua page 153 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Baransay dispenser connection scheme


Connection to Baransay dispenser is made directly without any interface converter.
Configuration of PTS controller: protocol DART Simplex, baud rate 9600.

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)

Cable C012-1 (connector X1)

Bransay dispenser board

www.technotrade.ua page 154 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Korea EnE (LG EnE) dispenser connection scheme


Connection to Korea EnE (LG EnE) dispenser is made directly without any interface converter.
Configuration of PTS controller: protocol KOREA EnE, baud rate 4800 or 9600.

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)

Cable C012-1 (connector X1)

Korea EnE / LG EnE dispenser board

www.technotrade.ua page 155 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

SAFE dispenser connection scheme


Connection to SAFE dispenser is made directly without any interface converter.
Configuration of PTS controller: protocol SAFE Graf, baud rate 9600

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)

Cable C012-1 (connector X1)

SAFE Graf electronic head PMII

www.technotrade.ua page 156 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Shelf dispenser connection scheme


Connection to Shelf dispenser is made directly without any interface converter.
Configuration of PTS controller: protocol Shelf, baud rate 9600

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)

Cable C012-1 (connector X1)

Shelf dispenser system board

www.technotrade.ua page 157 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

UniCon dispenser connection scheme


Connection to UniCon dispenser is made directly without any interface converter.
Configuration of PTS controller: protocol UniPump, baud rate 9600

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


pump channel 1 (RS-485)
Cable C012-1 (connector X1)

UniCon dispenser system board

www.technotrade.ua page 158 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

EXAMPLES OF ATG SYSTEMS CONNECTION SCHEMES


Gilbarco Veeder Root ATG systems TLS2, TLS-250, TLS-300, TLS-350, TLS-450
connection scheme
Connection to Gilbarco Veeder Root TLS system is made directly to one of channels of ATG port of PTS
controller (RS-232 interface).
Configuration of PTS controller – protocol GILBARCO Veeder Root, baud rate is selected to be equal to set
in TLS ATG system.
Connection through USER channel of
PTS controller (example)

ATG port (XP3):


DISP, LOG, USER channels (RS-232)
Cable C029-3 (USER channel)

RS-232 port

Gilbarco Veeder Root TLS-350 ATG console

www.technotrade.ua page 159 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Start Italiana wired probes connection scheme


Connection to Start Italiana probes is made directly to DISP (RS-485) channels of pump port of PTS
controller (RS-485 interface).
Configuration of PTS controller – protocol START ITALIANA SMT-XMT, baud rate 9600.

Connection through pump channel 1


of PTS controller (example)

Pump port (XP2):


DISP channel (RS-485)

Cable C012-1 (channel DISP (RS-485))

Start Italiana probe (RS-485)

www.technotrade.ua page 160 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Start Italiana wireless probes connection scheme


Connection to Start Italiana system is made directly to one of channels of ATG port of PTS controller (RS-
232 interface).
Configuration of PTS controller – protocol START ITALIANA SMT-XMT, baud rate 9600.

Connection through USER channel of


PTS controller (example)

ATG port (XP3):


DISP, LOG, USER channels (RS-232)
Cable C029-3 (USER channel)

RS-232 port

Start Italiana RF protocol converter board

www.technotrade.ua page 161 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Start Italiana ATG system connection scheme


Connection to Start Italiana system is made directly to one of channels of ATG port of PTS controller (RS-
232 interface).
Configuration of PTS controller – protocol GILBARCO Veeder Root, baud rate is selected to be equal to set
in Start Italiana ATG system.
Connection through USER channel of
PTS controller (example)

ATG port (XP3):


DISP, LOG, USER channels (RS-232)
Cable C029-3 (USER channel)

RS-232 port

Start Italiana ATG console

www.technotrade.ua page 162 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Struna ATG system connection scheme


Connection to Struna system is made directly to one of channels of ATG port of PTS controller (RS-232
interface).
Configuration of PTS controller – protocol STRUNA Kedr 1.4, baud rate is selected to be equal to set in
Struna ATG system.
Connection through USER channel of
PTS controller (example)

ATG port (XP3):


DISP, LOG, USER channels (RS-232)
Cable C029-3 (USER channel)

RS-232 port

Struna ATG calculation unit

www.technotrade.ua page 163 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

OPW Site Sentinel ATG system connection scheme


Connection to OPW system is made directly to one of channels of ATG port of PTS controller (RS-232
interface).
Configuration of PTS controller – protocol PETROVEND 4, baud rate is selected to be equal to set in OPW
ATG system.
Connection through USER channel of
PTS controller (example)

ATG port (XP3):


DISP, LOG, USER channels (RS-232)
Cable C029-3 (USER channel)

RS-232 port

OPW Site Sentinel ATG console

STRUNA ATG calculation unit

www.technotrade.ua page 164 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Colibri ATG system connection scheme


Connection to Colibri system is made directly to one of channels of ATG port of PTS controller (RS-232
interface).
Configuration of PTS controller – protocol GILBARCO Veeder Root, baud rate is selected to be equal to set
in Start Italiana ATG system.
Connection through USER channel of
PTS controller (example)

ATG port (XP3):


DISP, LOG, USER channels (RS-232)
Cable C029-3 (USER channel)

RS-232 port

Colibri ATG console

STRUNA ATG calculation unit

www.technotrade.ua page 165 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

FAFNIR ATG system connection scheme


Connection to FAFNIR system is made directly to one of channels of ATG port of PTS controller (RS-232
interface).
Configuration of PTS controller – protocol FAFNIR VISY-Quick, baud rate is selected to be equal to set in
FAFNIR ATG system.
Connection through USER channel of
PTS controller (example)

ATG port (XP3):


DISP, LOG, USER channels (RS-232)
Cable C029-3 (USER channel)

RS-232 port

FAFNIR-Command ATG console

STRUNA ATG calculation unit

www.technotrade.ua page 166 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

Hectronic ATG probes connection scheme


Connection to Hectronic probes is made directly to one of channels of ATG port of PTS controller (RS-232
interface) to Hectronic OptiLevel Supply box.
Configuration of PTS controller – protocol HECTRONIC HLS, baud rate 9600.
Connection through USER channel of
PTS controller (example)

ATG port (XP3):


DISP, LOG, USER channels (RS-232)
Cable C029-3 (USER channel)

RS-232 port

Hectronic OptiLevel Supply box

www.technotrade.ua page 167 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

PTS CONTROLLER PCB BOARD


PCB board top view

PCB board bottom view

www.technotrade.ua page 168 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
Board dimensions

www.technotrade.ua page 169 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

PTS CONTROLLER CABLINGS

Cable C028-1
Cable C033 Cable C029-3
Cable C012-1

Cable C013-1

www.technotrade.ua page 170 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
CABLE C012-1

CABLE C013

www.technotrade.ua page 171 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
CABLE C014-1

CABLE C015

www.technotrade.ua page 172 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
CABLE C018

CABLE C020

www.technotrade.ua page 173 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
CABLE C028

CABLE C029-1

www.technotrade.ua page 174 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
CABLE C029-2

CABLE C029-3

www.technotrade.ua page 175 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
CABLE C033

CABLE C055

www.technotrade.ua page 176 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

PREVIOUS HARDWARE VERSIONS OF PTS CONTROLLER BOARD

PTS-U2 board modification


PTS-U2 board connectors and interfaces

www.technotrade.ua page 177 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
PTS-U2 board
Top view

Bottom view

www.technotrade.ua page 178 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
PTS-U2 board cabling

Cable C033 Cable C029 Cable C012

Cable C013

Cable C028

www.technotrade.ua page 179 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013

PTS-U board modification


PTS-U board connectors and interfaces

www.technotrade.ua page 180 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
PTS-U board
Top view

Bottom view

www.technotrade.ua page 181 from 182


PTS CONTROLLER OVER FUEL DISPENSERS AND ATG SYSTEMS FOR PETROL STATIONS (PTS-U3)
Revision: R02 Review date: 29 July, 2013
PTS-U board cabling

Cable C033 Cable C029 Cable C012

Cable C013

Cable C028

www.technotrade.ua page 182 from 182

You might also like