Sie sind auf Seite 1von 120

User manual

DynaPCN 10-01-00 (PCN-1001)


RS-485 Passenger & People Counter

Rev. 7-0 — 14 March 2018 — DYPCN-10-01-00_UserMan_EN_7-0 — ENGLISH


Trademarks
All trademarks, registered trademarks, logos, trade names and products names contained in this
document are the property of their respective owners.

Intended audience of this document


This document is intended for system integrators: skilled persons with a thorough knowledge in linking
together different computing systems and software applications physically or functionally, to operate as a
coordinated whole, in compliance with the applicable regulations.

Revision history
Revision Description Date

... ... ...

5-0 General contents review 4 July 2014

6-0 l Updated features and MTBF value 27 October 2015


l Updated temperature and power supply information
l Added EN 45545 compliance
l Updated Digital Input features

6-1 Updated Section 1.1 page 23 13 March 2017

7-0 General contents review 14 March 2018

© 2018 Eurotech SpA - Via Fratelli Solari 3/A - 33020 AMARO (UD) - Italy
DynaPCN 10-01-00 User manual Rev. 7-0 Contents

CONTENTS
Trademarks 2
Intended audience of this document 2
Revision history 2

Contents 3

1 Safety instructions 7
1.1 Safety messages used in this document 7
1.1.1 Safety messages for hazards with a high level of risk 7
1.1.2 Safety messages for hazards with a medium level of risk 8
1.1.3 Safety messages for hazards with a low level of risk 8
1.2 Other messages used in this document 8
1.2.1 Instructions on how to use the product effectively and avoid any damage 8
1.3 How to prevent electrostatic discharge 9
1.4 How to safely connect power to the product 9

2 How to receive technical assistance 11


2.1 How to ask for technical support 11
2.2 How to send a product for repair 11

3 Conventions and terms used in this document 13


3.1 Conventions used for signal names 13
3.2 Conventions used for signal types 13
3.3 Terms used and their definition 14

4 DynaPCN 10-01-00 overview 15


4.1 DynaPCN 10-01-00 general description 15
4.2 Technical Specifications 18
4.3 Identification label 19
4.4 Intended use and not allowed uses 20
4.4.1 Intended use 20
4.4.2 Not allowed uses 20
4.5 Configuration Interfaces 21
4.6 Communication and power supply interfaces 22

5 Overview on the required software 23


5.1 WinClient 24
5.1.1 How to download WinClient 24
5.1.2 How to launch WinClient 24
5.1.3 WinClient GUI Overview 25
5.1.3.1 Information displayed on the Status bar 26
5.2 imgserver 27
5.2.1 How to download a new imgserver version 27
5.2.2 How to install a new imgserver version in the DynaPCN 10-01-00 28
5.3 fpga-firmware 30
5.3.1 How to download a new fpga-firmware version 30
5.3.2 How to install a new fpga-firmware version in the DynaPCN 10-01-00 31

6 How the counting works 33


6.1 Counting with doors open or without doors 33
6.1.1 Example 1: When is a person counted as "In"? 33
6.1.2 Example 2: When is a person counted as "Out"? 34
6.2 Counting when using the doors sensors 35

3 / 120
Contents DynaPCN 10-01-00 User manual Rev. 7-0

6.2.1 Example 1: What happens when the doors are closed? 35


6.2.2 Example 2: What happens when the doors are opened? 35

7 How to install the DynaPCN 10-01-00 37


7.1 Evaluate the characteristics of the installation 38
7.1.1 Pay attention to the installing place 38
7.1.2 Pay attention to the installation height, to the distribution of local population’s height, and to the Detec-
tion Area 39
7.1.3 Pay attention to the width of the gate to detect. How many PCN devices do you need? 40
7.2 Connect the rear interfaces, the power supply source, and adjust the angle of the front panel 41
7.2.1 How to mount the Case Extension 44
7.3 Connect the Digital I/Os 45
7.3.1 Digital Inputs (GPI1 and GPI2) 45
7.3.1.1 Electrical schematics 45
7.3.1.2 Recommended operating conditions: 45
7.3.1.3 Example: how to simulate a Digital Input 46
7.3.2 Digital Outputs (GPO1 and GPO2) 47
7.3.2.1 Electrical schematics 47
7.3.2.2 Recommended operating conditions: 48
7.4 Mount the DynaPCN 10-01-00 above the gate 49
7.5 Turn ON the DynaPCN 10-01-00 50
7.5.1 How to turn OFF the DynaPCN 10-01-00 50
7.6 Connect the DynaPCN 10-01-00 to the Host PC 51
7.7 Install the USB/Ethernet RNDIS Gadget in the Host PC 52
7.7.1 How to install the USB Ethernet/RNDIS Gadget if the Host PC runs Windows XP 53
7.7.2 How to install the USB/Ethernet RNDIS Gadget if the Host PC runs Windows 7 58
7.7.3 How to install the USB/Ethernet RNDIS Gadget if the Host PC runs Windows 10 63
7.8 Configure the network between DynaPCN 10-01-00 and Host PC 67
7.9 Connect the DynaPCN 10-01-00 with WinClient 70
7.10 Verify the connection and the counting with WinClient 72
7.10.1 What to do if you have connection issues 74
7.10.2 What to do if you have counting issues 74
7.10.3 How to reset the counters 75

8 How to set the WinClient parameters 77


8.1 How to set date and time 77
8.2 How to set the installation height 78
8.2.1 How to manage installations at heights below 225 cm 78
8.3 How to set the light intensity of the LEDs 79
8.4 How to set the in / out directions 79
8.5 How to set the door width 80
8.6 How to set the position of the Door Threshold 80
8.7 How to disable the Background subtraction 81
8.8 How to set the masking (No Tracking Zone) 82
8.9 How to configure and test the Digital I/Os 83
8.9.1 How to configure the Digital Inputs (GPI1 and GPI2) 83
8.9.2 How to test the Digital Inputs (GPI1 and GPI2) 84
8.9.3 How to test the Digital Outputs (GPO1 and GPO2) 84
8.10 How to configure the RS-485 interface 85
8.11 How to enable the Move Detection 86
8.12 How to enable the System Diagnostic 87
8.13 How to reboot the DynaPCN 10-01-00 88
8.14 How to restore the factory settings 89

9 What is a log-file. How to save a log-file 91


9.1 Log-file example (1/2) 92
9.2 Log-file example (2/2) 93

4 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 Contents

9.3 How to save a log-file 94

10 What is a PCF file. How to save / load it 95


10.1 How to save a PCF file 95
10.2 How to load a PCF file 97

11 The RS-485 network 99


11.1 Introduction 99
11.2 Termination and fail-safe resistors 99
11.3 Optional cables to simplify the RS-485 network connection 100
11.4 Example of RS-485 network 101
11.5 How to configure the RS-485 interfaces of the DynaPCN 102
11.6 The RS-485 communication protocol 103
11.6.1 Polling 104
11.6.2 Scenarios 104
11.6.3 The DATA field 106
11.6.4 Example 1: How to set the LED intensity to 100% 107
11.6.5 Example 2: How to request the kernel version installed 108
11.6.6 Main commands 109

12 How to have access to the DynaPCN 10-01-00 Operating System 111


12.1 Which are the default passwords 111
12.2 How to change the passwords 111

13 How to maintain the product 113


13.1 Always observe the appropriate antistatic precautions during the maintenance of the product 113
13.2 Always remove the power supply before starting the maintenance of the product 113
13.3 How to verify the installation of the product 114
13.4 How to clean the product 114

14 Declaration of conformity 115


14.1 CE marking 115
14.2 RoHS compliance 115
14.3 WEEE compliance 115

15 Mechanical dimensions 117


15.1 DynaPCN 10-01-00 dimensions 117
15.2 Housing dimensions 118

Notes 119

5 / 120
(This page has been intentionally left blank)
DynaPCN 10-01-00 User manual Rev. 7-0 1 Safety instructions

1 SAFETY INSTRUCTIONS
READ CAREFULLY AND UNDERSTAND THE INSTRUCTIONS AND WARNINGS CONTAINED
IN THIS DOCUMENT BEFORE INSTALLING / USING THE PRODUCT.
KEEP THIS DOCUMENT FOR FUTURE REFERENCE.
To lower the risk of personal injury, electric shock, fire or damage to equipment, observe the instructions
and warnings contained in this document.
Failure to comply with the instructions and warnings contained this document, violates the standards of
safety, design, manufacture, and intended use of the product.
Eurotech assume no liability for any damage caused by failure to observe the instructions and warnings
contained this document.
Whenever you have any doubt regarding the correct understanding of this document, contact the Eurotech
Technical Support (for more information see "How to receive technical assistance" on page 11).

1.1 Safety messages used in this document


1.1.1 Safety messages for hazards with a high level of risk
To indicate a hazard with a high level of risk which, if not avoided, will result in death or serious injury,
the following safety message is used; the message also contains the safety instructions to follow to avoid
any hazard:

DANGER

TEXT THAT EXPLAINS THE SOURCE OF THE HAZARD


(WRITTEN WITH BOLD UPPER-CASE CHARACTERS)
Text with the safety instructions to follow to avoid any hazard
(written with bold lower-case characters)

Example:

DANGER

HIGH VOLTAGE INSIDE.


CONTACT WILL CAUSE ELECTRIC SHOCK OR BURN.
Turn OFF and disconnect power before opening the rack.

7 / 120
1 Safety instructions DynaPCN 10-01-00 User manual Rev. 7-0

1.1.2 Safety messages for hazards with a medium level of risk


To indicate a hazard with a medium level of risk which, if not avoided, could result in death or serious
injury, the following safety message is used; the message also contains the safety instructions to follow
to avoid any hazard:

WARNING

TEXT THAT EXPLAINS THE SOURCE OF THE HAZARD


(WRITTEN WITH BOLD UPPER-CASE CHARACTERS)
Text with the safety instructions to follow to avoid any hazard
(written with bold lower-case characters)

1.1.3 Safety messages for hazards with a low level of risk


To indicate a hazard with a low level of risk which, if not avoided, could result in minor or moderate
injury, the following safety message is used; the message also contains the safety instructions to follow
to avoid any hazard:

CAUTION

TEXT THAT EXPLAINS THE SOURCE OF THE HAZARD


(WRITTEN WITH BOLD UPPER-CASE CHARACTERS)
Text with the safety instructions to follow to avoid any hazard
(written with bold lower-case characters)

