The information in this document is subject to change without prior
notice in order to improve reliability, design, and function and does
not represent a commitment on the part of the manufacturer.
In no event will the manufacturer be liable for direct, indirect, special, incidental, or consequential damages arising out of the use or
inability to use the product or documentation, even if advised of
the possibility of such damages.
This document contains proprietary information protected by copyright. All rights are reserved. No part of this manual may be reproduced by any mechanical, electronic, or other means in any form
without prior written permission of the manufacturer.
Trademarks
NuDAQ, NuIPC, DAQBench are registered trademarks of ADLINK
TECHNOLOGY INC.
Product names mentioned herein are used for identification purposes only and may be trademarks and/or registered trademarks
of their respective companies.
Getting Service from ADLINK
Customer Satisfaction is top priority for ADLINK Technology Inc.
Please contact us should you require any service or assistance.
ADLINK TECHNOLOGY INC.
Web Site:http://www.adlinktech.com
Sales & Service:Service@adlinktech.com
TEL:+886-2-82265877
FAX:+886-2-82265717
Address:9F, No. 166, Jian Yi Road, Chungho City,
Taipei, 235 Taiwan
Please email or FAX this completed service form for prompt and
satisfactory service.
Company Information
Company/Organization
Contact Person
E-mail Address
Address
Country
TELFAX:
Web Site
Product Information
Product Model
OS:
Environment
M/B: CPU:
Chipset: BIOS:
Please give a detailed description of the problem(s):
Table of Contents
Table of Contents..................................................................... i
List of Tables.......................................................................... iv
List of Figures ......................................................................... v
This manual helps you in configuring, installing, and using the HSL
series products, and describes the functions and the operational
theorem of the high-speed link technology. This manual is divided
into the following chapters:
Chapter 1 - HSL Introduction: Provides an overview of the HSL
system, including the system features, specifications, and communication technology.
Chapter 2 - HSL Master Controller: Presents detailed information on the HSL master.
Chapter 3 - HSL Slave Module: Presents detailed information on
the HSL slave modules.
Chapter 4 - HSL LinkMaster Utility: Provides instructions on how
to install and use the ADLINK LinkMaster utility for testing and
debugging the slave modules.
Chapter 5 - HSL Function Library: Presents the function library
usage and syntax.
Chapter 6 - Programming with HSL Function Library: Provides
a broad concept and knowledge of how to implement the application with the HSL library.
Appendix A - Scan Time Table: Presents the HSL cycle time
based on different transmission speeds and modes.
Appendix B - Mapping Table: Provides a comparison table
between old and new functions.
Appendix C - HSL-AI16AO2 Calibration: Outlines the calibration
procedures for HSL-AI16AO2-M-VV and HSL-AI16AO2-M-AV.
Appendix D - HSL-HUB/Repeater information: Presents the
adding time information and extension limitations.
viHow to Use This Manual
References
Master board. HSL is a master-slave communication system. In
host side, we call the control board as master board.
Slave module. HSL is a master-slave communication system. In
remote side, the slave module can connect a variety of sensors.
Slave index. The basic unit in HSL system. One HSL slave module may occupy 1, 2 or 4 slave indexes. This depends on the
design of slave modules.
Full duplex. Data transmission and receiving at the same scanning time.
Half duplex. Data transmission and receiving at the consecutive
scanning time.
HSL master controller. One HSL ASIC plays the role of master
controller. For example, PCI-7853 has one on-board HSL ASIC; it
can connect a maximum of 63 slave indexes. For convenient connection, the HSL master has two ports. Using the same technology, the PCI-7854 can connect a maximum 126 slave indexes and
has four ports.
Transmission speed. The data speed is between master board
and slave modules. The unit is bit per second.
How to Use This Manual vii
viiiHow to Use This Manual
1Introducing HSL
1.1The HSL System
The HSL is an innovative distributed I/O technology that enables
time-deterministic scanning of thousands of I/O points in milliseconds using master-slave architecture. The HSL master board
comes in PCI or PMC form factors. The PMC board is used in
embedded controllers. By using commercial Ethernet cable with
RJ-45 connector, you can easily set up the HSL slave modules as
close as possible to the sensor devices, reducing wiring effort.
Aside from the I/O modules, ADLINK provides the remote motion
control module with 4-axis pulse train type. The HSL network suits
a variety of machine-making applications as it integrates discrete I/
O, analog I/O, thermocouple module, and motion control. This
local network delivers rapid response time, time-deterministic
scanning and multiple-axis control. With PMC module, you may
also integrate the HSL network with embedded solution platforms.
The HSL system features:
X Distributed solution based on PC architecture or embedded
platform
X Convenient wiring for remote distributed I/O modules,
including discrete I/Os and analog I/Os
X Space-saving and discrete low-profile U-series form factor
X Hundreds of discrete I/O points
X Time-deterministic, fast scanning
X High-speed data acquisition
X Up to 120 axes of remote motion control with two HSL mas-
ter controller of master board
X Motion control features point table management and motion
script download to enhance execution efficiency
Introducing HSL 1
1.1.1Product Overview
The illustration shows the basic HSL system topology.
Figure 1-1: HSL topology
1.1.2Product Highlights
High-speed performance
With scanning speed as high as 1000 points per ms, it takes
only 1.895 ms for an HSL master to scan all the discrete I/O
points of slave modules under 6 Mbps. For example, a distributed control system with 63 slave I/O modules of HSLDI16DO16-DB-NN with 2016 discrete I/O points can be
scanned or updated within 1.895 ms.
2Introducing HSL
Time-deterministic scanning
The HSL master controller implements a deterministic time
period when scanning all slave I/O modules. The total scanning
cycle time is exactly proportional to the number of slave
indexes. At 6 Mbps, every 30.33 µs is added for another slave
index. For an HSL system with 30 discrete I/O slave modules
(where every discrete I/O module occupies one slave index),
the scanning time period is precisely 30 X 30.33 µs = 909.9 µs.
The scan time unit based on transmission rate is illustrated
below.
3 Mbps6 Mbps 12 Mbps
Full Duplex 60.67 µs 30.33 µs 15.17 µs
Half Duplex118 µs59 µs29.5 µs
Convenient wiring
The HSL master controller connects to all slave I/O modules
using Ethernet cables. This dramatically reduces the wiring
costs and effort. With Ethernet cables, hundreds or even thousands of I/O data can transmitted between the HSL master and
slave I/O modules. The HSL wiring is the easiest and most
cost-effective solution to date. For low profile series, you can
make the connection by direct wiring.
Multiple I/O points
The PCI-7853 offers one HSL master controller while the PCI7854 offers two HSL master controllers. For maximum installation, users can have eight PCI-7853 and PCI-7854 in one system. That means users can have 1512 slave indexes in HSL
network system. If choosing all connected modules as HSLDI16DO16-DB-NN, a total of 24,192 digital input and 24,192
digital output points are supported. For embedded solution,
users can choose the PMC-7852/G.
Easy I/O expansion
Expanding I/O points for centralized configuration requires
more I/O boards and available PCI or ISA slots. Problems
occur when system needs more I/O points while there are no
Introducing HSL 3
available slot. In contrast with centralized configuration, the distributed I/O configuration eliminates this limitation of a centralized I/O configuration. With the HSL system, adding more I/O
points only requires one more slave I/O module and an Ethernet cable for communication link.
Self-diagnostic function
The HSL provides a self-diagnostic function that eliminates
communication failures. This function continuously monitors
the network status while a status register keeps the accumulated slave-no-response count for every individual slave I/O
module. Also, the HSL system features the CRC12 to eliminate
any communication error.
Modular design of slave I/O
ADLINK offers a variety of slave module types Including the
metal-cased M series, non-metal DB series, and U series for
compact systems. The M and DB series require a terminal
board for connection. Terminal boards act as carrier of slave I/
O module with wiring function. The Ethernet port and screw terminal on the terminal boards make it easier to replace I/O modules without turning and wiring off the system.
Remote motion control compatibility
ADLINK also offers remote motion control solution based on
the HSL network Including the HSL-4XMO-CG-N/P and HSL4XMO-CD-N/P that could connect up to four axes. The HSL4XMO-CG-N/P features a general-type interface for use with
stepper or linear motors, while the HSL-4XMO-CD-N/P has a
D-sub interface. By using a transfer cable, you can connect to
specific servo amplifier. You can easily make a distributed control application that includes discrete I/O, analog I/O, and
remote motion control.
Easy to program
Every HSL master card comes with 32 KB SRAM that carries
all the I/O status information of the HSL system. The ASIC on
the HSL master board communicates with all remote slave I/O
4Introducing HSL
modules at fixed scanning period and keeps the most updated
I/O status information on the SRAM. You may read and write
the data in the 32 KB SRAM on HSL master card through the
PCI or PMC bus. You can easily read/write the most updated I/
O information and never worry with the HSL protocol.
1.1.3HSL Applications
HSL as a Distributed PLC
The distributed PLC is an important system in the field of industry automation. Via communication modules, such as RS232,
RS485, PLC also performs distributed control. The traditional
architecture of distributed PLC application is shown in Figure
1.2. In this setup, the MPC (Monitoring PC) takes over as the
medium for data transmission from field to MIS.
RS-485
Figure 1-2: Traditional distributed PLC architecture
With the development of communication technology and popularity of networking, networking modules with Ethernet interface
became available. This improvement evolved as shown in the
architecture below. The medium character of the MPC was
replaced.
Introducing HSL 5
Figure 1-3: Networking PLC
PLCs that are capable of network communications are usually
very expansive. And since the PLC is not an open architecture,
only hardware vendors are capable of producing it.
6Introducing HSL
The HSL distributed control architecture is illustrated in Figure 1.4.
With HSL, there is no need for an extra PC for Ethernet communication. You may use only one IPC to control the entire system.
Figure 1-4: HSL as distributed PLC
Comparison between traditional PLC systems and HSL as distributed PLC
X The MPC is replaced by a PC with HSL Master
X The HSL slave I/O module is replaced by a remote side
PLC
X The RS485 or RS232 cable is replaced by simple Ethernet
cable
X The protocol handling is replaced by simple memory read/
write.
HSL as Remote Time-deterministic DAQ
The HSL system, with high-speed performance and deterministic time-deterministic scanning, is also applicable for remote
time-deterministic data acquisition.
Introducing HSL 7
The time-deterministic characteristic of an HSL system is an
important factor when implementing a DAQ application. With
an HSL system, all I/O data are refreshed in time-deterministic.
The sampling rate (or scan rate) is linearly dependent on the
number of slave indexed occupied, ranging from 91 µs (less
than three slave indexes) to 1.911 ms (63 slave indexes) under
6 Mbps. These two features go with HSL’s remote capability to
make it suitable for remote DAQ applications, especially when
time-deterministic is of utmost concern.
Figure 1-5: Time-deterministic DAQ using HSL
8Introducing HSL
1.2HSL System Specifications
Platform
X Hardware platform: Industrial PC with PCI Bus/Embedded
SBC with PMC connector
X Operating system platform: Windows® 98/2000/NT/XP or
Linux Redhat
Software support
X Windows XP/2k library
X Linux: Kernel 2.4.x
HSL Master Board
X PCI -7853 single HSL master controller board with two ports
X PCI -7854 dual-HSL master controller board with four ports
X PMC-7852/G dual-HSL master controller board with four
ports and PMC connector
Remote operation
One master controller has two ports. One port uses the RJ-45
phone jack as connector. One phone jack can drive a maximum 32 modules at maximum. One master controller can connect maximum 63 slave indexes.
The maximum wiring distance for each RJ-45 connector (one
port) is 200 m @ 6 Mbps (serial wiring from master to last slave
module). The maximum length of port connection may be 400
m @ 6 Mbps since both sides are 200 m in length.
Introducing HSL 9
Transmission Speed L (m)
3 Mbps300
6 Mbps200
12 Mbps100
Table 1-1: Remote Operation
Supports maximum 2.4 km wiring via seven HSL-HUB/
Repeater modules
Without HUB HUBX1 HUBX2 HUBX5 HUBX7
12 Mbps100 m200 m300 m600 m800 m
6 Mbps200 m400 m600 m 1200 m 1600 m
3 Mbps300 m600 m900 m 1800 m 2400 m
Wiring
X Connector: RJ-45 (on master controller and some of slave
modules)
X Cable: Cat-5 100 Base/TX Ethernet cable with shielding
10Introducing HSL
Communications
X Multi-drop full-duplex RS-422 with transformer isolation
scheme
X Transmission speed: 3/6/12 Mbps (6 Mbps is factory default
setting).
X I/O refresh rate: scan time unit × numbers of slave indexes
(minimum is 3; maximum is 63)
3 Mbps6 Mbps 12 Mbps
Full Duplex 60.67 µs 30.33 µs 15.17 µs
Half Duplex118 µs59 µs29.5 µs
X Communication model: single master to multi-slave
X Communication method: command/response type hand-
shaking
X CRC12 and dedicated protocol for eliminating communica-
tion errors
Introducing HSL 11
1.3HSL Series Products
HSL Master controller boards
See HSL Master Board on the previous section.
At least one master controller card is needed for an HSL system. With PCI-7854 or PMC-7852/G, two master controllers are
available. A maximum of 12 cards are supported for a single
computer system.
Slave I/O modules
A variety of HSL slave I/O modules are available.
SeriesModel
HSL-DI32-DB-N/P32(1,3, 5, …,61)2
DB
M
U
HSL-DO32-DB-N/P32(1,3, 5, …,61)2
HSL-DI16DO16-DB-N/P16161-631
HSL-DI32-M-N/P32(1,3,…,61)2
HSL-DO32-M-N/P32(1,3,…,61)2
HSL-DI16DO16-M-NN/NP/PN//PP16161-631
HSL-R8DI16-M-N/P168 relay1-631
HSL-AI16AO2-M-VV1621-61 2
HSL-AI16AO2-M-AV1621-61 2
HSL-DI16DO16-US/UJ16161-631
HSL-DI16-UL161-631
HSL-AO441-622
Discrete
Input
Discrete
Output
Analog
Input
Analog
Output
Start Index
Setting Range
Table 1-2: Slave I/O modules
Note: Start Index Setting Range means range of the start index
address of DIP switch setting. Full duplex and half duplex
mode have different ranges.
The following remote motion control modules are also supported:
SeriesModelAxesInterface
HSL-4XMO-CG-N/P4General series
Motion
HSL-4XMO-CD-N/P4D-sub
Table 1-3: Remote Motion modules
Start In dex
Setting Range
1~60 for Half Duplex
1~57 for Full Duplex
Slave Index
Occupation
4
Slave Index
Occupation
12Introducing HSL
Note: Start Index Setting Range means range of the start index
address of DIP switch setting. Full duplex and half duplex
mode have different ranges.
Terminal Base
A variety of HSL terminal base are also available.
Model NumbersModule Type SupportModule Number Support
HSL-TB64-DINAll the HSL DB series 2
HSL-TB32-U-DINAll the HSL DB series1
HSL-TB32-M-DINAll the HSL M series1
HSL-TB32-MDAll the HSL M series1
Table 1-4: Terminal Base
Introducing HSL 13
1.4Technical Information
1.4.1HSL Technology Introduction
Inside an HSL system, a single master controller communicates
with multi-slave through a command-response. The master controller sends commands to slave I/O modules for setting output
values and requesting input information. Every slave module
responds after receiving commands with address ID. The
responses may either be to set output according to the received
values or to reply requested input information to the master controller.
The illustration below shows the HSL working theory as regards
the setting of output values.
Figure 1-6: HSL technology brief -1
14Introducing HSL
The teacher (master) sends message “ID.#, your output values
are XXX” to all students (slave I/O modules). Every student (with
ID.#) then sets its output channels according to the values heard.
The values that the teacher announced to the students are written
on the blackboard (RAM on master cards), and can be easily modified.
The following illustration shows the working theory for gathering
input information.
Figure 1-7: HSL technology brief-2
Introducing HSL 15
The teacher (master) sends the message “ID.#, what is your latest
input status” to all students (slave I/O modules). Every student
(with ID.#) then gives his answer. The teacher writes the answers
on the blackboard (RAM on master cards). When someone (user’s
AP) wants to know the students’ answers, he refers to the blackboard. All input information are saved in the memory.
These two procedures take turn and repeat on every slave module. After each cycle, each slave module sets its newest output
status and the master gathers all these information from the memory. We simulate the polling communication cycle through a
teacher-student conversation:
Teacher: Student No. 1, your output vales are ##, what’s your latest input status?
Student No. 1: My input status is ##
Teacher writes the answer on the blackboard.
Teacher: Student No. 2, your output vales are ##, what’s your latest input status?
Student No. 2: My input status is ##
Teacher writes the answer on the blackboard.
Until…
Teacher: Student No. 63, your output vales are ##, what’s your latest input status?
Student No. 63: My input status is ##
Teacher writes the answer on the blackboard.
The polling cycle is now complete. The process repeats from Student No. 1.)
16Introducing HSL
Figure 1-8: HSL I/O polling cycle
Introducing HSL 17
Loading...
+ 107 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.