This manual explains how to use the QX OCS Modules.
Copyright (C) 2006 Horner APG, LLC., 59 South State Avenue, Indianapolis, Indiana 46201. All rights
reserved. No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval
system, or translated into any language or computer language, in any form by any means, electronic,
mechanical, magnetic, optical, chemical, manual or otherwise, without the prior agreement and written
permission of Horner APG, Inc.
All software described in this document or media is also copyrighted material subject to the terms and
conditions of the Horner Software License Agreement.
Information in this document is subject to change without notice and does not represent a commitment on
the part of Horner APG.
Cscape, SmartStack, SmartStix and CsCAN are trademarks of Horner APG.
Ethernet is a trademark of Xerox Corporation.
Micro SD and CompactFlash are registered trademarks of SanDisk Corporation.
For user manual updates, contact Technical Support:
Horner APG,LLC. ("HE-APG") warrants to the original purchaser that the QX OCS
APG is free from defects in material and workmanship under normal use an d service. The obligation of HE-APG
under this warranty shall be limited to the repair or exchange of a ny part or parts which may prove defective under
normal use and service within two (2) years from the date of manufacture or eighteen (18) months from the date of
installation by the original purchaser whichever occurs first, such defect to be disc losed t o the satisfaction of HE-APG
after examination by HE-APG of the allegedly defective part or parts. THIS WARRANTY IS EXPRESS LY IN LIEU
OF ALL OTHER WARRANTIES EXPRESSED OR IMPLIED INCLUDING THE WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR USE AND OF ALL OTHER OBLIGATIONS OR LIABILITIES AND HEAPG NEITHER ASSUMES, NOR AUTHORIZES ANY OTHER PERSON TO ASSUME FOR HE-APG, ANY OTHER
LIABILITY IN CONNECTION WITH THE SALE OF THIS QX OCS module. THIS WARRANTY SHALL NOT APPLY
TO THIS QX OCS
NEGLIGENCE, ALTERATION, ABUSE, OR MISUSE. HE-APG MAKES NO WARRANTY WHATSOEVER IN
RESPECT TO ACCESSORIES OR PARTS NOT SUPPLIED BY HE-APG. THE TERM "ORIGINAL PURCHASER",
AS USED IN THIS WARRANTY, SHALL BE DEEMED TO MEAN THAT PERSON FOR WHOM THE QX OCS
module
THE CONTINENTAL UNITED STATES.
In no event, whether as a result of breach of contract, warranty, tort (including negligence) or otherwise, shal l HE-
APG or its suppliers be liable of any special, consequential, incidental or penal damages inclu ding, but not limited to,
loss of profit or revenues, loss of use of the products or any associated equipment, damage to associated equipm ent,
cost of capital, cost of substitute products, facilities, services or replacement power, down time costs, or claims of
original purchaser's customers for such damages.
To obtain warranty service, return the product to your distributor with a description of the problem, proof of
purchase, post paid, insured and in a suitable package.
IS ORIGINALLY INSTALLED. THIS WARRANTY SHALL APPLY ONLY WITHIN THE BOUNDARIES OF
module OR ANY PART THEREOF WHICH HAS BEEN SUBJECT TO ACCIDENT,
module manufactured by HE-
ABOUT PROGRAMMING EXAMPLES
Any example programs and program segments in t his manual or provided on accompanying diskettes are included
solely for illustrative purposes. Due to the many variables and requirements associated with any particular
installation, Horner APG cannot assume responsibility or liability for actual use based on the examples and diagr ams.
It is the sole responsibility of the system designer utilizing the QX OCS
system, to appropriately integrate the QX OCS module and to make safety provisions for the end equipment as is
usual and customary in industrial applications as defined in an y codes or standards which apply.
module to appropriately design the end
Note: The programming examples shown in this manual are for illustrative
purposes only. Proper machine operation is the sole responsibility of the
system integrator.
August 20, 2009 Page 4 of 95 ECN # 979
MAN0798-04-EN PREFACE
Table of Contents
VISUAL MAP OF MAJOR TASKS AND THE KEY CHAPTERS TO ASSIST YOU...................................
8.3 I/O Port .........................................................................................................................................36
16.5 Technical Support Contacts......................................................................................................92
INDEX .........................................................................................................................................................93
TABLE OF FIGURES.................................................................................................................................95
August 20, 2009 Page 7 of 95 ECN # 979
PREFACE MAN0798-04-EN
VISUAL MAP OF MAJOR TASKS AND THE KEY CHAPTERS TO ASSIST YOU
The following map is provided to show you the major types of tasks needed to be performed and the key
chapters in this manual you need to refer to for information and help.
Directions: Major tasks are listed at the top of the map with the key chapters listed beneath that you
need to consult in order to perform the tasks.
FIRST STEP of ANY TASK: DATASHEET
Each QX and BP unit is sent with a datasheet in the box. The datasheet is the first
need to refer to for model-specific information related to QX and Back Pack models such as pinouts, jumper settings, and other key installation information. Visit our website (see page
obtain updates to datasheets and user documentation.
When found on the product, the following symbols specify:
WARNING: To avoid the risk of electric shock or burns, always connect the safety (or earth)
ground before making any other connections.
WARNING: To reduce the risk of fire, electrical shock, or physical injury it is strongl
recommended to fuse the voltage measurement inputs. Be sure to locate fuses as close to the
source as possible.
WARNING: Replace fuse with the same type and rating to provide protection against risk o
fire and shock hazards.
WARNING: In the event of repeated failure, do not replace the fuse again as a repeated failure
indicates a defective condition that will not
WARNING: Only qualified electrical personnel familiar with the construction and operation o
this equipment and the hazards involved should install, adjust, operate, or service this
equipment. Read and understand this manual and other applicable manuals in their entirety
before proceeding. Failure to observe this precaution could result in severe bodily injury o
loss of life.
• All applicable codes and standards need to be followed in the installation of this product.
• For I/O wiring (discrete), use the following wire type or equivalent: Belden 9918, 18 AWG or
Adhere to the following safety precautions whenever any type of connection is made to the module.
• Connect the green safety (earth) ground first before making any other connections.
• When connecting to electric circuits or pulse-initiating equipment, open their related breakers. Do
• Make connections to the module first; then connect to the circuit to be monitored.
• Route power wires in a safe manner in accordance with good practice and local codes.
• Wear proper personal protective equipment including safety glasses and insulated gloves when
• Ensure hands, shoes, and floor are dry before making any connection to a power line.
• Make sure the unit is turned OFF before making connection to terminals. Make sure all circuits
• Before each use, inspect all cables for breaks or cracks in the insulation. Replace immediately if
Warning: Consult user documentation.
clear by replacing the fuse.
larger.
make connections to live power lines.
not
making connections to power circuits.
are de-energized before making connections.
defective.
Warning: Electrical Shock Hazard.
August 20, 2009 Page 9 of 95 ECN # 979
CH.1 MAN0798-04-EN
1.2 Grounding
Grounding is covered in various chapters within this manual.
For grounding specifications and testing for a good ground, refer to page
For panel grounding, refer to page
19.
21.
1.3 CE Compliance
To check for compliance and updates, visit our website at:
The QX OCS provides flexible options allowing you to choose the functionality you need. A QX Base can
be used alone or it can be used with a Back Pack I/O Interface (BP) and/or a Video Capture Option board
Note: After September 2006, the QXxxx base models are loaded with Back Pack capable firmware. For
QX models without preloaded Back Pack firmware, use QXxxx-16 models. See
Optional interface that adds comprehensive
Back Pack Options (BP)
I/O functionality to the QX.
The VIM400 provides capabilities such as integrating security,
viewing machinery in remote locations, and incorporating a
Video Capture Option (HE500VIM400)
machine vision monitor within the control system.
QX Base
Unit
Figure 2-1 – Visual Overview of QX, Back Pack, and VIM400
Table 2.1.
Table 2.1 – QX / BP Product Features
Loaded with
QX Base Model
HE-QX451*
HE-QX451-16
HE-QX551*
HE-QX551-16
HE-QX651*
HE-QX651-16
*Note: After September 2006, the QXxxx base models are loaded with Back Pac k capable firmware.
For QX models without preloaded Back Pack firmware, use QXxxx-16 models.
HE-BP41
HE-BP43
August 20, 2009 Page 11 of 95 ECN # 979
Back Pack
Capable
Firmware
Yes
No
Yes
No
Yes
No
Optional Back Pack (BP) Features
FOX, CsCAN, Up to 2 Plastic SmartStack Modules (for additional I/O)
FOX, CsCAN, Up to 4 Plastic SmartStack Modules (for additional I/O), High Speed
I/O (HSC / PWM)
Network Screen Type
8.4” TFT SVGA
with 32,768 colors
On-Board
Ethernet
100BaseT
10.4” TFT SVGA
with 32,768 colors
12.1” TFT SVGA
with 32,768 colors
Standard QX
Features
CompactFlash
3 Serial Ports
Ethernet
CH.2 MAN0798-04-EN
Continued Other Products Commonly Used with Color QX (Back Pack Options Required)
HE500VIM400
Plastic SmartStack
Modules
Fiber Optic Extension
System
(FOX12 / 30,
FOX104 / 404)
SmartStix Modules Is a family of remote I/O products for the QX.
Allows four channels of NTSC or PAL video to be connected to a QX.
Requires Cscape Software.
Provide a wide variety of I/O options for the QX. Require little space and are easy to
install.
Extends a high-speed QX backplane enabling SmartStack I/O Modules to be
mounted several meters from the QX. The FOX, also, significantly increases the
number of SmartStack I/O modules supported by one QX.
2.1.1 Where to Find Information about the QX, Back Pack (BP), and Video Capture Option (VIM400)
a. Datasheets - The datasheets are the first documents you need to refer to for key information
related to specific modes. (A datasheet is provided in the box with your unit.)
The QX and Back Pack models share a common datasheet (MAN0797), and they are also available
individually on the web.
A separate datasheet (MAN0583) for the Video Capture Option (Part# HE500VIM400) can be
downloaded from our website if you choose to use this option.
b. User Manual - This manual provides general information that is common to QX and Back Pack
models, and the Video Capture Option. Visit our website (see page
92) to obtain user documentation and
updates.
Four main types of information are covered in the manual.
Safety and Installation guidelines / instructions (Mechanical and Electrical)
Descriptions of hardware features
Configuration and Use
Maintenance and Support
August 20, 2009 Page 12 of 95 ECN # 979
MAN0798-04-EN CH. 2
2.2 Connectivity to the QX
The QX has tremendous capabilities for connecting to a variety of devices. In some cases, the use of a
BP or VIM400 is required. The diagram below shows some examples of devices that can be used with
the QX.
Other OCS Devices
Smart Stix I/O
RCS116 I/O Base
OPC Server
Sensors
Indicators
Alarms
Encoders
Pumps
Relays
Solenoids
CAN
Serial
QX
I/O
(BP
Required)
Be sure that the proper BP option is used to
ensure desired I/O functionality.
Note: After September 2006, the QXxxx base
models are loaded with Back Pack capable
firmware. QX without
firmware is designated as QXxxx-16.
preloaded Back Pack
Video Input
(VIM400
Required)
Other OCS Devices
Drives
PLCs
Bar Code Readers
Printers
SCADA
OPC Servers
Serial I/O
Monitor and
Capture
Video
Figure 2-2 – Visual Overview of Types of Devices that can be Connected to QX
2.3 Detailed Product Descriptions
2.3.1 QX Base
a. Features
The QX combines several desirable functions in one compact package. Each unit is a highly integrated
operator interface and controller with expandable I/O and networking capabilities have standard features
consisting of the following:
• Color Touch, resistive screen (TFT) in a variety of display sizes
• 24 VDC powered
• RS-232 / RS-485 Serial Ports
• Integrated Bezel
• Real-Time Clock
• Flash Memory
• Removable Media memory for easy field upgrades
• System Key and Configurable Function Keys
• Ethernet (10/100 MHz)
• Back Pack Expansion Connectors
• Video Monitor Connectors
August 20, 2009 Page 13 of 95 ECN # 979
CH.2 MAN0798-04-EN
b. CsCAN Network
When used with a Back Pack option, the QX has the feature of CsCAN peer-to-peer networking. (CsCAN
is pronounced “see-scan”). CAN-based network hardware is used in the controllers because of CAN’s
automatic error detection, ease of configuration, low-cost of design and implementation and ability to
operate in harsh environments. Networking abilities are built-in to the QX and require no external or
additional modules.
Figure 2-3 – Pass Through Function (Available in CsCAN Networks Only)
The QX features the ability to pass through programming commands. When attached to an QX serial
port, a programming package (i.e., Cscape) can access other QX units or any other QX/RCS unit
connected to a CsCAN network by passing the programming command through the serial port to the
network port. One Cscape package (connected to one QX unit) can program all QX or other QX/RCS
units on the CsCAN network. When several QX models are networked together to achieve a specific
purpose, the system acts like a large parallel-processing controller.
c. Cscape Software
QX hardware is programmed with a Windows-based PC application called Cscape (HE500OSW232).
Cscape (pronounced “see-scape”) stands for Control Station Central Application Programming Environment. Provided there is one serial connection to one node on the network (i.e., CsCAN
Network), the operator has control over the entire system. The operator can upload, download, monitor
and debug to any node on the network.
This application can be used to program, configure, monitor and debug all aspects of the QX unit. It is
used for programming QX OCS ladder logic, programming user displays for the QX OCS, configuring the
network for global digital and analog data, setting system-wide security and monitoring controllers in the
system.
2.3.2 Back Pack I/O Interface (BP41, BP43)
The Back Pack I/O Interface ( BP) adds comprehensive I/O functionality to the QX. The BP uses a
Optic Extension System (FOX) to extend a high-speed QX backplane in a CsCAN network and enables
Fiber
SmartStack I/O Modules to be mounted several meters from the QX. The FOX significantly increases the
number of SmartStack I/O modules supported by one QX. Remote SmartStix I/O can also be used.
When using BP43, an additional High Speed I/O function is provided.
August 20, 2009 Page 14 of 95 ECN # 979
MAN0798-04-EN CH. 2
2.3.3 Video Capture Option (VIM400)
The Video Capture Option (VIM400) permits you to integrate security, view machinery in remote
locations, or incorporate a machine vision monitor with the control system. The VIM400 allows four
channels of NTSC or PAL video to be connected to a QX OCS.
By using the Video Object in Cscape software, video can be displayed on OCS screens in various sizes.
The Video Object allows viewing video in a window, freezing the video, saving a single frame of the video
to Compact Flash, or viewing the video full screen with the full frame rate. A separate control register
allows ladder code to optionally freeze or save video snap-shots based on the machine’s state.
2.4 Product Specifications (QX and Back Pack)
Product Specifications are covered in the datasheet sent with the product in the box.
2.5 Required and Suggested Accessories
The following list contains a sampling of required and suggested QX accessories. Visit our website (see
92) to view updates on new products and accessories.
page
Note: The QX is not
shipped with a programming cable in the box. To obtain a programming
The following information serves as a general listing of Horner controller products and other references of
interest with their corresponding manuals numbers. Visit our website (see page
92) to obtain user
documentation and updates.
The following information serves as a general listing of Horner controller products and other references of
interest and their corresponding manuals numbers. Visit our website listed in the Technical Support
section to obtain user documentation and updates.
Table 2.3 – Additional References
Note: This list is not intended for users to determine which products are appropriate for their application; controller products differ in the features that they support. If assistance is required, see the Technical
Support section in this document.
Controller Manual Number
XLe/t Series (e.g., HE-XExxx) MAN0878
QX Series (e.g., HE-QXxxx) MAN0798
NX Series (e.g., HE-NXxxx) MAN0781
LX Series (e.g., LX-xxx; also covers RCS116) MAN0755
Color Touch OCS (e.g., OCSxxx) MAN0465
OCS (Operator Control Station) (e.g., OCS1xx / 2xx; Graphic OCS250)
Remote Control Station (e.g., RCS2x0)
MiniOCS (e.g., HE500OCSxxx, HE500RCSxxx) MAN0305
MAN0227
Other Useful References
CAN Networks MAN0799
Cscape Programming and Reference MAN0313
Wiring Accessories and Spare Parts Manual MAN0347
August 20, 2009 Page 16 of 95 ECN # 979
MAN0798-04-ENCH.3
CHAPTER 3: MECHANICAL INSTALLATION
3.1 Initial Mechanical Installation
Note: Prior to mounting, observe requirements for the panel layout design and adequate clearances on
18.
page
Initially, it is important to refer to the data sheet sent with the product in the box.
The datasheet covers model-specific informationrelated to QX and Back Pack models such as:
a. Panel cut-outs
b. Dimensions
c. Installation Procedures
Visit our website (see page
The mechanical installation greatly affects the operation, safety and appearance of the system.
Information is provided to mechanically install the unit such as mounting procedures and other
recommendations for the proper mechanical installation of the unit.
Front View of QX in Panel Door
92) to obtain updates to datasheets and user documentation.
001OCS001
Back View of QX
(QX Base Shown in Panel Box Door and FOX
Shown in Panel Box – No Back Pack Attached)
Figure 3-1 – QX Front and Back Views
001OCS002
August 20, 2009 Page 17 of 95 ECN # 979
CH. 3 MAN0798-04-EN
3.2. Mounting Orientation
001OCS001
NOTE:
There are NO orientation restrictions on the QX. However, the above orientation provides for optimum
readability of the screen and ease of use of the keypad.
Figure 3-2 – Orientation of QX
3.3 Factors Affecting Panel Layout Design and Clearances
Warning: It is important to follow the requirements of the panel manufacturer and to follow
applicable electrical codes and standards.
The designer of a panel layout needs to assess the requirements of a particular system and to consider
the following design factors. A convenient checklist is provided on page
20.
a. Clearance / Adequate Space
Install devices to allow sufficient clearance to open and close the panel door.
Table 3.1 – Minimum Clearance Requirements for Panel Box and Door
Minimum Distance between base of device and sides of
cabinet
2 inches (50.80mm)
Minimum Distance between base of device and wiring ducts 1.5 inches (38.10mm)
If more than one device installed in panel box (or on door):
Minimum Distance between bases of each device
4 inches between bases of each
device (101.60mm)
When door is closed:
Minimum distance between device and closed door
(Be sure to allow enough depth for QX / BP.)
2 inches (50.80mm)
August 20, 2009 Page 18 of 95 ECN # 979
MAN0798-04-ENCH.3
b. Grounding
Warning: Be sure to meet the ground requirements of the panel manufacturer and also meet
applicable electrical codes and standards.
Panel box
: The panel box needs to be properly connected to earth ground to provide a good common
ground reference.
Panel door
: Tie a low impedance ground strap between the panel box and the panel door to ensure that
they have the same ground reference.
c. Temperature / Ventilation
Ensure that the panel layout design allows for adequate ventilation and maintains the specified ambient
temperature range. Consider the impact on the design of the panel layout if operating at the extreme
ends of the ambient temperature range. For example, if it is determined that a cooling device is required,
allow adequate space and clearances for the device in the panel box or on the p anel door.
d. Orientation
When panel-mounted, there are no orientation restrictions on the QX / BP. However, the orientation
shown in
Figure 3-2 provides for optimum readability of the screen and ease of use of the keypad.
e. Noise
Consider the impact on the panel layout design and clearance requirements if noise suppression devices
are needed. Be sure to maintain an adequate distance between the QX / BP and noisy devices such as
relays, motor starters, etc.
f. Shock and Vibration
The QX / BP have been designed to operate in typical industrial environments that can inflict some shock
and vibration on the unit. For applications that can inflict excessive shock and vibration, use proper
dampening techniques or relocate the QX / BP to a location that minimizes shock and / or vibration.
August 20, 2009 Page 19 of 95 ECN # 979
CH. 3 MAN0798-04-EN
3.3.1 Panel Layout Design and Clearance Checklist:
The following list provides highlights of panel layout design factors.
____Meets the electrical code and applicable standards for prope r grounding, etc.?
____Meets the panel manufacturer’s requirements for grounding, etc.?
____Is the panel box properly connected to earth ground? Is the panel door properly grounded? Has the
appropriate procedure been followed to properly ground the devices
in the panel box and on the
panel door?
____Are minimum clearance requirements met? (See Table 3.1.) Can the panel door be easily opened
and closed? Is there adequate space between device bases as well as the sides of the panel and
wiring ducts?
____Is the panel box deep enough to accommodate the QX / BP?
____Is there adequate ventilation? Is the ambient temperature range maintained? Are cooling or heating
devices required?
____Are noise suppression devices or isolation transformers required? Is there adequate distance
between the base of the QX / BP and noisy devices such as relays or motor starters? Ensure that
power and signal wires are not
routed in the same conduit.
____Are there other requirements that impact the particular system, which need to be considered?
August 20, 2009 Page 20 of 95 ECN # 979
MAN0798-04-EN CH. 4
CHAPTER 4: ELECTRICAL INSTALLATION
4.1 Initial Electrical Installation
Initially, it is important to refer to the data sheet sent with the product in the box.
The datasheet covers model-specific informationrelated to QX and Back Pack models such as:
a. Ports and Connectors
b. Wiring and Pin-outs
Visit our website (see page
4.2 Grounding Definition
Ground: The term Ground is defined as a conductive connection between a circuit or piece of
equipment and the earth. Grounds are fundamentally used to protect an application from harmful
interference causing either physical damage such as by lightning or voltage transients or from circuit
disruption often caused by radio frequency (RF) interference.
4.3 Ground Specifications
Ideally, a ground resistance measurement from equipment to earth ground is 0 ohms. In reality it typically
is higher. The U.S. National Electrical Code (NEC) states the resistance to ground shall not
ohms. Horner APG recommends less than 15 ohms resistance from our equipment to ground.
Resistance greater than 25 ohms can cause undesirable or harmful interference to the device.
4.4 How to Test for Good Ground
In order to test ground resistance, a Ground Resistance Tester must be used. A typical Ground
Resistance Meter Kit contains a meter, two or three wire leads, and two ground rods. Instructions are
supplied for either a two-point or three-point ground test.
connection test.
92) to obtain updates to datasheets and user documentation.
Figure 4-1 shows a two-point ground
GROUND RESISTANCE ME TER
GROUND
DISCONNECTED
FROM SERVICE
GROUND ROD
METAL WATER PIPE OR
OTHER GOOD GROUND
Figure 4-1 – Two-Point Ground Connection Test
exceed 25
August 20, 2009 Page 21 of 95 ECN # 979
CH. 4 MAN0798-04-EN
4.5 QX Primary Power Port
Table 4.1 – Primary Power Port Pins
Signal Pin Description
V+ Input power supply voltage
V- Input power supply ground
Frame Ground
Note: Power Supply Voltage Range is from 24VDC ±10%.
August 20, 2009 Page 22 of 95 ECN # 979
MAN0798-04-EN CH. 5
CHAPTER 5: CAN COMMUNICATIONS
Note: See the latest edition of Horner’s CAN Networks Manual (MAN0799) by referring to our website
92).
(page
5.1 Overview
QX models with either a BP41 or BP43 attached provide a CAN networking port, which is implemented
with a 5-pin connector, labeled CsCAN.
Like the MJ1 serial port, the CsCAN port can be used for QX BPxx programming by connecting it to the
CAN port of a PC running Cscape. The CsCAN port also allows the QX BPxx to exchange global data
with other OCS/RCS controllers and to access remote Network I/O devices (SmartStix Modules).
5.2 Port Description
The QX BPxx CsCAN port implements the ISO 11898-2 physical layer and the CAN 2.0A data link layer
standards. Also, since the CsCAN port is powered by an internal isolated power supply, external CAN
power is not required.
5.3 Wiring
This section shows how the CsCAN port pins are assigned.
Figure 5-1 – CsCAN Port Connector
Table 5.1 – CsCAN Port Pin Assignments
Pin Signal Signal Description Direction
1 V- CAN Ground
2 CN_L CAN Data Low In/Out
3 SHLD Shield Ground
4 CN_H CAN Data High In/Out
5 NC No Connect
Note: The V+ connection is
not
required on the QX BPxx.
The QX BPxx network port is
self-powered. However,
supporting devices can
require this connection, and
this pin can be used to land
the extra wire required for
those devices.
−
−
−
August 20, 2009 Page 23 of 95 ECN # 979
CH. 5 MAN0798-04-EN
5.4 Cscape Programming via CAN
The CsCAN port supports CsCAN Programming Protocol. If a PC has a CAN interface installed (via PCI
card or USB), and the PC CAN port is connected to the QX BPxx CsCAN port, Cscape can access the
QX BPxx for programming and monitoring.
In addition, the QX BPxx supports single-point-programming of all QX BPxx and other OCS/RCS devices
that are connected to a CAN network. If the PC COM port is connected to the QX BPxx MJ1 serial port
(see Error! Reference source not found.), the QX BPxx can act as a pass-through gateway allowing
Cscape to access all QX BPxx and OCS/RCS devices that are attached to the CAN network.
5.5 Ladder-Controlled CAN Communication
Using Put and Get Network Words function blocks, the CsCAN port can exchange digital and analog
global data with other QX BPxx or OCS/RCS devices (nodes) attached to the CAN network.
In addition, Put and Get Network Heartbeat function blocks allow nodes on the CAN network to regularly
announce their presence and to detect the presence (or absence) of other nodes on the network.
5.6 Using CAN for I/O Expansion (Network I/O)
Connecting Network I/O devices (SmartStix Modules) to the QX BPxx CsCAN port, allows the QX BPxx
I/O to be economically expanded and distributed. A variety of SmartStix Modules are available for this
purpose.
August 20, 2009 Page 24 of 95 ECN # 979
MAN0798-04-EN CH. 6
CHAPTER 6: COMPACTFLASH
6.1 General
Chapter Six provides an overview of the CompactFlash feature in QX OCS models and Cscape Software.
Note: For detailed information regarding Removable Media (RM) function blocks and parameters,
refer to the help file in Cscape Software.
6.2 Compact Flash Overview
All QX OCS models provide a slot for a CompactFlash memory card. The Removable Media manager is
a graphical object that allows viewing the filenames, size and dates of files and directories on a
CompactFlash card. The operator can optionally change directories, delete files and format a new flash
card. This object also supplies status information such as color change on card OK, card full and card
missing status. The file view includes total card capacity and remaining free space.
6.2.1 Accessing Files with an QX OCS
a. Insert a CompactFlash card into the QX OCS CompactFlash slot.
b. If not formatted, use the Removable Media Manager object to format the card.
c. The QX OCS ladder application program can read and write to the CompactFlash card. The file
is saved as a .csv file, which is compatible with several PC applications such as Excel.
6.2.2 Accessing Files with a PC
a.Insert or connect the CompactFlash memory card to the PC according to the manufacturer’s
instructions.
b.The PC typically sees the CompactFlash card as a removable storage device like a small solid-
state hard drive. Files can be read from and written to the CompactFlash card in the same way
they are read/written to a standard hard disk. The only file format that can be read or written by
an OCS application is a .csv (comma separated value) file.
6.3 Removable Media (RM) Function Blocks in Cscape
Note: For detailed information regarding RM function blocks and parameters, refer to the help file
in Cscape Software.
The following RM functional blocks are available in Cscape Software.
a.Read RM csv
This function allows reading of a comma-separated value file from the CompactFlash interface
into the controller register space. The file format of the value file uses commas to separate
values.
b.Write RM csv
This function allows writing of a comma-separated value file to the CompactFlash interface from
the controller register space. The file format of the value file uses commas to separate values.
August 20, 2009 Page 25 of 95 ECN # 979
CH. 6 MAN0798-04-EN
c. Rename RM csv
This function allows renaming a file on the CompactFlash card. The data in the file is not
changed.
d. Delete RM csv
This function allows deleting a file on the CompactFlash card.
6.4 Configuring Removable Media Manager graphical object in Cscape
The Removable Media Manager is a graphical object that allows viewing filenames, size and dates of
files, and directories on a CompactFlash card. The operator can optionally change directories, delete
files, and format new flash cards. This object also supplies status information such as Color change on card OK, Card full, and Card missing status. For additional information, refer to Cscape Help File;
select Cscape Reference Manual, and then select Using Graphics Editor.
6.5 Filenames Used with the Removable Media (RM) Function Blocks
The RM function blocks support the flash with a DOS/Windows standard FAT-16 file system. All names
must be limited to the “eight dot three” format where the filename contains eight characters a period then
a three-character extension.
The entire filename including any path must be less than or equal to 147 characters.
When creating filenames and directories it is sometimes desirable to include parts of the current date or
time. There are six special symbols that can be entered into a filename that are replaced by the QX with
current time and date information.
Table 6.1 – Filename Special Symbols
Symbol Description Example
$Y
$M
$D
$h
$m
$s
Substitutes the current month with a 2 digit code March = 03
Substitutes the current 2 digit year 2004 = 04
nd
Substitutes the current day 22
= 22
Substitutes the current hour in 24 hour format 4 pm = 16
Substitutes the current minute
Substitutes the current minute
Note that all the symbols start with the dollar sign ($) character. Date symbols are in upper case, time
symbols are in lower case.
The following are examples of the substituted time/date filenames:
Current date and time: March 1, 2004 3:45:34 PM
Filename: Data$M$D.csv = Data0301.csv
Filename: Year$Y\Month$M\aa$D_$h.csv = Year04\Month03\aa01_15.csv
Filename: Month_$M\Day_$D\$h_$m_$s.csv = Month_03\Day_01\15_45_34.csv
August 20, 2009 Page 26 of 95 ECN # 979
MAN0798-04-EN CH. 6
6.6 System Registers used with CompactFlash
%SR175 Status – This shows the current status of the CompactFlash interface.
Possible status values are shown in the table:
Table 6.2 – CompactFlash Status Values
0 CompactFlash interface OK
1 Card present but unknown format
2 No card in slot
3 Card present, but not supported
4 Card swapped before operation was complete
5 Unknown error
%SR176 Free Space – This 32-bit register shows the free space on the ComapactFlash card in bytes.
%SR178 Card Capacity – This 32-bit register shows the total card capacity in bytes.
August 20, 2009 Page 27 of 95 ECN # 979
CH. 6 MAN0798-04-EN
NOTES
August 20, 2009 Page 28 of 95 ECN # 979
MAN0798-04-EN CH. 7
CHAPTER 7: SMARTSTACK I/O
7.1 General
Chapter Seven provides preliminary configuration procedures, which are common to all
Modules.
Note: Because the configuration parameters are different for each SmartStack Module, refer to the data
sheet that is sent with the product and is specific
to the selected module.
7.2 Configuration Procedures
Note: SmartStack Modules use Cscape Software for configuration.
1. From the Main Menu, select Controller|I/O Configure.
Note: The look of the screen varies depending upon the type of controller that appears.
2. First, ensure that the desired controller is selected.
In this case, a different controller is desired than the one shown on the screen. It is necessary to
select the desired controller, which is the QX551 BP43 In this example configuration. Continue
with Step 2.
However, if you are satisfied with the controller selection, press a Base # tab. Go to Step 3
Slot
Figure 7-1 – Main Configuration I/O Screen
Note: The Auto Config System button can be pressed prior to selecting the desired controller and I/O.
By pressing the button, the settings are deleted from any controller and I/O that is physically connected to
the PC. A dialog box appears and indicates that settings will be deleted from currently configured
models. If OK, press Yes. Then press OK.
SmartStack
August 20, 2009 Page 29 of 95 ECN # 979
Loading...
+ 66 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.