1.2 Other messages used in this document


1.2.1 Instructions on how to use the product effectively and avoid any damage
To indicate:
l Instructions on how to use the product effectively
l Instructions on how to avoid damaging the product or third-party property (not related to personal
injury),
the following message is used:

NOTICE

SIGN Text with the instructions to follow to complete the specific task
(if necessary) (written with bold characters).

8 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 1 Safety instructions

1.3 How to prevent electrostatic discharge


NOTICE

HOW TO PREVENT DAMAGING ELECTROSTATIC-SENSITIVE DEVICES


The symbol on the left is applied on electrostatic-sensitive devices.
To prevent damaging electrostatic-sensitive devices:
l Handle the electrostatic-sensitive devices in an ESD Protected Area (EPA)
l Observe the appropriate antistatic precautions. For example: use a wrist
strap kept in constant contact with bare skin and attached to ground.

1.4 How to safely connect power to the product


To safely connect power to the product:
l Observe all the instructions for safety, installation, and operation
l Never operate with wet hands
l Use certified power cables
l Make sure the power cables are not damaged before using them
l Make sure that the power cables meet the power requirements of the device
l Position cables with care. Do not position cables in places where they may be trampled or
compressed by objects placed on them
l Make sure that the power-points and plugs are not damaged before using them
l Do not overload the power-points and plugs
l Use a power supply that meets the requirements stated on the identification label of the
product. In case of uncertainties about the required power supply, contact the Eurotech
Technical Support Team (for more information see "How to receive technical assistance"
on page 11).

9 / 120
(This page has been intentionally left blank)
DynaPCN 10-01-00 User manual Rev. 7-0 2 How to receive technical assistance

2 HOW TO RECEIVE TECHNICAL ASSISTANCE


2.1 How to ask for technical support
To ask for technical support, complete the following steps
1. Go to the Eurotech Global Support Centre: https://support.eurotech.com/
2. Submit a support request
3. Wait for the reply from the Support Team with the information you required

2.2 How to send a product for repair


To send a product for repair, complete the following steps:
1. Go to the Eurotech Global Support Centre: https://support.eurotech.com/
2. Submit an RMA request
3. Wait for the reply from the RMA Department. It will contain:
l The RMA number
l The shipping information
4. Pack the product adequately using anti-static material and place it in a sturdy box with enough
packing material to protect it from shocks and vibrations
5. Ship the product to Eurotech following the information received from the RMA Department.

NOTICE
Any product returned to Eurotech, that is found to be damaged due to inadequate packaging,
will not be covered by the warranty.

11 / 120
(This page has been intentionally left blank)
DynaPCN 10-01-00 User manual Rev. 7-0 3 Conventions and terms used in this document

3 CONVENTIONS AND TERMS USED IN THIS DOCUMENT


3.1 Conventions used for signal names
Convention Description

GND Ground

# Active low signal

+ Positive signal; Positive signal in differential pair

- Negative signal; Negative signal in differential pair

3.3 3.3 V signal level

5 5 V signal level

NC No Connection

Reserved Use is reserved to Eurotech

3.2 Conventions used for signal types


Convention Description

I Signal is an input to the system

O Signal is an output from the system

IO Signal may be input or output

P Power and Ground

A Analog signal

NC No Connection

Reserved Use is reserved to Eurotech

13 / 120
3 Conventions and terms used in this document DynaPCN 10-01-00 User manual Rev. 7-0

3.3 Terms used and their definition


Term Definition

l Control Unit Term used to define:


l Host PC l A computer (for example: a laptop) to be connected to the DynaPCN 10-01-00 to configure it and to

verify the counting


l A server device that can elaborate, save, and load the information arriving from all Passenger

Counters.

l Product Terms used as synonymous of DynaPCN 10-01-00.


l Device
l Counter
l PCN

l Master In the Wide-gate configuration, term used to define the DynaPCN 10-01-00 that manages one or more
Slave DynaPCN-10-01 devices.
In the RS-485 network, term used to define the Host PC/Control Unit that manages the connected
DynaPCN-10-01 devices.

l Slave(s) In the Wide-gate configuration, term used to define one or more DynaPCN-10-01 devices that are
managed by the Master DynaPCN 10-01-00.
In the RS-485 network, term used to define the DynaPCN-10-01 devices that are managed by the Host
PC/Control Unit.

l Detection Area Term used to define the area detected by the DynaPCN 10-01-00 (visible area in the windows of the
WinClient program) that has the best performance from a statistical point of view.
The optimal Detection Area ranges from 25 to 125 cm away from the front panel of the DynaPCN 10-01-
00.

l Door Threshold Term used to define the reference line within the Detection Area (white line visible in the windows of the
WinClient program) that a person has to cross before he / she can be counted as In/Out.

l Background Term used to define the image considered as the "background" of the Detection Area when nobody is
crossing it.

14 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 4 DynaPCN 10-01-00 overview

4 DYNAPCN 10-01-00 OVERVIEW


4.1 DynaPCN 10-01-00 general description
The DynaPCN 10-01-00 is a compact and autonomous device based on a stereoscopic vision technology.
It has been developed to count passengers as they enter in and exit from buses and trains.
It can also be used to count people entering and exiting buildings or areas with restricted access.
The DynaPCN 10-01-00 integrates 4 high luminosity infrared LEDs on the front panel.
The LEDs allows to illuminate the scene and obtain an accurate and precise counting in any type of lighting
condition.

Front view Rear view

Ref # Description

1 Frame with mounting holes

2 Front panel

3 Video sensors for stereoscopic vision

4 Infrared LEDs

5 Service Panel

6 Rear panel

7 M1 connector

8 M2 connector

15 / 120
4 DynaPCN 10-01-00 overview DynaPCN 10-01-00 User manual Rev. 7-0

The angle of the front panel respect to the frame can be adjusted from 0° to 45°.
This adjustment allows you to install the DynaPCN 10-01-00 also on sloping ceilings.

If you need to install the DynaPCN 10-01-00 with the front panel angled more than 35° respect to the
frame, for aesthetic / antivandalic purposes, you can request the accessory Case Extension, to mount on
the rear side of the frame.
The Case Extension purchasing code is: M11-10-10-00.

The following figures show some examples of installations on-board buses.


The DynaPCN 10-01-00 can be installed in an opening on the roof or using a customized holder.

16 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 4 DynaPCN 10-01-00 overview

The DynaPCN 10-01-00 can work either stand-alone or connected to a server device - Control Unit - that
can elaborate, save, and load the information arriving from all Passenger Counters.
The DynaPCN 10-01-00 save the In and Out counting values, together with time and date of the recorded
data. You can download the log file with the saved information every time you need.

17 / 120
4 DynaPCN 10-01-00 overview DynaPCN 10-01-00 User manual Rev. 7-0

4.2 Technical Specifications


Specifications Description

Field of application Automatic person counting


(accuracy: 98%; precision 99%)

Technology Stereoscopic vision technology

Configuration Interfaces Reset button


Mini-B type USB 1.1 Client Connector
Power supply status LED
System status LED

Communication Interfaces RS-485


Isolated Digital I/Os
WideGate interface

Connectors Connector M1: male 12-pin circular


Connector M2: female 12-pin circular

Mechanics and IP rate IP65 sealed magnesium alloy enclosure

Power supply 9 / 36 VDC

Power consumption 3.2 W if the LEDs are OFF


7.8 W if the LEDs are 100% ON

Standard Automotive E24: ECE ONU Reg.10


Fire protection: EN 45545
EMC emissions: EN 50155 / EN 50121 / EN 50011
EMC emissions: EN 50155 / EN 50121 / EN 61000
Environment: EN 50155
Shocks and vibrations: EN 50155 / EN 61373

Operating temperature From -40 °C to +70 °C, +85 °C for 10 minutes (EN 50155 Class TX)

Weight 0.6 kg

Frame dimensions Height: 100 mm


Width: 230 mm
Thickness: 3 mm

Housing dimensions Height: 82 mm


Width: 209 mm
Depth (if frame-front panel angle = 0°): 42 mm
Depth (if frame-front panel angle = 45°): 70 mm

MTBF > 500000 hours

Accessories Starter Kit and Configuration software

18 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 4 DynaPCN 10-01-00 overview

4.3 Identification label


The identification label is placed on the rear side of the DynaPCN 10-01-00:

Ref # Type of label and information Example of label

1 Identification label
l Eurotech logo and address

l PCN Model

l WEEE symbol

l CE mark

l Automotive mark

l Power requirements*

l "MADE IN EU" statement

l DYPCN model

l Serial number

* the symbol stands for direct current

19 / 120
4 DynaPCN 10-01-00 overview DynaPCN 10-01-00 User manual Rev. 7-0

4.4 Intended use and not allowed uses

Use

Road transport Yes

Rail transport Yes

Residential Yes

Defence No

Industrial No

4.4.1 Intended use


Only use the DynaPCN 10-01-00 only as passenger-counter / people-counter in applications on-board road
and rail vehicles, and in residential applications, that meet the instructions and the warnings contained in
this document, and the standards required by the current legislation.

The DynaPCN 10-01-00 must:


l Be used with appropriate interconnecting and power cables
l Be used with a power supply that meets the requirements stated on the identification label of the
product.

4.4.2 Not allowed uses


Do not use the DynaPCN 10-01-00:
l In defence applications
l In industrial applications
l In environments with potentially explosive atmospheres
l If not installed according to the instructions and warnings contained in this document.

20 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 4 DynaPCN 10-01-00 overview

4.5 Configuration Interfaces


The configuration interfaces are contained in the Service Panel, available on the front panel of the
DynaPCN 10-01-00.
To remove the cover of the Service Panel unscrew the 2 Torx M3 * 6 screws, using a Torx T10
screwdriver.

NOTICE
If the cover of the Service Panel is removed, the DynaPCN 10-01-00 will lose its IP protection
grade (the IP code of the DynaPCN 10-01-00 is IP65).
Using the DynaPCN 10-01-00 without the cover of the Service Panel for long time can cause the
dirt to enter and the degradation to the optics.
If it is necessary to have extended access to the Mini-USB connector, take appropriate
precautions to maintain the IP protection grade and to stop any dirt from entering.

Ref # Description Function

1 Reset button Push to execute a hardware reset

2 Mini-B USB 1.1 Client Connector Use to connect the PCN to a Host PC

3 Green LED Displays the status of the power supply


l LED ON: PCN turned ON

l LED OFF: PCN turned OFF

