Successful application of this module requires a reasonable working knowledge of the Schneider Electric
Quantum hardware, the PTQ-101M Module and the application in which the combination is to be used. For
this reason, it is important that those responsible for implementation satisfy themselves that the combination
will meet the needs of the application without exposing personnel or equipment to unsafe or inappropriate
working conditions.
This manual is provided to assist the user. Every attempt has been made to ensure that the information
provided is accurate and a true reflection of the product's installation requirements. In order to ensure a
complete understanding of the operation of the product, the user should read all applicable Schneider
Electric documentation on the operation of the Schneider Electric hardware.
Under no conditions will ProSoft Technology be responsible or liable for indirect or consequential damages
resulting from the use or application of the product.
Reproduction of the contents of this manual, in whole or in part, without written permission from ProSoft
Technology is prohibited.
Information in this manual is subject to change without notice and does not represent a commitment on the
part of ProSoft Technology Improvements and/or changes in this manual or the product may be made at any
time. These changes will be made periodically to correct technical inaccuracies or typographical errors.
PTQ Installation and Operating Instructions
The statement "power, input and output (I/O) wiring must be in accordance with Class I,
Division 2 wiring methods Article 501-10(b) of the National Electrical Code, NFPA 70 for
installations in the U.S., or as specified in section 18-1J2 of the Canadian Electrical
Code for installations within Canada and in accordance with the authority having
jurisdiction".
The following or equivalent warnings shall be included:
A Warning - Explosion Hazard - Substitution of components may Impair Suitability for
Class I, Division 2;
B Warning - Explosion Hazard - When in Hazardous Locations, Turn off Power before
replacing Wiring Modules, and
C Warning - Explosion Hazard - Do not Disconnect Equipment unless Power has been
switched Off or the Area is known to be Nonhazardous.
D Caution: The Cell used in this Device may Present a Fire or Chemical Burn Hazard if
Mistreated. Do not Disassemble, Heat above 100°C (212°F) or Incinerate.
Important Notice:
CAUTION: THE CELL USED IN THIS DEVICE MAY PRESENT A FIRE
OR CHEMICAL BURN HAZARD IF MISTREATED. DO NOT
DISASSEMBLE, HEAT ABOVE 100°C (212°F) OR INCINERATE.
Maximum battery load = 200 µA.
Maximum battery charge voltage = 3.4 VDC.
Maximum battery charge current = 500 µA.
Maximum battery discharge current = 30 µA.
Your Feedback Please
We always want you to feel that you made the right decision to use our products. If you have suggestions,
comments, compliments or complaints about the product, documentation or support, please write or call us.
8.5.9 Additional Restrictions Relating To Software And Other Intellectual Property......................... 176
8.5.10 Allocation of risks..................................................................................................................... 176
8.5.11 Controlling Law and Severability ............................................................................................. 177
INDEX ..................................................................................................................................................179
ProSoft Technology, Inc. Page 7 of 181
May 14, 2008
Contents PTQ-101M ♦ Quantum Platform IEC 60870-5-101 Master Communication Module
Page 8 of 181 ProSoft Technology, Inc.
May 14, 2008
Start Here PTQ-101M ♦ Quantum Platform
IEC 60870-5-101 Master Communication Module
Guide to the PTQ-101M User Manual
Function Section to Read Details
Introduction
(Must Do)
Verify Communication,
Diagnostic and
Troubleshooting
This Section introduces the customer to the
module. Included are: package contents,
system requirements, hardware installation,
and basic configuration.
This section describes how to verify
communications with the network. Diagnostic
and Troubleshooting procedures.
These sections contain general references
associated with this product, Specifications,
and the Functional Overview.
This section contains Support, Service and
Warranty information.
Index of chapters.
ProSoft Technology, Inc. Page 9 of 181
May 14, 2008
PTQ-101M ♦ Quantum Platform Start Here
IEC 60870-5-101 Master Communication Module
Page 10 of 181 ProSoft Technology, Inc.
May 14, 2008
Start Here PTQ-101M ♦ Quantum Platform
IEC 60870-5-101 Master Communication Module
1 Start Here
In This Chapter
Hardware and Software Requirements .................................................11
This guide is intended to guide you through the ProTalk module setup process,
from removing the module from the box to exchanging data with the processor. In
doing this, you will learn how to:
Set up the processor environment for the PTQ module
View how the PTQ module exchanges data with the processor
Edit and download configuration files from your PC to the PTQ module
Monitor the operation of the PTQ module
1.1 Hardware and Software Requirements
1.1.1 ProTalk Module Carton Contents
ProTalk Module Null Modem Serial Cable
ProSoft Technology, Inc. Page 11 of 181
May 14, 2008
PTQ-101M ♦ Quantum Platform Start Here
IEC 60870-5-101 Master Communication Module
Note: The DB-9 Female to 5 Pos Screw Terminal adapter is not required on Ethernet modules and
is therefore not included in the carton with these typ es of modules.
1.1.2 Quantum / Unity Hardware
This guide assumes that you are familiar with the installation and setup of the
Quantum / Unity hardware. The following should be installed, configured and
powered up before proceeding:
Quantum or Unity Processor
Quantum rack
Quantum power supply
Quantum Modbus Plus Network Option Module (NOM Module) (optional)
Quantum to PC programming hardware
NOM Ethernet or Serial connection to PC
1.1.3 PC and PC Software
Windows-based PC with at least one COM port
Quantum programming software installed on machine
or
Concept™ PLC Programming Software version 2.6
or
ProWORX PLC Programming Software
or
UnityPro XL PLC Programming Software
HyperTerminal (used in this guide) This is a communication program that is
included with Microsoft Windows. You can normally find it in Start / Programs / accessories / Communications.
Note: ProTalk modules are compatible with common Quantum / Unity programming applications,
including Concept and UnityPro XL. For all other programming applications, please contact
technical support.
Page 12 of 181 ProSoft Technology, Inc.
May 14, 2008
Configuring the Processor with Concept PTQ-101M ♦ Quantum Platform
IEC 60870-5-101 Master Communication Module
2 Configuring the Processor with Concept
In This Chapter
Information for Concept Version 2.6 Users............................................ 14
Create a New Project ............................................................................15
Add the PTQ Module to the Project .......................................................18
Set up Data Memory in Project.............................................................. 20
How to Set up and Use the Sample Function Block for Concept...........23
Download the Project to the Processor .................................................36
The following steps are designed to ensure that the processor is able to transfer
data successfully with the PTQ module. As part of this procedure, you will use
Concept configuration software from Schneider Electric to create a project, add
the PTQ module to the project, set up data memory for the project, and then
download the project to the processor.
Important Note: Concept software does not report whether the PTQ module is present in the rack,
and therefore is not able to report the health status of the module when the module is online with
the Quantum processor. Please take this into account when monitoring the status of the PTQ
module.
ProSoft Technology, Inc. Page 13 of 181
May 14, 2008
PTQ-101M ♦ Quantum Platform Configuring the Processor with Concept
IEC 60870-5-101 Master Communication Module
2.1 Information for Concept Version 2.6 Users
This guide uses Concept PLC Programming Software version 2.6 to configure
the Quantum PLC. The ProTalk installation CD includes MDC module
configuration files that help document the PTQ installation. Although not required,
these files should be installed before proceeding to the next section.
2.1.1 Installing MDC Configuration Files
1 From a PC with Concept 2.6 installed, choose Start / Programs / Concept /
ModConnect Tool.
This action opens the Concept Module Installation dialog box.
2 Choose File / Open Installation File.
This action opens the Open Installation File dialog box:
3 If you are using a Quantum processor, you will need the MDC files. In the
Open Installation File dialog box, navigate to the MDC Files directory on the
ProTalk CD.
4 Choose the MDC file and help file for your version of Concept:
o Concept 2.6 users: select PTQ_2_60.mdc and PTQMDC.hlp
o Concept 2.5 users: select PTQ_2_50.mdc and PTQMDC.hlp.
Select the files that go with the Concept version you are using, and then click
OK. This action opens the add New Modules dialog box.
Page 14 of 181 ProSoft Technology, Inc.
May 14, 2008
Configuring the Processor with Concept PTQ-101M ♦ Quantum Platform
IEC 60870-5-101 Master Communication Module
5 Click the add all button. A series of message boxes may appear during this
process. Click Yes or OK for each message that appears.
6 When the process is complete, open the File menu and choose Exit to save
your changes.
2.2 Create a New Project
This phase of the setup procedure must be performed on a computer that has
the Concept configuration software installed.
1 From your computer, choose Start / Programs / Concept V2.6 XL.EN /
Concept. This action opens the Concept window.
2 Open the File menu, and then choose New Project. This action opens the
PLC Configuration dialog box.
ProSoft Technology, Inc. Page 15 of 181
May 14, 2008
PTQ-101M ♦ Quantum Platform Configuring the Processor with Concept
IEC 60870-5-101 Master Communication Module
3 In the list of options on the left side of this dialog box, double-click the PLC
Selection folder. This action opens the PLC Selection dialog box.
4 In the CPU/Executive pane, use the scroll bar to locate and select the PLC to
configure.
Page 16 of 181 ProSoft Technology, Inc.
May 14, 2008
Configuring the Processor with Concept PTQ-101M ♦ Quantum Platform
IEC 60870-5-101 Master Communication Module
5 Click OK. This action opens the PLC Configuration dialog box, populated with
the correct values for the PLC you selected.
6 Make a note of the holding registers for the module. You will need this
information when you modify your application as outlined in the ProTalk
application Reference Guides. The Holding Registers are displayed in the
PLC Memory Partition pane of the PLC Configuration dialog box.
ProSoft Technology, Inc. Page 17 of 181
May 14, 2008
PTQ-101M ♦ Quantum Platform Configuring the Processor with Concept
IEC 60870-5-101 Master Communication Module
2.3 Add the PTQ Module to the Project
The next step is to add one or more of the PTQ modules to the Project. To add
modules:
1 In the list of options on the left side of the PLC Configuration dialog box,
double-click I/O Map. This action opens the I/O Map dialog box.
2 Click the Edit button to open the Local Quantum Drop dialog box. This dialog
box is where you identify rack and slot locations.
Page 18 of 181 ProSoft Technology, Inc.
May 14, 2008
Configuring the Processor with Concept PTQ-101M ♦ Quantum Platform
IEC 60870-5-101 Master Communication Module
3 Click the Module button next to the rack/slot position where the ProTalk
module will be installed. This action opens the I/O Module Selection dialog
box.
4 In the Modules pane, use the scroll bar to locate and select the ProTalk
module, and then click OK. This action copies the description of the ProTalk
module next to the assigned rack and slot number of the Local Quantum
Drop dialog box.
ProSoft Technology, Inc. Page 19 of 181
May 14, 2008
PTQ-101M ♦ Quantum Platform Configuring the Processor with Concept
IEC 60870-5-101 Master Communication Module
5 Repeat steps 3 through 5 for each ProTalk module you plan to install. When
you have finished installing your ProTalk modules, click OK to save your
settings. Click Yes to confirm your settings.
Tip: Select a module, and then click the Help on Module button for help pages.
2.4 Set up Data Memory in Project
1 In the list of options on the left side of the PLC Configuration dialog box,
double-click Specials.
Page 20 of 181 ProSoft Technology, Inc.
May 14, 2008
Configuring the Processor with Concept PTQ-101M ♦ Quantum Platform
IEC 60870-5-101 Master Communication Module
2 This action opens the Specials dialog box.
Selecting the Time of Day
1 Select (check) the Time of Day box, and then enter the value 00001 as
shown in the following example. This value sets the first time of day register
to 400001.
2 Click OK to save your settings and close the Specials dialog box.
ProSoft Technology, Inc. Page 21 of 181
May 14, 2008
PTQ-101M ♦ Quantum Platform Configuring the Processor with Concept
IEC 60870-5-101 Master Communication Module
Saving your project
1 In the PLC Configuration dialog box, choose File / Save project as.
2 This action opens the Save Project as dialog box.
3 Name the project, and then click OK to save the project to a file.
Page 22 of 181 ProSoft Technology, Inc.
May 14, 2008
Configuring the Processor with Concept PTQ-101M ♦ Quantum Platform
IEC 60870-5-101 Master Communication Module
2.5 How to Set up and Use the Sample Function Block for Concept
2.5.1 EVENTFB Function Block Overview
The purpose of the EVENTFB sample function block is to transfer the events into
a buffer that consists of an array of elements that stores all data in a convenient
format for the user. The block 9903 passes data into a compacted format thus
occupying the minimum amount of registers. For example, the block 9903
originally reserves the same register for Hour and Minute (one byte for each
value), so the user application would need to extract each value. The EVENTFB
sample function block already extracts each event value into a separate register.
The following illustration shows the structure of each element of the buffer
(extracted from the data type definition file).
TYPE EVENT101:
STRUCT
Session : WORD; (* Session configured for this Master *)
Sector : WORD; (* Sector configured for this session *)
COT : WORD; (* Cause of transmission of the event message *)
Reserved : WORD; (* Reserved*)
PointIndex : ARRAY[0..1] OF WORD; (* This is the point index in remote device
that generated the event*)
ASDU : WORD; (* ASDU Type *)
Milliseconds: UINT; (* Timestamp - milliseconds *)
Seconds: UINT; (* Timestamp - Seconds *
Minutes: BYTE; (* Timestamp - minutes and hours *)
Hours: BYTE (* Timestamp - minutes and hours *)
Month : BYTE; (* This contains the month of the event occurred*)
Day : BYTE; (* This contains the day of the Event occurred*)
Year: WORD ; (* This contains the year the event occurred *)
Qualifier: WORD; (* Point qualifier, quality/sequence value see protocol
specification*)
Value: ARRAY[0..1] OF WORD; (* Data value - data size depends on ASDU type
*)
END_STRUCT;
END_TYPE
The data structure that stores the incoming events consists on a circular buffer
that can store up to 199 events. So the buffer consists on an array of 199
"EVENT101" elements presented previously. The element index can vary from 0
to 199. If the last event updated was located at index 199 then the next event will
be copied to index 0.
The following illustration shows an instance example of the EVENTFB function
block.
ProSoft Technology, Inc. Page 23 of 181
May 14, 2008
PTQ-101M ♦ Quantum Platform Configuring the Processor with Concept
IEC 60870-5-101 Master Communication Module
The EVENTFB function block contains the following PINs.
PIN PIN Type Data Type Description
Instat input WORD64
ResetEP input/output INT
Events Output EVENTSTRUCT
BlkCount Input/Output INT
LstPoint Input/Output INT
ExtCmd Input WORD
OutCntrl Output WORD64
EventQue Output WORD
EvntOvfl Output WORD
Stores the memory area updated by block 9903.
The start address must point to the same start
address defined for block 9903 backplane data
exchange (Point Address parameter).
Move a value of one to reset the event pointer.
This will cause the next event to be written to
index 0 at the circular buffer. The register will be
automatically reset to zero after the request was
processed. This register should be only used for
very specific applications (because the circular
buffer automatically changes the element pointer
from 199 to 0 after the maximum index was
reached)
Circular buffer that stores all received events in
a convenient format for the user application. It
can store up to 200 events (index varies from 0
to 199). After event 199 is updated the next
event to be received will be automatically
updated at index 0.
Incremented after a block is received (and after
the events in that block have been read into the
circular buffer). The maximum value for this
counter is 1000 (then it is automatically reset to
0)
Pointer to the last event index read from the
module. For example, if last event was updated
at index 5 then this value will have the same
value.
This external command is used so user can
issue different commands while the module
receiving events.
Stores data to be sent from the processor to the
module the start address it should match what
you configured your backplane exchange to
start.
Indicates how many events are in the queue to
be read.
This will be set to yes (1) if the overflow flag is
set due to 199 events in the queue waiting to be
read.
Before You Begin
1 Make sure that your computer has the Concept Programming Unit installed.
2 The PTQ-101M firmware revision must support the event pass-thru
functionality. This feature is available for version 1.12 or later. Refer to the "V"
menu for the SOFTWARE REVISION LEVEL (page 97) value at the debug
menu of the PTQ-101M module.
3 Using Windows Explorer create a folder for your Concept project with a
"DFB" subfolder. This procedure will consider as an example the folder
C:\PROJECT\DFB, where:
oC:\PROJECT- will store the main Concept project (.PRJ)
Page 24 of 181 ProSoft Technology, Inc.
May 14, 2008
Configuring the Processor with Concept PTQ-101M ♦ Quantum Platform
IEC 60870-5-101 Master Communication Module
oC:\PROJECT\DFB - will store the data type definition file (PTQ-
101M.DTY) and the function block that will be presented later at this
document.
4 Refer to the CD-ROM or to the web site for the
PTQ101MConcept_Block9903.zip file and extract the following files:
o EVENTFB.asc (function block)
o PTQ-101M.DTY (data type definition)
Use Windows Explorer to move these files to C:\PROJECT\DFB as shown in
the following illustration.
Convert the EVENTFB Function Block
1 Start the Concept v2.6 XL EN - Concept Converter as shown in the following
illustration.
ProSoft Technology, Inc. Page 25 of 181
May 14, 2008
PTQ-101M ♦ Quantum Platform Configuring the Processor with Concept
IEC 60870-5-101 Master Communication Module
2 When the Concept Converter windows is displayed, open the File menu, and
then choose Import
3 Select the EVENTFB.asc file located at C:\PROJECT\DFB as shown in the
following illustration.
4 When the importing procedure is completed you will observe the following
confirmation screen:
Page 26 of 181 ProSoft Technology, Inc.
May 14, 2008
Configuring the Processor with Concept PTQ-101M ♦ Quantum Platform
IEC 60870-5-101 Master Communication Module
5 Close the Concept Converter tool. Now you can refer to C:\PROJECT\DFB to
check that the function block (.DFB) was exported and is ready to be used.
Setup the Concept Project
1 Start the Concept software as shown in the following illustration...
ProSoft Technology, Inc. Page 27 of 181
May 14, 2008
PTQ-101M ♦ Quantum Platform Configuring the Processor with Concept
IEC 60870-5-101 Master Communication Module
2 Create a new project and save it at the C:\PROJECT folder. For this example
we will consider the project name as PTQPROJ.
3 At PLC Memory Partition make sure that the processor memory range is
configured large enough for the PTQ-101M backplane usage.
4 On the File menu, choose Close Project. Open the File menu again and then
choose Open to open the PTQPROJ file again. This step allows the Concept
application to recognize the new data types defined at the PTQ-101M.DTY
file.
Page 28 of 181 ProSoft Technology, Inc.
May 14, 2008
Configuring the Processor with Concept PTQ-101M ♦ Quantum Platform
IEC 60870-5-101 Master Communication Module
5 Select Project Browser. Select Project: PTQPROJ and click the right mouse
button to open a shortcut menu. On the shortcut menu, choose New Section
6 Select FBD. The procedure will refer to this section as MAINPTQ. Click OK
ProSoft Technology, Inc. Page 29 of 181
May 14, 2008
PTQ-101M ♦ Quantum Platform Configuring the Processor with Concept
IEC 60870-5-101 Master Communication Module
7 Double-Click the section to display the FBD section:
8 Select Objects-FFB Selection…
9 Click the DFB button and select the EVENTFB function block shown in the
following illustration... Then close the window.
Page 30 of 181 ProSoft Technology, Inc.
May 14, 2008
Loading...
+ 151 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.