4 Amber LED Displays the status of the system


l LED Blinking: Boot in progress

l LED ON: PCN ready

21 / 120
4 DynaPCN 10-01-00 overview DynaPCN 10-01-00 User manual Rev. 7-0

4.6 Communication and power supply interfaces


The communication and power supply interfacesare available on the rear panel of the PCN:
l M1 connector
l M2 connector

Connector specifications: Connector specifications:


l Male 12-pin circular l Female 12-pin circular

Counterpart specifications: Counterpart specifications:


l Female 12-pin circular l Male 12-pin circular
l Example: Lumberg 032212 l Example: Lumberg 033212
(or equivalent) (or equivalent)

Connector pinout: Connector pinout:


Pin # Signal Name Signal Type Pin # Signal Name Signal Type

A Power IN + P A Reserved Reserved

B Power IN - P B Reserved Reserved

C Digital IN 1 + I C Digital OUT 2 V+ O

D Digital IN 1 - I D Digital OUT 2 O

E Digital OUT 1 V+ O E Digital IN 2 + I

F Digital OUT 1 O F Digital IN 2 - I

G Digital OUT 1 GND O G Digital OUT 2 GND O

H RS485_1 GND I/O H RS485_WG GND I/O

J RS485_1 + I/O J RS485_WG + I/O

K RS485_1 - I/O K RS485_WG - I/O

L Reserved Reserved L Reserved Reserved

M Reserved Reserved M Reserved Reserved

22 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 5 Overview on the required software

5 OVERVIEW ON THE REQUIRED SOFTWARE


The required software to use the DynaPCN 10-01-00 is the following:
l WinClient (described on the next page)
l imgserver (described on page 27)
l fpga-firmware (described on page 30)

NOTE
Always use corresponding versions of WinClient and imgserver.
For example, using a new version of WinClient with an old version of imgserver could result in
incompatibility issues.

23 / 120
5 Overview on the required software DynaPCN 10-01-00 User manual Rev. 7-0

5.1 WinClient
NOTE
Currently you can use WinClient only on Host PCs running Windows XP, 7, or 10.

WinClient (win_client.exe) is the tool to use to configure the PCN.


WinClient has to be executed on a Host PC (connected to the PCN).
WinClient allows you to configure only one PCN at a time.
The latest WinClient version is available on the Eurotech website.

For more information see:


l "Connect the DynaPCN 10-01-00 with WinClient" on page 70
l "How to set the WinClient parameters" on page 77

5.1.1 How to download WinClient


To download WinClient, complete the following steps:
1. Go to the Download Area of the DynaPCN 10-01-00
2. Click the Tools tab
3. Download and unzip in the Host PC the zip file pcn-1001-win_configurator-x.x.x.x.

5.1.2 How to launch WinClient


WinClient does not require installation.
To launch WinClient, complete the following steps:
1. Double-click on the icon win_client.exe

2. The WinClient GUI appears


3. If you are using WinClient for the first time: configure firewall and antivirus.
Add an exception for WinClient in the list of programs that can have access to the firewall and
antivirus network.
The DynaPCN 10-01-00 acts as a “listening device” on port 5400.

24 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 5 Overview on the required software

5.1.3 WinClient GUI Overview


The WinClient GUI is the following:

Ref # Description

0 Title bar with WinClient version

1, 2 Windows that display the output of left and right sensors

3 Window that displays the tracking process and the disparity map

4 IN counter

5 OUT counter

6 Visualization modes for windows 1, 2, and 3

7 Background subtraction

8 Management of the PCN configuration files (PCF)

9 “Connection” tab

10 “Controls” tab

11 “I/O Settings” tab

12 “Wide-Gate” tab

13 “Advanced” tab

14 Status bar

25 / 120
5 Overview on the required software DynaPCN 10-01-00 User manual Rev. 7-0

5.1.3.1 Information displayed on the Status bar


The Status bar displays the following information:

Reference Description

FPS: Specifies how many Frames Per Second are acquired by the Host PC

kernel v. Specifies the version of the Linux kernel

system v. Specifies the version of the Operating System

firmware v. Specifies the version of the fpga firmware

imgserver v. Specifies the Imgserver version

Note about images acquisition and FPS


During operation, the DynaPCN 10-01-00 acquires the images at a constant rate of about 60 frames per
second (FPS).
The FPS value, displayed on the WinClient Status bar, corresponds to the FPS acquired by the Host PC.
WinClient displays the images acquired by the DynaPCN 10-01-00 and transmitted to the Host PC.
Depending on the characteristics of the Host PC and on the USB connection (between Host PC and
DynaPCN 10-01-00), the FPS value displayed on the Status bar can be different from the real value
acquired by the DynaPCN 10-01-00.

26 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 5 Overview on the required software

5.2 imgserver
imgserver is the program that manages all the functionalities of the DynaPCN 10-01-00.
The DynaPCN 10-01-00 is sold with the latest imgserver version already installed and ready to operate.
The latest imgserver version is available in the Download Area of the Eurotech website.

5.2.1 How to download a new imgserver version


To download a new imgserver version, complete the following steps:
1. Go to the Download Area of the Eurotech website
2. Select the Utility tab
3. Download and unzip in the Host PC the file pcn-1001-imgserver-x.x.x.x.

27 / 120
5 Overview on the required software DynaPCN 10-01-00 User manual Rev. 7-0

5.2.2 How to install a new imgserver version in the DynaPCN 10-01-00


To install a new imgserver version, complete the following steps:
1. Connect the DynaPCN 10-01-00 with WinClient (described on page 70)
2. Click the Controls tab
3. Click System Update
4. Find the new imgserver version; the file name is always imgserver, regardless of its version. Click
Open

28 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 5 Overview on the required software

5. The notification "system successfully updated" appears. Click Ok

6. Reboot the PCN


7. Connect the DynaPCN 10-01-00.
The updated imgserver version is displayed in the Status Bar.

29 / 120
5 Overview on the required software DynaPCN 10-01-00 User manual Rev. 7-0

5.3 fpga-firmware
The fpga-firmware is the file to use to program the FPGA of the DynaPCN 10-01-00. The FPGA manages
the low-level operations related to the elaboration of images
The DynaPCN 10-01-00 is sold with the latest fpga-firmware version already installed and ready to
operate.
The latest fpga-firmware version is available in the Download Area of the Eurotech website.

5.3.1 How to download a new fpga-firmware version


To download a new fpga-firmware version, complete the following steps:
1. Go to the Download Area of the Eurotech website
2. Select the Utility tab
3. Download and unzip in the Host PC the zip file pcn-1001-fpga-firmware-x.x.x.x.

30 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 5 Overview on the required software

5.3.2 How to install a new fpga-firmware version in the DynaPCN 10-01-00


To install a new fpga-firmware version, complete the following steps:
1. Connect the DynaPCN 10-01-00 with WinClient (described on page 70)
2. Click the Controls tab
3. Click System Update
4. Find the new unzipped firmware version; the file name us always pcn1001.bin, regardless of its
version. Click (Open)

31 / 120
5 Overview on the required software DynaPCN 10-01-00 User manual Rev. 7-0

5. The notification "system successfully updated" appears. Click Ok

6. Reboot the PCN


7. Connect the DynaPCN 10-01-00.
The updated firmware version is displayed in the Status Bar.

32 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 6 How the counting works

6 HOW THE COUNTING WORKS


6.1 Counting with doors open or without doors
The following examples show how the people counting works through the Detection Area, without using
doors, or if the doors are always open.
The examples describe an installation where the In/Out direction is:

The same considerations, but inverted, applies when the In / Out directions are exchanged.

6.1.1 Example 1: When is a person counted as "In"?


A person is counted as "In" ( ) if:
1. Enters in the lower side of the Detection Area
2. Crosses the Door Threshold (Threshold)
3. Exits from the upper portion of the Detection Area.
Otherwise the person is not counted as "In" ( ).

33 / 120
6 How the counting works DynaPCN 10-01-00 User manual Rev. 7-0

6.1.2 Example 2: When is a person counted as "Out"?


A person is counted as "Out" ( ) if:
1. Enters in the upper side of the Detection Area
2. Crosses the Door Threshold (Threshold)
3. Exits from the lower portion of the Detection Area.
Otherwise the person is not counted as "Out" ( ).

34 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 6 How the counting works

6.2 Counting when using the doors sensors


The following examples show how the people counting works through the Detection Area when using the
door sensors.
The examples describe an installation where the In/Out direction is:

The same considerations, but inverted, applies when the In / Out directions are exchanged.

6.2.1 Example 1: What happens when the doors are closed?


When the doors are closed, the persons entered from the lower portion of the Detection Area are
counted as “In" ( ), if they have crossed the Door Threshold (Threshold).
Otherwise, if the persons were already present in the Detection Area, they are not counted as “In" ( ).

6.2.2 Example 2: What happens when the doors are opened?


When the doors are opened, the persons present in the upper portion of the Detection Area are eligible
for being counted as “Out”. The persons are counted as "Out" ( ) when they exit from the lower portion
of the Detection Area.
Otherwise, if the persons remain in the Detection Area, they are not counted as "Out" ( ).

35 / 120
(This page has been intentionally left blank)
DynaPCN 10-01-00 User manual Rev. 7-0 7 How to install the DynaPCN 10-01-00

7 HOW TO INSTALL THE DYNAPCN 10-01-00


To install the DynaPCN 10-01-00, complete the following steps:
1. Evaluate the characteristics of the installation (described on the next page)
2. Connect the rear interfaces, the power supply source, and adjust the angle of the front panel
(described on page 41)
3. Optional: Connect the Digital I/Os (described on page 45) for example to use the door sensors
4. Mount the DynaPCN 10-01-00 above the gate (described on page 49)
5. Turn ON the DynaPCN 10-01-00 (described on page 50)
6. Connect the DynaPCN 10-01-00 to the Host PC (described on page 51)
7. Install the USB/Ethernet RNDIS Gadget in the Host PC (described on page 52)
8. Configure the network between DynaPCN 10-01-00 and Host PC (described on page 67)
9. Connect the DynaPCN 10-01-00 with WinClient (described on page 70)
10. Verify the connection and the counting with WinClient (described on page 72)

37 / 120
7 How to install the DynaPCN 10-01-00 DynaPCN 10-01-00 User manual Rev. 7-0

7.1 Evaluate the characteristics of the installation


Before installing the DynaPCN 10-01-00 evaluate:
l The the installing place
l The installation height
l The distribution of local population’s height
l The Detection Area
l The width of the gate to detect

7.1.1 Pay attention to the installing place


To correctly install the DynaPCN 10-01-00 above the gate, pay attention to the following details:
l Once the DynaPCN 10-01-00 is installed:
o Usually the front panel should remain horizontal (z axe perpendicular to the floor). However

in certain conditions a small slope is allowed, to be verified in field


o The x axe has to be parallel to the gate
o The y axe has to be perpendicular to the gate
l The DynaPCN 10-01-00 should be usually installed in the middle of the gate: A = B (a tolerance of a
few cm is allowed, to be verified in field)

l Once the DynaPCN 10-01-00 is installed, there will be adequate room for airflow all around the
product to prevent overheating
l The ambient temperature of the mounting area always stays within the operating temperature
range. Be aware of other nearby devices, which may raise the ambient temperature
l The addition of the DynaPCN 10-01-00 does not cause instability or damage to the mounting area
l The DynaPCN 10-01-00 is firmly fastened to the mounting area. Otherwise it may cause a
risk of injury for the people under it and, on a transportation vehicle, the vibrations may
cause counting errors.

WARNING
IF THE DynaPCN 10-01-00 IS NOT FIRMLY FASTENED TO THE MOUNTING AREA, IT COULD
FALL CAUSING INJURIES TO THE PEOPLE UNDER IT.
Always fasten firmly the DynaPCN 10-01-00 to the mounting area.

38 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 7 How to install the DynaPCN 10-01-00

7.1.2 Pay attention to the installation height, to the distribution of local population’s
height, and to the Detection Area
l The maximum recommended installation height is 250 cm
l The installation height has to consider the distribution of local population’s height
l The relation between the installation height and the maximum detectable gate’s width is the
following:
Installation height (cm) Maximum detectable width of the gate (cm)

250 200

220 200

200« 160«

« Installation height can also be lower than the value indicated, and the detectable width can be slightly different.
These variations depend on the real operating conditions, that also consider the presence of obstacles in the area
to detect (for example: handles, barriers, door mechanisms).

l The Detection Area is the area detected by the sensors that has the best performance from a
statistical point of view.
The optimal Detection Area ranges from 25 to 125 cm away from the front panel
l If the gate is provided with doors, it's usually better that their movement is away from the Door
Threshold
l If you are mounting the PCN on-board a transportation vehicle, usually it is better that:
o The Detection Area remains inside the vehicle
o The Door Threshold is away enough from the doors to allow the passage detection, but not

too much to loose the counting (see "How the counting works" on page 33).

39 / 120
7 How to install the DynaPCN 10-01-00 DynaPCN 10-01-00 User manual Rev. 7-0

7.1.3 Pay attention to the width of the gate to detect. How many PCN devices do you
need?
Usually, a single PCN installed 200 cm above the floor, allows you to detect gates having widths of about
160 cm.
If the gate is wider you may need to connect together 2 or more DynaPCN devices. This configuration is
called Wide-gate, and requires a Master device and one or more Slave devices. For more information see
the document DYPCN 10-xx WideGate.

40 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 7 How to install the DynaPCN 10-01-00

7.2 Connect the rear interfaces, the power supply source, and
adjust the angle of the front panel

WARNING
ELECTRIC SHOCK HAZARD
To avoid injuries, never work with wet hands.
Before starting the connection procedure, complete the following instructions:
1. Remove the power supply
2. Make sure all the circuits are discharged.
Failure to complete the instructions above, may create an electric shock hazard, which could
result in personal injury or loss of life, and can damage the equipment or third-party property.

Usually, once the DynaPCN 10-01-00 is installed, the front panel should remain horizontal.
The angle of the front panel respect to the frame can be adjusted from 0° to 45°.
This adjustment allows you to install the DynaPCN 10-01-00 also on sloping ceilings.
For angles higher than 35° we recommend to mount the accessory Case Extention (for more information
see "How to mount the Case Extension" on page 44).

NOTICE
Adjust the angle of the front panel and connect the rear interfaces (and the power supply) before
mounting the DynaPCN 10-01-00 in its housing above the gate.
Usually, once the DynaPCN 10-01-00 is installed, the angle of the front panel cannot be
modified, and the rear connectors cannot be accessed, unless you remove the entire DynaPCN
10-01-00 from its housing.

41 / 120
7 How to install the DynaPCN 10-01-00 DynaPCN 10-01-00 User manual Rev. 7-0

To connect the rear interfaces, the power supply, and to adjust the angle of the front panel, complete the
following steps:

1. Loosen the body of the DynaPCN 10-01-00 from the frame.


The body of the DynaPCN 10-01-00 (front panel + rear panel) is fastened to the frame by 2 M4 x 6
stainless steel hexagonal head screws and by 2 split washers (A). To remove the 2 screws and
washers use a hexagonal 2.5 mm (7/64”) key/driver

2. Make sure that the power supply source is turned OFF. Connect the connector M1 to the
power supply source, to the RS-485 network, and - if required - to the Digital I/Os.
The cable E14-35-12-00 (Multifunction cable 1) and the power supply unit are available upon
request. For more information refer to the document DynaPCN Connection Diagrams available in
the Download Area of the Eurotech website

42 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 7 How to install the DynaPCN 10-01-00

3. Connect the DynaPCN 10-01-00 to the chassis:


a. Connect to the chassis one of the two M4 blind threaded holes (depth: 8mm) provided on the
rear side of the DynaPCN 10-01-00
b. Add the necessary locking parts (for example: screws and washers) that are not provided.
Apply a torque of 1.5 Nm (maximum guaranteed tightening torque = 2 Nm)

4. Adjust the angle between the front panel and the frame:
a. Use the two rows of threaded holes, available on both sides of the body of the device, to
adjust the angle to 10 positions.

b. Fasten the body of the DynaPCN 10-01-00 to the frame tightening the 2 screws and washers
(A) removed in step 1. Apply a torque of 1.5 Nm (maximum guaranteed tightening torque = 2
Nm)

43 / 120
7 How to install the DynaPCN 10-01-00 DynaPCN 10-01-00 User manual Rev. 7-0

7.2.1 How to mount the Case Extension


If you need to install the DynaPCN 10-01-00 with the front panel angled more than 35° respect to the
frame, for aesthetic / antivandalic purposes, you can request the accessory Case Extension, to mount on
the rear side of the frame.
The Case Extension purchasing code is: M11-10-10-00.

NOTICE
Adjust the angle of the front panel and connect the rear interfaces before mounting the Case
Extension.

The Case Extension is provided with two M3 spring washers and two M3x6 hexagonal head screws.
Required tools: hexagonal 2 mm (3/32”) key/driver.
To mount the Case Extension, complete the following steps:
1. Place the Case Extension on the rear side of the DynaPCN 10-01-00 aligning the two tabs (A and
B) on the case of the DynaPCN 10-01-00 with the respective holes in the Case Extension
2. Ensure that the holes on the Case Extension and on the DynaPCN 10-01-00 are correctly aligned
3. Insert the two M3 washers and the two M3x6 screws into the holes and firmly tighten them. Apply a
torque of 1.5 Nm (maximum guaranteed tightening torque = 2 Nm)

44 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 7 How to install the DynaPCN 10-01-00

7.3 Connect the Digital I/Os


The DynaPCN 10-01-00 has an isolated Digital I/O interface on the rear connectors.
The Digital I/Os are 1 kV isolated. They have an isolation of 3750 VRMS.

7.3.1 Digital Inputs (GPI1 and GPI2)


A typical use of the Digital Inputs (GPI1 and GPI2) is to connect the door sensors (open / close) to
enable / disable the counting when the doors are respectively open or closed.
The direct functioning logic of the Digital inputs is the following:
l 0 = Door closed
l 1 = Door open
The counters will be activated when the status of the Digital Input becomes 1 (door open).
NOTE: In the Wide-gate configuration, the door sensor input has to be connected to the Digital
Input of the Master DynaPCN.

7.3.1.1 Electrical schematics


The figure below shows the electrical schematics of the input block.
The input block can be connected to a standard TTL port.
Input Block draws a constant current when it is driven above the voltage threshold.

7.3.1.2 Recommended operating conditions:


Parameters Symbol Value Unit

Minimum Threshold Voltage VTHR MIN 2.4 V

Maximum Voltage VMAX 32 V

Maximum Reverse Voltage VREV MAX 32 V

Typical Current ITYP 3.6 mA

45 / 120
7 How to install the DynaPCN 10-01-00 DynaPCN 10-01-00 User manual Rev. 7-0

7.3.1.3 Example: how to simulate a Digital Input

To simulate a Digital Input, make the connections displayed in the following figure.
The "Door switch" simulates the Digital Input.
In the normal logic the "Door switch" status is the following:
l Swith open means door closed
l Swith closed means door open

46 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 7 How to install the DynaPCN 10-01-00

7.3.2 Digital Outputs (GPO1 and GPO2)


A typical use of Digital Outputs (GPO1 and GPO2) is to produce an action when a person is counted.
It is not recommended to use the GPO signals to implement the counting procedure.
l GPO1: by default is associated to incoming persons
l GPO2: by default is associated to outgoing persons
Outputs act as a "low-side" switches normally closed.
When the DynaPCN 10-01-00 detects a person, one of the two outputs (depending on the person's
direction) changes its state to "open" and maintains it for a quantity of milliseconds defined by the value of
GPO-Open-Time (GPOOT). The GPOOT can be set from 8 to 1020 milliseconds.
If two people are passing in the same direction underneath the DynaPCN 10-01-00, the first signal will be
immediately sent to the output, the second will remain queued for 2x GPOOT milliseconds.
In the Wide-Gate configuration:
l The GPO1 used is the one belonging to the Master DynaPCN 10-01-00
l The GPO2 used is the one belonging to the last Slave DynaPCN
l To configure the GPOOT, connect the Host PC to the Master DynaPCN 10-01-00.

7.3.2.1 Electrical schematics


The figure below shows the electrical schematics of the output block.
The Output Block behaves as a low-side switch. The load connected to the low-side switch can draw
current either from an external power source or from the Digital OUT V+ referred to the Digital OUT GND.

47 / 120
7 How to install the DynaPCN 10-01-00 DynaPCN 10-01-00 User manual Rev. 7-0

7.3.2.2 Recommended operating conditions:


Parameters Symbol Value Unit

Maximum Voltage VMAX 32 V

Maximum Reverse Voltage VREV MAX 32 V

Maximum Current IMAX 300 mA

Maximum Current on Digital OUT V+ IMAX ON V+ 20 mA

48 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 7 How to install the DynaPCN 10-01-00

7.4 Mount the DynaPCN 10-01-00 above the gate

WARNING
IF THE DynaPCN 10-01-00 IS NOT FIRMLY FASTENED TO THE MOUNTING AREA, IT COULD
FALL CAUSING INJURIES TO THE PEOPLE UNDER IT.
Always fasten firmly the DynaPCN 10-01-00 to the mounting area.

Before proceeding, make sure that you have read carefully and understood the instructions
contained in the section "Safety instructions" on page 7.

To mount the DynaPCN 10-01-00 above the gate, complete the following steps:
1. Use the four M5 holes available on the frame
2. According to your installation requirements, firmly fasten the DynaPCN 10-01-00 in place, adding all
the necessary locking parts (for example, screws and washers, that are not provided) and applying
the required tightening torque.

In case of uncertainties contact the Eurotech Technical Support Team.


For more information see "How to receive technical assistance" on page 11.

49 / 120
7 How to install the DynaPCN 10-01-00 DynaPCN 10-01-00 User manual Rev. 7-0

7.5 Turn ON the DynaPCN 10-01-00


To turn ON the DynaPCN 10-01-00 complete the following steps:

1. Supply power to the PCN. The PCN turns ON immediately and starts the boot.
For more information about the power supply pins:
l See "Communication and power supply interfaces" on page 22
l See "Connect the rear interfaces, the power supply source, and adjust the angle of the front
panel" on page 41
l See the document DynaPCN Connection Diagrams available in the Download Area of the
Eurotech website

2. Wait that the PCN completes the reboot (about 60 seconds).


The reboot is completed when LEDs green and amber are solid ON. The PCN is ready to count.

7.5.1 How to turn OFF the DynaPCN 10-01-00


To turn OFF the DynaPCN 10-01-00 disconnect the power supply. The PCN will turn OFF immediately,
and the LEDs green and amber will turn OFF.

50 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 7 How to install the DynaPCN 10-01-00

7.6 Connect the DynaPCN 10-01-00 to the Host PC


To connect the DynaPCN 10-01-00 to the Host PC, complete the following steps:
1. Make sure that the Host PC and the DynaPCN 10-01-00 are both turned ON
2. Have access to the client Mini USB 1.1 port type “B” placed in the Service Panel of the DynaPCN
10-01-00.
To remove the cover of the Service Panel unscrew the 2 Torx M3 * 6 screws, using a Torx T10
screwdriver.
3. Use the USB - MiniUSB cable to connect the client Mini USB 1.1 port type “B” of the DynaPCN 10-
01-00 to an USB port of the Host PC.

51 / 120
7 How to install the DynaPCN 10-01-00 DynaPCN 10-01-00 User manual Rev. 7-0

7.7 Install the USB/Ethernet RNDIS Gadget in the Host PC


The operations described in this section are required only if:
l If you are connecting the DynaPCN 10-01-00 to the Host PC using the USB- MiniUSB cable for the
first time
l The USB/Ethernet RNDIS Gadget is not correctly detected: an error signal appears in Device
Manager:

The USB/Ethernet RNDIS Gadget has to be installed in different ways, depending on the Operating
System (O.S.) installed in the Host PC:
Host PC O.S. Reference

Windows XP "How to install the USB Ethernet/RNDIS Gadget if the Host PC runs Windows XP" on the facing page

Windows 7 "How to install the USB/Ethernet RNDIS Gadget if the Host PC runs Windows 7" on page 58

Windows 10 "How to install the USB/Ethernet RNDIS Gadget if the Host PC runs Windows 10" on page 63

52 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 7 How to install the DynaPCN 10-01-00

7.7.1 How to install the USB Ethernet/RNDIS Gadget if the Host PC runs Windows XP
To install the USB Ethernet/RNDIS Gadget in a Host PC with Windows XP, complete the following steps:
1. Download the file linux.inf, completing the following steps:
a. Go to the Download Area of the Eurotech website
b. Select the Tools tab
c. Download and unzip in the Host PC the zip file pcn-1001-win_configurator- .
The file linux.inf is contained in the folder Driver-Win

2. Connect the DynaPCN 10-01-00 to the Host PC with the USB- MiniUSB cable.
The Host PC detects the new hardware: Linux USB/Ethernet RNDIS Gadget and begins the
installation wizard. Select No, not this time. Click Next >

53 / 120
7 How to install the DynaPCN 10-01-00 DynaPCN 10-01-00 User manual Rev. 7-0

3. Select Install from a list or specific location (Advanced). Click Next >

4. Select the option Don't search. Click Next >

54 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 7 How to install the DynaPCN 10-01-00

5. Select the Network adapters. Click Next >

6. Select Linux USB/Ethernet RNDIS Gadget. Click Have Disk

7. Click Browse...

55 / 120
7 How to install the DynaPCN 10-01-00 DynaPCN 10-01-00 User manual Rev. 7-0

8. Locate and select the file linux.inf. Click Open

9. Click OK

10. Click Next >

56 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 7 How to install the DynaPCN 10-01-00

11. A compatibility Windows warning appears. Click Continue Anyway

12. The driver is installed. Click Finish to complete the wizard

13. Verify that in Device Manager the USB Ethernet/RNDIS Gadget has been correctly installed with
the name Linux USB Ethernet/RNDIS Gadget.

57 / 120
7 How to install the DynaPCN 10-01-00 DynaPCN 10-01-00 User manual Rev. 7-0

7.7.2 How to install the USB/Ethernet RNDIS Gadget if the Host PC runs Windows 7
To install the USB/Ethernet RNDIS Gadget in a Host PC with Windows 7, complete the following steps:
1. Connect the DynaPCN 10-01-00 to the Host PC with the USB- MiniUSB cable.
The Host PC detects the new hardware: RNDIS/Ethernet Gadget
2. Open the Device Manager
3. Locate RNDIS/Ethernet Gadget in Other Devices or Network adapters

58 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 7 How to install the DynaPCN 10-01-00

4. Right-click on RNDIS/Ethernet Gadget and select Update Driver Software:

5. Select Let me pick from a list of device drivers on my computer

59 / 120
7 How to install the DynaPCN 10-01-00 DynaPCN 10-01-00 User manual Rev. 7-0

6. Select Network adapters. Click Next

7. In the window "Manuafacturer", locate and select Microsoft Corporation.


In the window "Network Adapter", locate and select Remote NDIS Compatible Device.
Click Next

60 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 7 How to install the DynaPCN 10-01-00

8. A warning message appears. ClickYes

9. The driver is installed. Click Close to complete the wizard

61 / 120
7 How to install the DynaPCN 10-01-00 DynaPCN 10-01-00 User manual Rev. 7-0

10. Verify that in Device Manager the USB/Ethernet RNDIS Gadget has been correctly installed with
the name RNDIS/Ethernet Gadget.

62 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 7 How to install the DynaPCN 10-01-00

7.7.3 How to install the USB/Ethernet RNDIS Gadget if the Host PC runs Windows 10
To install the USB/Ethernet RNDIS Gadget in a Host PC with Windows 10, complete the following steps:
1. Download the file dypcn.inf, completing the following steps:
a. Go to the Download Area of the Eurotech website
b. Select the Utility tab
c. Download and unzip in the Host PC the zip file dypcn-windows-USB-RNDIS-driver.zip.
The file dypcn.inf is contained in the folder dypcn

2. Open Device Manager


3. Locate USB Ethernet/RNDIS Gadget in Network adapters (or in Other Devices.
The DynaPCN 10-01-00 could be also recognised as USB-SERIAL device. The procedure remains
the same)

63 / 120
7 How to install the DynaPCN 10-01-00 DynaPCN 10-01-00 User manual Rev. 7-0

4. Right-click on USB Ethernet/RNDIS Gadget and select Update Driver:

5. Select Browse my computer for driver software

64 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 7 How to install the DynaPCN 10-01-00

6. Select Remote RNDIS Compatible Gadget. Click Have Disk

7. Browse for the file dypcn.inf. Click Open

65 / 120
7 How to install the DynaPCN 10-01-00 DynaPCN 10-01-00 User manual Rev. 7-0

8. The driver is installed. Click Close to complete the wizard

9. Verify that in Device Manager the USB/Ethernet RNDIS Gadget has been correctly installed with
the name Remote NDIS Compatible Device.

66 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 7 How to install the DynaPCN 10-01-00

7.8 Configure the network between DynaPCN 10-01-00 and


Host PC
To configure the network between the DynaPCN 10-01-00 and Host PC, complete the following steps:
1. In the Host PC, open the Network and Sharing Center
2. Select the network connection of the RNDIS device.
(To verify the name and the network connection, select Details)

67 / 120
7 How to install the DynaPCN 10-01-00 DynaPCN 10-01-00 User manual Rev. 7-0

3. Click Properties

4. Select Internet Protocol Version 4 (TCP/IPv4). Click Properties

68 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 7 How to install the DynaPCN 10-01-00

5. Use the following IP address:


IP address: 10.100.10.1
Subnet mask: 255.0.0.0

Click OK.
The network between DynaPCN 10-01-00 and Host PC is now correctly configured, and the
DynaPCN 10-01-00 will be detected by WinClient.

69 / 120
7 How to install the DynaPCN 10-01-00 DynaPCN 10-01-00 User manual Rev. 7-0

7.9 Connect the DynaPCN 10-01-00 with WinClient


To connect the DynaPCN 10-01-00 to the Host PC using WinClient, complete the following steps:
1. Run WinClient.
For more information about WinClient see "WinClient" on page 24
2. Click Scan and wait for the scan to be completed

3. The IP address of the connected DynaPCN 10-01-00 appears: select it

70 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 7 How to install the DynaPCN 10-01-00

4. Click Connect. The Host PC is now connected to the DynaPCN 10-01-00.

On the button, the label is now Disconnect.

NOTE: In Wide-gate configuration all the DynaPCN devices of same entity have the same IP
address.

71 / 120
7 How to install the DynaPCN 10-01-00 DynaPCN 10-01-00 User manual Rev. 7-0

7.10 Verify the connection and the counting with WinClient


To verify the connection and the counting, complete the following steps:
1. Verify that the Status Bar shows the correct firmware versions: this confirms that the Host PC is
correctly connected to the PCN with WinClient

2. In the central section of the WinClient GUI, select Tracking from the drop-down menu, click
(start) and verify that:
l Window C shows the disparity map
l Counters In / Out are incremented correctly

72 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 7 How to install the DynaPCN 10-01-00

3. Select 8bit + FPN correction from the drop-down menu, and verify that the windows A and B
show the images acquired by the DynaPCN 10-01-00

4. Click (stop) to stop the acquisition

5. Click Disconnect to disconnect the PCN.

73 / 120
7 How to install the DynaPCN 10-01-00 DynaPCN 10-01-00 User manual Rev. 7-0

7.10.1 What to do if you have connection issues


If the connection failed, the causes may be the following:

l Cause: The scan did not find any device.


l Solution:
1. Verify that the DynaPCN 10-01-00 is correctly wired with the Host PC: see "Connect the
DynaPCN 10-01-00 to the Host PC" on page 51
2. Verify that the USB/Ethernet RNDIS Gadget is correctly installed in the Host PC: see
"Install the USB/Ethernet RNDIS Gadget in the Host PC" on page 52
3. Verify that the network between the Host PC and the PCN is correctly configured: see
"Configure the network between DynaPCN 10-01-00 and Host PC" on page 67

l Cause: The connection is lost when the tracking begins. This happens because the communication
between the Host PC and the PCN is blocked by the firewall or by the antivirus on the Host PC. A
notice like the following appears:

l Solution:
1. In WinClient click Disconnect
2. Temporarily disable antivirus and firewall on the host PC
3. Connect the Host PC to the PCN with WinClient
4. Verify that the tracking is working
5. Enable antivirus and firewall on the host PC
6. Add an exception for the ports: 5400, 5402, 5403.

7.10.2 What to do if you have counting issues


If the counters are not correctly incremented, use WinClient to configure the PCN.

74 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 7 How to install the DynaPCN 10-01-00

7.10.3 How to reset the counters


While the Host PC is connected to the PCN with WinClient, to reset the counters select the Controls tab
and click Reset Counters.

75 / 120
(This page has been intentionally left blank)
DynaPCN 10-01-00 User manual Rev. 7-0 8 How to set the WinClient parameters

8 HOW TO SET THE WINCLIENT PARAMETERS


Before proceeding:
l Verify that the DynaPCN 10-01-00 is correctly connected with WinClient (see "Connect the
DynaPCN 10-01-00 with WinClient" on page 70)

8.1 How to set date and time


To set date and time, complete the following steps:
1. In the Controls tab, section Date and Time settings, set the values for date and time
2. Click Set Date and Time to confirm.

77 / 120
8 How to set the WinClient parameters DynaPCN 10-01-00 User manual Rev. 7-0

8.2 How to set the installation height


To set the installation height, complete the following steps:
1. In the Controls tab, section Installation Height (cm), insert the distance between the floor and the
front panel of the DynaPCN 10-01-00
2. Click Set to confirm.

8.2.1 How to manage installations at heights below 225 cm


If the installation height ≤ 225 cm, the PCN warns you to enable the Out-Of-Range Manager.

Select the Advanced tab, section Out-Of-Range Manager, tick the checkbox Out-Of-Range Enable.
This function enables advanced algorithms specific for installation having “Installation Height” ≤ 225 cm.

If the installation height ≤ 200 cm, set Installation Height (cm) to 200 cm.

78 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 8 How to set the WinClient parameters

8.3 How to set the light intensity of the LEDs


In the Controls tab, section Light intensity, use the cursor to set the light intensity of the LEDs.
Usually, we recommend to set a value between 80% and 100%. If the installation area of the DynaPCN
10-01-00 is always well illuminated, you can set lower values of Light intensity.

8.4 How to set the in / out directions


In the Controls tab, section In/Out direction, set the "In" e "Out" directions by using the arrows ↑ ↓ as
reference.
The arrows correspond to the direction of travel as seen in the 2 upper windows in the WinClient GUI:

If "IN" is from the top to the bottom, select:

If "IN" is from the bottom to the top, select:

79 / 120
8 How to set the WinClient parameters DynaPCN 10-01-00 User manual Rev. 7-0

8.5 How to set the door width


In the Controls tab, section Door width, use the cursor to set the door width in cm.

8.6 How to set the position of the Door Threshold


To set the position of the Door Threshold, complete the following steps:
1. In the central section of the WinClient GUI, select 8bit Disp. + median + FPN + ODC from the
drop-down menu
2. Click (start)
3. Tick the checkbox View Threshold to view the Door Threshold
4. Place your hand in the Detection Area under the DynaPCN 10-01-00, at the point where you want
the Door Threshold to be
5. Slide the cursor to move the Door Threshold line above your hand.

80 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 8 How to set the WinClient parameters

8.7 How to disable the Background subtraction


The Background is the image considered as the "background" of the Detection Area when nobody is
crossing it.
The background is automatically "subtracted" by the DynaPCN 10-01-00 during the image detection.
However, in most of the installations it's not necessary to subtract the background, you can
permanently disable its subtraction.
To permanently disable the background subtraction, complete the following steps:
1. In the central section of the WinClient GUI, click Permanently disable BG-sub
2. A warning message appears. Click YES to confirm.

81 / 120
8 How to set the WinClient parameters DynaPCN 10-01-00 User manual Rev. 7-0

8.8 How to set the masking (No Tracking Zone)


To set the No tracking Zone, complete the following steps:
1. In the central section of the WinClient GUI, select 8bit Disp. + median + FPN + ODC from the
drop-down menu.
Click (start)
2. In the Advanced tab, section No Tracking Zone, use the arrows ▲ e ▼ to set the values as
displayed in the following figure.
The No Tracking Zone will appear in the three windows as a grey frame formed by 4 parts: Left,
Right, Top, Bottom.
3. Click Set to confirm.
The following confirmation message appears: No Tracking Zone is correctly set

4. Verify the No Tracking Zone:


In the central section of the WinClient GUI, select Tracking from the drop-down menu:
l If the counters are incremented only when a person is passing, the No Tracking Zone
is set correctly
l If the counters are incremented even when nobody is passing, or when the doors are
opening / closing:
i. Verify if there is a white cross in the tracking window
ii. Adjust the values in the section No Tracking Zone to mask the white
cross.

82 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 8 How to set the WinClient parameters

8.9 How to configure and test the Digital I/Os


For more information, see "Connect the Digital I/Os" on page 45.

8.9.1 How to configure the Digital Inputs (GPI1 and GPI2)


The typical configuration is using the Digital Inputs (for example GPI1) to enable / disable the counting
when the doors are respectively open or closed (for more information see "How the counting works" on
page 33).
To set this typical configuration, complete the following steps:
1. In the I/O Settings tab, section Optocoupled I/O functions, for GPI1 select Enable/disable
person counting in the drop-down menu
2. Click Set to confirm.

The available configurations for GPI1 and GPI2 are the following:
Configuration Function

Do Nothing The digital input signal is ignored

Reset Counters When a rising edge is detected the incoming and outgoing counters are set to zero.

In the Wide-Gate configuration only the GPI2 can be set as reset.


The signal will be available on the last Slave PCN

Enable/Disable Person Counting When a rising edge is detected the counting process starts.
When a falling edge is detected the counting process stops.

In the Wide-Gate configuration only the GPI1 can be set as Enable / Disable. By default,
the counting is enabled.

Test Used to test the signal (for more information see "How to test the Digital Inputs (GPI1
and GPI2)" on the next page).

Reset Counters Reverse When a falling edge is detected the incoming and outgoing counters are set to zero.

In the Wide-Gate configuration only the GPI2 can be set as reset.


The signal will be available on the last Slave PCN.

Enable/Disable Person Counting When a falling edge is detected the counting process starts.
Reverse When a rising edge is detected the counting process stops.

In the Wide-Gate configuration only the GPI1 can be set as Enable / Disable. By default,
the counting is enabled.

83 / 120
8 How to set the WinClient parameters DynaPCN 10-01-00 User manual Rev. 7-0

8.9.2 How to test the Digital Inputs (GPI1 and GPI2)

NOTICE
The "Test" functions are only available via Socket API (not via RS-485).

To test GPI1 (or GPI2), go to the I/O Settings tab and complete the following steps:
1. In the section Optocoupled I/O functions, select Test from the drop-down menu and click Set

2. In the section Optocoupled I/O test, click GPI1 Test (or GPI2 Test).
The following states will occur:
l If a rising edge is received, the rectangle will appear white
l If a rising falling edge is received, the rectangle will appear grey.

8.9.3 How to test the Digital Outputs (GPO1 and GPO2)

NOTICE
The "Test" functions are only available via Socket API (not via RS-485)

To test GPO1 (or GPO2), complete the following steps:


1. Go to I/O Settings tab, section Optocoupled I/O test
2. Click GPO1 Test (or GPO2 Test).
GPOOT will be set to the nearest multiple of 4 (lower or equal) respect to the value inserted.

84 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 8 How to set the WinClient parameters

8.10 How to configure the RS-485 interface


See "The RS-485 network" on page 99.

85 / 120
8 How to set the WinClient parameters DynaPCN 10-01-00 User manual Rev. 7-0

8.11 How to enable the Move Detection


During the tracking, the function Use Move Detection makes the DynaPCN 10-01-00 to ignore the traces
that remain motionless in the Detection Area for more than 5 seconds.
To enable this function, in the Advanced tab, section Use Move Detection, tick the checkbox Move
Detection.

To verify the movement, use the circle on the right; its colour changes in this way:
Colour of the circle Meaning

Grey The tracking is disabled

Red No movement detected

Green Movement detected

NOTICE
We recommend to always enable this function

86 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 8 How to set the WinClient parameters

8.12 How to enable the System Diagnostic


The DynaPCN 10-01-00 includes a function that detects and signals any problem that may occur to the
optical section (for example: blind sensors, sensors not working, luminosity too low, etc.).
To enable this function, in the Advanced tab, section PCN-1001 System Diagnostic, tick the checkbox
System Diagnostic.

To obtain the status of the system click Get status.

The colour of the circle on the right changes in this way:


Colour of the circle Meaning

Red There is a problem

Green OK

Every time that the status of the system changes, a line will be written in the log-file.
The error codes are the following:
Error code Meaning

0 No issues

1 Right sensor is occluded

2 Left sensor is occluded

3 Both sensors are occluded

4 Right sensor is obscured

8 Left sensor is obscured

12 Both sensors are obscured

16 High difference between right and left sensor

20, 24, 28 High difference between right and left sensor, and both sensors are obscured

The difference between occluded and obscured is the following:


l Occluded: This is a condition of complete masking of one or both sensors (example: a thick label attached on the sensor, or
sensor broken).
It should be better to verify if the PCN is OK
l Obscured: This is a lighter condition than the Occluded one. In this case the masking of one or both sensors is partial and
transitory. Generally this condition does not affect the counting.

87 / 120
8 How to set the WinClient parameters DynaPCN 10-01-00 User manual Rev. 7-0

8.13 How to reboot the DynaPCN 10-01-00


To reboot the DynaPCN 10-01-00, complete the following steps:
1. In the Connection tab, click Reboot PCN, and confirm the operation

2. The notification that the PCN is rebooting appears. Click OK

3. Wait that the PCN completes the reboot (about 60 seconds).


The reboot is completed when LEDs green and amber are solid ON. The PCN is ready to count.

88 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 8 How to set the WinClient parameters

8.14 How to restore the factory settings


To restore the factory settings, complete the following steps:
1. In the Controls tab, click Restore Factory Settings

2. A warning message appears. Confirm the operation.

89 / 120
(This page has been intentionally left blank)
DynaPCN 10-01-00 User manual Rev. 7-0 9 What is a log-file. How to save a log-file

9 WHAT IS A LOG-FILE. HOW TO SAVE A LOG-FILE


The DynaPCN 10-01-00 saves in its memory a log-file (.txt type) with all the events that happen.
The log-file contains several rows formed by the following values:
Value Description

Action The following table lists the available actions and their meanings:

Action Meaning

Boot PCN executed the boot

Start Counting is enabled (by a Digital Input)

Stop Counting is disabled (by a Digital Input).


IN/OUT values indicate the quantity of IN's/OUT's since the last Start.
Example: if nobody has entered: IN=0

Count PCN is counting

Date Data of the event (dd/mm/yyyy)

Time Time of the event (hh:mm:ss)

In Value of the In counter.


In the Stop row, the value indicates the quantity of In's since the last Start

Out Value of the Out counter.


In the Stop row, the value indicates the quantity of Out's since the last Start

In every row of the log-file, each value is tab-separated from the previous one: data can be copied and
pasted directly in a spreadsheet.

If the PCN detects a diagnostic error:


If the PCN detects a diagnostic error, the log-file will contain a row as the following:

Diagnostic error=3 03/02/2018 23:18:19 000004 000006

Where the number 3 means "Both sensors are occluded".

Then, if the problem disappears, the log-file will contain a row as the following:

Diagnostic ok 03/02/2018 23:18:42 000004 000006

See also "How to enable the System Diagnostic" on page 87.

91 / 120
9 What is a log-file. How to save a log-file DynaPCN 10-01-00 User manual Rev. 7-0

9.1 Log-file example (1/2)


The following is an example of log-file that simulates a typical short bus trip.
It is assumed that:
l The counters have been reset before departure
l The door-sensors are used
l No Diagnostic errors are present

92 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 9 What is a log-file. How to save a log-file

9.2 Log-file example (2/2)


The following table explains the previous log-file example:

93 / 120
9 What is a log-file. How to save a log-file DynaPCN 10-01-00 User manual Rev. 7-0

9.3 How to save a log-file


Before proceeding:
l Verify that the DynaPCN 10-01-00 is correctly connected with WinClient (see "Connect the
DynaPCN 10-01-00 with WinClient" on page 70)
To save a log-file from the PCN to the Host PC, complete the following steps:
1. In the Controls tab, section Data record, click Save records

2. Save with a name the log-file (extension .txt).

94 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 10 What is a PCF file. How to save / load it

10 WHAT IS A PCF FILE. HOW TO SAVE / LOAD IT


A PCF file contains all setup parameters of the DynaPCN 10-01-00, except:
l The IP address and the RS-485 configuration.
l The information about the background subtraction

Using a PCF file, it is possible to save the current configuration of a DynaPCN 10-01-00 and load it on
other DynaPCN 10-01-00 devices, without having to configure them individually.

NOTE
It could be useful to create different PCF files for each door type.
For example, a bus with three doors could have these PCF files:
l Bus_A_FrontDoor.pcf
l Bus_A_MiddleDoor.pcf
l Bus_A_RearDoor.pcf

10.1 How to save a PCF file


Before proceeding:
l Verify that the DynaPCN 10-01-00 is correctly connected with WinClient (see "Connect the
DynaPCN 10-01-00 with WinClient" on page 70).
To save a PCF file from the PCN to the Host PC, complete the following steps:
1. In the central section of the WinClient GUI, click Save PCF

95 / 120
10 What is a PCF file. How to save / load it DynaPCN 10-01-00 User manual Rev. 7-0

2. Save the PCF file with a name

3. A confirmation message appears Click OK.

96 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 10 What is a PCF file. How to save / load it

10.2 How to load a PCF file


Before proceeding:
l Verify that the DynaPCN 10-01-00 is correctly connected with WinClient (see "Connect the
DynaPCN 10-01-00 with WinClient" on page 70)
To load a PCF file from the Host PC to the PCN, complete the following steps:
1. In the central section of the WinClient GUI, click Load PCF

2. Load the desired PCF file

97 / 120
10 What is a PCF file. How to save / load it DynaPCN 10-01-00 User manual Rev. 7-0

3. A confirmation message appears Click OK

4. Wait for DynaPCN 10-01-00 to reboot


5. Connect the DynaPCN 10-01-00 with WinClient.

98 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 11 The RS-485 network

11 THE RS-485 NETWORK


11.1 Introduction
You can connect up to 32 DynaPCN 10-01-00 devices at the same time, creating an RS-485 network.
The RS-485 communication is based on a Master / Slave configuration:
l The Master device (the Host PC/Control Unit) starts the communication by sending a message to
the Slave devices
l The Slave devices (the DynaPCN 10-01-00 devices) receive the message, execute a command (if
required) and transmit the answer to the Master device (if allowed).
There can only be one Master device on the bus, all the others are Slave devices.
After the Master has sent a message to a Slave, an answer is expected from that Slave.
A Slave device cannot send anything to a Master device without being requested.
The Master can send messages adddressed to all Slave devices: broadcast messages; in this case the
Slave devices will not return any answer (messages are not retransmitted).

11.2 Termination and fail-safe resistors


The DynaPCN 10-01-00 does not include any line termination resistor, nor any fail-safe bias resistors.
The two ends of the RS-485 bus should include a termination resistor connected across the lines Data +
and Data – .
Also, the RS-485 bus should include the pull-up or pull-down resistors to ensure a fail-safe bias for each
data line when the lines are not being driven by any device.

99 / 120
11 The RS-485 network DynaPCN 10-01-00 User manual Rev. 7-0

11.3 Optional cables to simplify the RS-485 network connection


The following cables are available upon request to simplify the RS-485 connection:
Cable / Order code Use / Notes Picture

Multifunction cable 1 l Supply power to the PCN (use the


2-way screw terminal block)
(E14-35-12-00; also included in the l Connect the PCN to the RS-485
development kit: DYPCN-10-01-00- network (use the female DB9
DK0) connector)

USB – RS485 cable Connect the female DB9 connector of


the "Multifunction cable 1" to the USB
(included in the development kit: port of the Host PC
DYPCN-10-01-00-DK0) (PCs generally do not have any RS-
485 port).

This cable integrates:


l 1x Termination resistors (120 Ω)

l 2x Fail-safe resistors (560 Ω)

A driver could be automatically


installed the first time you connect this
cable to your Host PC.

For further information see the document DynaPCN Connection Diagrams.

100 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 11 The RS-485 network

11.4 Example of RS-485 network


Several DynaPCN 10-01-00 devices can be connected in a Multi-drop RS-485 two-wire half-duplex
configuration, see the diagram below.
In this configuration:
l The Host PC is the Master device that manages the RS-485 network. It has ID number = 1
l Each one of the Slave PCN devices must have the same values of Baud Rate, Data Bits, Parity
and Stop Bits, but different ID number (starting form ID number = 2).
l The Host PC starts the communication and includes the address of the target PCN within the SNP
(Small Network Protocol, see "The RS-485 communication protocol " on page 103).
l All the PCN devices receive the command but only the target PCN responds.

Note: In Wide-gate Configuration the Host PC sees only the first PCN of each entity, and the
address has to be assigned only to this first PCN device.

101 / 120
11 The RS-485 network DynaPCN 10-01-00 User manual Rev. 7-0

11.5 How to configure the RS-485 interfaces of the DynaPCN


To configure the RS-485 interface of the DynaPCN 10-01-00, open the I/O Settings tab, and complete the
following steps:

1. In the section RS485 setup, insert the following parameters:

For each parameter, the available values are the following:


Parameter Available value

ID Numbers from 2 to 254.


ID 1 is always reserved to Host PC.
Each PCN must have an unique ID.

Baud Rate 9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600

Data Bits 8

Parity None, Even, Odd

Stop Bits 1 or 2

2. Click Set to save the configuration.

102 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 11 The RS-485 network

11.6 The RS-485 communication protocol


The RS-485 connection uses an SNP communication protocol (SNP = Small Network Protocol).
The packet format contains the addresses of both the sender and the recipient, and the number of packets
to be sent along with the current packet number.
Bit stuffing is not used: when the length of data field is stated, all values can be sent in the data field. The
maximum length of the data field is MAX_DATA_LENGTH = 1024 bytes.

Field Length (bytes) Contents

PreAmble 5 5 times 0xFF.


To be sent before the initial character, to allow changing the
transmission direction

StartCharacter 1 SOH = 0x01

Source 1 Address of sender

Destination 1 Address of recipient

TotalPacketNumber 1 Total number of packets

PacketNumber 1 Number of the current packet


First packet has number 1

DataLength 2 States the length of the data field


LSB (Least Significant Byte) is to be sent first

Data 0 to MAX_DATA_LENGTH Each byte can contain a value from 0 to 0xFF

CRC16 2 CRC16 (x16 x15 x2 x0) check sum calculated from Source to Data
(both fields included) with an initial value of -1.
LSB is to be sent first

Postamble 1 0xFF

103 / 120
11 The RS-485 network DynaPCN 10-01-00 User manual Rev. 7-0

11.6.1 Polling
The Master can poll a Slave that answers with a message to the Master.
A polling is defined as a packet with:
l TotalPacketNumber = 0
l PacketNumber = 0
l DataLength = 0

11.6.2 Scenarios
The following charts are intended to give an idea of the sequences sent/received by the Master and the
Slave devices:

Short message to a Slave device

Polling

104 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 11 The RS-485 network

Broadcast Message

Each message between Master and Slave is made in the following format:

Source Destination TotalPacketNumber PacketNumber DataLength

Source: Address of the device transmitting the message


Destination: Address of the target device
TotalPacketNumber: Quantity of Packets to be sent
PacketNumber: Number of the current packet being sent
DataLength: Length of the data in this Packet [0x01 to 0xFE or MAX]

Example 1
In a message like this one:
[0x01, 0x02, 3, 2, MAX]
the Node “0x01” is sending a message to Node “0x02”; this package is the 2nd out of 3, and it is MAX (255)
characters long.

Example 2
In a message like this one:
[0x02, 0x01, 1, 1, 2]
the Node “0x02” is sending a message to Node “0x01”; this package is the 1st out of 1, and it is 2
characters long.

Example 3
A message like this one is a broadcast message:
[0xFF, 1, 1, 1, 2]
0xFF means that all the Slave devices are recipients of the message. No reply is sent by the Slave
devices.

105 / 120
11 The RS-485 network DynaPCN 10-01-00 User manual Rev. 7-0

11.6.3 The DATA field


All the commands exchanged between the Master and the Slave devices have to be encapsulated in the
SNP transmission.
The command to send is contained in the Data field of the SNP protocol.
Each command is formed by the following elements:
l The Command string
l The String terminator
l Some parameters (Value 1, Value 2, …). Each parameter can be a number (1, 2 or 4 bytes long ) or
a string.

Element Length (bytes) Contents

Command string 0 - 256 Command

The String terminator 1 0

Value 1 1, 2, 4 First parameter

Value 2 1, 2, 4 Second parameter

... 1, 2, 4 ...

The maximum length of the Data field is contained in the MAX_DATA_LENGTH.

106 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 11 The RS-485 network

11.6.4 Example 1: How to set the LED intensity to 100%


The Data field is formed by: SLED command, string terminator, parameter (an unsigned char parameter, 8
bits long):
Command String terminator Parameter

Sled 0 100

The complete message is the following:


SNP package Value

Preamble 0xFF

Preamble 0xFF

Preamble 0xFF

Preamble 0xFF

Preamble 0xFF

SOH 0x01

Source 0x01

Destination 0x02

TotalPacketNumber 0x01

PacketNumber 0x01

DataLength 0x06

0x00

Data Command "sled" 0x73(s)

0x6C(l)

0x65I

0x64(d)

String terminator 0x00

Argument (value = 100) 0x64

CRC16 CRC value = -27888 0x10

0x93

Postamble 0xFF

The Slave replies with:


Command String terminator

"sled" 0

107 / 120
11 The RS-485 network DynaPCN 10-01-00 User manual Rev. 7-0

11.6.5 Example 2: How to request the kernel version installed


The request is the following:
Command String terminator

“ker_version” 0

This command does not need any parameter.

The slave replies with:


Command String terminator Parameter

“ker_version” 0 "2.1"

In this case, the parameter in the answer is a string containing the kernel version.

108 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 11 The RS-485 network

11.6.6 Main commands


Command Use Description

gcounters Returns the current counter The application software sends the string gcounters to the server.
values (In & Out) The server returns two unsigned long values (4 bytes long).
The first is the incoming counter value.
The second is outgoing counter value.

reset Reset the In /Out counters The server does not send any reply.
To verify the correct execution of the commands, complete the following
steps:
1. Send the command gcounters
2. Verify that the reply includes:
l A zero for the In counter

l A zero for the Out counter

diagnostic_en Enables or disables the The application software sends the diagnostic_en string to the server
diagnostic followed by a byte that enables / disables the diagnostics:
l To enable the diagnostics: set the byte to 0x01

l To disable the diagnostics: set the byte to 0x00

pcn1001_status Gets the status of the PCN and The application software sends the pcn1001_status string to the
the diagnostic error code server.
The server returns one unsigned char (1 byte) representing the status
of the system:

Error Meaning
code

0 No issues

1 Right sensor is occluded

2 Left sensor is occluded

3 Both sensors are occluded

4 Right sensor is obscured

8 Left sensor is obscured

12 Both sensors are obscured

16 High difference between right and left sensor

20, 24, High difference between right and left sensor, and both
28 sensors are obscured

The difference between occluded and obscured is the following:


l Occluded: This is a condition of complete masking of one or
both sensors (example: a thick label attached on the sensor, or
sensor broken).
It should be better to verify if the PCN is OK
l Obscured: This is a lighter condition than the Occluded one. In
this case the masking of one or both sensors is partial and
transitory. Generally this condition does not affect the counting.

See also "How to enable the System Diagnostic" on page 87

For more information on the RS-485 communication protocol, refer to the document DynaPCN 10-01-00
RS-485 Communication Protocol. It is available in the Download Area of the Eurotech website.

109 / 120
(This page has been intentionally left blank)
12 How to have access to the DynaPCN 10-01-00 Operating Sys-
DynaPCN 10-01-00 User manual Rev. 7-0
tem

12 HOW TO HAVE ACCESS TO THE DYNAPCN 10-01-00


OPERATING SYSTEM
The DynaPCN 10-01-00 runs a Linux Operating System.

To have access to the Operating System use the ssh protocol (IP: 10.100.10.100).
Example:

ssh root@10.100.10.100

12.1 Which are the default passwords


The default passwords are the following:
User Password

root root

ftpuser ftpuser

12.2 How to change the passwords


To change the passwords, complete the following steps:
1. Have access as root user
2. Use the following command:
Command Syntax Example

passwd passwd <user name> # passwd ftpuser


# conf-save

111 / 120
(This page has been intentionally left blank)
DynaPCN 10-01-00 User manual Rev. 7-0 13 How to maintain the product

13 HOW TO MAINTAIN THE PRODUCT


Periodically inspect the product to verify its integrity and to ensure proper operation.
Before starting the maintenance of the product, carefully read and understand the instructions
contained in the section "Safety instructions" on page 7.

13.1 Always observe the appropriate antistatic precautions


during the maintenance of the product
NOTICE

HOW TO PREVENT DAMAGING ELECTROSTATIC-SENSITIVE DEVICES


The symbol on the left is applied on electrostatic-sensitive devices.
To prevent damaging electrostatic-sensitive devices:
l Handle the electrostatic-sensitive devices in an ESD Protected Area (EPA)
l Observe the appropriate antistatic precautions. For example: use a wrist
strap kept in constant contact with bare skin and attached to ground.

13.2 Always remove the power supply before starting the


maintenance of the product
WARNING
ELECTRIC SHOCK HAZARD
To avoid injuries do not perform any cables connection / disconnection with wet hands.
Before starting the product maintenance, complete the following instructions:
1. Remove the power supply
2. Disconnect all the cables
3. Make sure all the circuits are discharged.
Failure to complete the instructions above, may create an electric shock hazard, which could
result in personal injury or loss of life, and can damage the equipment or third-party property.

113 / 120
13 How to maintain the product DynaPCN 10-01-00 User manual Rev. 7-0

13.3 How to verify the installation of the product


To verify the installation of the product, complete the following steps:
1. Verify that the product is clean and not damaged
2. Verify that the LED indicators are visible and not damaged
3. Verify that all the screws, bolts, nuts are correctly fastened
4. Verify that the product is installed correctly.

13.4 How to clean the product


To clean the product, complete the following steps:
1. Never use detergents, aerosol sprays, solvents or abrasive sponges
2. To remove dust from the case of the product, use a dry, lint-free, cloth
3. To remove the dirt, use water-based, non-flammable, cleaner products.

114 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 14 Declaration of conformity

14 DECLARATION OF CONFORMITY
14.1 CE marking
The product described in this document is CE marked.
Eurotech is not responsible for the use of this product together with equipment (for
example: power supplies, personal computers, etc.) that are not CE marked and not com-
pliant with the requirements specified in this document.

The product described in this document complies to the following standards:


l Automotive E24: ECE ONU Reg.10
l Fire protection: EN 45545
l EMC emissions: EN 50155 / EN 50121 / EN 55011
l EMC immunity: EN 50155 / EN 50121 / EN 61000
l Environment: EN 50155
l Shocks and vibrations: EN 50155 / EN 61373

14.2 RoHS compliance


The product described in this document, including all its components and its sub-assemblies, have been
manufactured in compliance with the Directive 2011/65/EU of the European Parliament and of the Council
of 8 June 2011 on the restriction of the use of certain hazardous substances in electrical and electronic
equipment.

14.3 WEEE compliance


In compliance with the Directive 2012/19/EU of the European Parliament and of the Council
of 4 July 2012 on waste electrical and electronic equipment (WEEE), the symbol on the
right, shown on the product or within its literature, indicates separate collection for electrical
and electronic equipment (EEE) that has been placed on the market after 2005.
The product described in this document, at the end of its life cycle, must be collected
separately and managed in accordance with the provisions of the current Directive on
waste of electrical and electronic equipment.
Because of the substances present in the product, improper disposal can cause damage to
human health and to the environment.
To avoid any possible legal implications, contact your local waste collection body for full
collect and recycling information.

115 / 120
(This page has been intentionally left blank)
DynaPCN 10-01-00 User manual Rev. 7-0 15 Mechanical dimensions

15 MECHANICAL DIMENSIONS
15.1 DynaPCN 10-01-00 dimensions

117 / 120
15 Mechanical dimensions DynaPCN 10-01-00 User manual Rev. 7-0

15.2 Housing dimensions

Housing depth
The required housing depth depends on the angle between the frame and the front panel:
Angle between frame and front panel Housing depth

0° 42 mm

45° 70 mm

118 / 120
DynaPCN 10-01-00 User manual Rev. 7-0 Notes

NOTES

119 / 120
EUROTECH.COM

HEADQUARTERS
Via Fratelli Solari, 3/a For your Eurotech local contact refer to: eurotech.com/contacts
33020 Amaro (UD) - Italy
Tel: +39 0433.485.411 For the Eurotech Global Support Centre refer to: support.eurotech.com
Fax: +39 0433.485.499
Email: welcome@eurotech.com For the Eurotech Download Area refer to: eurotech.com/download
Web: www.eurotech.com

All trademarks, registered trademarks, logos, trade names and products names contained in this document are the property of their respective owners.

Das könnte Ihnen auch gefallen