Comm
Comm
Comm
Introduction
The communications manual is part of the documentation set for QUICKDESIGNER software.
The process of designing panels, loading the panels into a display device and connecting the display
to a PLC is simple. The following diagram shows the basic steps.
Create a NEW project
SETUP the communication options
Design the PANELS
Setup ALARMS
DOWNLOAD the project to a display
Connect the display to your PLC
The first step is to create a new project by selecting a project name then selecting the display device.
The next step is to select the communications options for your type of PLC. The diagram illustrates
the Project Setup dialog box.
Project Setup
Project name:
Project name appears in this field More
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen
Screen Saver Timeout
Display Touch Print PLC Protocol setup
OK Cancel Help
Many of the selections are options and are not necessary for a basic configuration. Most of the
selections have default settings, which are typical settings for most projects. All of the Project Setup
selections are outlined in the following sections.
QUICKDESIGNER Communications • 1
Once the setup is complete, the panels for the project are created. The panels contain the push
buttons, pilot lights, and other panel objects. When the panels are completed, they are downloaded
into the target display, along with the driver for your PLC type. The PLC is then connected to the
display and the project is complete.
Communication Protocols
There are several steps required to set up communications between the target display and a PLC. The
target display must be loaded with a driver that is specific to your PLC. The display must also be
loaded with information about how the PLC is configured for serial data transmission with the target
display. This section will give you an overview of the required steps.
This manual documents the PLC protocols that are supported by the QuickDesigner
NOTE and QuickPanel products. PLC model types that are used in this manual are listed as
examples only and not necessarily a limitation on the PLC types that are supported by
the software.
If a particular PLC model is not listed or detailed in this manual, please consult your
PLC vendor or Total Control Technical Support to verify if a listed QuickDesigner
protocol can be used.
If you are upgrading to a new version software, you MUST download a new display
NOTE device executable file.
New factory units do not have a display device driver installed. When you apply power to a new unit,
it will display a message indicating it is ready to receive a display device executable file.
Target displays that were used with QUICKDESIGNER version 1.05 or earlier may already have a
device driver installed. You must download a new version 1.06(or later) display device executable
file. To download a new display device executable, use the procedures outlined in the Quick Courier
section of the user manual.
2 • Communications QUICKDESIGNER
QUICKDESIGNER Software
The QUICKDESIGNER software running in your computer is used to configure a target display for
operation with your PLC. The configuration information includes the name of the panel that appears
after a power cycle, screen saver timeout, the serial port parameters, and other option settings.
Without the proper configuration information, the target display will not communicate with your
PLC.
The QUICKDESIGNER software is also used to design panels that will be displayed on the target
display. Panels contain operators such as push buttons, pilot lights and bar graphs. The download
operation is used to send panel designs and configuration information to a target display.
For each PLC there is a unique protocol driver. You must have the correct protocol driver loaded into
the target display in order to communicate with your PLC. The protocol file is called a display device
executable file. The condition of your target display will determine if the download operation will
include sending the display device executable file.
QUICKDESIGNER Communications • 3
Project Setup Dialog Box
The Project Setup dialog box can be displayed by clicking the Setup button. It will automatically
appear when you start a new project and click the OK button. The dialog box is divided into three
major sections.
Project Name
The Project name section displays the project name in a text field at the top of the dialog box. If you
click the More button, the Additional Project Setup dialog box will appear. This additional section is
used to keep project notes and the project author.
Model
The Display Device Model list box will indicate which display model you selected for the current
project. You can change the display model by clicking the down arrow next to the Model text field
and selecting a new model from the drop down list.
Initial Screen List Box
This is the panel that will appear after a power cycle has occurred on the target display. See Initial
Screen on page 5.
Display Button
Clicking the display button will bring up the Display Configuration dialog box.
4 • Communications QUICKDESIGNER
Initial Screen
This is the panel that will appear after a power cycle has occurred on the target display. When you
first begin a project, this list box is empty. If you know the name of the power-up screen, enter it now.
A good tip is to come back to this dialog box after all your panels are completed and select one of the
panel names from the list box. If you leave the Initial Screen entry blank, the target display will
prompt the operator to choose a panel when the power is cycled.
If the initial screen name does not match a name in the drop-down list box, the
NOTE display screen will go black after the panels are downloaded. Choose the initial screen
name from the list box to insure you have the correct name.
Screen Saver Timeout
The screen saver feature will turn off the screen after a selected time period. The timer is restarted
each time the screen is touched. When the screen is off, touch the screen to turn the display back on.
The touch will not affect panel operators. Enter the timeout period in minutes. The range is 1 to 1400
minutes.
Touch Button
Clicking the Touch Button will bring up the Touch Screen Configuration dialog box.
Disable Beeper
The beeper sounds each time an active screen operator is touched. You can disable the beep by
checking the Disable Beep checkbox. You may want to disable the beeper when working in an office
environment.
Keyboard Attached
If you have installed an optional keypad such as the HMI-KPN-201, click the checkbox. Some
displays do not have an available keypad option so the checkbox and text will be grayed out.
Print Button
This button brings up the printer setup dialog box.
PLC Port
There is currently only one active PLC interface port. The port is usually labeled CN1/SIO.
PLC Type
The PLC Type section will indicate which PLC protocol you selected for the current project. You can
change the PLC type by clicking the down arrow next to the PLC Type text field and selecting a new
type from the drop down list. The protocol selected here will determine the dialog box that will be
displayed when you click the Protocol button.
QUICKDESIGNER Communications • 5
If you select a protocol different from the current protocol shown in the list box, the following
prompt is displayed. The prompt reminds you that the protocol you have just selected must be setup
after the change. Click Yes to acknowledge the prompt.
Port Button
Click the Port button to display the Serial Parameters dialog box.
Serial Parameters
The Serial Parameters dialog box is used to change target display serial communication parameters,
such as Baud rate, data bits, etc. Make sure the target display and PLC have the same communication
parameters. A majority of interface problems are related to improper communication settings and
cables.
Select the Electrical Format for your application. The options are RS232, RS422/485 Half or Full
Duplex. This is the format for the display serial port.
Verify the default settings for the serial port are the same as those required by your communication
link. A typical default setting might be 9600 Baud, 8 Data Bits, no parity, 1 Stop Bit and no
handshake.
Click the OK button to close the dialog box and return to the Project setup dialog box.
Protocol Button
This button will display the dialog box that is associated with the selected PLC type. Each PLC has
certain setup requirements that must be selected before it will communicate properly with the display
device.
6 • Communications QUICKDESIGNER
The drawing shows the setup dialog box for Modicon Modbus. You can change the Source ID and the
Timeout. Other protocols have different options. Each PLC type has a dedicated chapter in this
manual. Verify the settings in the setup dialog box are correct and click the OK button.
Each PLC protocol has a dedicated chapter in this manual. In each chapter there is a
NOTE configuration page that will guide you in selecting the proper dialog box entries.
Make sure you select the proper display type and PLC type in the New Project menu.
System Button
This button will display the System Configuration dialog box, which is used to select the panel trigger
tag and setup the watchdog register. The Define Passwords button displays the password settings
dialog box, which is used to establish passwords and password levels.
QUICKDESIGNER Communications • 7
If you use Panel Trigger Tag, you should also select a Default Panel. If the Panel
NOTE Trigger Tag register in your PLC is equal to 0 or an unused panel ID number, and
you don't use a Default Panel, the display screen will be blank.
Watchdog Tag
The Watchdog tag selection is a register in the target PLC that is written to in intervals determined by
the Timeout setting. The target display will write this register in the selected time period. Your PLC
requires additional logic to examine and test the data in order to determine if a communication fault
has occurred.
For example, if the time period is set to 60 (1 min), the display will write (FF) to the designated PLC
register. The PLC logic should first test to see if there is a value in the register. If the register is
loaded with some value, then set it to 0 and wait for a time period longer than the timeout. Check the
register again. If the comm link is good, there should be a value in the register again. If the register is
still equal to 0, then you can assume the comm link has a fault.
Hardware Reference
This section contains information about the serial interface port and the download port. For additional
hardware reference data, please see the Hardware Reference manual.
8 • Communications QUICKDESIGNER
Download Port
The download port, also known as the Tool/CN3 port, has two functions. The primary use is to
download application files from a computer to the target display. The secondary use is to print alarm
messages to a serial printer. The printer option in the configuration menu is used to enable the
download port (Port 1) as a printer port. The download port uses TTL signal levels and requires
conversion to RS232. The HMI-CAB-C49 cable, which is used for downloading files, will convert the
TTL signals to RS232. The HMI-CAB-C105 cable is used to connect a printer to the download port.
Both cables are equipped with a 9-pin D connector that is AT compatible. The download port
connector is an 8-pin mini-DIN style. The port settings are fixed at 9600 Baud, 8 bits, no parity. The
pin assignments for the C49 cable are shown in the following drawing.
HMI-CAB-C49
TXD 1 TTL 3 TXD
TO 2 RXD PROPRIETARY INFORMATION
RXD 4
RS232 GND THIS INFORMATION IS PROVIDED AS A CONVENIENCE
GND 2 5
CONVERTER TO OUR CUSTOMERS. YOU ARE NOT AUTHORIZED TO
CTS 6 6 DSR
590-1000-134/0 CONSTRUCT THIS CABLE. UNAUTHORIZED CABLES ARE
8 CTS
DSR 7 NOT SUPPORTED BY TOTAL CONTROL.
5 7 RTS
1 DCD
+5 8 TO PC
TO 8-PIN DIN 9-PIN FEMALE D
QUICKDESIGNER Communications • 9
Download
The download process involves connecting your computer to a target display and transferring
communication and panel information to the target display. The download operation is done after you
have selected the PLC protocol, setup the communication options, and designed at least one panel.
Once the download operation is complete, the display is connected to your PLC and the display
becomes the operator interface.
HMI-CAB-C49 Cable
This cable connects your computer to the circular DIN connector on the target display. This cable is
used to download files created by QUICKDESIGNER software in your computer to the target display.
The 9-pin AT connector housing contains an electronic circuit that makes the signals from both
devices compatible. Most cable drawings in this manual include a wiring diagram. Since this cable
also includes custom electronics, no wiring diagram is supplied.
SIO/CN3
TO SERIAL PORT
HMI-CAB-C49
10 • Communications QUICKDESIGNER
Allen-Bradley
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (AB SLC DH485). See PLC Type on page 5.
QUICKDESIGNER Allen-Bradley • 11
Port Button
Click the Port button to display the Serial Parameters dialog. The port values are automatically set to
standard default values. See Serial Parameters on page 6. The following settings are recommended for
AB SLC DH485.
Elect. Format RS422 Half Duplex (When using the HMI-CAB-C83 Cable)
or
Elect. Format RS232 (When using the HMI-CAB-C84 Cable)
Baud Rate 19200
Data Bits 8
Parity Even
Stop Bits 1
Handshake None
Protocol Button
Click the Protocol button to display the dialog box associated with the selected PLC.
The Source ID is the target display address on the DH485 network. The Destination ID is the PLC
address where the target display will get variable data. The Maximum node ID is the highest
available address on the DH485 network. The maximum ID should be set to the lowest possible
number. Enter Timeout in seconds. Click OK to return to the Project Setup dialog box.
Protected Files
Processor files with Owner set cannot be written to by QUICKPANEL
The Set and Clear Owner function allows a terminal to "own" one or more processor files on the
network. Ownership means that as long as the owner is active on the network, other terminals can not
access the on-line functions of the owned processor files. Note that only a programmer can own a
node.
In the following example, station 1 is owned by node 0. Notice station node 1 has a max. address 31
followed by a forward slash and then the ownership node. If you see this on the display, a
QUICKPANEL cannot write to that station. You must clear the owner.
0 TCP (31)
1 5/02 (31/0)
2 Term (31)
3
12 • Allen-Bradley QUICKDESIGNER
Connecting to the SLC 500
A single point connection is simply one target display connected directly to the program port of a
single SLC 500. This connection is made using the HMI-CAB-C83 cable.
HMI-CAB-C83 Cable
This cable connects the target display serial port to the Allen-Bradley SLC 500 Programming Port.
RJ-45
PROPRIETARY INFORMATION
THIS INFORMATION IS PROVIDED AS A
HMI-CAB-C83/A CONVENIENCE TO OUR CUSTOMERS.
TO SLC 500 YOU ARE NOT AUTHORIZED TO
PROGRAM PORT
CONSTRUCT THIS CABLE.
4 GND 7 UNAUTHORIZED CABLES ARE
orange NOT SUPPORTED BY TOTAL CONTROL.
5 SHIELD 1 green RJ-45
shield
18 (--)15 blue TOP
white
19 16 brown
(+) 10 black
21 red
22 11
TO TCP DEVICE
QUICKDESIGNER Allen-Bradley • 13
HMI-CAB-C84 Cable
This cable connects the target display serial port to the Allen-Bradley SLC 500 Programming Port.
The cable is designed to allow connection to additional devices such as an Allen-Bradley 1747-PIC
Interface Converter.
Warning: The maximum length of this cable is 6 feet. Do not attempt to make it longer.
white -4
RS232 brown -3 8-PIN MODULAR NOT SUPPORTED BY TOTAL CONTROL.
TO black -2 PHONE PLUG
red -1 THE RS232 CONVERTER CIRCUITS ARE CONTAINED ON
RS422
orange -8 A CIRCUIT BOARD WITHIN THE 25-PIN D-SHELL. THE
CIRCUIT green -7 (G)
shield -6 ELECTRONIC CIRCUIT PROVIDES NETWORK CONTROL.
BOARD
blue -5 (E) THE CIRCUIT DIAGRAM IS PROPRIETARY INFORMATION.
white -4 THE CABLE IS LICENSED FROM ALLEN-BRADLEY.
brown -3
black -2 ( - ) 8-PIN MODULAR
red -1 (+) PHONE JACK
CABLE LENGTH = 1'
SLC 500 Network Connection using 1747 AIC Link Couplers (DH485)
14 • Allen-Bradley QUICKDESIGNER
Connecting to a 1747 AIC Module (DH485)
Connect the HMI-CAB-C84 cable to the 1747 AIC Module as shown below.
QUICKPANEL jr.
TO SLC 500
PROGRAM PORT DH485 Interface
Peripheral - J2
CPU -J1
TO TCP DEVICE
1747-AIC MODULE
QUICKDESIGNER Allen-Bradley • 15
HMI-CAB-C52 Cable
This cable is used to connect the target display to a SLC 5/03 and SLC 5/04 RS232 Channel 0 Port.
A label is placed on each end of the cable to indicate which device should be connected to that end.
One of the labels will also indicate the cable part number so you can quickly verify you are using the
right cable for your application. You can make your own cable using the following wiring diagram.
2 2
9 PIN FEMALE
25 PIN MALE
3 3
4 4
5 6
7 5
TO TCP DEVICE TO PLC PORT 1 SHIELD 7
TO TCP DEVICE 8
1
HMI-CAB-C52 TO PLC PORT
1747-PIC
HMI-CAB-C84
QUICK PANEL Jr.
1747-PIC
Programming
Station
16 • Allen-Bradley QUICKDESIGNER
SLC 5/04 Data Highway Plus
Data Highway Plus implements peer-to-peer communication with a token-passing scheme to rotate
link mastership among a maximum of 64 nodes. Since this method does not require polling, it helps
provide time-efficient reliable data transport.
The SLC 5/04 processor lets you operate DH+ communication protocol by means of the DH+
communication channel 1. The SLC 5/04 also supports full-duplex DF1 protocol using the DF1
channel 0.
The 3-pin connector is for actual DH+ communication and the 8-pin connector is for monitoring DH+
communication.
The DH+ LED provides an indication of the condition of the network communication. The color can
be green or red. A steady on condition indicates the processor is actively communicating on the
network. Flashing green indicates there are no active nodes on the network. Flashing red indicates
there are duplicate nodes on the link with the same node address.
SLC 5/04 CPU
RUN FORCE
FLT DH+
BATT RS232
DH+
Channel 1
DF1
Channel 0
CN1
DATA
HIGHWAY
PLUS
MODULE
LINE 2 BLUE
SHIELD
LINE 1 CLEAR
QUICKDESIGNER Allen-Bradley • 17
SLC 500 Tag Variables for DH485 Protocol
The following chart lists the legal tag variable names that can be used with the SLC 500 series. The
target display talks to the SLC500 using the DH485 protocol. The DH485 protocol requires each
device to have a node address. The Source ID is the target display node address and the Destination
ID is the node address for the SLC. (See the "Setup for using an AB SLC 500 PLC" section for details
about entering the source and destination ID's).
When there is a single point connection between a target display and a SLC500, the destination ID
(node address for SLC) becomes the default address for all variables. That is, if you use the tag
variable N7:100, the target display knows that this variable is located at the destination node address.
When the target display is connected to a DH485 network that includes multiple SLC nodes, there is
an optional variable naming element that will allow you to read information from any SLC node. The
additional element is _D, where the underscore D indicates a node address other than the Destination
ID node address.
In this example, the Source ID (target display address) has been set to 0 and the Destination ID (SLC
node address) has been set to 1. There is an additional SLC on the DH485 network located at node
address 3. To read information from node address 1, the variable would be N7:100. Remember that
the Destination ID is the default node address. To read information from node address 3, the variable
would be N7:100_3. The general format for tag variables is shown below.
N7:100/00_D
Destination Node Address
Bit Address
Element
File Type
18 • Allen-Bradley QUICKDESIGNER
Tag Variable Table
File Type File # Element Bit Range Write Value Operator
(1)
S2:00 or S: 0-15 5/01 N -32768 to 32767 NDD
(1)
0-32 5/02
(1)
0-83 5/03
/0 - /15 0-1 PL
QUICKDESIGNER Allen-Bradley • 19
Additional Information
Network Performance
The following are major configuration factors that have a significant effect on network performance:
• The number of nodes on the link
• The addresses of those nodes
• The maximum node address selection
The number of nodes on the link directly affects the data transfer time between nodes. Unnecessary
nodes slow the data transfer rate. The maximum number of nodes on the link is 32.
The best link performance occurs when node addresses start at 0 and are assigned in sequential order.
Also, initiators such as personal computers should be assigned the lowest numbered addresses to
minimize the time required to initialize the link. If all nodes are expected to be connected at all times,
this is really all you need to do.
The maximum node address parameter should be set as low as possible. This minimizes the amount
of time used in soliciting successors when initializing the link. If all nodes are addressed in sequence
from 0, and the maximum node address is equal to the address of the highest addressed node, the
token rotation will improve by the amount of time required to transmit a solicit successor packet plus
the slot timeout value.
NOTE - The SLC500 processors set the maximum node address to 31 when power is cycled
increasing initialization and response time of the link.
DH-485 Cable
The suggested DH-485 communication cable is BELDEN #9842 cable. The cable is jacketed and
shielded with two twisted wire pair and a drain wire.
DH-485 Connections
One (only one) of the Link Couplers at the end of the link must have Terminals 1 and 2 of the link
connector jumpered together. This provides an Earth Ground connection for the shield of the
communications cable.
Link Couplers at both ends of the link must have Terminals 5 and 6 of the link connectors jumpered
together. This connects the termination impedance that is built into each link coupler as required by
the DH-485 specification.
6 - TERM
5-A
4-B
3 - COMMON
2 - SHIELD
1 - CHS GND
20 • Allen-Bradley QUICKDESIGNER
Allen-Bradley SLC 500 DF1
Do NOT use this protocol with QP1 devices. It is designed to be used with
CAUTION ONLY QP2 devices. For example, QPJ-2D100-L2P is a QP2 device.
The SLC 5/03 and SLC 5/04 processors let you operate DF1 communication protocol by means of the
RS-232 communication port, channel 0.
The 9-Pin connector on the SLC 5/03 and SLC 5/04 processors is programmable. The SLC 5/03 and
SLC 5/04 processors can be configured for port-to-port connection using the HMI-CAB-C52 cable.
Channel 0 must be set up for DF1 communication. This configuration can only read/write variables in
the local PLC. Since it is not dependent on network loading, this configuration will provide quick
display updates.
HMI-CAB-C52 Cable
This cable is used to connect the target display to a SLC 5/03 and SLC 5/04 RS232 Channel 0 Port.
Make sure the port is set to DF1 protocol.
2 2
9 PIN FEMALE
25 PIN MALE
3 3
4 4
5 6
7 5
TO TCP DEVICE TO PLC PORT 1 SHIELD 7
TO TCP DEVICE 8
1
HMI-CAB-C52 TO PLC PORT
QUICKDESIGNER Allen-Bradley • 21
Project Setup
The drawing is a diagram of the Project Setup dialog box. Each button will display an additional
dialog box. Many settings are options and are not required to establish communications. Verify the
Project name and Display Device Model are correct. Leave the Initial Screen name blank.
Project Setup Project Notes
Project name:
Project name appears in this field More
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (AB SLC DF1). See PLC Type on page 5.
Serial Port Parameters
Click the Port button to display the Serial Parameters dialog. The port values are automatically set to
standard default values. The following settings are recommended for AB SLC DF1.
Elect. Format RS232
Baud Rate 9600
Data Bits 8
Parity None
Stop Bits 1
Handshake None
22 • Allen-Bradley QUICKDESIGNER
Protocol Button
Click the Protocol button to display the dialog box associated with the selected PLC.
The Source ID is the target display address. The Destination ID is the PLC address where the target
display will get variable data. Enter Timeout in seconds. Select error checking (CRC or BCC) to
match the PLC. Note the Protocol is currently fixed at Full Duplex. Click OK to return to the Project
Setup dialog box.
The drawing shows the setup dialog box for A-B SLC500 DF1.
The Source ID is the target display address. The Destination ID is the PLC address where the target
display will get variable data. Enter Timeout in seconds. Select error checking (CRC or BCC) to
match the PLC. Note the Protocol is currently fixed at Full Duplex. Click OK to return to the Project
Setup dialog box.
Serial Port Parameters
Click the Port button to display the Serial Parameters dialog. The port values are automatically set to
standard default values. The following settings are recommended for AB SLC DF1.
QUICKDESIGNER Allen-Bradley • 23
Elect. Format RS232
Baud Rate 9600
Data Bits 8
Parity None
Stop Bits 1
Handshake None
HMI-CAB-C106 Cable
This cable is used to connect the target display to a MicroLogix 1000.
A label is placed on each end of the cable to indicate which device should be connected to that end.
One of the labels will also indicate the cable part number so you can quickly verify you are using the
right cable for your application. You can make your own cable using the following wiring diagram.
25 PIN MALE
2 4 PIN 7
PIN 6
3 7 PIN 8
PIN 4
7 2 PIN 5
PIN 3
4
TO TCP DEVICE TO PLC PORT 5 PIN 1 PIN 2
HMI-CAB-C106 TO TCP DEVICE TO PLC PORT
24 • Allen-Bradley QUICKDESIGNER
Advanced Interface Converter AIC+
The AIC+ (Advanced Interface Converter, 1761-NET-AIC) provides a simplified, cost effective
solution for connecting RS-232 devices to DH-485 networks. Use the AIC+ for communications
connectivity with the MicroLogix 1000 DH-485 networking series controller. The AIC+ is also a
good choice for providing point-to-point RS-232 isolation.
The AIC+ can replace the 1747-PIC/1747-AIC combination when using channel 0 of an SLC 5/03 or
SLC 5/04 processor to access DH-485 or DF1 master-slave networks.
When connecting a QuickPanel to the AIC+ DH485 Port3, you must use the AB SLC DH485
protocol. The drawing shows the setup dialog box for A-B SLC DH485
The Source ID is the target display address. The Destination ID is the PLC address where the target
display will get variable data. Enter Timeout in seconds. Click OK to return to the Project Setup
dialog box.
Serial Port Parameters
Click the Port button to display the Serial Parameters dialog. The port values are automatically set to
standard default values. The following settings are recommended for AB SLC DH485.
Elect. Format RS232
Baud Rate 19200
Data Bits 8
Parity Even
Stop Bits 1
Handshake None
QUICKDESIGNER Allen-Bradley • 25
Example Configurations
This first example shows a 3-Node network (not expandable). The QuickPanel is connected to the
DH-485 network on the AIC Port 3 using the HMI-CAB-C117 cable.
MicroLogix
QUICKPANEL
TX TX
AUTO
600 19200
1200
2400
14400
9600
AIC+
4800
TX PWR
PORT 1
DB-9 RS-232, DTE
1747-CP3
OR
1761-CBL-AC00
26 • Allen-Bradley QUICKDESIGNER
This example shows the AIC module as a point-to-point isolator. Here the QuickPanel is connected
using RS-232 to Port 2 on the AIC module. A MicroLogix 1000 (Series C or Higher) can be
connected to the AIC RS-232 Port 1, or you can connect a SLC 5/03 or SLC 5/04 Channel 0 port to
Port 1 on the AIC module.
PORT 3 DH485/DF1 PORT 2
MASTER-SLAVE MINI-DIN 8 RS-232
1761-CBL-PM02 QUICKPANEL
OR
1761-CBL-AP00
FOR MICROLOGIX 1000 TX TX
TX PWR
HMI-CAB-C106
1747-CP3
OR
1761-CBL-AC00 PORT 1
FOR SLC5/03 OR SLC 5/04 DB-9 RS-232, DTE
CHANNEL 0
QUICKDESIGNER Allen-Bradley • 27
HMI-CAB-C117 Cable
The AIC+ can connect a QuickPanel through the Port 3 DH-485/DF1 Phoenix Plug using the HMI-
CAB-C117 cable.
25 PIN MALE
4 11
RED To Terminal B
5 10
18 15
19 16 BLK To Terminal A
TO TCP DEVICE TO AIC+ GRN To Terminal COM
21 7
SHL To Terminal SHIELD
22 1
HMI-CAB-C117 TO TCP DEVICE TO AIC+ PORT 3
28 • Allen-Bradley QUICKDESIGNER
Tag Variable Table
File Type File # Element Bit Range Write Value Operator
S2:00 or S: 0-32 N -32768 to 32767 NDD
/0 - /15 0-1 PL
The following codes are used in the column marked QUICK OPERATOR.
PB = Push Button SS = Selector Switch PL = Pilot Light BG = Bar Graph
NDD = Numeric Data Display NDE = Numeric Data Entry LMD = Local Message Display
IPB(B) =Illuminated Push Button (button only) IPB(L) = Illuminated Push Button (light only)
QUICKDESIGNER Allen-Bradley • 29
Allen-Bradley PLC2
Connecting to a PLC-2 Program Port
HMI-CAB-C90
This cable is used to connect the target display to an Allen-Bradley PLC-2 PLC.
A label is placed on each end of the cable to indicate which device should be connected to that end.
One of the labels will also indicate the cable part number so you can quickly verify you are using the
right cable for your application. You can make your own cable using the following wiring diagram.
30 • Allen-Bradley QUICKDESIGNER
Setup for using an A-B PLC-2 Program Port
Use the following procedure to ensure your target device is setup properly for the Allen-Bradley
PLC2. The procedure is in condensed format. Only the required settings are outlined. For additional
details, see Creating a New Project beginning on page 3.
Project Setup
The drawing is a diagram of the Project Setup dialog box. Each button will display an additional
dialog box. Each button is described below. Verify the Project name and Display Device Model are
correct. Leave the Initial Screen name blank.
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (AB PLC2 Prog. Port). See PLC Type on page 5.
Port Button
Click the Port button to display the Serial Parameters dialog. See Serial Parameters on page 6. The
following settings are recommended for AB PLC2 Prog. Port.
Elect. Format RS422/485 Full Duplex
Baud Rate 9600
Data Bits 8
Parity Even
Stop Bits 1
Handshake None
QUICKDESIGNER Allen-Bradley • 31
Protocol Button
Click the Protocol button to display the dialog box associated with the selected PLC.
Enter Timeout in seconds. Click OK to return to the Project Setup dialog box.
In the above table, "a" is a one to five digit octal address that specifies the address in the data table.
The "_d" is the PLC Destination Address on the Data Highway.
Reading this variable would result in the value 21845 because this is the decimal equivalent of the
binary value shown in the example.
32 • Allen-Bradley QUICKDESIGNER
The WUB variable type can be used to read bits by adding the backslash character to the variable
name. The format for the variable is shown below. Any WUB variable can be read as a bit type.
ONLY the WUB variable has the bit read option.
WUB00000/00
Bit Select 00-07, 10-17
Word Address
WUB Variable Type
Example: To read bit 05 from word 300, the variable name would be WUB300/05.
Example: To read a variable from a PLC address on the Data Highway, you must include the PLC
address. To read bit 05 from word 300 in a PLC-2 located at address 5, the variable would be
WUB300/05_5.
The WUB variable type can also be used to write bits, but ONLY to addresses above 200. Remember
that addresses below 200 are reserved for I/O. The format for writing bits is the same as for reading
bits.
Example: To write bit 12 of word address 230, the variable would be WUB230/12.
WARNING
Writing bits in the areas above address 200 requires three operations. (1) the entire 16 bit word is
read, (2) the individual bit is modified, (3) the modified word is written back to the PLC. Therefore,
DO NOT associate any ladder logic with words used for bit addressing.
WSD - Word Signed Decimal (BCD)
The WSD variable type will read a signed three digit BCD value from a word in the PLC. The format
of the word is shown below.
17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0
Example:
The following binary value is present in a PLC2/15 at address 250.
17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
Reading this variable would result in the value -555 because the sign bit of the word was set, and the
digits each contained the BCD value of 5. Note that although the data in the word was the same as
used in the WUB example, the result obtained by reading the value as a WSD variable is not.
QUICKDESIGNER Allen-Bradley • 33
WUD - Word Unsigned Decimal (BCD)
The WUD variable type is very similar to the WSD type. The only difference is that the number does
not have any sign, overflow or underflow bits associated with it. Instead, the number has four BCD
digits instead of three. The format of the WUD variable is shown below.
17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0
Example:
The following binary value is present in a PLC2/15 at address 250.
17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
Reading this variable would result in the value 5555 because all the digits contain the BCD value of
5. Note that although the data in the word was the same as used in the WUB and WSD examples, the
result obtained by reading the value as a WUD variable is not.
LHD - Extended Precision (BCD)
A LHD variable type is used to read an extended precision BCD type with a range of -79999999 to
+79999999. Two words are required.
WSO - Word Signed Octal
A WSO variable type is used to read a word as a four-digit octal number. This is the same thing as a
12-bit binary number , since each octal digit represents exactly three binary bits. A WSO variable also
includes overflow, underflow, and sign bits, in the same manner as a WSD variable.
17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0
When the number is read, its sign will be returned from the sign bit while the overflow and underflow
bits are ignored.
Example:
The following binary value is present in a PLC2/15 at address 250.
17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
34 • Allen-Bradley QUICKDESIGNER
Reading this variable would result in the value -1365 because the sign bit was set and the octal
number in the register was 2525 or 1365 decimal. Note that although the data in the word was the
same as used in the WUB and WSD examples, the result obtained by reading the value as a WSO
variable is not.
LSD - Long Word Signed Decimal
The LSD variable is similar to the WSD format. The LSD format requires two words from the data
table, which consist of six BCD digits. The two words in the data table must be consecutive, and the
high order BCD digits, as well as the sign, overflow, and underflow bits are contained in the first
(lower numbered address) word used in the data table. The format is shown below.
17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0
Data table word at address = n
17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0
Data table word at address = n+1
When the number is read, its sign will be returned from the sign bit while the overflow and underflow
bits are ignored.
Example:
The following binary value is present in a PLC2/15 at address 250 and 251.
17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Word 250
17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0
0 0 0 0 0 1 1 1 0 0 1 1 0 0 0 1 Word 251
Reading this variable would result in the value -555321 because the sign bit was set and the octal
number in register 250 is 555 and the octal number in register 251 is 321.
MSG - ASCII Text Message
The MSG variable is used to receive text messages and display them in a text field. The message is
assembled as two bytes from one PLC data word. The format of a MSG word is shown below.
17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0
QUICKDESIGNER Allen-Bradley • 35
LSDF - Long Word Signed Decimal Fixed Point
The LSDF variable is similar to the LSD variable. There is always an implied decimal place between
the third and fourth BCD digit, so a number always has the format xxx.yyy.
The LSDF format requires two words from the data table, which consist of six BCD digits. The two
words in the data table must be consecutive, and the high order BCD digits, as well as the sign,
overflow, and underflow bits are contained in the first (lower numbered address) word used in the
data table. The format is shown below.
17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0
Data table word at address = n
17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0
Data table word at address = n+1
When the number is read, its sign will be returned from the sign bit while the overflow and underflow
bits are ignored.
Example:
The following binary value is present in a PLC2/15 at address 250 and 251.
17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Word 250
17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0
0 0 0 0 0 1 1 1 0 0 1 1 0 0 0 1 Word 251
Reading this variable would result in the value -555.321 because the sign bit was set and the octal
number in register 250 is 555 and the octal number in register 251 is 321.
When using the LSDF variable types with the Numeric Data Entry tool, the default range is set from
-999 to 999. However, when you change the decimal position from 0 to 1, 2, or 3 in the data format
dialog box, your available range decreases accordingly. For example, if you set the decimal position to
3, your range changes from -.999 to .999.
NOTE: When using the LSDF variable types with the Numeric Data Entry tool, the default range is
set from -999 to 999. However, when you change the decimal position from 0 to 1, 2, or 3 in the data
format dialog box, your available range decreases accordingly. For example, if you set the decimal
position to 3, your range changes from -.999 to .999.
36 • Allen-Bradley QUICKDESIGNER
WTC - Word Timer Counter
A WTC variable type is used to read a signed three digit BCD value from a timer counter word in the
PLC. The format of this word is shown below.
17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0
Example:
The following binary value is present in a PLC2/15 at timer 30, addressed as WTC30.
17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0
0 0 0 0 0 1 1 1 0 0 1 1 0 0 0 1
Reading this variable would result in the value 321 because the octal number in register 30 is 321.
Reading PLC-2 Data Highway Variables
The following illustration shows the format for reading variables from the Data Highway. The Data
Highway Address is a decimal value.
WUB00000/00_d
Data Highway Address
Bit Select 00-07, 10-17
Word Address
WUB Variable Type
When using the Data Highway, the following addresses are valid destination addresses, so long as a
PLC (not another computer) is at the destination address:
8 through 63 and 72 through 254 decimal
010 through 077 and 110 through 376 octal
The choice of addresses on the Data Highway greatly influences its speed of operation. Be sure to read
the Allen-Bradley documentation on the Data Highway, particularly those sections pertaining to
selection of module addresses and the polling scheme used on the Data Highway. In general, it is a
good practice to number Data Highway addresses consecutively.
QUICKDESIGNER Allen-Bradley • 37
Allen-Bradley PLC5
PLC-5 DF1 Single Point Connection
A single point connection is simply one target display connected directly to the Channel 0 port of a
single PLC 5.
To connect a target display to a PLC-5/30 Channel 0, use an HMI-CAB-C53 RS232 cable, connected
as shown below.
25 PIN MALE
5 15 3 RXD IN -
18 16 2 TXD OUT -
19 7 7 GND
21 10 14 TXD OUT+
TO TCP DEVICE TO PLC PORT
22 11 16 RXD IN +
HMI-CAB-C107/A TO TCP DEVICE TO PLC PORT
38 • Allen-Bradley QUICKDESIGNER
A-B Channel 0 Setup
The configuration for Channel 0 must be set to “Point-to-Point” using the following communication
parameters. Do NOT set Channel 0 to SLAVE, MASTER or USER.
HMI-CAB-C51 Cable
You can make your own cable using the following wiring diagram.
QUICKDESIGNER Allen-Bradley • 39
Project Setup
The drawing is a diagram of the Project Setup dialog box. Each button will display an additional
dialog box. Many settings are options and are not required to establish communications. Verify the
Project name and Display Device Model are correct. Leave the Initial Screen name blank.
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (AB PLC5 DF1) See PLC Type on page 5.
Port Button
Click the Port button to display the Serial Parameters dialog. See Serial Parameters on page 6. The
following settings are recommended for (AB PLC5 DF1)
Elect. Format RS232
Baud Rate 9600
Data Bits 8
Parity None
Stop Bits 1
Handshake None
Protocol Button
Click the Protocol button to display the dialog box associated with the selected PLC.
40 • Allen-Bradley QUICKDESIGNER
Note:
The format for tag variables for the PLC-5 is:Xf:e.s/_d, where the _d is defined as the destination
address. However, the destination address is not supported in Full Duplex protocol. The destination
address is ignored because it's talking to the program port. Half Duplex does support the _d
destination address.
Just as a reminder, when working with Full Duplex, you have to set up the PLC Channel 0 to Point-
to-Point. For Half Duplex, Channel 0 must be set to System (Slave).
QUICKDESIGNER Allen-Bradley • 41
A-B PLC-5 DATA HIGHWAY PLUS
A target display can communicate on the Data Highway Plus Local Area Network (LAN) through a
serial port connection to an external Data Highway Plus Module or through a Data Highway Plus
Module attached to the target display.
The following drawing illustrates a Data Highway Plus connection between a target display equipped
with an optional Data Highway Plus Module and a PLC-5.
The following drawing illustrates a Data Highway Plus connection between a target display, a 1770-
KF2/B and a PLC-5. The target display utilizes a serial connection to an A-B 1770-KF2 Interface
Module. Some models of the PLC-5, such as the PLC-5/30, have a DF1 port that can be used for
direct connection to the target display. (See PLC-5 DF1 in a previous section.)
The following drawing illustrates a connection between a target display, a 1785-KE Module and a
Data Highway Plus link.
42 • Allen-Bradley QUICKDESIGNER
Connection to Data Highway Plus
The following drawing shows a QUICKPANEL connected to two PLC-5 processors on a Data
Highway Plus network.
QUICKPANEL
PROCESSOR 1 PROCESSOR 2
CN1
DATA
HIGHWAY
PLUS
MODULE
LINE 2 BLUE
SHIELD
LINE 1 CLEAR
QUICKDESIGNER Allen-Bradley • 43
Setup for using Data Highway Plus
Use the following procedure to ensure your target device is setup properly for the Data Highway Plus.
The procedure is in condensed format. Only the required settings are outlined. For additional details,
see Creating a New Project beginning on page 3.
Project Setup
The drawing is a diagram of the Project Setup dialog box. Each button will display an additional
dialog box. Many settings are options and are not required to establish communications. Verify the
Project name and Display Device Model are correct. Leave the Initial Screen name blank.
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (AB Data Highway Plus). See PLC Type on page 5.
Port Button
The AB Data Highway Plus module does not require a port setup because it does not utilize the serial
interface port.
44 • Allen-Bradley QUICKDESIGNER
Protocol Button
Click the Protocol button to display the dialog box associated with the selected PLC.
Enter the Source ID (target display address). Enter the Destination ID (PLC address).
NOTE: Source ID and Destination ID values are entered as DECIMAL values, but the PLC is
addressed in OCTAL. For example, if the PLC address is 30 (octal), you must enter 24 (decimal) for
the correct Destination ID. Enter Timeout in seconds.
Click OK to return to the Project Setup dialog box.
Set the Source Station address using switches SW2, SW3 and SW4. SW2 is the most significant octal
digit and SW4 is the least significant octal digit. Valid addresses are from 000 through 377 octal.
QUICKDESIGNER Allen-Bradley • 45
Please refer to PLC-2 or PLC-5 sections for valid register names.
2 3
15 PIN MALE
3 2
7 7
4 13
5 4
TO TCP DEVICE TO A-B KE
DATA HIGHWAY 1 SHIELD
5
TO TCP DEVICE 6
HMI-CAB-C55 8
11
TO PLC PORT
46 • Allen-Bradley QUICKDESIGNER
SW1 5 Closed (on) Execute remote diagnostics
The switch positions shown in the following table are for software revision REV H.
QUICKDESIGNER Allen-Bradley • 47
. s= Period delimiter and Subelement mnemonic is used only with Timer, Counter or Control file
types. For example, T4:12.PRE. The "PRE" portion of the variable is the subelement mnemonic.
(Mnemonic is pronounced "nemonic.")
Word Addresses:
Timers and Counters = .PRE (preset) and .ACC (accumulated)
Registers = .LEN (length) and .POS (position)
/ b = Slash delimiter and Bit number
0 - 15 Decimal for I/O file types
0 - 15 Decimal for all other file types
optional 0 - 15,999 Decimal for bit type files when not specifying the element number.
Bit Addresses:
Bit# Timer Counter Control
15 .EN enable .CU up enable .EN enable
14 .TT timing .CD down enable .EU unload enable
13 .DN done .DN done .DN done
12 .OV overflow .EM empty
11 .UN underflow .ER error
10 .UL unload
09 .IN inhibit
08 .FD found
* Only the above bit numbers or mnemonics can be read for Timer, Counter or Control file types. No
other bit numbers or mnemonics are allowed. For example, C5:8.CU and C5:8/15 are the same
address. C5:8.ACC/00 is a legitimate address.
_d = Destination address on the Data Highway. Example: N7:100_2 will read N7:100 from PLC
address 2 on the Data Highway. This feature allows addressing a destination address different than
the one entered as the Destination ID in the AB Data Highway Plus dialog box. Remember that the
destination address is in octal format. Node address range is 0-377 (octal).
I/O Addressing
The format for I/O addressing differs from the general format. The format is described as: X:rg/00-15
X = I (input) or O (output)
r = assigned rack number
g = I/O group number
00 - 15 = terminal (bit) number
Example: O:12/03 = Output, rack 1, group 2, bit 03
Example: I:02/10 = Input, rack 0, group 2, bit 10
Status File Addressing
The format for Status File addressing differs from the general format. The format is described as:
S:e/b
S = Status
e = element number (0-999)
b = bit number (0-15)
Example: S:4/5 = Status register, element 4, bit 05.
48 • Allen-Bradley QUICKDESIGNER
A-B PLC-5 Tag Variable Table
QUICKDESIGNER Allen-Bradley • 49
Allen-Bradley MicroLogix 1000
The MicroLogix 1000 has an RS-232-C communication port configurable for DF1 protocol for direct
connection to a programming device or operator interface. In this configuration, the MicroLogix 1000
is identical to the SLC500 DF1 protocol. To connect a QuickPanel to a MicroLogix 1000 PLC, use
the SLC 500 DF1 protocol selection and an HMI-CAB-C106 cable.
The drawing shows the setup dialog box for A-B SLC500 DF1.
The Source ID is the target display address. The Destination ID is the PLC address where the target
display will get variable data. Enter Timeout in seconds. Select error checking (CRC or BCC) to
match the PLC. Note the Protocol is currently fixed at Full Duplex. Click OK to return to the Project
Setup dialog box.
Serial Port Parameters
Click the Port button to display the Serial Parameters dialog. The port values are automatically set to
standard default values. The following settings are recommended for AB SLC DF1.
Elect. Format RS232
Baud Rate 9600
Data Bits 8
Parity None
Stop Bits 1
Handshake None
HMI-CAB-C106 Cable
This cable is used to connect the target display to a MicroLogix 1000.
A label is placed on each end of the cable to indicate which device should be connected to that end.
One of the labels will also indicate the cable part number so you can quickly verify you are using the
right cable for your application. You can make your own cable using the following wiring diagram.
25 PIN MALE
2 4 PIN 7
PIN 6
3 7 PIN 8
PIN 4
7 1 PIN 5
PIN 3
4
TO TCP DEVICE TO PLC PORT 5 PIN 1 PIN 2
HMI-CAB-C106 TO TCP DEVICE TO PLC PORT
50 • Allen-Bradley QUICKDESIGNER
Tag Variable Table
File Type File # Element Bit Range Write Value
S2:00 or S: 0-32 N -32768 to 32767
/0 - /15 0-1
QUICKDESIGNER Allen-Bradley • 51
Allen-Bradley Remote I/O
See the QUICKPANEL Family Hardware Reference manual for hardware installation information.
The RIO module for QUICKPANEL jr. (models QPJ-1D100-L2P and QPJ-1D100-S2P) is NOT a
field upgrade.
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (AB Remote I/O) See PLC Type on page 5.
Port Button
No serial port is used. The Remote I/O option module connects to a special internal bus.
52 • Allen-Bradley QUICKDESIGNER
Protocol Button
Click the Protocol button to display the dialog box associated with the selected PLC.
The following dialog box represents one full rack of I/O. Note the two list boxes at the top of the AB
Remote I/O dialog box. Note also that all rack sections are in the Observe mode. To view other racks,
click the Next Rack and Previous Rack buttons located at the bottom of the dialog box.
Select the PLC Model from the list box located at the top of the AB Remote I/O dialog box. Different
PLC models have different rack addressing ranges. In some cases, a PLC can address only four racks.
You should be aware of the limitations of your PLC and the configuration of the Remote I/O before
attempting to configure the Remote I/O in the target display. In some instances, a dialog box will
display all available racks, even though your configuration limits their access. The PLC models
shown in the list box cover a broad range of rack options available for that family. A sample PLC
model list is shown below.
Select the Baud rate for the Remote I/O network. This selection must match that of the intended
network.
Early versions of the QPI-ABR-001 RIO modules are not capable of operating at 230K Baud.
To retain the data values of inputs and Block Transfer Reads (BTR), click the checkbox for Retain
PLC Memory Values. The data retention feature is available ONLY for QPI-ABR-201 and QPJ-ABR-
201 Remote I/O modules. If the box is not checked, all data values will be set to 0 when power is
cycled.
Before you click any more buttons or check boxes, read the sections concerning Observation mode
and Emulation mode.
QUICKDESIGNER Allen-Bradley • 53
Observation Mode
When you first start a project using Remote I/O, all racks are in OBSERVE mode, which means the
target display can listen to all discrete I/O transfers on the Remote I/O link.
An Allen-Bradley rack corresponds to 128 input bits and 128 output bits of defined PLC data table
memory. In the PLC memory, a 'data table' sets aside 128 bits for input and 128 bits for output. This
data table allows the PLC to communicate with other devices. No matter what I/O scheme you are
using, 1, 1/2, or 1/4 slot addressing, the limit per rack is 128 bits.
When you select 2-slot addressing, each pair of slots is assigned to the corresponding pair of words in
the input and output image tables. You assign one I/O rack number to eight I/O groups. The
following drawing shows a rack of I/O set up using 2-slot addressing.
In a ladder diagram, the input or output instruction address is associated with a particular I/O
terminal and identified by a 6-digit address.
Input (I) or Output (O)
Rack No. (0-32)
Module Group No. (0-7)
Terminal No. (00-07, 10-17)
O:010/12
112 010
Word Bit
Address Address 11 12
The discrete I/O address must be translated into tag variable addresses. For example, the discrete
address 0:010/12 becomes the tag variable address O:10/12. You can use the tag variable address to
operate pilot lights. See the tag table in the next section.
You do not have to make any more selections if you just want to listen to the Remote I/O link. If you
want to emulate an unused rack or transfer data using Block Transfers, then you need to change from
observation mode to emulate mode.
54 • Allen-Bradley QUICKDESIGNER
Remote I/O Tag Variable Table
Device Address Bit Bit Data Data Data Read Description
Prefix Range delimiter Range Range Range Width / Write & Notes
Min. Max.
Words
I: 0-377 / 0-17 -32768 32767 16 Both Inputs
O: 0-377 / 0-17 -32768 32767 16 Read Outputs
Doubles
AI: 0-376 n/a n/a 0 99999999 32 Both Double Inputs BCD
AO: 0-376 n/a n/a 0 99999999 32 Read Double Outputs BCD
LI: 0-376 n/a n/a -99999999 99999999 32 Both Long Inputs
LO: 0-376 n/a n/a -99999999 99999999 32 Read Long Outputs
ABR@ 0.0-3771.63 n/a n/a 0 99999999 32 Both Double BTR-1
ABW@ 0.0-3771.63 n/a n/a 0 99999999 32 Read Double BTW-1
LBR@ 0.0-3771.63 n/a n/a -99999999 99999999 32 Both Long BTR-1
LBW@ 0.0-3771.63 n/a n/a -99999999 99999999 32 Read Long BTW-1
The device prefix and address delimiter are shown together. Example, AO: where AO is the prefix and : is the delimiter.
Note the delimiter for the BTR and BTW types is the @.
The address syntax is rrgs.oo (rr = rack (octal), g = group, s = slot, oo = offset (decimal))
Double block transfer variables require proper setup of the actual block transfer in the protocol setup.
Emulate Mode
The emulate mode allows the display device to look like an unused rack. The rack assignment is
determined by the unused rack locations existing in your installation.
Make sure you do not try to emulate a rack that already exists on the Remote I/O link.
The target display can handle Block Transfer Reads and Block Transfer Writes. Block transfers allow
you to send and receive large blocks of data over the Remote I/O link.
Emulation is handled in quarter rack increments, with each quarter rack containing two groups (0
and 1), and each group having two slots (0 and 1). Each slot would normally occupy a word in the
input or output image table in the PLC. With Block Transfers, each slot can be assigned up to 64
words of read and 64 words of write data.
Let's take a look at a fictitious PLC layout and see how the display device can emulate an unused
rack. In the following drawing, a Remote I/O drop occupies only a quarter rack and is addressed as
Rack 1. The rack contains a total of four modules, two in each group. When the display device is in
Observe mode, it can listen to all remote I/O data on the link, including the data sent and received by
the scanner in rack 1.
For this example, there is an unused quarter rack at Rack 1, Group 2 and 3. The display device will
emulate the unused quarter rack.
QUICKDESIGNER Allen-Bradley • 55
Using Emulate Mode
The rack number is shown in the upper left corner of the dialog box. Use the Previous Rack and Next
Rack buttons located at the bottom of the dialog box to select the rack where you know for certain
there are unused quarter racks.
There are four quarter rack sections for each rack displayed. Select which quarter rack you want to
emulate. Click the Observe button to change the quarter rack from Observe mode to Emulate mode.
For this example, the second quarter rack, consisting of Group 2 and Group 3, will be changed to
emulate mode. When the mode changes to emulate, check boxes appear in all slot locations.
Rack Addresses
A rack is the I/O rack number of the I/O chassis in which you placed the target I/O module. For rack
emulation, the target I/O module is the emulated rack. The valid ranges for rack numbers are shown
below.
You cannot do a block transfer to a rack above address 17.
56 • Allen-Bradley QUICKDESIGNER
Since we are emulating a quarter rack, consisting of Group 2 and 3, the input bit addressing is from
I:012/00 to I:012/17 and I:013/00 to I:013/17. The output bit addressing is from O:012/00 to
O:012/17 and O:013/00 to O:013/17. You also have two input words I:012 and I:013, and two output
words O:012 and O:013.
Configuring for Block Transfer Operations
You now have the choice of selecting any of the four slots and each slot can be a Block Transfer Read
(BTR), Block Transfer Write (BTW) or both. For this example, both BTW and BTR for Group 2, Slot
0 will be used.
First, we set up the BTR by clicking the check box in Group 2, Slot 0. The following menu will
appear.
Always use this tool for building RIO tags. Do NOT attempt to build these tags while creating
panels in the Panel Editor.
If you click the Auto name check box, the tag name will be generated by the system and appear in the
Tag name field. Note that the tag name is cryptic, it describes the variable as a BTR, located at rack
01, Group 2, slot 0. The naming scheme will help you remember the racks that are in emulation
mode. See the following example.
Click the OK button to accept the Tag Name. The check box now appears with a check mark inside,
indicating it has been checked.
QUICKDESIGNER Allen-Bradley • 57
A new information box will appear below the check box. This information box indicates how many
words will be transferred by the Block Transfer. You can change the number, up to a maximum of 64
words. To change the number, double click in the number box to highlight the number, then type the
new number.
All of the words in a Block Transfer Write can be read as signed numbers by clicking the Signed
checkbox.
Below the array of check boxes is the Edit Tag button. Next to the button is a message line indicating
the last slot address selected. When you click in any of the number boxes, the Tag Edit message will
reflect the new selection. The Edit Tag button is used to recall the Tag Name dialog box so you can
change the Tag Name.
In the example, we have checked the BTR box in Rack 1, Group 2, Slot 0. To continue the example,
the BTW box in the same slot will be checked. Click the Auto name checkbox and the Tag Name will
appear as BTW0120.
Click the OK button and observe that both check boxes in Slot 0 are checked and both are set to
transfer 16 words.
58 • Allen-Bradley QUICKDESIGNER
Click the OK button and the following dialog box is displayed. This dialog lists the tags that will be
created when you click the OK button. The list shows the tag name, the block transfer type and
number of words, and the rack address being emulated.
Click OK if the information is correct. The system will now build the tags required to support Remote
I/O.
NOTE: You have to create your block transfer tags using the A-B Remote I/O protocol setup dialog
box. You cannot go to the panel editor and drop down a tool and assign a tag of "BTR0100."
Review steps:
• select the PLC type
• select the baud rate
• select the rack number
• click the observe button to change a quarter rack to emulate mode
• click the check box in the desired group and slot, either BTR or BTW.
• select the Tag Name or click Auto name
• select the desired number of words
• click OK. Verify the Tag names, transfer mode and number of words.
• click OK. Done!
QUICKDESIGNER Allen-Bradley • 59
Block Transfer Operations
In order to read or write block transfer data, your PLC must be programmed to initiate a Block
Transfer Write or Block Transfer Read to an emulated rack address. With a non-continuous block
transfer, the entire block of data is updated each time the processor runs the block transfer instruction.
The non-continuous mode is used to control when or the number of times the block transfer occurs.
The following diagram shows a bi-directional alternating Block Transfer for a PLC-5/VME.
When the rung goes true, the BTW instruction tells the processor to write data stored in the PLC data
file to the specified rack/group/module address. The BTW rack/group/module address is the BTW
emulated address in the target display.
The BTR instruction tells the processor to read data from the rack/group/module address and store it
in the PLC data file. The BTR rack/group/module address is the BTR emulated address in the target
display. The BTR or BTW instruction writes values into its control block address when the
instruction is entered. The processor uses these values to execute the transfer.
Block Transfer Files
In the Using Remote I/O section, you were shown how to assign a Tag Name. Tag names were
automatically selected as BTR0120 and BTW0120. These tag names are used to identify the data files
where the Block transfer information is stored in the target display. Remember that the automatically
assigned tag names also identify the type of block transfer and the rack assignment.
The following drawing shows how a Block Transfer Read function in the PLC reads data from the
BTR0120 file in the target display. Since the Length was set to 16, there will be 16 words read from
the target display into the PLC.
60 • Allen-Bradley QUICKDESIGNER
The following drawing shows how a Block Transfer Write function writes data from the PLC to the
BTW0120 file in the target display. Since the Length was set to 16, there will be 16 words written
from the PLC to the target display.
QUICKDESIGNER Allen-Bradley • 61
Reading Bit Data in BTW Files
This section describes how to use Block Transfer Tag names to read bit data from BTW data files in
the target display.
To read bit information in a data file, you need to specify the name of the data file, the word within
the file and a bit specifier. The command format used to specify bit data is FILENAME[word]/bit.
Example: BTW0120[07]/04. In the following example, the name of the data file is BTW0120 and the
size of the file is 16 words. The example illustrates several Tag Names and their relationship to the
data file.
BTW0120
Tag Name Data File Location Bit Location
BTW0120[00]/00 Word 0 Bit 00
BTW0120[01]/02 Word 1 Bit 02
BTW0120[07]/04 Word 7 Bit 04
BTW0120[14]/12 Word 14 Bit 12
BTW0120[15]/15 Word 15 Bit 15
This command format allows you to write a word to the data file using an operator such as Numeric
Data Entry. For example, when creating a numeric data entry, you are presented with a setting menu
that requests a Tag name. If you entered BTR0120[2], the target display would write the data entered
from the data entry panel to word 2 in the data file labeled BTR0120.
62 • Allen-Bradley QUICKDESIGNER
Writing Bit Data to BTR Files
This section describes how to use Block Transfer Tag names to write bit data to BTR data files in the
target display.
To write bit information to a data file, you need to specify the name of the data file, the word within
the file and a bit specifier. The command format used to specify bit data is FILENAME[word]/bit.
Example: BTW0120[07]/04. In the following example, the name of the data file is BTW0120 and the
size of the file is 16 words. The example illustrates several Tag Names and their relationship to the
data file.
BTR0120
Tag Name Data File Location Bit Location
BTR0120[00]/00 Word 0 Bit 00
BTR0120[01]/02 Word 1 Bit 02
BTR0120[07]/04 Word 7 Bit 04
BTR0120[14]/12 Word 14 Bit 12
BTR0120[15]/15 Word 15 Bit 15
This command format allows you to write a bit to the data file using an operator such as a push
button. For example, when creating a push button, you are presented with a setting menu that
requests a Tag name. If you entered BTR0120[7]/04, the target display would write bit 4 of word 7 in
the data file labeled BTR0120.
QUICKDESIGNER Allen-Bradley • 63
Optional Data File Names
The data file names used in previous examples were automatically generated by the software. These
names were coded to indicate the rack/group/module address and the type of block transfer. For
example, the data file name BTR0120 indicates that the data file is a block transfer read and the
emulated slot address is rack 1, group 2, module 0. You have the option of naming these data files
anything you want, we just tried to make it easier for you. You can name them BUTTONS, or
VALVES, or whatever. The format of the tag name remains the same. The word specifier must be
contained in brackets and the bit specifier must be designated by a slash (/). Therefore,
VALVES[00]/01 is word 00, bit 01 of data file named VALVES.
There are some precautions when using your own naming system. It becomes difficult to remember
what kind of block transfer is associated with optional file names. For example, is VALVES a BTR or
BTW file name? We suggest you adopt a naming convention that includes a reference to the type of
block transfer. This will prevent you from trying to write a bit to a block transfer read data file.
The name of the data file can be up to 31 characters, so you can be creative with naming conventions.
Instead of VALVES, perhaps VALVES(BTW) would better indicate the type of file.
There is also a caution about using automatically named files. Make sure the rack/group/module you
pick to emulate will not be needed later on. If you are forced to give up that rack/group/module
location, you will be stuck with many operators that now have the wrong file name. For example, if
you start out using the file name BTR0120, and you must release rack 01, group 2, module for a real
rack, you will be stuck with operators assigned to that file name. You can assign a new rack by
turning off the automatic name feature and use the old name, but now it will be very confusing. If you
assign your own file names, it will always be easy to remember what the file names are for and how
they are used.
Error Codes
The error code table is now as follows:
(02:C0) Fatal error, Detected wrong or missing I/O card
(02:C1) Fatal error, I/O card failed to initialize & start
(02:C2) Fatal error, Invalid configuration (rack, BTR, or BTW)
(02:C3) Fatal error, undefined
(02:C4) I/O card error, command error
(02:C5) I/O card error, status error
(02:C6) I/O card error, watchdog failure
(02:C7) I/O card error, memory failure
(02:C8) I/O card error, passthrough error
(02:C9) I/O card error, Invalid command
(02:CA) I/O card error, undefined
(02:CB) Com error, S1 file failed to open
(02:CC) Com error, I/O link error
(02:CD) Com error, undefined
(02:CE) Com error, undefined
(02:CF) Com error, Timeout (also fe & ff)
(02:FB) Data memory table overflow
(02:FC) Protocol error
(02:FD) Data error
(02:FE) RX timeout
(02:FF) TX timeout or SIO error
64 • Allen-Bradley QUICKDESIGNER
Pass Through Mode
QUICKDESIGNER Advanced supports the downloading of application files over the Allen-Bradley
Data Highway +, using the PLC-5 Remote I/O Pass-Through feature. The QuickPanel (QP2) is
connected as a remote I/O device to the PLC-5. This feature allows the customer to download
application files to the QuickPanel without changing cabling, and without having to go from
QuickPanel to QuickPanel with a personal computer for direct downloading. The current Pass-
Through release of QUICKDESIGNER Advanced requires the use of an S-S technologies Data
Highway + card in the personal computer.
QUICKPANEL
CH 0
REMOTE I/O
DH+
PLC-5/30
PROGRAMMABLE
CONTROLLER
AB Data Highway plus (DH+) is the means by which Programmable Logic Controllers and
Programming Stations are linked together so that program and status information can be shared
among stations on the network.
AB Remote I/O (RIO) is a PLC network that allows control of external racks of I/O via a 2 wire
mechanism.
A Rack is a physical and virtual location on the RIO network that contains up to 16 slots. (8 groups, 2
slots/group)
A Slot is both a physical and virtual card location in the Rack that typically holds inputs and outputs,
and can hold function modules such as Basic modules. These function modules can contain program
data which it gets from the PLC via the Block Transfer mechanism.
Block Transfer is a mechanism by which a PLC can transfer 64 words (128 bytes) of information in
one packet to a single slot location via the RIO network.
The Quick Panel can emulate a full set of racks on the AB RIO network. Utilizing Quick Designer
configuration software, a Quick Panel can be configured to emulate inputs and outputs ( relay closures
and sensor inputs ) and function module I/O (analog values) and the block transfers associated with
them.
The standard download feature uses a serial protocol to send application files directly from a PC to a
single Quick Panel. The Pass Through mode is an enhancement to the download operation, which
allows files to be sent to a Quick Panel that is already part of an active RIO network application. The
user selects a PLC location along with a card and slot information. The application file is sent to the
PLC on the Data Highway Plus network. The PLC then uses Block Transfers to send the file out to
the rack and slot location on the RIO network.
QUICKDESIGNER Allen-Bradley • 65
Pass Through Setup
Go to the Project Setup dialog box and select AB Remote I/O as the PLC. Click the Protocol button to
display the AB Remote I/O configuration dialog box. Select the PLC type and the Baud rate of the
network.
Each Quick Panel on the RIO can emulate one or more quarter racks. For Pass Through to work
properly, each Quick Panel must be assigned to its own full quarter rack. No other Quick Panel can
share emulation of a rack.
Select an unused rack and select a quarter rack for emulation by clicking the Observe button. Select a
BTW and a BTR for a single slot location and assign both to a length of 64. The slot is now setup for
a Block Transfer operation, which can be assigned to Pass Through.
Make sure the PLC does not use any BTW or BTR for the selected slot.
In the following example, Rack 2 has been selected. The second quarter rack, consisting of Group 2
and Group 3, has been selected for emulation. Slot 0 has been configured for a BTR of 64 and a BTW
of 64.
Click the Pass-through button to display the Pass Through dialog box.
66 • Allen-Bradley QUICKDESIGNER
Download Method
Select Serial download to use the standard method of connecting a PC directly to a Quick Panel using
an HMI-CAB-C49 cable. Select Pass-Through to download the application file through the Data
Highway Plus and Remote I/O network. If you select Ask, the download operation will stop and ask
you to select Serial or Pass-Through.
The first time you create a pass through application, it must be downloaded to the QuickPanel using
serial download. Subsequent downloads can then be done using pass through.
DH+ Card Name
Name of the card type used for access to the Data Highway Plus. The following name is the default
name found in the PT.INI setup file.
SD2 (Sutherland and Shultz)
The PT.INI file contains the Sutherland and Shultz DH+ card setup information. See the PT.INI
section for more information.
Destination DH+ Node
This is the node address of the destination PLC.
Note: The node address of the DH+ card in the PC is set to the default address of 61. This address is
set in the PT.INI file.
Block Transfer Address
This must be the same address selected as the quarter rack emulation. In the previous example, Rack
2, Group 2, Slot 0 was selected as the slot to use for the Block Transfer operations. Therefore:
Rack = 2
Group = 2
Slot = 0
At this point, Pass Through is assigned to a BTW/BTR. Click Ok to accept the settings and close the
dialog box. Click OK in the AB Remote I/O dialog box to complete the setup.
PT.INI File
This file contains setup information for the Sutherland and Shultz DH+ card. The default settings are
shown in the following listing. To change the node address of the SD2 card, you must edit the PT.INI
file. A download operation will read the file for DH+ card setup information.
Note: If you are running QD3 and other PLC programming software on the same system, make sure
only one program is running at a time. If other PLC programming software uses the DH+ card
assigned to QD3, then the PT.INI file should be modified to match the settings for the other software.
This will allow the card to always appear the same way on the network.
QUICKDESIGNER Allen-Bradley • 67
[SD2] (DH+ Card Name)
;SourceNode, this is an octal #, DH+ node # of the SD2 card.
SourceNode=61
;BoardAddress, this is a hexadecimal #, address segment of the SD2 card.
BoardAddress=C800 (see CONFIG.SYS section to configure this address)
;IOport, this is a hexadecimal #, IO port required by the SD2 card.
IOport=250
;TeminalName is any string, the DH+ name assigned to the SD2 terminal.
TeminalName=TCPpt
CONFIG.SYS
The Sutherland and Shultz DH+ card requires an address segment from C800 to CFFF. This is
handled by a command line in the CONFIG.SYS file. For example:
DEVICE=C:\EMM386 X=D000-D7FF
If you are running Windows 95, you can reserve resources by opening the Control
Panel\System\Device Manager\Properties\Reserve Resources. Click the Memory button. Add C8000-
CFFFF to Settings.
DOWNLOAD
Before the Pass Through operation will work with a unit on the Remote I/O network, a new
executable file, and an application file containing the Pass Through Remote I/O setup information
must be downloaded to the QuickPanel using the standard serial download. All subsequent downloads
can then use the pass through feature on the Remote I/O network.
To change the Rack/Group/Slot assignment for pass through, a new application file must be
downloaded to the display using serial download.
To upgrade or reload the device executable, you must use serial download.
Critical faults during a download may require a new device executable file and application file be
loaded into the display using serial download.
68 • Allen-Bradley QUICKDESIGNER
Aromat
Do NOT use this protocol with QP1 devices. It is designed to be used with
CAUTION ONLY QP2 devices. For example, QPJ-2D100-L2P is a QP2 device.
CONFIGURATION
FP1 - Using Quick Designer, click on Setup. Click on Protocol, in Destination ID type 1. Click on
Port and set to RS232C, 19200 baud rate, 8 data bits, odd parity, 1 stop bit and none handshake, click
OK. Make sure that in the PLC switch the 19200 baud rate is selected.
Remember to select the appropriate target in Display Device Model. The PLC manual and/or
programming software may be required to determine the PLC port settings.
QUICKDESIGNER Aromat • 69
Connect the Quick Panel SIO port to the PLC port using the cabling described in the CABLE
section.
Cable
This cable connects to a FP1 Smart Cable P/N AFP15201-US9. The FP1 Smart Cable can be obtained
from Aromat.
TO TCP DEVICE
TO PLC PORT
25 PIN MALE
2 3
9 PIN MALE
3 2
7 5
4
TO TCP DEVICE TO PLC PORT 5
1
Shield
HMI-CAB-C111
70 • Aromat QUICKDESIGNER
B&R
TO B&R BAT
B&R
MINICONTROL
Serial
TO TCP DEVICE +
+
n.c.
Interface
0
1
_ 2
HMI-CAB-C98 _ 3
HMI-CAB-C98 Cable
The HMI-CAB-C98 cable has two wires; one marked 0 and the other marked 1. Make sure the wire
marked 0 connects to the 0 terminal and the wire marked 1 connects to the 1 terminal. Jumper 0 to 2
and jumper 1 to 3 on the Phoenix connector. Add a 120 ohm, 1/4 watt resistor between 0 and 1 on the
Phoenix connector.
11 TXA (send data)
10 RXA (rec data +) ---0 0
15 1
25 PIN MALE
120 OHM-.25W
RESISTOR
18
TO TCP DEVICE TO B&R 19
21
22
TO TCP DEVICE
HMI-CAB-C98 TO PLC PORT
QUICKDESIGNER B&R • 71
Setup for using a B&R Minicontrol
Use the following procedure to ensure your target device is setup properly for the B&R Minicontrol
PLC. The procedure is in condensed format. Only the required settings are outlined. For additional
details, see Creating a New Project beginning on page 3.
Project Setup
The drawing is a diagram of the Project Setup dialog box. Each button will display an additional
dialog box. Many settings are options and are not required to establish communications. Verify the
Project name and Display Device Model are correct. Leave the Initial Screen name blank.
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (B&R Minicontrol). See PLC Type on page 5.
Port Button
Click the Port button to display the Serial Parameters dialog. See Serial Parameters on page 6. The
following settings are recommended for B&R Minicontrol.
Elect. Format RS422/485 Half Duplex
Baud Rate 9600
Data Bits 8
Parity None
Stop Bits 1
Handshake None
72 • B&R QUICKDESIGNER
Protocol Button
Click the Protocol button to display the dialog box associated with the selected PLC.
Enter the Destination ID (PLC address). Enter Timeout in seconds. Click OK to return to the Project
Setup dialog box.
NOTE: Address range 800-1200 is used by the PLC and should not be written to.
Name Address number of Bit suffix Writes Value Range Sample(s) Notes:
Range Bytes Range supported
R#D# 0 - 7167 1- NA yes 0-255 R0D1 Caution: Each address is a byte, words
0 - 7166 2 0- 65535 R100D2 should use every other address.
R#B 0 - 7167 Not yes 0 - 255 R34B Because only a length of 1 byte is
applicable 0-7 0-1 R16B.1 applicable length is not specified.
R#T 0 - 7167 Not NA yes 0 - 255 R1T Because only a length of 2 bytes is
applicable ascii character applicable length is not specified.
R#I# 0 - 7167 1- NA yes -128 - 127 R1734I Caution: Each address is a byte, words
0 - 7166 2 -32768-32767 R2 should use every other address.
R#F 0 - 7164 Not NA yes R200F Because only a length of 4 bytes is
applicable applicable length is not specified.
Caution: Each address is a byte, floats
should use every fourth address.
QUICKDESIGNER B&R • 73
CANopen
CAN is a serial bus system especially suited for networking "intelligent" devices as well as sensors
and actuators within a system or sub-system.
CAN is a serial bus system with multi-master capabilities, that is, all CAN nodes are able to transmit
data and several CAN nodes can request the bus simultaneously. In CAN networks there is no
addressing of subscribers or stations in the conventional sense, but instead, prioritized messages are
transmitted. A transmitter sends a message to all CAN nodes (broadcasting). Each node decide on the
basis of the identifier received whether it should process the message or not. The identifier also
determines the priority that the message enjoys in competition for bus access.
Additional information can be obtained from the www.can-cia.de web site.
Protocol Setup
The Project Setup dialog box can be displayed by clicking the Setup button in the main menu. In the
Project Setup dialog box, go to the PLC &Protocols section. Select CANopen from the PLC Type list
box. Click the Protocol button to display the following dialog box.
74 • CANopen QUICKDESIGNER
Configure I/O
Click the Configure I/O button to display the following dialog box.
Inputs
Enter the number of Input words up to a maximum of 127 words (254 bytes). The Start Address is
normally set to 0. You can change the Start Address to create an offset address. Different devices can
reference the same CANopen address but may require an offset for one of the devices. Changing the
Start Address will change the address ranges shown in the CANopen Protocol dialog box. The Start
Address is provided so that the user can align the tag address entered in Quick Designer with the
mapped address in the PLC or host device.
Outputs
Enter the number of Output words up to a maximum of 127 words (254 bytes). The Start Address is
normally set to 0. You can change the Start Address to create an offset address. Different devices can
reference the same CANopen address but may require an offset for one of the devices. Changing the
Start Address will change the address ranges shown in the CANopen Protocol dialog box.
Addressing
Some PLCs use Byte addressing while others use Word addressing. Select Addressing on Byte
Boundaries or Word Boundaries, based on your PLC type. The range of valid addresses will be
displayed in the CANopen Protocol dialog box, which appears when you close the configuration
dialog box.
QUICKDESIGNER CANopen • 75
Double Word Storage Format
This option allows selecting the way words are arranged into double words. Selecting MSW-LSW
will arrange words from the MSW (Most Significant Word) to the LSW (Least Significant Word).
Selecting LSW-MSW will arrange words from the LSW (Least Significant Word) to the MSW (Most
Significant Word). MSW-LSW will store the MSW in the current address word and the LSW will be
stored in the next word. LSW-MSW is stored in the opposite order.
Power On State
A Series B module contains a Battery Backup RAM circuit that maintains a copy of the inputs. The
input states can be restored (Restore Inputs) or cleared (Clear Inputs) when power is applied.
Note: ONLY Series B modules contain the Battery Backup RAM circuit. Series B modules can be
identified by the model number on the product label. Example: MODEL: QPI-DVN-202 SERIES B
Example 1:
In this configuration example, Input Words are set to 64, Output Words are set to 64 and Addressing
is set to Word Boundaries.
When the OK button is clicked, the following CANopen Protocol dialog box will appear. The valid
address ranges are shown for all types of variables.
76 • CANopen QUICKDESIGNER
The number of Input and Output words selected will determine the valid address range limits for each
variable type. The variable type names are fixed and are displayed in a cell corresponding to the
addressing type. For example, in the following dialog box, the number of Input Words is set to 64.
The variable name for Input Words is IW and the range for 64 words is IW0 to IW63. Output Words
are also set to 64, so the variable name is QW and the range is QW0 to QW63.
Example 2:
In this configuration example, Input Words are set to 64, Output Words are set to 64 and Addressing
is set to Byte Boundaries.
When the OK button is clicked, the following CANopen Protocol dialog box will appear. The valid
address ranges are shown for all types of variables.
When byte addressing is selected, the valid address ranges appear in a different format in the
CANopen Protocol dialog box.
The number of words selected will determine the range limits for each variable type. The variable
type names are fixed and are displayed in a cell corresponding to the addressing type. For example, in
the following dialog box, the number of Input Words is set to 64. The variable name for Input Bits is I
and the range for 64 words is I0.0 to I127.7. Output Words are also set to 64, so the variable name for
bit Outputs is Q, with the range of Q0.0 to Q127.7.
QUICKDESIGNER CANopen • 77
A byte is 8 bits, therefore the addressing method is to use a period as the bit delimiter in the
addressing format. For example, I0.0 is bit 0 of Word 0, and I0.7 is bit 7 of Word 0.
Setup Network
Click the Setup Network button to display the following dialog.
Select the Node Address from the list box. You can choose the Switch(s) on the CANopen module or
an address from the list. The switches are labeled Address Lo and Address High.
Select the Data Rate from the list box. You can choose to use the Switch on the CANopen module or
force the data rate to one of the selections in the list.
78 • CANopen QUICKDESIGNER
Tag Variables
Valid tag variable names and address ranges are shown in the CANopen Protocol dialog box when
you configure the protocol.
The number of Input and Output words and the addressing will determine the valid address range
limits for each variable type. The variable type names are fixed and are displayed in a cell
corresponding to the addressing type.
Byte Addressing
Byte Addressing: Input Words = 127, Output Words = 127, Input start address = 0, Output start
address = 0.
Name Address range Value range Write Type
I (Input Bit) I0.0 to I253.7 0 to 1 Y Bit
Q (Output Bit) Q0.0 to Q253.7 0 to 1 N Bit
IB (Input Byte) IB0 to IB253 0 to 255 Y Byte
QB (Output Byte) QB0 to QB253 0 to 255 N Byte
IW (Input Word) IW0 to IW252 -32768 to 32767 Y Word
QW (Output Word) QW0 to QW252 -32768 to 32767 N Word
ID (2 Word Input) ID0 to ID250 -999999999 to
999999999 Y DWord
QD (2 Word Output) QD0 to QD250 -999999999 to
999999999 N Dword
QUICKDESIGNER CANopen • 79
For the combination of a W, DW, W, the following example shows the layout.
BYTE BYTE
Word Addressing
Word Addressing: Input Words = 127, Output Words = 127, Input start address = 0, Output start
address = 0.
Name Address range Value range Write Type
I (Input Bit) I0.0 to I126.15 0 to 1 Y Bit
Q (Output Bit) Q0.0 to Q126.15 0 to 1 N Bit
IW (Input Word) IW0 to IW126 -32768 to 32767 Y Word
QW (Output Word) QW0 to QW126 -32768 to 32767 N Word
ID (2 Word Input) ID0 to ID125 -999999999 to
999999999 Y DWord
QD (2 Word Output) QD0 to QD125 -999999999 to
999999999 N Dword
80 • CANopen QUICKDESIGNER
For the combination of a W, DW, W, the following example shows the layout.
WORD WORD
Examples
QUICKDESIGNER CANopen • 81
PLC Comm Errors
In the event of a communication problem, error messages are displayed on a status line at the bottom
of the display.
Error Displayed Definition
PLC COMM ERROR (02:C0) Detected wrong or missing I/O card
PLC COMM ERROR (02:C1) I/O card failed to initialize and start
PLC COMM ERROR (02:C2) Invalid configuration, must match master
PLC COMM ERROR (02:C3) Undefined
PLC COMM ERROR (02:C4) Startup error, S1 file failed to open
PLC COMM ERROR (02:C5) Startup error, watchdog failure
PLC COMM ERROR (02:C6) Startup error, memory failure
PLC COMM ERROR (02:C7) Startup error, undefined
PLC COMM ERROR (02:C8) I/O Card error, command error
PLC COMM ERROR (02:C9) I/O Card error, status error
PLC COMM ERROR (02:CA) I/O Card error, Link Inactive
PLC COMM ERROR (02:CB) I/O Card error, BBRAM error
PLC COMM ERROR (02:CC) Comm error, PLC not responding
PLC COMM ERROR (02:CD) Comm error, I/O Link error
PLC COMM ERROR (02:CE) Comm error, Improper or invalid response
PLC COMM ERROR (02:CF) Comm error, undefined
82 • CANopen QUICKDESIGNER
DeviceNet
Protocol Setup
The Project Setup dialog box can be displayed by clicking the Setup button in the main menu. In the
Project Setup dialog box, go to the PLC &Protocols section. Select DeviceNet from the PLC Type list
box. Click the Protocol button to display the following dialog box.
Configure I/O
Click the Configure I/O button to display the following dialog box.
QUICKDESIGNER DeviceNet • 83
Inputs
Enter the number of Input words up to a maximum of 127 words (254 bytes). The Start Address is
normally set to 0. You can change the Start Address to create an offset address. Different devices can
reference the same DeviceNet address but may require an offset for one of the devices. Changing the
Start Address will change the address ranges shown in the DeviceNet Protocol dialog box. The Start
Address is provided so that the user can align the tag address entered in Quick Designer with the
mapped address in the PLC or host device.
Outputs
Enter the number of Output words up to a maximum of 127 words (254 bytes). The Start Address is
normally set to 0. You can change the Start Address to create an offset address. Different devices can
reference the same DeviceNet address but may require an offset for one of the devices. Changing the
Start Address will change the address ranges shown in the DeviceNet Protocol dialog box.
Addressing
Some PLCs use Byte addressing while others use Word addressing. Select Addressing on Byte
Boundaries or Word Boundaries, based on your PLC type. The range of valid addresses will be
displayed in the DeviceNet Protocol dialog box, which appears when you close the configuration
dialog box.
Power On State
A Series B module contains a Battery Backup RAM circuit that maintains a copy of the inputs. The
input states can be restored (Restore Inputs) or cleared (Clear Inputs) when power is applied.
Note: ONLY Series B modules contain the Battery Backup RAM circuit. Series B modules can be
identified by the model number on the product label. Example: MODEL: QPI-DVN-202 SERIES B
84 • DeviceNet QUICKDESIGNER
Word Addressing
In this configuration example, Input Words are set to 64, Output Words are set to 64 and Addressing
is set to Word Boundaries.
When the OK button is clicked, the following DeviceNet Protocol dialog box will appear. The valid
address ranges are shown for all types of variables.
The number of Input and Output words selected will determine the valid address range limits for each
variable type. The variable type names are fixed and are displayed in a cell corresponding to the
addressing type. For example, in the following dialog box, the number of Input Words is set to 64.
The variable name for Input Words is IW and the range for 64 words is IW0 to IW63. Output Words
are also set to 64, so the variable name is QW and the range is QW0 to QW63.
QUICKDESIGNER DeviceNet • 85
Byte Addressing
In this configuration example, Input Words are set to 64, Output Words are set to 64 and Addressing
is set to Byte Boundaries.
When the OK button is clicked, the following DeviceNet Protocol dialog box will appear. The valid
address ranges are shown for all types of variables.
When byte addressing is selected, the valid address ranges appear in a different format in the
DeviceNet Protocol dialog box.
The number of words selected will determine the range limits for each variable type. The variable
type names are fixed and are displayed in a cell corresponding to the addressing type. For example, in
the following dialog box, the number of Input Words is set to 64. The variable name for Input Bits is I
and the range for 64 words is I0.0 to I127.7. Output Words are also set to 64, so the variable name for
bit Outputs is Q, with the range of Q0.0 to Q127.7.
A byte is 8 bits, therefore the addressing method is to use a period as the bit delimiter in the
addressing format. For example, I0.0 is bit 0 of Word 0, and I0.7 is bit 7 of Word 0.
86 • DeviceNet QUICKDESIGNER
Setup Network
Click the Setup Network button to display the following dialog.
Select the Node Address from the list box. You can choose the DIP Switch on the Device Net module
or an address from the list.
Select the Data Rate from the list box. You can choose to use the DIP Switch on the DeviceNet
module or force the data rate to 125, 250 and 500 Kbaud.
Tag Variables
Valid tag variable names and address ranges are shown in the DeviceNet Protocol dialog box when
you configure the protocol.
The number of Input and Output words and the addressing will determine the valid address range
limits for each variable type. The variable type names are fixed and are displayed in a cell
corresponding to the addressing type.
QUICKDESIGNER DeviceNet • 87
Byte Addressing Layout
For the combination of a W, DW, W, the following example shows the layout.
BYTE BYTE
88 • DeviceNet QUICKDESIGNER
Word Addressing Layout
DWORD WORD DWORD WORD
For the combination of a W, DW, W, the following example shows the layout.
WORD WORD
More Examples
QUICKDESIGNER DeviceNet • 89
Error Codes
In the event of a communication problem, error messages are displayed on a status line at the bottom
of the display.
02:FF:A0 Error initializing Anybus module
02:FF:01 Incorrect Anybus module ID
02:FF:02 Anybus module watchdog time-out (module lockup)
02:FF:03 Network Error - Network not connected
02:FF:10 The timestamp in BBRAM does not match timestamp downloaded. Since the BBRAM is invalid, the
inputs will be cleared. This is a non-critical error and it will only be displayed for 2 seconds after power up
or reboot. Note that it is normal for this error to be displayed after downloading a new project since a new
time stamp is included in the download. If this error is displayed after a reboot or power-cycle, the
BBRAM in the unit may be defective.
02:FF:11 The BBRAM has a checksum error. Since the BBRAM is invalid, the inputs will be cleared. This is a
non-critical error and it will only be displayed for 2 seconds after power up or reboot. It is possible that the
power was lost or the QP was rebooted at the exact instance we were updating the BBRAM and therefore
the data in the BBRAM is invalid. However, if this error occurs often, the BBRAM in the unit may be
defective.
90 • DeviceNet QUICKDESIGNER
GE Fanuc SNP
HMI-CAB-C82 Cable
This cable connects the target display CN1 serial port to the GE Series SNP Program Port.
A label is placed on each end of the cable to indicate which device should be connected to that end.
One of the labels will also indicate the cable part number so you can quickly verify you are using the
right cable for your application. You can make your own HMI-CAB-C82 cable using the following
wiring diagram.
25 PIN MALE
4 4
5 5
7 7
1 SHIELD 6
TO TCP DEVICE TO PLC PORT
TO TCP DEVICE 8
HMI-CAB-C53/A 20
TO PLC PORT
Use the HMI-CAB-C93 RS485 cable to connect a target display to a GE 90-30 CMM Module RS485
port.
RESISTOR
7 7
120 OHM
16 9
25 PIN MALE
25 PIN MALE
10 21
RESISTOR
15 13
120 OHM
11 25
4 10
TO TCP DEVICE TO PLC PORT 5 11
HMI-CAB-C93 18 22
19 23
21 1 SHIELD
22 TO PLC PORT
TO TCP DEVICE
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (GE SNP). See PLC Type on page 5.
Port Button
Click the Port button to display the Serial Parameters dialog. The port values are automatically set to
standard default values. See Serial Parameters on page 6. The following settings are recommended for
GE SNP
Elect. Format RS422/485 Full Duplex
Baud Rate 19200
Data Bits 8
Parity Odd
Stop Bits 1
Handshake None
The Port Button for GE SNP has different settings if you are using a State Logic CPU. Change the
Parity setting from ODD for the Standard Logic CPU to NONE for the State Logic CPU. Make sure
the format is set to RS422/485.
GE GENIUS Information
Do NOT use this protocol with QP1 devices. It is designed to be used with
CAUTION ONLY QP2 devices. For example, QPJ-2D100-L2P is a QP2 device.
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (GE GENIUS). See PLC Type on page 5.
96 • GE GENIUS QUICKDESIGNER
Port Button
No settings are required since GE GENIUS communication parameters are controlled by the option
module.
Protocol Button
Click the Protocol button to display the dialog box associated with the selected PLC.
QUICKDESIGNER GE GENIUS • 97
Send Global Data
Reference Address
The QuickPanel send data table will be sent to this starting point PLC variable. If no global data is
being broadcast from the QuickPanel to the PLC leave this selection blank.
Valid PLC variable address
Series 6 - %R
Series 90/XX - %AI, %AQ, %I, %Q, %G, %R
Length
The number of words (%AI, %AQ, %R in single increments 1 through 64) or the number of bits (%I,
%Q, %G, in multiples of 8, 8 through 1024).
Enable Datagrams
If no global data is being broadcast by the PLC than datagrams must be enabled to read panel tag
variables from the PLC. If global data is being sent by the PLC datagrams can be enabled to read
panel tag variables that are not part of the global data receive table in the QuickPanel. All QuickPanel
tag variables will be updated from the global data receive table unless they are not included within the
table, then a datagram will be sent to the PLC to obtain the status of the tag variable.
Receive Global Data
Reference address
The PLC data table will be received in the QuickPanel at this staring address. If no global data is
being broadcast by the PLC to the QuickPanel leave this selection blank.
Valid PLC variable address
Series 6 - %R
Series 90/XX - %AI, %AQ, %I, %Q, %G, %R
Length
The number of words (%AI, %AQ, %R in single increments 1 through 64) or the number of bits (%I,
%Q, %G, in multiples of 8, 8 through 1024).
Reference address check
When this is enabled the QuickPanel will check and verify that the PLC ID # sending the global data
matches the GE Device ID # configured in this dialog box. It will also check that the length of the
data sent to the QuickPanel matches the length defined in the receive data table length. If these do not
match an error code will be generated and displayed on the QuickPanel.
Click OK to return to the Project Setup dialog box.
98 • GE GENIUS QUICKDESIGNER
Cable Connection
Using the cable type selected for the application, connect the devices as shown in the following figure.
QPJ-GEG-201
XXXXX XXXXX
SHIELD OUT -4
SHIELD IN -3
SERIAL 2 -2
SERIAL 1 -1
QUICKPANEL
GE Fanuc
CAUTION
The bus shield wires are not insulated; do not permit them to touch other wires or terminals.
Spaghetti tubing should be used to cover these wires.
Connect Serial 1 terminals of adjacent devices and the Serial 2 terminals of adjacent devices.
Connect Shield In to the Shield Out terminal of the previous device. (For the first device on the bus,
Shield In is not connected.)
Connect Shield Out to the Shield In terminal of the next device. (For the last device on the bus,
Shield Out is not connected.)
FIRST LAST
DEVICE DEVICE
1 1 1 1
QUICKDESIGNER GE GENIUS • 99
Tag Variable Table
Addressing Words
Words are addressed by entering the full variable name in the Tag field of the dialog box that
corresponds to the tool being edited. A word address has two components. The QuickPanel Name and
the word address itself.
%RBT0100
In the example above, “%RBT” is the QuickPanel Name, and “0100” is the specific word address.
Addressing Bits
Bits are addressed in the same format as words but require just a little more information. If the least
significant bit of a word is the element we wish to address, simply add that information at the end of
the word address in the following format:
%RBT0100:0
Adding the colon at the end of the word address followed by a zero, identifies the least significant bit
of word 100.
Device Address Range Data Range Read Description & Notes
Prefix Min./Max. Min./Max. / Write
The goal is to have the PLC broadcast 10 registers of data (since a Series 6 can only send R data).
This data will be contained in R0331 through R0340. QP-A will broadcast 5 registers of data that the
PLC will store in R0341 through R0345, and QP-B will broadcast 7 registers of data that the PLC
will store in R0346 through R0352.
PLC configuration
In order to get the Genius bus controller operating a series of steps dealing with hardware must be
resolved:
• Determine which slot in the I/O chassis the Genius bus controller will be installed, and set up the
hardware address of for this module by configuring the backplane dipswitch. Refer to GE Fanuc
manual number GFK-0171 for details. In our example the hardware address is 1
• Baud rate default setting is 153.6. This can be changed based on hardware, cable length and type,
and system requirements.
• Terminating impedance will be required if this is the end of a Genius bus communication link.
• Is expanded I/O addressing enabled. Refer to GFK-0171.
• Device number defaults to 31. If there is no other Genius bus controller than this number need
not be changed.
• CPU shutdown mode allows a Genius bus controller failure to shutdown the CPU scan. This
requirement should be determined by the system designer.
Software requirements
The next step is to program a DPREQ instruction directly connected to the power rail into the PLC.
Details of this can be found in chapter 7 of the GE Fanuc document GFK-0171.
R0290
|-[DPREQ]
>
RACK 0
PS 1 2 3 4 5 6 7 8 9
PROGRAMMED CONFIGURATION
CPU 731
8 MHZ
OFFLINE
C:\LM90\name PRG: name CONFIG VALID
REPLACE
To configure a Bus Controller, the cursor is moved to the slot representation corresponding to the Bus
Controller's installed location in the PLC rack. With the cursor correctly positioned, selecting F2
(Genius) displays a module configuration screen. From this screen, pressing Fl (GBC) displays a list
of available Bus Controller types. The Bus Controller type that matches the module installed in the
slot is selected from this list.
After selecting the Bus Controller type, these characteristics of the Bus Controller are configured:
- its baud rate
- its Device Number
- its response to bus errors
- use of Global Data, and its address and length
RACK REF VU
1gbc 2 3 4 5 6 7 8 9 10
>
RACK 0 SLOT 5 BUS 1
SOFTWARE CONFIGURATION
BEM 731
Bus #1 Addr : 31
GBC1 Baud Rate : 153K STD
Error Rate : 10
SEND GLOBAL DATA
Config Mode : MANUAL
From Addr : %R00001
Data length : 1
To (Opt.) : 0
OFFLINE
C:\LM90\name PRG: name CONFIG VALID
REPLACE
When the Bus Controller configuration screen appears, some default selections are already displayed.
These selections can be used as is, or changed for the application. Until a valid configuration is stored
to the PLC CPU, the Bus Controller will not operate on the Bus, and its Channel OK LED will not
light.
Bus Addr: Ordinarily, the Device Number (Bus Address) assigned to a Bus Controller is 31. Any
number from 0 to 31 can be used.
Baud Rate: All devices on a bus must use the same baud rate: l53.6 Kbaud standard, 153.6 Kbaud
extended, 76.8 Kbaud, or 38.4 Kbaud. Selection of a baud rate depends on the application, as
explained in the Genius I/0 System User's Manual.
The selection made on this screen determines the baud rate for the Bus Controller. Other devices on
the bus must also have their baud rate set.
Error Rate: This entry determines how the Bus Controller will respond to errors on the bus. If the
Bus Controller should drop off the bus when a specified number of errors occur within a 10-second
period, enter that number of errors here. If the Bus Controller should remain on the bus when errors
occur and try to maintain communications, enter 0 here.
CAUTION
If the bus includes a Bus Switching Module, the Error Rate MUST be set to 0. Otherwise, the
Bus Controller may drop off the bus when the BSM is switching a block to the bus.
The rest of the entries on this screen are used to set up or disable Global Data.
Config Mode: This entry determines how Global Data will be set up for the Bus Controller. If the
Bus Controller will not send or receive Global Data, select NONE. If the Bus Controller will transmit
Global Data, select MANUAL to specify a reference address and data length.
From Addr: Since MANUAL is selected, specify the beginning PLC address from which data
will be transmitted on the bus. It can be from %I, %Q, %G, %R, %AI, or %AQ memory.
Data Length: For MANUAL configuration mode, this entry specifies the amount of Global Data to
be sent each bus scan.
If bit-oriented memory (%I, %Q, or %G) is selected above, this may be 0 to 1024 bits. It must be a
multiple of 8. If you enter a number that is not a multiple of 8, the software will automatically adjust
it upward.
If word-oriented memory (%AI, %AQ, or %R) is selected above, this may be 0 to 64 words. If more
than 64 words are selected, the Logicmaster 90 software automatically adjusts the length to 64 words.
The total amount of memory specified must not exceed the configured memory size for that memory
type. For example, for the 731 CPU, the maximum value for %I memory that can be configured is
512.
To (Opt): This information is not used by the QuickPanel.
After selecting the correct configuration for the Bus Controller, use the ESC key to return to the rack
display.
>
BUS ADR BUS ADR BUS ADR BUS ADR BUS ADR BUS ADR BUS ADR BUS ADR
24 25 26 27 28 29 30 31
BEM 731
GBC1
Devices
0
OFFLINE
C:\LM90\name PRG: name CONFIG VALID
REPLACE
other (F7):
May represent another Bus Controller, a High-speed Counter block, a Power Monitor Module, a
PCIM, GENI or GENA.
From the list of available bus interface modules that appears, select GENI MODULE type with the
cursor and press the Enter key. A configuration screen for the GENI module will appear.
RACK REF VU
1d in 2 d out 3 d mix 4 a in 5 a out 6 a mix 7 other 8 9 10
>
RACK 0 SLOT 4 BUS 1
SOFTWARE CONFIGURATION
CBB 902
OFFLINE
C:\LM90\name PRG: name CONFIG VALID
REPLACE
RACK 0
PS 1 2 2 4 5 6 7 8 9 10
PROGRAMMED CONFIGURATION
PWR321 CPU331
OFFLINE
C:\LM90\SYSTEM3 PRG: SYSTEM3 CONFIG VALID
REPLACE
OFFLINE
C:\LM90\SYSTEM3 PRG: SYSTEM3 CONFIG VALID
REPLACE
>
SERIES 90-30 MODULE IN RACK 0 SLOT 3
SOFTWARE CONFIGURATION
SLOT Catalog #:
3
OFFLINE
C:\LM90\SYSTEM3 PRG: SYSTEM3 CONFIG VALID
REPLACE
Press the Enter key to select the GBC. Complete the GBC configuration entries in the following
screen.
RACK
1gbc 2 gcm 3 4 5 6 7 8 9 defalt 10
>
SERIES 90-30 MODULE IN RACK 0 SLOT 3
SOFTWARE CONFIGURATION
SLOT Catalog #: IC693BEM331 9030GENIUSBUSCONTROLLER
3
%I,%Q,%G lengths are bits; %AI,%AQ,%R are words
BEM331
BUSCONTROLLERMODULEDATA
GBC Module SBA : 31 Baud Rate : 153K EXT Input Def : OFF
S6 Ref : 0 Status : %I0001 Out at strt : ENABLED
<< More Devices Exist; PgDn for Next Device. PgUp for Previous Device >>
OFFLINE
C:\LM90\SYSTEM3 PRG: SYSTEM3 CONFIG VALID
REPLACE
Note that the configuration screen consists of two parts: module-specific data (BUS CONTROLLER
MODULE DATA) and device-specific data (DEVICE DATA).
Until a valid configuration is stored to the PLC CPU, the GBC will not operate on the bus, and its
Channel OK LED will not light.
Module-specific Data
Module SBA (serial bus address)
Ordinarily, the Device Number (bus address) assigned to a bus controller is 31. Any number from 0 to
31 can be used; however, each must be unique on that Genius bus (no configured device already
present at that address). Whenever a Module SBA value is changed to a new value, the DEVICE
DATA for the GBC associated with the old address is automatically copied to the new address value
and cleared from the old address. Default: 31
Device-specific Data
A GBC module can support up to 31 devices on its bus. Each device will have the following
parameters associated with it.
Device SBA
A Device SBA can be between 0 and 31. Select by tabbing through the parameter, or by setting to the
desired value. Pressing the PgDn key increments this parameter; pressing the PgUp key decrements
this parameter If you enter a Device SBA that is the same as the Module SBA, the input area
parameters cannot be filled in and the Device Type will be fixed to CONTROL. Default: 0
To transmit global data, a device must be configured as CONTROL. (Only the SBA of the GBC
module itself can be configured as CONTROL.) Set up the output lengths to transmit global data. Up
to 128 bytes can be configured for the total of Output1 and Output2 Lengths. Discrete(%Q) data will
automatically be adjusted to multiples of 8 for byte alignment.
>
SERIES 90-30 MODULE IN RACK 0 SLOT 3
SOFTWARE CONFIGURATION
SLOT Catalog #: IC693BEM331 9030GENIUSBUSCONTROLLER
3
%I,%Q,%G lengths are bits; %AI,%AQ,%R are words
BEM331
BUSCONTROLLERMODULEDATA
GBC Module SBA : 31 Baud Rate : 153K EXT Input Def : OFF
S6 Ref : 0 Status : %I0001 Out at strt : ENABLED
<< More Devices Exist; PgDn for Next Device. PgUp for Previous Device >>
OFFLINE
C:\LM90\SYSTEM3 PRG: SYSTEM3 CONFIG VALID
REPLACE
GENERIC Devices
Note: For Input and Output Ref, the allowed memory types are %I, %AI, %Q, %AQ, %G, and %R.
Inputl Ref, Inputl Length
A GENERIC device can be configured with two independent starting locations for input data with
associated lengths for each location. The input data received from the device by the GBC is extracted
and deposited into the PLC memory areas starting at these specified locations. Default: next available
%I reference
Input2 Ref, Input2 Length (Not used for QuickPanel)
Outputl Ref, Outputl Length (Not used for QuickPanel)
Output2 Ref, Output2 Length (Not used for QuickPanel)
GE SNPX
GE SNPX protocol provides multi-drop capabilities for GE Series 90 PLC Processors.
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (GE SNPX)
Port Button
Click on the port button to display the serial parameters dialog box. The port values are
automatically set to standard PLC default values. NOTE: This setup procedure DOES NOT
guarantee that your PLC is configured similarly. This is the QuickPanel’s default communication
setting. These setting were selected because of the default settings of the PLC. Please check
communication settings on the PLC to ensure trouble-free communication.
The following settings are recommended for GE SNPX protocol
Elect. Format RS232C (use C53 cable to CMM Module port 1)
RS485 half duplex (use C82 cable to SNP port)
RS485 half duplex (use C93 cable to CMM Module port 2)
Baud Rate 19200
Data Bits 8
Parity Odd
Stop Bits 1
Handshake None
Note: The C82 cable uses a 15-pin male connector. The C93 cable uses a 25-pin male connector.
Note: The SNP port supports multi-drop only on the 90/30, not the 90/70 processors.
Time out:
The time out value (in sec.) is the time used by the protocol to reconnect to the QuickPanel if the
QuickPanel did not respond during communications. This value can range from .2 to 10.0 seconds
(tenth of second is supported).
CPU ID String:
The CPU ID string area allows up to 6 alphanumeric characters to be entered. This area specifies the
PLC address the QuickPanel will communicate to. Up to 27 PLC addresses can be assigned including
a [default] address. A blank in the CPU ID string indicates a [NULL] address selection in the PLC.
Note: With the GE 90-30, the string variable must be in all capitals to function (ex. abcd is not valid
and will not communicate. ABCD is a valid address).
Reference:
The reference section of the CPU ID sets up the address variable that will be used throughout your
QuickPanel project. The Reference is associated with the CPU ID String by selecting the reference
letter (_A, _B, _C, etc.) then typing in the 6-character address of the PLC (or leave blank for a NULL
PLC address).
The [default] setting for Reference is used when there is no _[letter] specified in the object tag
address.
Click OK to save all changes in the SNPX protocol and return to the Project Setup dialog box.
25 PIN MALE
4 4
5 5
7 7
1 SHIELD 6
TO TCP DEVICE TO PLC PORT TO TCP DEVICE 8
HMI-CAB-C53/A 20
TO PLC PORT
Use the HMI-CAB-C93 RS485 cable to connect a target display to a GE Series 90 CMM Module
RS485 port.
RESISTOR
7 7
120 OHM
25 PIN FEMALE
25 PIN FEMALE
16 9
10 21
RESISTOR
15 13
120 OHM
11 25
4 10
TO TCP DEVICE TO PLC PORT 5 11
HMI-CAB-C93 18 22
19 23
21 1 SHIELD
22 TO PLC PORT
TO TCP DEVICE
9 12
25 PIN MALE
16
10 21 13
RESISTOR
120 OHM
RESISTOR
15 13 10
120 OHM
11 25 11
4 10 14
15 PIN MALE
5 11 8
18 22 15
19 23 6
21 1 SHIELD 1 SHIELD
22
25 PIN MALE 25 PIN MALE 15 PIN MALE
QUICKPANEL CMM MODULE SNP PORT
Addressing example:
%RUI300 This address will communicate to the PLC address specified as [default]
%IBI25_D This address will communicate with the PLC specified in Reference
address D
%AQI100_ABCD This address will not communicate with any PLC because direct PLC
addressing is not allowed
%MBY_abcd This address will not communicate with any PLC because direct PLC
addressing is not allowed and the address must be in all capitals
The latest GE SNPX driver supports long integers as tag variable RLI and RLUI. A copy of the tag
variable table is shown below.
When using the Text Display, make sure the tag variable is a %RA. Only 32 characters at a time can
be displayed. Make sure the character length is set to a value of 32 or less. Use the tag editor to
modify the tag attributes.
116 • GE GENIUS QUICKDESIGNER
%RBT is the only bit variable supported. The format is %RBT:bb where :bb is the bit number 0-15.
No optional destination ID is supported.
Hitachi H Series
Do NOT use this protocol with QP1 devices. It is designed to be used with
CAUTION ONLY QP2 devices. For example, QPJ-2D100-L2P is a QP2 device.
Cabling:
The following chart shows the point-to-point wiring for the interface cable. The QuickPanel end uses
a 25 pin male connector while the Hitachi PLC end uses a 15 pin male.
QuickPanel (25 pin Male) 96MFM20AA (15 pin Male)
TXD 2 3 RD
RXD 3 2 SD
CTS 5 4 RS
GND 7 9 SG
DTR 20 5 CS
8 PHL
7 DR
14 19200 BAUD
Comm Settings:
19200, 7, 1, E, RS232
To access the bit, add the bit number to the word address. For example, the first bit of WR0100 would
be WR0100/00.
WR0100/00
Word device Bit device
QUICKDESIGNER Hitachi H Series • 119
Hitachi S10
Do NOT use this protocol with QP1 devices. It is designed to be used with
CAUTION ONLY QP2 devices. For example, QPJ-2D100-L2P is a QP2 device.
The drawing shows the setup dialog box for Hitachi S Protocol. The default setting for Timeout is
correct for most applications.
HMI-CAB-C115 Cable
The target display connects to a Hitachi S PLC using an HMI-CAB-C115 cable. Connect the cable to
the PSE port on the PLC.
TO TCP DEVICE
16 TXL
TO PLC PORT
4
TO TCP DEVICE TO HITACHI S10 5
18
19
HMI-CAB-C115
21
22
SHIELD 1
WORKING CONFIGURATION
Setup the Quick Panel to RS422/485 Half Duplex, 19200 baud, 8 data bits, odd parity, 1 stop bit, and
none handshake. Connect the HMI-CAB-C115 cable between the I/O port on the Quick panel and the
PSE port on the PLC. Verify that the following rotary switches are set as described: MAIN/SUB – 0,
CPU NO. – 3, PROT ADDR. – 0, ADDR. – 1 and 0.
Notes:
(1) Can't write to all registers of this type, some registers are used for special purpose in the
PLC.
(2) Writes to bits, modify the whole word to 0 except for the bit being Set.
(3) Word/bit types have been eliminated. D, F, & M are the bit types for DW, FW, & MS
respectively
(4) Bits are 0(msb) to F(lsb) as to follow the convention of Hitachi
Non implemented types
N, NW E1800
J A2000
M AE000
Q A6000
P B9000
PW E1900
Z BE000
ZW E1E00
IW E4000
OW E6000
BI E3800
V BA000
VW (E1A00 - E1BFF)
EXAMPLE: You wish to write to the 611 th word in the FW table and read it back using the QD's
Numeric data entry tool. Because our driver will ignore the final digit, you enter an address of
FW6110. Now, suppose you also desire to set and monitor the status of bit # 15 in this same word,
using the QD's Illuminated push button tool. You enter this object's address as FW611F.
A) Quick designer bit oriented tools are:
1) Illuminated Push Buttons (lLPB)
2) Pilot Lights (PL)
3) Push Buttons (PB)
4) Alarm (Bit files)
5) Selector Switch (SS)
B) Quick Designer word oriented tools are:
1) Numeric Entry
2) Numeric display
3) Alarm( Word files)
4) Word Button
5) Bar graph
C) Quick designer tools that support both word and bit modes are:
1) Local image display (LID)
2) Local Message display (LMD)
The target display connects to an IDEC Micro-1 or FA-3S PLC using an HMI-CAB-C53 cable
connected to the IDEC Link Adapter. The FA-3S is shown in the following drawing.
QUICKPANEL jr. IDEC FA-3S
PSA1 CP12 N16A1 R161
LINK ADAPTER
TO TCP DEVICE
POWER POWER
ERROR
FORCE
IN OUT
POWER
SUPPLY
idec FA-3S
PROGRAMMABLECONTROLLER
100-240VAC
TO PLC PORT
HMI-CAB-C53
The target display connects to the IDEC Micro-1 PLC using an HMI-CAB-C53 cable connected to the
IDEC Link Adapter.
HMI-CAB-C53 Cable
2 3
3 2
25 PIN MALE
25 PIN MALE
4 4
5 5
7 7
1 SHIELD 6
TO TCP DEVICE TO PLC PORT
TO TCP DEVICE 8
HMI-CAB-C53/A 20
TO PLC PORT
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (IDEC). See PLC Type on page 5.
Port Button
Click the Port button to display the Serial Parameters dialog. The port values are automatically set to
standard default values. See Serial Parameters on page 6. The following settings are recommended for
IDEC
Elect. Format RS232
Baud Rate 9600
Data Bits 8
Parity Even
Stop Bits 1
Handshake None
When using the IDEC driver to communicate with the Square-D Model 50 (Same as the IDEC PLC),
set the parity to NONE. When connected to an IDEC PLC, set the parity to ODD.
Do NOT use this protocol with QP1 devices. It is designed to be used with
CAUTION ONLY QP2 devices. For example, QPJ-2D100-L2P is a QP2 device.
The following dialog box is displayed when you select IDEC Micro3 protocol. The Destination ID is
the address of the PLC.
HMI-CAB-C109 Cable
Use the HMI-CAB-C109 cable to connect the target display to the IDEC Micro 3 PLC.
TO TCP DEVICE
TO PLC PORT
25 PIN MALE
2 3
9 PIN MALE
3 2
7 5
4 7
TO TCP DEVICE TO PLC PORT 5 8
HMI-CAB-C109
INTERBUS Protocol
The INTERBUS protocol provides the high throughput demanded by today's advanced I/O network
requirements. I/O data is transmitted in frames that provide simultaneous and predictable updates to
all devices on the network. Secure transmissions are ensured by the protocol's CRC error checking
capabilities. Furthermore, comprehensive diagnostics allow you to pinpoint the cause and location of
errors. This provides maximum network uptime. An embedded messaging protocol allows you to send
complex parameter and message data across the INTERBUS network.
The basic concept of an open bus system is to allow a similar exchange of information between
devices produced by different manufacturers. Information includes commands and I/O data that have
been defined as a standard profile by which devices operate. Standard profiles are available for drives,
encoders, robotic controllers, pneumatic valves, etc. The INTERBUS protocol, DIN 19258, is the
communication standard for these profiles. It is an open standard for I/O networks in industrial
applications.
Configure I/O
Click the Configure I/O button to display the following dialog box.
Inputs
Enter the number of Input words up to a maximum of 240 words (480 bytes). The Start Address is
normally set to 0. You can change the Start Address to create an offset address. Different devices can
reference the same Interbus-S address but may require an offset for one of the devices. Changing the
Start Address will change the address ranges shown in the Interbus-S DP Protocol dialog box. The
Start Address is provided so that the user can align the tag address entered in Quick Designer with
the mapped address in the PLC or host device.
Addressing
Some PLCs use Byte addressing while others use Word addressing. Select Addressing on Byte
Boundaries or Word Boundaries, based on your PLC type. The range of valid addresses will be
displayed in the Interbus-S DP Protocol dialog box, which appears when you close the configuration
dialog box.
Power On State
A Series B module contains a Battery Backup RAM circuit that maintains a copy of the inputs. The
input states can be restored (Restore Inputs) or cleared (Clear Inputs) when power is applied.
Note: ONLY Series B modules contain the Battery Backup RAM circuit. Series B modules can be
identified by the model number on the product label. Example: MODEL: QPI-IBS-202 SERIES B
When the OK button is clicked, the following Interbus-S DP Protocol dialog box will appear. The
valid address ranges are shown for all types of variables.
The number of Input and Output words selected will determine the valid address range limits for each
variable type. The variable type names are fixed and are displayed in a cell corresponding to the
addressing type. For example, in the following dialog box, the number of Input Words is set to 240.
The variable name for Input Words is IW and the range for 240 words is IW0 to IW239. Output
Words are also set to 240, so the variable name is QW and the range is QW0 to QW239.
When the OK button is clicked, the following Interbus-S DP Protocol dialog box will appear. The
valid address ranges are shown for all types of variables.
When byte addressing is selected, the valid address ranges appear in a different format in the
Interbus-S DP Protocol dialog box.
The number of words selected will determine the range limits for each variable type. The variable
type names are fixed and are displayed in a cell corresponding to the addressing type. For example, in
the following dialog box, the number of Input Words is set to 240. The variable name for Input Bits is
I and the range for 240 words is I0.0 to I479.7. Output Words are also set to 240, so the variable
name for bit Outputs is Q, with the range of Q0.0 to Q479.7.
A byte is 8 bits, therefore the addressing method is to use a period as the bit delimiter in the
addressing format. For example, I0.0 is bit 0 of Word 0, and I0.7 is bit 7 of Word 0.
Remote Out
Pair
Yellow
PIN 5 PIN 1 DO 1
Green
/DO 6 Pair
Gray
DI 2
Pink
/DI 7
COM 3 Brown
5
PIN 9 PIN 6 9
Male D-Sub Connector
Solder Side Housing
REMOTE OUT
Remote In
Pair
Yellow
1 DO PIN 1 PIN 5
Green
Pair 6 /DO
Gray
2 DI
Pink
7 /DI
Brown 3 COM
PIN 6 PIN 9
Connector Female D-Sub
Housing Solder Side
REMOTE IN
Example 4, Word Addressing: Input Words = 64, Output Words = 64, Input start address = 0,
Output start address = 0.
Name Address range Value range Write Type
I (Input Bit) I0.0 to I63.15 0 to 1 Y Bit
Q (Output Bit) Q0.0 to Q63.15 0 to 1 N Bit
IW (Input Word) IW0 to IW63 -32768 to 32767 Y Word
QW (Output Word) QW0 to QW63 -32768 to 32767 N Word
ID (2 Word Input) ID0 to ID62 -999999999 to
999999999 Y DWord
QD (2 Word Output) QD0 to QD62 -999999999 to
999999999 N Dword
For the combination of a W, DW, W, the following example shows the layout.
WORD WORD
Keyence KV-L2
Note: The format abb and a.bb the a represents the address, and bb represents two digits bits. For
example: for format abb, you must type at least one digit for the address and the two last digits
represents the bits, i.e. 000 represents in address 0 bit 00; for format a.bb, you must type the address,
then the ., and after that two digits to represents the bits, i.e. DM0.00 represents address 0 bit 00.
CONFIGURATION
Keyence KV-L2 - Setup the Quick Panel to RS232C, 19200 baud, 8 data bits, even parity, 1 stop bit,
and none handshake. Click on Protocol and for PLC Station No., type 0. Connect the HMI-CAB-
C53 cable between the I/O port on the Quick Panel and Port 1 on the PLC.
Verify the following settings for the switches in one side of the PLC: Interface Switch, select 232C.
For Terminator Switch, select OFF. For Station No. Switch, select 0. For Set A Switches: Switches
2 and 4 - ON, Switches 1 and 3 - OFF. For Set B Switches: Switches 3, 4, 5 and 6 - ON, Switches 1,
2, 7 and 8 - OFF.
aaaabb 0 - 9999 00 - 15 0-1 Bit R/W 500 Input, Output, Utility, Internal, Special
Taaaa 0 - 9999 None 0-1 Bit R/W T20 Timer Contact
Caaaa 0 - 9999 None 0-1 Bit R/W C22 Counter Contact
DMaaaa.bb 0 - 9999 00 - 15 0-1 Bit R/W DM1.1 Data Memory
TMaaaa.bb 0 - 9999 00 - 15 0-1 Bit Read TM1.1 Temp Data Memory
Note: The format abb and a.bb the a represents the address, and bb represents two digits bits. For
example: for format abb, you must type at least one digit for the address and the two last digits
represents the bits, i.e. 000 represents in address 0 bit 00; for format a.bb, you must type the address,
then the (. ), and after that two digits to represents the bits, i.e. DM0. 00 represents address 0 bit 00.
Note: For DMaaaa, registers 9000-9827 are special purpose.
CONFIGURATION
Keyence KV-10R - Setup the Quick Panel to RS232C, 9600 baud, 8 data bits, even parity, 1 stop bit,
and none handshake. Connect the cable between the I/O port on the Quick Panel and the
programming port on the PLC.
Keyence KV-L2 - Setup the Quick Panel to RS232C, 9600 baud, 8 data bits, even parity, 1 stop bit,
and none handshake. Connect the cable between the I/O port on the Quick Panel and Port 1 on the
PLC. Verify the following settings for the switches in one side of the PLC: Interface Switch, select
232C. For Terminator Switch, select OFF. For Station No. Switch, select 0. For Set A Switches:
Switches 2 and 4 - ON, Switches 1 and 3 - OFF. For Set B Switches: Switches 3, 4, 5 and 6 - ON,
Switches 1, 2, 7 and 8 - OFF.
TO TCP DEVICE
BLK
6-PIN MODULAR 2
25-PIN MALE
TO PLC PORT
PHONE RJ-11 7 6
ORG 5
3 4
3 TOP
5 2
1
4
25-PIN MALE
HMI-CAB-C112
Mitsubishi A Series
The target display can communicate with a Mitsubishi processor using the AJ71C24 Computer
Interface Module in a A1CPU, A2CPU and A3CPU. The Aj71C24 CIM can be used with the
following base units: A32B, A35B, A38B, A55B, A58B, A65B, A68B.
The AJ71C24 Computer Interface Module provides RS232C and RS422 interfaces. RS232C is limited
to 15 Meters and RS422 is limited to 500 Meters. A typical connection is shown in the following
drawing.
The following drawing shows a connection between a QUICKPANEL jr. and an AJ71C24 Module.
AJ71C24 MODULE
QUICKPANEL jr.
TO MITSUBISHI
CIM MODULE
RS232 PORT
RS422 PORT
TO TCP DEVICE
HMI-CAB-C53
HMI-CAB-C53 Cable
2 3
3 2
25 PIN MALE
25 PIN MALE
4 4
5 5
7 7
1 SHIELD 6
TO TCP DEVICE TO PLC PORT
TO TCP DEVICE 8
HMI-CAB-C53/A 20
TO PLC PORT
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (Mitsubishi MELSEC A). See PLC Type on page 5.
Port Button
Click the Port button to display the Serial Parameters dialog. The port values are automatically set to
standard default values. See Serial Parameters on page 6. The following settings are recommended for
Mitsubishi MELSEC A.
Elect. Format RS232
Baud Rate 9600
Data Bits 8
Parity None
Stop Bits 1
Handshake None
Protocol Button
Click the Protocol button to display the dialog box associated with the selected PLC.
Enter the Source ID (PLC address). Enter Timeout in seconds.
5 0 5 0
4 1 4 1
3 2 3 2
TO TCP DEVICE
2 2
3 3
25 PIN MALE
9 PIN MALE
7 5
TO PLC PORT
4 7
5 8
1
TO TCP DEVICE TO PLC PORT 4
6
HMI-CAB-C88
Connecting to a Mitsubishi FX
MITSUBISHI
TO TCP DEVICE
HMI-CAB-C91
HMI-CAB-C91/B Cable
8
GND
7 7
RXA+
10 3 TX+
TX+
11 2
25 PIN MALE
RX+
TO TCP DEVICE
25 PIN MALE
TO PLC PORT
TX-
15 15 RX-
RX-
TO PLC PORT
16 16 TX-
CTSB
18 18
TO TCP DEVICE DTRB
19 17
CTSA
21 5
DTRA
HMI-CAB-C91/B 22 4
1 SHIELD 20
21
The Mitsubishi FX ON has a mini DIN connector for the program port. The Mitsubishi FX20PCADP
converter is a mini DIN to 25-pin D adapter. Use this adapter with the HMI-CAB-C91 cable to
connect to the program port.
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (Mitsubishi FX). See PLC Type on page 5.
Port Button
Click the Port button to display the Serial Parameters dialog. The port values are automatically set to
standard default values. See Serial Parameters on page 6. The following settings are recommended for
Mitsubishi FX
Elect. Format RS422/485 Full Duplex
Baud Rate 9600
Data Bits 7
Parity Even
Stop Bits 1
Handshake None
Protocol Button
Click the Protocol button to display the dialog box associated with the selected PLC.
Enter Timeout in seconds.
25 PIN MALE
RX+
TO TCP DEVICE
25 PIN MALE
TO PLC PORT
TX-
15 15 RX-
RX-
TO PLC PORT
16 16 TX-
CTSB
18 18
TO TCP DEVICE DTRB
19 17
CTSA
21 5
DTRA
HMI-CAB-C91/B 22 4
1 SHIELD 20
21
Modicon Modbus
Modicon 884 or 984A, B, or X Processor
To connect a target display to a Modicon 884, 984 A, B, or X, or other 25 pin Modbus Port, use an
HMI-CAB-C53 cable, connected as shown below.
Make sure you connect the target display to the end marked TO TCP DEVICE and connect the
Modicon PLC to the end marked TO PLC PORT.
HMI-CAB-C53/A Cable
This cable is used to connect the target display to a Modicon Modbus on an 884, 984 A, B, or X
Processor.
HMI-CAB-C58/A Cable
This cable is used to connect the target display to a Modicon Slot Mount 984 PLC.
8-PIN MODULAR
1
25-PIN MALE
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (Modicon Modbus). See PLC Type on page 5.
Device Address Data Data Data Data Data Bit write Read
Prefix Range Range Range Format Width Word (y/n/ / Write
Min. Max. Order rmw)
Words
IR 1-65535 0 65535 UI 16 n/a n/a R
OR 1-65535 0 65535 UI 16 n/a rmw R/W
OS 1-65535 -32768 32767 SI 16 n/a n/a R/W
ON 1-65535 -32767 32767 SI 16 n/a n/a R/W
MS 1-65535 0 65535 TX 16 n/a n/a R/W
DR 1-65534 0 99999999 ? 32 n/a n/a R/W
LU 1-65534 0 99999999 LUI 32 ADJ n/a R/W
LS 1-65534 -99999999 99999999 LSI 32 ADJ n/a R/W
FR 1-65534 -99999999 99999999 FLT 32 ADJ n/a R/W
ILU 1-65534 0 99999999 LUI 32 ADJ n/a R
ILS 1-65534 -99999999 99999999 LSI 32 ADJ n/a R
IFR 1-65534 -99999999 99999999 FLT 32 ADJ n/a R
Bits
OD 1-65535 0 1 Bit 1 n/a Y R/ W
ID 1-65535 0 1 Bit 1 n/a Y R
Sixnet Extensions (Daniel)
DIL 1-65534 -100000000 100000000 LSI 32 n/a R
DOL 1-65534 -100000000 100000000 LSI 32 n/a R/W
DIF 1-65534 -100000000 100000000 FLT 32 n/a R
DOF 1-65534 -100000000 100000000 FLT 32 n/a R/W
Note: The Sixnet extensions are not supported on all Modbus devices. Use these extensions ONLY
with those devices designed to utilize the extended variables.
Examples:
MODICON QUICKPANEL
00001 OD0001
01236 OD1236
10001 ID0001
10256 ID0256
30001 IR0001
34096 IR4096
40001 OR0001
49999 OR9999
Modbus Plus
Modbus Plus is a local area network system designed for industrial control applications. A network is
a group of nodes on a signal path that is accessed by the passing of a token. A token is a group of bits
that is passed in sequence from one device to another on a single network, to grant access for sending
messages. While holding the token, a node initiates message transactions with other nodes. Each
message contains routing fields that define its source and destination. A node is any device that is
physically connected to the Modbus Plus cable. Up to 32 devices can connect directly to the network
cable over a length of 1500 feet. Each node is identified by a unique address assigned by the user.
The network bus consists of twisted-pair shielded cable run in a direct path between successive nodes.
The minimum cable length between any pair of nodes must be at least 10 feet. The maximum cable
length between two nodes is the same as the maximum section length of 1500 feet. The node at each
end of a section uses a terminating connector, which provides resistive termination to prevent signal
reflections on the network bus. Terminating connectors have a molded shell that is light gray in color.
The other nodes use an inline connector which is dark gray.
Network cables are NOT supplied by Total Control Products, Inc. Order the following cables from
your Modbus Plus distributor.
Inline Connector, AS-MBKT-085
Terminating Connector, AS-MBKT-185.
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (Modbus Plus). See PLC Type on page 5.
Port Button
The Port settings are not required since the Modbus Plus adapter is controlled directly by the internal
processor.
Examples:
MODICON QUICKPANEL
00001 OD0001
01236 OD1236
10001 ID0001
10256 ID0256
30001 IR0001
34096 IR4096
40001 OR0001
49999 OR9999
Route Strings
Route strings are added to a variable name to locate the PLC address, which may be at the end of a
chain. Each point on the link must be defined in order to arrive at the selected processor. For
example, a route might be 60, 20, and 1, which woul appear at the end of the variable name as
OR100_60.20.1. If you define Route A as 60.20.1, then the variable name can be OR100_A. There
are 26 route menus, designated A through Z.
If you use just OR100 as the variable name, the default route is Route A.
The drawing shows the setup dialog box for Modicon Modbus Slave. Enter the PLC ID (PLC
address).
The slave protocol now supports the full set of modbus commands for reading/writing to ID, OD, OR
and IR type memory.
Refer to the tag variable table for full details on variable types and ranges supported. (Note that Input
types are read/write from the slave QuickPanel, but to the master they are read only.)
Read-modify-write is now supported on OR and IR data types.
The latest version provides for Float and Dword storage formating. You can now reverse the byte
order within the words that makeup float types.
Leading zeros are added to tags that are created automatically - a 4 digit field is used if the original
tag uses 4 digits, else it defaults to a 5 digit field so long as the original tag has a leading zero.
1 FG - Frame Ground
14 Reserved(VCC;max 0.25A)
2 TXD - Transmit Data
15 TXB-Sending Data -
3 RXD - Receive Data
16 RXB-Receiving Data -
4 RTS - Request to Send
17 No Connection
5 CTS -Clear to Send
18 CTSB Clear to Send -
6 Reserved
19 DTRB Request to Send -
7 GND - Signal Ground
20 DTR-Data Terminal Ready
8 CD - Carrier Detect
21 CTSA Clear to Send +
9 TRMX - Terminator for RXA
22 DTRA Request to Send +
10 RXA - Receiving Data +
23 Reserved (BUZZGND)
11 TXA - Sending Data +
24 Reserved
12 No Connection
25 Reserved (BUZZOC)
13 No Connection
MODICON QUICKPANEL
40001 OR0001
49999 OR9999
MODBUS
MASTER
OMRON C20H
Connecting to an OMRON C20H PLC
To connect a target display to an OMRON C20H PLC , use an HMI-CAB-C67 cable, connected as
shown below.
Make sure you connect the target display to the end marked TO TCP DEVICE and connect the PLC
to the end marked TO PLC PORT.
HMI-CAB-C67/A Cable
This cable is used to connect the target display to an OMRON C20H PLC.
A label is placed on each end of the cable to indicate which device should be connected to that end.
One of the labels will also indicate the cable part number so you can quickly verify you are using the
right cable for your application. You can make your own cable using the following wiring diagram.
HMI-CAB-C53/A Cable
This cable is used to connect the target display to an Omron C200H LK201 RS232 Communications
module.
HMI-CAB-C108/A Cable
This cable is used to connect the target display to an Omron C200H LK202 RS422/485
Communications module.
11 1
120 OHM
10 5
25 PIN MALE
9 PIN MALE
16 9
15 6
18
TO TCP DEVICE
TO PLC PORT
19
TO TCP DEVICE TO PLC PORT 21
22
HMI-CAB-C108 4
5
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
Omron CV
The following drawing shows the Omron CV protocol setup dialog box. Enter the Default station ID
(PLC address). The default setting for Timeout and Number of retries is correct for most applications.
HMI-CAB-C67/A Cable
This cable is used to connect the target display to an Omron C20H PLC.
DL305 DirectNET
This protocol supports the DirectNET serial interface on many PLC Direct PLCs. This section
describes the operation of the DL305 Series PLC. The series includes the DL330/330P with D3-232-
DCU, DL340 and DL350. The QuickPanel must be connected to a port configured as a DirectNET
Master.
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select Direct 305 DirectNET from the list box.
Protocol Button
Click the Protocol button to display the dialog box associated with the Direct 305 DirectNET PLC.
Enter the Source ID (QuickPanel ID) and Destination ID (PLC ID). The Timeout setting is correct for
most applications.
Click OK to return to the Project Setup dialog box.
DL340
PWR RUN
PORT1
BATT
TX/RX
PORT2 CPU
TX/RX
FIXED
USER
PRG
RS232C
Use the HMI-CAB-C103 Cable for connecting a QuickPanel to a Direct Logic DL340.
4-PIN MODULAR SHIELD 1
25-PIN MALE
DL350 Cable
The DL350 has a 6P6C Phone Jack supporting RS232C and is marked PORT1. A 25-pin D-shell
Connector supporting RS232C/RS422 is marked PORT2. Both ports support DirectNET. If you
decide to use Port 2, it must be configured as a DeviceNET Slave port. The hardware switches on the
module determine the configuration for Port 2. The DL350 is shown below.
DL350
D3-350 CPU
PWR RUN
BATT CPU
TX1 RX1
TX2 RX2
PORT1
RUN
TERM
STOP
BATT
PORT2
Use the HMI-CAB-C53 Cable for connecting a QuickPanel to a Direct Logic DL350 PORT2.
2 3
3 2
25 PIN MALE
25 PIN MALE 4 4
5 5
7 7
1 SHIELD 6
TO TCP DEVICE TO PLC PORT TO TCP DEVICE 8
HMI-CAB-C53/A 20
TO PLC PORT
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
Protocol Button
Click the Protocol button to display the dialog box associated with the Direct 405/205 DirectNET
PLC.
Enter the Source ID (QuickPanel ID) and Destination ID (PLC ID). The Timeout setting is correct for
most applications.
Click OK to return to the Project Setup dialog box.
DL240 Cable
The DL240 has two 6P6C phone connectors labeled PORT 1 and PORT2. Note that only PORT2 is a
DirectNET port. Use only PORT2 when connecting to a QuickPanel. The DL240 is shown below.
PWR RUN
BATT CPU
RUN
DL240
CPU TERM
CH1
CH2
CH3
CH4
PORT1
PORT2
Use the HMI-CAB-C86 Cable for connecting a QuickPanel to a Direct Logic DL240 PORT2. (See the
drawing in a previous section).
PWR RUN
BATT CPU
RUN
DL250 TERM
CPU STOP
PORT1
PORT2
Use the HMI-CAB-C86 Cable for connecting a QuickPanel to a Direct Logic DL250 PORT1. (See the
drawing in a previous section).
DL430/440
The DL430 and DL440 have 25-pin DirectNET connections. The baud rate is dipswitch selectable
and must match the settings on the QuickPanel.
D4-430 CPU 110/220VAC
Direct 405
RUN PWR BATT
TERM I/O
LOGIC RUN
STOP
Koyo CPU COM
Use the HMI-CAB-C53 Cable for connecting a QuickPanel to a Direct Logic DL430 and DL440.
(See the cable drawing in a previous section).
DL450 Cable
The DL450 has a 6P6C Phone Jack supporting DirectNET. The DL450 also has a 25-pin DirectNET
connection that can be set to Master or Slave protocol. Make sure the communication parameters for
the DirectNET port are the same as the QuickPanel.
If you decide to use the 25-pin DirectNET connection, it must be configured as a DeviceNET Slave
port. The DL450 is shown below.
Use the HMI-CAB-C53 Cable for connecting a QuickPanel to a Direct Logic DL450 bottom port (25-
pin logical Port A). (See the drawing in a previous section).
Note: To specify bits for V, use the form Vaaa.bb, where aaa means the word address and bb means
the bit specification from 00-15. Writing to bits cause a word write.
Note 1:V location can be interpreted as Signed Integer, Unsigned Integer or BCD. The normal
interpretation of a V location is Signed Integer.
Note 2: The format qualifier changes the way this variable is read.
C Read or Write as BCD -9999 - 9999
I Read or Write as Signed Integer -32767 to 32768
U Read or Write as an Unsigned Integer 0 to 65535
Note 3: This range is probably read only.
Note 4: Writing to a bit cause a word write.
The most important advantages of PROFIBUS in comparison with other fieldbuses are the stable
international standard EN 50 170 and the universal features covering a wide range of applications in
manufacturing, process and building automation. Open and vendor independent communication with
PROFIBUS is not just a vision. Its success has been demonstrated in over 100,000 applications.
Independent market studies confirm that PROFIBUS with its market share of more than 40% leads
the market for open industrial fieldbus systems in Germany and Europe.
Leading manufacturers of automation technology stand behind PROFIBUS with all their know how
and offer a wide range of innovative products and services which are listed and continuously updated
in the PROFIBUS product guide. The PROFIBUS product guide is available free of charge from the
offices of the PROFIBUS User Organization. A complete technical description of PROFIBUS can be
found at the Internet site listed below.
The PROFIBUS User Organization can be viewed on the Internet under: http://www.profibus.com.
Setup
The drawing shows the setup dialog box for Profibus Protocol. Click the Configure I/O button to
select the number of Input and Output words.
Inputs
Enter the number of Input words up to a maximum of 100 words (200 bytes). The Start Address is
normally set to 0. You can change the Start Address to create an offset address. Different devices can
reference the same Profibus address but may require an offset for one of the devices. Changing the
Start Address will change the address ranges shown in the Profibus DP Protocol dialog box. The Start
Address is provided so that the user can align the tag address entered in Quick Designer with the
mapped address in the PLC or host device.
Outputs
Enter the number of Output words up to a maximum of 100 words (200 bytes). The Start Address is
normally set to 0. You can change the Start Address to create an offset address. Different devices can
reference the same Profibus address but may require an offset for one of the devices. Changing the
Start Address will change the address ranges shown in the Profibus DP Protocol dialog box.
Addressing
Some PLCs use Byte addressing while others use Word addressing. Select Addressing on Byte
Boundaries or Word Boundaries, based on your PLC type. The range of valid addresses will be
displayed in the Profibus DP Protocol dialog box, which appears when you close the configuration
dialog box.
Power On State
A Series B module contains a Battery Backup RAM circuit that maintains a copy of the inputs. The
input states can be restored (Restore Inputs) or cleared (Clear Inputs) when power is applied.
Note: ONLY Series B modules contain the Battery Backup RAM circuit. Series B modules can be
identified by the model number on the product label. Example: MODEL: QPI-PBS-202 SERIES B
Example 1:
In this configuration example, Input Words are set to 64, Output Words are set to 64 and Addressing
is set to Word Boundaries.
When the OK button is clicked, the following Profibus DP Protocol dialog box will appear. The
valid address ranges are shown for all types of variables.
Example 2:
In this configuration example, Input Words are set to 64, Output Words are set to 64 and Addressing
is set to Byte Boundaries.
When the OK button is clicked, the following Profibus DP Protocol dialog box will appear. The
valid address ranges are shown for all types of variables.
When byte addressing is selected, the valid address ranges appear in a different format in the Profibus
DP Protocol dialog box.
The number of words selected will determine the range limits for each variable type. The variable
type names are fixed and are displayed in a cell corresponding to the addressing type. For example, in
the following dialog box, the number of Input Words is set to 64. The variable name for Input Bits is I
and the range for 64 words is I0.0 to I127.7. Output Words are also set to 64, so the variable name for
bit Outputs is Q, with the range of Q0.0 to Q127.7.
GSD Files
PROFIBUS devices have different performance characteristics. Features differ in regard to available
functionality (i.e., number of I/O signals and diagnostic messages) or possible bus parameters such as
baud rate and time monitoring. These parameters vary individually for each device type and vendor.
To achieve simple Plug and Play configuration of PROFIBUS, the characteristic features are specified
in an electronic data sheet sometimes called a device data base file or GSD file. Standardized GSD
data expand open communication up to the operator control level. Using configuration tools based on
GSD files makes integration of devices from different vendors in a bus system simple and user-
friendly.
Ident Number
Every type of a DP slave must have an ident number. Masters require this number to enable them to
identify the types of devices connected without creating significant protocol overhead. The master
compares the ident number of the connected DP devices with the ident number specified by the
configuring tool in the configuration data. Transfer of user data is not started until the correct device
types with the correct station addresses have been connected on the bus. This provides a high degree
of security against configuration errors.
Type A
Cable specification Type A for PROFIBUS - FMS and PROFIBUS - DP
Impedance : 135 up to 165 Ohm at a frequency of f from 3 up to 20 MHz.
Cable capacity : < 30 pF per meter
Core diameter : > 0,34 mm², corresponds to AWG 22
Cable type : twisted pair cable. 1 x 2 or 2 x 2 or 1 x 4 lines
Resistance : < 110 Ohm per km
Signal attenuation : max. 9 dB over total length of line section
Shielding : CU shielding braid or shielding braid and shielding foil
Type B
Cable specification Type B for PROFIBUS - FMS and PROFIBUS - DP
Impedance : 100 up to 130 Ohm at a frequency of f > 100 kHz
Cable capacity : typ. < 60 pF per meter
Core diameter : > 0,22 mm², corresponds to AWG 24
Cable type : twisted pair cable. 1 x 2 or 2 x 2 or 1 x 4 lines
Signal attenuation : max. 9 dB over total length of line section
Shielding : CU shielding braid or shielding braid and shielding foil
Shielding
EN 50170 leaves it to the user if a shielded or unshielded cable shall be used. In areas with no
disturbances unshielded cable is permitted. The following reasons however make it advisable to use a
shielded cable:
a) An area free of disturbances will only exist inside of a shielded cabinet. As soon as a relay is
mounted into the cabinet non interference is no longer ensured.
b) The use of unshielded cables requires additional protection mechanisms at the bussignal inputs
against overvoltage.
Therefore it is recommended to always use shielded cable.
This recommendation is also applicable for eventually needed supply cables from external power
supplies to the PROFIBUS devices. (e.g. repeaters).
Double shielded lines are especially suitable for surroundings with heavy electromagnetic
interference. In order to guarantee optimal protection the outer shield (shielding braid) and the inner
shield (shielding foil) should be connected to ground on both cable ends flatly with a ground
termination clip.
Connectors
Cable assemblies, cable and connectors can be obtained from several manufacturers. Make sure that
you always connect the same wires to the same terminal A or B (for example, always connect green
wire to terminal A and the red wire to terminal B). A typical connector/cable assembly is shown
below.
Ferrite Cores
Attach the ferrite cores to the data cables leading to the Profibus module. This will help to suppress
the effect of any noise created by surrounding equipment. TDK ferrite cores (ZCAT2035-0930A) or
their equivalent, are recommended.
FERRITE
CORE
Example 4, Word Addressing: Input Words = 64, Output Words = 64, Input start address = 0,
Output start address = 0.
Name Address range Value range Write Type
I (Input Bit) I0.0 to I63.15 0 to 1 Y Bit
Q (Output Bit) Q0.0 to Q63.15 0 to 1 N Bit
IW (Input Word) IW0 to IW63 -32768 to 32767 Y Word
QW (Output Word) QW0 to QW63 -32768 to 32767 N Word
ID (2 Word Input) ID0 to ID62 -999999999 to
999999999 Y DWord
QD (2 Word Output) QD0 to QD62 -999999999 to
999999999 N Dword
For the combination of a W, DW, W, the following example shows the layout.
WORD WORD
AutoMate Processors
This section describes the operation of a target display with Reliance AutoMate series Programmable
Logic Controllers. The following processors are supported:
AutoMate 15, 20, 30/30E, 40/40E.
The target display can communicate with AutoMate processors using three different methods:
1: Direct to programming port on the AutoMate processor.
Direct communications can be established through the EIA connector port on the front of the
AutoMate processor. The target display connects the same way as an IBM PC running APX.
Communication is limited to RS-232-C at 9600 Baud, 8 bits with one stop bit. In this mode the host
can only talk to the processor it is connected to even if there is a second processor in the same rack.
The programming port is always set for host communication. The AutoMate processor is always a
slave for host communication.
2> Direct to a Serial Communications Card (45C203) to any AutoMate Processor in the rack.
Through the Serial Communications Card a host may talk to any AutoMate processor in the rack.
Parameters can be set to allow any port on the serial communication card to communicate with any
AutoMate processor in the same rack.
3> Through an R-Net network via a R-Net AutoMate Gateway.
R-Net is the AutoMate local area network. It is an asynchronous, baseband system and communicates
at 880 K baud. The host system can gain access to this network through an AutoMate R-Net Gateway
(45C27 or 45C28). Through a Gateway, the host system can direct messages to any AutoMate
processor on the network by addressing the destination byte as the AutoMate address. In this mode,
R-Net is transparent to the host. Communications with the Gateway can be established through the
EIA connector on the front of the head. Communications can be RS232 or RS422. The
communication parameters (node number, maximum nodes, and config line turnaround) are set up
with a command sent from the host computer. The gateway's port parameters are stored in volatile
memory so they are lost if power is interrupted. If power is interrupted, the target display will
automatically reconfigure the Gateway when power is restored.
NO DRAWING
AVAILABLE
TO PLC PORT
HMI-CAB-C53
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (Reliance Automate). See PLC Type on page 5.
Input Range and Scale Range values are automatically set for the variable type. In this case, register
names are O to 65535. Registers with points are O to 1.
Timeout Delay
To complete a transaction, the target display sends a message to read or write data. Messages must be
acknowledged in a specific amount of time. If there is no response to a message, a timeout occurs and
the message is lost. The current timeout delay is shown in seconds. One second is the shortest time
allowed, and any value less than 1 second is treated as 1 second.
Source ID
The Source ID is the target display "RACK" location or the target display ID number. When
connected to the R-Net AutoMate Gateway, this number is also the node number. The target display
must act as an AutoMate Processor in order to communicate, so choose an unused node.
Source Slot
The Source Slot is the target display "SLOT" location. The target display must act as an AutoMate
Processor in order to communicate, so choose an unused slot.
Destination ID
The Destination ID is the default destination rack. This ID is the node that variables are assigned to if
their name lacks the " _ "delimiter.
Gateway ON
This option informs the target display that the AutoMate Gateway will be in use. When the Gateway
is ON, there are two more menu options that require entries. They are "Gateway Max Nodes" and
"Gateway Config'', which are discussed in the next two sections.
Gateway Max Nodes
Each unit connected to a R-Net network must have a unique node number. The node number is the
address used in the communications protocol. Node numbers range from 0 to 31 decimal for a
maximum of 32 nodes on a network. For maximum throughput, node numbers should be assigned
beginning with node zero and be assigned consecutive numbers. Gaps in the node number assignment
causes a 10 millisecond increase in the amount of time required for information to be passed around
the network. The Max number causes the Gateway to restart with the first assigned node when the
maximum node number is reached. This number should be one higher than the highest node number
on the network.
Gateway Configure
If the Gateway loses power, the target display will reset the Gateway parameters after receiving a
error message. The Gateway response delay parameters as follows:
00 = 0.2 sec. 10 = 2.6 sec.
01 = 0.5 sec. 11 = 2.9 sec.
02 = 0.8 sec. 12 = 3.2 sec.
03= 1.1 sec. 13 = 3.5 sec.
04 = 1.4 sec. 14 = 3.8 sec.
05 = 1.7 sec. 15 = 4.1 sec.
06 = 2.0 sec. 16 = 4.4 sec.
07 = 2.3 sec. 17 = 4.7 sec.
The target display will configure the Gateway with the node number, the maximum number of nodes,
and the config value of the response delay.
Sattcon 05-35
Cable
Use the HMI-CAB-C89 Cable for connecting a QuickPanel to a Sattcon 05-35 PLC.
TO TCP DEVICE 2 2
25 PIN MALE
25 PIN MALE
TO PLC PORT
3 3
7 7
4
5
TO TCP DEVICE TO PLC PORT
1 SHIELD
HMI-CAB-C89
Setup the QuickPanel to RS232C, 9600 baud, 8 data bits, none parity, 1 stop bit, and no handshake.
Connect the HMI-CAB-C89 cable between the I/O port on the QuickPanel and the port on the PLC.
TI CCM2 305/405
NOTE: Koyo manufactures an identical unit for several models of the TI 305/405 family. See PLC
Direct section for more information.
DL330 TI330
DL330P TI330S
DL340 TI335
DL430 TI425/430
DL440 TI435
The Koyo DL205 can be connected to the display using the HMI-CAB-C86 cable.
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (TI CCM2 305/405). See PLC Type on page 5.
NOTE: The PLC secondary address should be set to 1, protocol to HEX and parity to ODD.
Click OK to return to the Project Setup dialog box.
Note: To specify bits for V, use the form Vaaa.bb, where aaa means the word address and bb means
the bit specification from 00-15. Writing to bits cause a word write.
Note 1:V locations can be interpreted as Signed Integer, Unsigned Integer, or BCD. The normal
interpretation of a V location is Signed Integer. Reading V locations in a different format is done by
adding a colon and a suffix to the V location address.
V100:C Read or Write the contents of V100 as BCD 0000-9999
V100:I Read or Write the contents of V100 as Signed Integer -32767 to 32767
V100:U Read or Write the contents of V100 as an Unsigned Integer 0 to 65535
Device Address Data Data Data Data Data Bit Read Description
Prefix Range Range Range Format Width Word write / Write & Notes
Min. Max. Order (y/n/rmw)
32 bit types
RD(2) 400-576 -1E+08 1E+08 S (1) 32 norm n/a R/W Variable double
RD(2) 700-776 -1E+08 1E+08 S (1) 32 norm n/a R/W Variable double
RL(2) 400-576 -1E+08 1E+08 S (1) 32 rev. n/a R/W Variable long
RL(2) 700-776 -1E+08 1E+08 S (1) 32 rev. n/a R/W Variable long
RF 400-576 -1E+08 1E+08 D 32 norm n/a R/W Variable float
RF 700-776 -1E+08 1E+08 D 32 norm n/a R/W Variable float
RR 400-576 -1E+08 1E+08 D 32 rev. n/a R/W Variable real
RR 700-776 -1E+08 1E+08 D 32 rev. n/a R/W Variable real
Words
R(2) 400-576 -32768 32767 S (1) 16 n/a ww (3) R/W Variable (BYTE)
R(2) 600-677 0 9999 S (1) 16 n/a ww (3) R/W Counter Acc,Timer Acc
R(2) 700-776 -32768 32767 S (1) 16 n/a ww (3) R/W Variable Byte
Bits
IO 0-157 0 1 n/a 1 n/a ww (3) R/W Input/Output (Bit)
IO 700-767 0 1 n/a 1 n/a ww (3) R/W Input/Output (Bit)
C 160-377 0 1 n/a 1 n/a ww (3) R/W Variable (Bit)
C 770-1077 0 1 n/a 1 n/a ww (3) R/W Variable (Bit)
SR 500-577 0 1 n/a 1 n/a ww (3) R/W Shift Register Bit
CT 600-677 0 1 n/a 16 n/a n R Counter Status
T 600-677 0 1 n/a 16 n/a n R Timer Status
Note: To specify bits for R, use the form Raaa.bb, where aaa means the word address and bb means
the bit specification from 00-15. Writing to bits cause a word write.
Note 1:R location can be interpreted as Signed Integer, Unsigned Integer or BCD. The normal
interpretation of a R location is Signed Integer.
Note 2: The format qualifier changes the way this variable is read.
C Read or Write as BCD -9999 - 9999
I Read or Write as Signed Integer -32767 to 32768
U Read or Write as an Unsigned Integer 0 to 65535
Note 3: Writing to a bit cause a word write.
The 545 controller (545-1101) had 1 RS-232 port and 1 RS-422/485 port. When the 555 was
introduced, Siemens changed the RS422/485 port (Port 2) to accommodate RS232. To do this, the
pins for the RS422/485 connection out of port 2 had to be moved around to make the RS232
connection on ports 1 and 2 identical. This means that any cable that connected to the old 545 port 2
(RS422/485) would need to be changed to be usable on the 555. The new 545 (545-1102) also has this
new configuration. Note the wiring changes in the following table.
The cable drawing and wiring diagram for the HMI-CAB-C53 cable can be found in the Simatic TI
305/405 CCM2 section at the beginning of this chapter.
The target display can also connect to the program port using the cables shown below.
HMI-CAB-C100
The HMI-CAB-C100 is a 9-pin female RS-422 cable for the TI545-1102 Series.
TO PLC PORT
10 3
TO TCP DEVICE
11 9
25 PIN MALE
9 PIN FEMALE
15 2
16 8
4
5
TO TCP DEVICE TO PLC PORT 18
19
21
HMI-CAB-C100
22
1 SHIELD
HMI-CAB-C101
The HMI-CAB-C100 is a 9-pin male RS-232 cable.
1
9 PIN FEMALE
3 3
25 PIN MALE
TO TCP DEVICE
TO PLC PORT
2 2
4 4
5 6
7 5
TO TCP DEVICE TO PLC PORT 1 SHIELD 7
8
HMI-CAB-C101
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (TI 500 Series). See PLC Type on page 5.
Port Button
Click the Port button to display the Serial Parameters dialog. The port values are automatically set to
standard default values. See Serial Parameters on page 6. The following settings are recommended for
TI 500 Series.
Elect. Format RS232
Baud Rate 9600
Data Bits 7
Parity Odd
Stop Bits 1
Handshake None
BATT
OFF/
LOW
PG
TO TCP DEVICE L+
24VDC
M
. HMI-CAB-C76
HMI-CAB-C76 Cable
This cable is used to connect a target display to a Siemens Simatic S5 Series PLC.
A label is placed on each end of the cable to indicate which device should be connected to that end.
One of the labels will also indicate the cable part number so you can quickly verify you are using the
right cable for your application.
This cable contains a circuit board which converts RS232 into current loop. Since this cable cannot be
made in the field, no cable diagrams are provided.
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (Simatic S5). See PLC Type on page 5.
Port Button
Click the Port button to display the Serial Parameters dialog. The port values are automatically set to
standard default values. See Serial Parameters on page 6. The following settings are recommended for
Simatic S5.
Elect. Format RS232
Baud Rate 9600
Data Bits 8
Parity Even
Stop Bits 1
Handshake None
Note 1: The maximum address is determined by the processor type and memory configuration.
Note 2: Both the address and data block range.
Note 3: Double byte memory (8 + 8 bits, B1 & B0), only even addresses are supported.
Note 4: Word memory, typically BCD format.
Note 5: Default memory type, word Bit writes are RMW
Note 6: Lowest block is DB06
(req) = required, (opt) = optional
SIEMENS S7-200
The following dialog box is displayed when you select SIEMENS S7-200 protocol.
HMI-CAB-C110 Cable
Use the HMI-CAB-C110 Cable to connect the target display to the S7-200 PLC.
A label is placed on each end of the cable to indicate which device should be connected to that end.
One of the labels will also indicate the cable part number so you can quickly verify you are using the
right cable for your application. You can make your own cable using the following wiring diagram.
10
TO TCP DEVICE 11 3
TO PLC PORT
25 PIN MALE
9 PIN MALE
7 5
15 8
16
4
TO TCP DEVICE TO PLC PORT 5
18
HMI-CAB-C110 19
21
22
Communication Setup
SIEMENS SIMATIC S7-300 – Connect the PLC to the QuickPanel using an HMI-CAB-C52 cable
and the Siemens S7 PC adapter configured for 19200 baud rate. Setup the QuickPanel port
communication to RS232C, 19200 baud, 8 data bits, odd parity, 1 stop bit, and none handshake.
Click on Protocol, and set the source I.D. to 3, destination I.D. to 2, the timeout to 2 seconds and node
range to 31.
RUN
STOP
RUN
STOP
RESET
QUICKPANEL jr.
OVERALL
TO SUBMODULE RESET
QVZ SI1
ADF SI2
ZYK
BASP
SI2
HMI-CAB-C104
CPU928B
HMI-CAB-C104 Cable
This cable is used to connect a target display to a SIMATIC S5 RK 512 Computer Link Module.
This cable contains a circuit board which converts RS232 into current loop. Since this cable cannot be
made in the field, no cable diagrams are provided.
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (Siemens 3964R). See PLC Type on page 5.
Port Button
Click the Port button to display the Serial Parameters dialog. The port values are automatically set to
standard default values. See Serial Parameters on page 6. The following settings are recommended for
Siemens 3964R.
Elect. Format RS232
Baud Rate 9600
Data Bits 8
Parity Even
Stop Bits 1
Handshake None
Protocol Button
Click the Protocol button to display the dialog box associated with the selected PLC. Select the PLC
type. Click OK to return to the Project Setup dialog box.
DW Parameter Significance
0 4D41 MA
1 534B SK
2 5832 X2
3 0020 RK 512 computer link
4 440A Static Parameter in DB10
5 0004 from DW4
6 0000 Dynamic Parameter Sets (not used)
7 0000
8 0000 Job Mailbox (not used)
9 0000
10 0000 reserved
11 0000 reserved
12 0000 reserved
13 0000 reserved
14 4D00 SCB IN FLAG
15 0006 FLAG WORD 6
(1) The maximum address is determined by the processor type and memory configuration.
(2) Both the address and data block range.
Communication Setup
This section describes the operation of the target display with Square-D series Programmable Logic
Controllers.
Communications
The target display can communicate with Square-D processors using RS422 Communications
Protocol. The Square-D PLC has two ports on the processor module which appear the same to the
target display. The target display can also communicate to a Square-D processor using one of the
Network Interface Modules.
D
SY/MAX
Model 300
Processor
RUN
HALT
MEM
FORCE
I/O
RUN
H
A
L
T
DISABLE
OUTPUTS
PROGRAMMER PORT TO
RS422
QUICKPANEL
COMM PORT
RS422
INTERFACE
NUMBER
5
TO NETWORK
QUICKPANEL DEVICE
NUMBER
C
COMM PORT O
M
0
RS422
M
COMM PORT
C
RS422
O
TO M 1
PROCESSOR M
COMM
NETWORK
PORT INTERFACE
INTERFACE
NUMBER
TO NETWORK
QUICKPANEL DEVICE
NUMBER
C
COMM PORT O
M
0
RS422
M
COMM PORT
C
RS422
O
TO M 1
PROCESSOR M
COMM
NETWORK
PORT INTERFACE
INTERFACE INTERFACE
NUMBER NUMBER
2 6
5 3
NETWORK NETWORK
DEVICE DEVICE
NUMBER NUMBER
C C
COMM PORT O O
M
0 M
0
RS422
M M
TO
QUICKPANEL
COMM PORT
C C
RS422
O O
TO M 1 M 1
PROCESSOR M M
COMM
NETWORK NETWORK
PORT INTERFACE INTERFACE
Timeout Delay
To complete a transaction, the target display sends a message to read or write data. Messages must be
acknowledged in a specific amount of time. If there is no response to a message, a timeout occurs and
the message is lost. The current timeout delay is shown in seconds.
Route Setup
The target display will access a station according to its device address number. The default station
address setting of the target display is 0, which means that any variable without a Device Address
number will come directly from the programmer port. For example, if the variable name was S40,
then the target display assumes it is connected to the programmer port.
Target displays can be connected to Network devices but the "ROUTE" from the target display to the
Processor must be known. The "ROUTE" is the path from the target display port to the Processor
port, using device address numbers. For example, if the variable name was S40_100.000, the route
would be from port 100 to 000.
The "ROUTE SETUP" menu option allows you to set multiple routes, and tag the variable name with
the selected route. For example, S40_A would find the route specified by ROUTE SETUP A. Setting
a route eliminates tedious typing of route numbers.
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (Square-D SY/MAX). See PLC Type on page 5.
Port Button
Click the Port button to display the Serial Parameters dialog. The port values are automatically set to
standard default values. See Serial Parameters on page 6. The following settings are recommended for
Square-D SY/MAX.
Elect. Format RS422/485 Full Duplex
Baud Rate 9600
Data Bits 8
Parity Even
Stop Bits 1
Handshake None
Saaaa-yy_nnn.nnn.nnn....
aaaaa Address range from 1 to aaaaa. 0 is not a valid address. aaaaa is the upper limit of the
installed memory.
-yy Bit address from 1 to 16 Decimal, with bit 1 the Least Significant Bit (LSB)
_nnn. Route number. Each device number is separated by a period.
Example 1:
First assume that the QUICKPANEL is connected to the "programmer" port and you want to read
storage register 40. Here is the variable name.
S40
Example 2:
Now suppose you want to read storage register 35, bit 2. Here is what the variable name will look
like.
S40-02
Input Range and Scaled Range values are automatically set for the variable type. In this case, S type
variables are set from -32768 to 32767. Bit addresses are set from O to 1.
Example 3:
In many applications, the programmer port must be left open. The target display can connect to the
other comm port, and can also connect to one of the Comm ports on a Network Interface Module.
When connected to a port on a network device, the target display must know the Network Device
number. Refer back to the general format of the variable name and you will see that the route
numbers are part of the variable name. Look at Figure 3 and you will see that the target display is
connected to device address 025. Also in Figure 3 you will see that the Processor is connected to
device address 125.
Bit Configuration
The Square-D bit configuration is 01 to 16. The QUICKPANEL maps the bits correctly.
SQUARE-D BIT MAP
16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01
1
2
3
0 4
5
6
7
8
9
A
B
C
D
M40
E
F
TO TCP DEVICE
HMI-CAB-C96
HMI-CAB-C96 Cable
This cable is used to connect a target display to a Toshiba EX100 or M20/40 series PLC.
16 TXB
10 TXA
4
25 PIN MALE
120 OHM-.5W
RESISTOR
5
7 SG
18
19
15 RXB
TO TCP DEVICE TO TOSHIBA
EX100, M20/40 11 RXA
Jumper RXA to TRM
21 for EX100 PLC.
22 For MX 20/40, jumper
HMI-CAB-C96 RXA & RXB with 120 ohm,
SHIELD 1 .5W resistor.
TO TCP DEVICE TO PLC PORT
24Vdc I/O
OUT BATT
ROM
BATT
7 8
6 9
0
5 RUN
4
3 21
OUT
NC
NC
PROG
110 L
TO TCP DEVICE LG
FG
HMI-CAB-C97 LINK
HMI-CAB-C97 Cable
Use the following diagram to construct your own cable.
16 11
10 3
4 4
25 PIN MALE
15 PIN MALE
120 OHM-.5W
120 OHM-.5W
RESISTOR
RESISTOR
7 7
18 15
19 8
TO TCP DEVICE TO TOSHIBA T2 15 10
11 2
21 12
22 13
HMI-CAB-C97
SHIELD 1 TO PLC PORT
TO TCP DEVICE
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. (Toshiba). See PLC Type on page 5.
Port Button
Click the Port button to display the Serial Parameters dialog. The port values are automatically set to
standard default values. See Serial Parameters on page 6. The following settings are recommended for
Toshiba.
Elect. Format RS422/485 Full Duplex
Baud Rate 9600
Data Bits 8
Parity None
Stop Bits 1
Handshake None
Protocol Button
Click the Protocol button to display the dialog box associated with the selected PLC.
The drawing shows the setup dialog box for Toshiba Computer Link (Serial). Enter the Default
Target PLC (CPU ID) number. Select the Processor type from the list box. (M/EX100, T1, T2, T3,
EX250/500). The default setting for Timeout is correct for most applications.
Toyopuc PC1
Do NOT use this protocol with QP1 devices. It is designed to be used with
CAUTION ONLY QP2 devices. For example, QPJ-2D100-L2P is a QP2 device.
A computer link card needs to be installed into the bottom slot (Link 1).
Set the communication parameters as follows:
9600 baud
8 Data Bits
Even Parity
1 Stop Bit
RS422 half duplex
Cable
16 TXB +(L1) - (BLACK)
25 PIN MALE
15 RXB
10 TXA
11 RXA -(L1) - (WHITE)
7 GND 0V (GREEN)
TO TCP DEVICE
18
TO PLC PORT
TOYOPUC PC2F
CONFIGURATION
Toyopuc PC2 - Setup the Quick Panel to RS422/485 Half Duplex, 19200 baud, 8 data bits, even
parity, 1 stop bit, and none handshake. Click on Protocol and set the PLC Station No. to 0.
Verify the following Switch Settings in the PLC: L0 Switches, for ST. NO. HI. set 0, ST. NO. HI. set
to 0, BAUD RATE set to 1; L2 Switches, for ST. NO. HI. set 0, ST. NO. LO. set to 1, BAUD RATE
set to 2.
Cable
7 LO 0V
25 PIN MALE
9 LO + (BLACK)
10
TO PLC PORT
11
TO TCP DEVICE
15 LO -(WHITE)
16
TO TCP DEVICE TO TOYOPUC2 19
18 LO G(PE)
SHIELD
21
HMI-CAB-C114
22
The drawing shows the setup dialog box for Uni-Telway Protocol. Enter the QuickPanel ID number.
The default setting for Timeout and Polls to Pass By is correct for most applications. See PLC user
manual for more information about the settings.
1.The QuickPanel is a slave on the Uni-Telway network. The slave addresses on the Uni-Telway
network should all be consecutive starting with address 1. Also, the master PLC should be set to poll
no more than the maximum slave address that exists on the network. This will ensure that the master
only polls existing slaves and that the network is operating at the maximum speed.
2. Polls To Pass By setting: 0 (default) to 10. Since the QuickPanel is a slave on the Uni-Telway
network, it must first be polled before it can make a request of the PLC. This setting allows the user
to reduce the amount of network traffic associated with the QuickPanel, however, this will also slow
down the update time of the QuickPanel. This value should be set to zero for most applications.
3. The QuickPanel may display a communication error if it is reading a system bit while the
programming terminal is connected.
7 7 PIN 7
PIN 6
10 1 PIN 8
PIN 4
11 PIN 5
PIN 3
15 2
TO TCP DEVICE TO PLC PORT 16 PIN 1 PIN 2
HMI-CAB-C116 4 TSX TER/AUX PORT
5 8-PIN MALE MINI-DIN
Communication Setup
This protocol was developed using the TSX 37 Series PLC. The TSX 37-10 PLC has a single
terminal port marked TER. TSX37-21 and TSX 37-22 PLCs have two terminal ports, marked TER
and AUX, which are functionally identical. Connect a Quick Panel to the AUX port when available.
Configured as the UNI-TELWAY master (default function), the terminal port is used to connect a
programming terminal to the PLC. The terminal port also allows a man-machine interface to be
connected. The default communication mode of the terminal port is UNI-TELWAY master. The
terminal port, marked TER, can be used to connect any device supporting the UNI-TELWAY
protocol. The terminal port marked AUX, available on TSX 37-20 PLCs, can only be used to connect
devices which have their own power supply.
The terminal port is used to select the operating mode during configuration.
Master Words
%MW 0-65535 :X 0-15 n/a n/a -32768 32767 16 y (2) R/W
%KW 0-65535 :X 0-15 n/a n/a -32768 32767 16 n R
%SW 0-65535 :X 0-15 n/a n/a -32768 32767 16 n R/W
Master Dwords
%MD 0-65534 :X 0-31 n/a n/a -99999999 99999999 32 y (2) R/W
%KD 0-65534 :X 0-31 n/a n/a -99999999 99999999 32 n R
%SD 0-65534 :X 0-31 n/a n/a -99999999 99999999 32 n R/W
Master Bits
%M 0-65535 n/a n/a n/a n/a 0 1 1 y R/W
%S 0-255 n/a n/a n/a n/a 0 1 1 n R
%IX 1-99 . 0-31 n/a n/a 0 1 1 n R
%QX 1-99 . 0-31 n/a n/a 0 1 1 n R
Slave Words
%MW 0-2047 :X 0-15 _ 1-31 -32768 32767 16 y (2) R/W
%KW 0-2047 :X 0-15 _ 1-31 -32768 32767 16 n R
%SW 0-2047 :X 0-15 _ 1-31 -32768 32767 16 n R
Slave Dwords
%MD 0-2046 :X 0-31 _ 1-31 -99999999 99999999 32 y (2) R/W
%KD 0-2046 :X 0-31 _ 1-31 -99999999 99999999 32 n R
%SD 0-2046 :X 0-31 _ 1-31 -99999999 99999999 32 n R
Slave Bits
%M 0-2047 n/a n/a _ 1-31 0 1 1 y R/W
%S 0-255 n/a n/a _ 1-31 0 1 1 n R
%IX 1-99 . 0-31 _ 1-31 0 1 1 n R
%QX 1-99 . 0-31 _ 1-31 0 1 1 n R
Single Drop
Single Drop protocol extends the functionality of the QUICKPANEL family by allowing a host
device access to the target display memory. Single Drop is an ASCII communication protocol that
allows panel triggering, reading and writing variables, and setting the time and date.
A host device can be a computer, embedded controller, ASCII Module, BASIC Module, or any device
capable of sending and receiving ASCII character strings. XON/XOFF protocol is supported.
Panels are made up of operators such as push buttons, pilot lights and data displays. The tag variable
assigned to each operator is an internal variable. The names of the internal variables for ASCII
communication are DMxxxx, where xxxx is a value from 1 to 9999. Each variable name has a
corresponding ID number. The ID number is used in the ASCII protocol to identify the associated
variable.
For example, the variable name DM0020 has the ID of 0020. If a numeric display were assigned the
variable DM0020, the host device must send data to the variable DM0020. The ASCII protocol can
identify the variable by the ID number of 0020. The format of the ASCII protocol is described in the
following sections.
An example section is included to help guide you through setup and panel design.
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
PLC Type
Select the PLC type from the list box. ASCII Single Drop. See PLC Type on page 5.
Port Button
Click the Port button to display the Serial Parameters dialog. The port values are automatically set to
standard default values. See Serial Parameters on page 6. XON/XOFF communications is supported
using RS232 or 422/485 in full duplex mode. The following settings are recommended for ASCII
Single Drop.
Elect. Format RS232
Baud Rate 9600
Data Bits 8
Parity None
Stop Bits 1
Handshake None
Internal Tags
The ASCII protocol requires using internal tag variables. You must create a contiguous block of
internal tag variables using the name DMxxxx, where xxxx is a four digit count from 0001 to 9999.
These tag variables are assigned to the various operators used on the panels. For example, a pilot light
tag variable name might be DM0002. You cannot use dm0002 or DM002.
Tag Name ID Number
DM0001 0001
DM0050 0050
DM0200 0200
DM0555 0555
The first part of the BASIC statement is CHR$(20). The ASCII character 20 is equivalent to a
CONTROL-T. The next section of code is the character 8, which is the panel ID number. The last
section of the code string is CHR$(13). The ASCII character 13 is equivalent to a CARRIAGE
RETURN.
Untriggering a Panel
The format for the command to untrigger a panel is:
(^U) (Panel ID number) (^M)
(^U) is the combination of the CTRL key and the U key pressed together. This key combination
produces a code equivalent to 15 hex or 21 decimal. (Panel ID number) is the ID number of the panel
to be untriggered. (^M) is a CARRIAGE RETURN which indicates the end of the ASCII string. A
CARRIAGE RETURN code is equivalent to 0D hex or 13 decimal.
Example: ^U1^M (UNtrigger panel with the ID of 1)
(Untriggering a panel will cause the display to remain blank)
The following example is a BASIC statement that will send an ASCII string to untrigger panel 8.
PRINT#1,CHR$(21);8;CHR$(13)
The first part of the BASIC statement is CHR$(21). The ASCII character 21 is equivalent to a
CONTROL-U. The next section of code is the character 8, which is the panel ID number. The last
section of the code string is CHR$(13). The ASCII character 13 is equivalent to a CARRIAGE
RETURN.
Reading Variables
Operators such as pilot lights and numeric data displays must be tied to a tag variable (the Dmxxxx
internal tags). When using the ASCII protocol, you must write the data to the variable in the target
display or read the data from the variable in the target display.
The format for the command to read an internal variable is:
(^R) (Variable ID number) (,) (Count) (^M)
The first part of the BASIC statement is CHR$(18). The ASCII character 18 is equivalent to a
CONTROL-R. The next section of code is the character 1, which is the starting variable ID number.
(,) is a required delimiter. (4) is the number of variables to read. The last section of the code string is
CHR$(13). The ASCII character 13 is equivalent to a CARRIAGE RETURN.
Writing to Variables
The format for the command to write to a variable is:
(^V) (Variable ID number) (,) (value 1) (,) (value 2) (,)... (value N) (^M)
(^V) is the combination of the CTRL key and the V key pressed together. This key combination
produces a code equivalent to 16 hex or 22 decimal. (Variable ID number) is the ID number of the
first variable to be written. (,) is a required delimiter. (value 1) is the value to be written to the
starting ID. (value 2) is the next data value to be written to the next variable. (^M) is a CARRIAGE
RETURN which indicates the end of the ASCII string. A CARRIAGE RETURN code is equivalent
to 0D hex or 13 decimal.
The format for writing two data values, starting with ID 2 is:
^V2, 767, 325 ^M
The following example is a BASIC statement that will send an ASCII string to write 2 data values,
starting with variable ID 2.
PRINT#1,CHR$(22);2;",";767;",";325;CHR$(13)
Set the SIZE to the number of characters for the Text Display buffer. If you want to display 20
characters, set SIZE to 20. (The LENGTH field in the Text Format setting dialog is not used)
The format for the command to write to a text variable is:
(^V) (Variable ID number) (,) (text message) (^M)
Example: ^V0,TEXT^M
Disable Beeper
Display Device
Model Model description appears in this field
Default Panel Name Initial Screen Print (Inactive)
Screen Saver Timeout
Display Touch Print
PLC Protocol setup
OK Cancel Help
System Button
Make sure you select QPJ-1 or QPJ-2 for compilation. For more information about creating a new
project and configuring the display, see page 3. Please note that some features are available only on
the QP2.
Panel Design
For this example, a panel has been created that contains many of the common panel tools. The
following picture shows what the panel looks like on a QuickPanel jr.
As you create each panel component, a dialog box will ask the name of the TAG. The tag names have
a specific naming format for the ASCII protocol.
NOTES:
There are two text displays. One is set to 15 characters and the other is set to 5. The internal tags
must be edited to change the type from integer to string.
Three additional Numeric Displays were added to display the Month, Day, and Year. The tags are
permanent internal tags. The internal tag names must be entered exactly as shown.
Download the project
When you have completed the setup and panel design, download the project to the target display. For
more information on how to download a project, see page 10.
Write Command:
The write command is used to write 1 or more integers and only 1 string at a time to the QP2. The
write command can also be used to NULL out strings and Zero out integers.
Format: (^V)(Variable ID number)(,)(Value 1)(,)(Value 2)(,) ... (Value N)(^M)
The ASCII Flex Protocol is designed to allow intelligent controllers to communicate with Quick
Panels. In the world of Programmable Logic Controllers (PLC), the protocol is nearly invisible to the
user. For example, when a pilot light is placed on a panel, a variable is assigned to it. The variable is
the name of a register in the PLC. A corresponding register in the QuickPanel is also assigned to hold
the variable data.
All of the variables for a panel are assembled into a polling list. Each variable in turn is read from the
PLC by a sequence of commands which are built into the protocol.
In the world of Intelligent Controllers, the protocol is highly visible to the user. For example, when a
NUMERIC DATA DISPLAY is placed on a panel, a variable is assigned to it. The variable is a
QuickPanel register that holds information read from the controller.
The variable for the Numeric Data Display can be associated with a polling list. Each time the
variable is polled, the sequence associated with the variable is executed. The variable could also be
unsolicited, whereby nothing happens to it until the controller sends a designated sequence.
A sequence will consist of a sequence name, a command type and one or more commands. For
example, a sequence name might be MOTOR SPEED , the first command is a SEND, and the first
command string might be SET SPEED {RF22}. The second command could be a RECEIVE, and the
command GET SPEED {RF23}.
The sequence named MOTOR SPEED must be associated with a variable. In the command string
SET SPEED {RF22}, RF22 is the variable. In the command string GET SPEED {RF23}, RF23 is the
variable. The GET SPEED variable RF23 could be assigned as the tag variable for a Numeric Data
Display.
The number of sequences and associations is limited only by the amount of memory available. See the
Appendix for a formula which will help you calculate the amount of memory used. The procedure for
creating sequences will be discussed in detail in later sections.
WARNING
When using one of the PLC protocols, you can't set the Panel Trigger tag or Watchdog tag until
you've closed down the main setup dialog at least once. Tags can't be set in the setup dialog the first
time into the dialog.
There is a similar situation with ASCII Flex protocol.
You must close down the setup dialog after you select Flex as your protocol. From then on, you
are free to do what you want in the Flex dialogs.
Sample Project
This project consists of a single panel containing a Push Button, two Numeric Data Displays and two
text displays. To view the commands sent by the QuickPanel, a PC running a Terminal Mode
program was used. This demo shows the basic operation of the Flex protocol.
Demo Panel
The panel for the project was designed first. The panel is shown below. The Flex protocol requires
using a specific set of registers for tag assignments. These register names will later be used as
embedded characters in string commands.
RAxxxx Register Ascii
RLxxxx Register Long
RFxxxx Register Float
Examples:
RA1000
RF1001 \* Prec 2
RL9999
RA0
RL44
In the examples above, the ‘xxxx’ stands for the element number. Valid element numbers go from 0
to 9999.
Also, you do not have to enter 4 digits for the element number. In the Flex protocol you can just type
RL1.
Protocol Setup
The Flex String Protocol dialog box used for the demo is shown below. The Invalid Msg Destination
register is assigned to RA1, which is the same tag used for the Invalid Message Text field. The Error
Msg Destination register is assigned to RA2, which is the same tag used for Error Message Text
display. The Reply Time Out was set to 3 seconds, which gives you plenty of time to click one of the
Function Keys in Terminal mode to send a character string. (The codes in the Function Keys are
shown later.)
The End of Packet Character is 13, which is a Carriage Return. This packet must be included in the
strings sent from the terminal.
Click the New button to create the sequences for the demo. The first sequence is Data Display. Note
that this sequence has a Send and Receive command. The Command String is sent out and a reply is
expected in the format shown for the Receive Command String. The format must match or an error
message is generated. Note also that the Receive Command String uses RL2 to store the incoming
data.
The next sequence is the Push Button. In this sequence, only the Send command is used. The
Command String will be sent to the terminal when the Push Button is pressed. This association will
be setup in a different dialog box.
Click OK to close the dialog box and click OK to close the Edit Sequences dialog box.
Once all the sequences are created, any associations of registers and sequences are made in the
Associate Sequences dialog box. Click the Associate Sequences button. The dialog box will show all
of the assigned registers. Note that RA1 is currently selected and all assignments are set to <None>.
That means that this register is not in the Poll list and no Button actions are associated. RA1 is the
ASCII register used for displaying Invalid Messages. RA2 will appear the same way since it is used to
display Error Messages.
The next association is for RL2, which is assigned to a Numeric Data Display. Note that RL2 is
associated with Data Display in the Poll list. That means RL2 will be automatically updated. Each
time RL2 comes up in the poll list, the sequence defined by Data Display will be executed. The
sequence sends out a command string and waits for a formatted reply.
Click OK to close the Associate Sequences dialog box. Click OK to close the Flex String Protocol
dialog box. Close the Setup dialog box. Click the download button to load the project into your QPx-2
display.
9 PIN FEMALE
RX3
25 PIN MALE
CD 8
CTS 5 4 DTR
GND 7 5 GND
DTR 20 6 DSR
TO TCP DEVICE TO PLC PORT SHIELD 1 8 CTS
HARDWARE HANDSHAKE
TO TCP DEVICE TO PC PORT
25 PIN MALE
TX2 2 RX
RX3 3 TX
RTS 4
CTS 5
6
TO TCP DEVICE TO CONTROLLER DTR 20
CD 8
GND 7 GND
NO HANDSHAKING
SHIELD 1
For this demo, the NO handshake cable was used to connect the display to a PC. A terminal
emulation program was used to display the command sequences received from the display. Function
keys in the terminal program were used to send sequences to the display. The communication setup
for the terminal program was setup to match the display settings. The terminal mode screen is shown
below. Note the Function keys are shown at the bottom of the screen.
Once the communication parameters are set correctly, the screen should show the command string
being sent by the display. This string is sent by the display because a Numeric Data Display is tied to
the variable RL2, which is assigned to a Poll. Each time RL2 appears in the Poll list, the sequence
associated with RL2 is executed. Remember that the sequence sends out a string and waits for a reply.
Poll Delay
The Poll Delay is a numeric data entry field. The data should be entered in milliseconds. It is the
time the operating system waits between executing the sequences for the DM registers of the current
screen. The range is 0-10000.
Send Delay
Send Delay is a numeric data entry field. The data should be entered in milliseconds. All Send
Commands in Sequences will wait this amount of time before the command is sent. The range is 0-
10000 with the default set to 0.
Prompt Characters
Prompt Characters is a character data entry field which will except 1 or more characters. The
character(s) entered should be the characters used for the prompt. If the protocol has no prompt
character nothing should be entered. The limit for this field is 5 printable characters.
Initialization Sequence
Initialization Sequence from figure 1 is a data entry field which will only except Sequence Label has
valid data. The Sequence will be executed during the initialization stage of the Quick Panel. It can
be used to send a Carriage Return to the controller, to let the Controller know that the Quick Panel is
ready to communicate. Any valid sequence can be used.
New Sequence
This dialog box allows creating new sequences. (This is the same dialog box for editing sequences).
Sequence Name
This is a unique name used to identify the sequence. For example, the name might be Start Motor,
Get Speed, or Increase Torque. Sequence names are limited to 16 characters.
Sequence
A Sequence contains a Sequence Name and up to 2 commands but no less then 1 command. The
command types are: Send , Prompted Send and Receive. A Command String can be broken down
into 1 or more Byte Literals, DM’s , and Format Specifiers.
An Unsolicited Sequence has a Receive Command as the first command in the Sequence, and cannot
use a Prompted Send Command.
Receive Command
The Receive Command has two main purposes. It used to verify that the string sent from controller
matches the format of the command and to extract data from the string so it can be stored in a
register. For example: Get Speed {RF23}.
String Literal: Elements of a string command that is not an embedded register or a Byte Literal. In
the above example, 'Get Speed' is a string literal.
Embedded Register Field: This is the tag name used to read or write data in a string command. The
tag name is set apart from the rest of the command string by brackets. In the above example, {RF23}
is an embedded register field.
Byte Literal: The Byte Literals are printable or non-printable characters such as the carriage
return, comma, new line and form feed. The character in the Receive Command should match the
character in the string received from the controller. The Byte Literals can be grouped to form a string.
Poll
The Poll table will enable the user to associate the Sequence Names with Rx registers. The result of
this association will enable the operating system to execute a Sequence when a read of a particular
register is done. This association between the registers and the labels sets up a Poll. A Poll exists
when 1 or more Sequences are executed in a sequential interval. Not all the Rx registers have to have
Sequences associated with them.
Button Press
A button press operates by writing to a register only when the button is pressed. The button is
assigned to a Rx register. The register is Associated with a Sequence Name. Writing to a register will
cause the operating system to execute a sequence.
If a Push Button is used, then a Button Press could cause a Sequence to execute and a release could
cause another Sequence to execute. Not all the registers have to have Sequences associated with them.
Button Release
A button release operates by writing to a register only when the button is released. The button is
assigned to a Rx register. The register is Associated with a Sequence Name. Writing to a register will
cause the operating system to execute a sequence.
Limits
Character Limits
Sequence Names 16 Characters
Command Strings 80 Characters
Prompt String 5 Characters
End Of Packet Char 1 Character
String Literals
String literals is everything else in the string command that is not an embedded register and not a
Byte Literal.
Examples: Breakdown:
Set Speed {RF22 \* Prec 5}\13\10
‘Set Speed ‘= string literal
‘{RF22 \* Prec 5}’= embedded float register, prec 5
‘\13’= byte literal, carriage return
‘\10’= byte literal, line feed
Get Speed {RF23}
‘Get Speed ‘= string literal
‘{RF23}’= embedded float register
Error Messages
Below is a list of the Error numbers and Error messages which can be displayed in the ASCII Flex
Protocol. Following each Error Message is a more descriptive explanation of the error.
Error #: 02:87
Error Msg ERROR 02:87 Prompted Send Failed because no Prompt was defined
Explanation: A Prompted Send was executed but, no prompt was defined so it failed.
Error #: 02:88
Error Msg ERROR 02:88 Prompted Send Failed waiting for the prompt, RCV Packet too large
Explanation: A Prompted Send was executed but, while waiting for the prompt a packet was
received which was larger then the Receive Buffer. The Prompt was not received. The End of
Packet character may be incorrect.
Error #: 02:89
Error Msg ERROR 02:89 Prompted Send Failed waiting for the prompt (RCV time-out)
Explanation: A Prompted Send was executed but, while waiting for the prompt a time-out occurred.
Error #: 02: 8A
Error Msg ERROR 02:8A Prompted Send Failed Transmitter could not send the EOP char
Explanation: A Prompted Send was executed, a prompt was not available, the Quick Panel tried to
send the End of Packet character, it could not because the transmitter was not available. The
transmitter was not available because it was waiting for a XON character from the controller or the
DSR line to the controller was not active.
Error #: 02:8B
Error Msg ERROR 02:8B Invalid Command read while processing a Sequence
Explanation: (Compiler Error ) A Command read while processing a Sequence was invalid.
Error #: 02:8C
Error Msg ERROR 02:8C Invalid Type read while processing a Send Command
Explanation: (Compiler Error ) A Send Command in Sequence was being executed and an Invalid
type was read, that the Quick Paneldid not recognize.
Error #: 02:8D
Error Msg ERROR 02:8D Length of a literal string in a Send Cmd is > 120 Bytes
Explanation: A Send Command was trying to send to the controller a Literal String which was
greater than a 120 characters.
Error #: 02:8F
Error Msg ERROR 02:8F The length for the Rx String in a Send Command was invalid
Explanation: (Compiler Error ) The length was less than 5 when it should have been at least 5.
Error #: 02:90
Error Msg ERROR 02:90 The length for the Rx Long in a Send Command was invalid
Explanation (Compiler Error ) The length was not equal to 4.
Error #: 02:91
Error Msg ERROR 02:91 The length for the Rx Float in a Send Command was invalid
Explanation: (Compiler Error ) The length was less then 4.
Error #: 02:92
Error Msg ERROR 02:92 The Received Literal String did not match
Explanation: A string was received by the Quick Panel, but it did not match the literal string defined
by the user.
Error #: 02:93
Error Msg ERROR 02:93 Length of Literal String in the Rcv Cmd is > 120 Bytes
Explanation: A receive command was being executed but the literal string received was greater than
120 characters.
Error #: 02:94
Error Msg ERROR 02:94 Invalid Type while processing a Receive Command
Explanation: (Compiler Error ) A Receive Command in a Sequence was being executed and an
Invalid type was read, that the Quick Panel did not recognize.
Error #: 02:95
Error Msg ERROR 02:95 The Received Byte Literal did not match
Explanation: A Byte literal(s) was received by the Quick Panel, but it did not match the Byte
Literal(s) defined by the user.
Error #: 02:96
Error Msg ERROR 02:96 Length of Byte Literal in the Rcv Cmd is longer than 120 Bytes
Explanation: A receive command was being executed but the Byte literal(s) received was greater than
120 characters.
Error #: 02:97
Error Msg ERROR 02:97 Length for the Rx string in a Rcv Cmd was invalid
Explanation: (Compiler Error ) The length should have been 5.
Error #: 02:98
Error Msg ERROR 02:98 The length for the Rx Long in a Receive Command was invalid
Explanation: (Compiler Error ) The length was not equal to 4.
Error #: 02:9A
Error Msg ERROR 02:9A The length for the Rx Float in a Receive Command was invalid
Explanation: (Compiler Error ) The length was not equal to 4.
Error #: 02:9B
Error Msg ERROR 02:9B No digit or . found for the Rx Float in a Receive command
Explanation: A Receive Command was being executed, it was expecting numeric data or a ‘.’ from
the controller but data was not numeric.
Error #: 02:9C
Error Msg ERROR 02:9C Invalid Command Read while processing an Unsolicited Sequence
Explanation: (Compiler Error ) A Command read while processing an Unsolicited Sequence was
invalid.
Error #: 02:9D
Error Msg ERROR 02:9D While processing an Unsolicited Command a match was not found
Explanation: An Unsolicited Command was received by the Quick Panel which did not have a match
in the table of Unsolicited Sequences.
Error #: 02:9E
Error Msg ERROR 02:9E Invalid Start of the Unsolicited Commands
Explanation: (Compiler Error )The first step of an Unsolicited Command was not a receive
command.
Error #: 02:9F
Error Msg ERROR 02:9F Rcv Command failed on the 2nd Rcv of an Unsolicited Cmd
Explanation: A Unsolicited Sequence was being executed and the second Receive Command of the
Unsolicited Sequence failed.
Error #: 02:A0
Error Msg ERROR 02:A0 Rcv Buffer over flowed on the 2nd Rcv of an Unsolicited Cmd
Explanation: A Unsolicited Sequence was being executed and the second Receive Command of the
Unsolicited Sequence failed because the Receive Buffer over flowed. The End of Packet character
may be incorrect.
Error #: 02:A1
Error Msg ERROR 02:A1 Comm time-out on the 2nd Receive of an Unsolicited Cmd
Explanation: A Unsolicited Sequence was being executed and the second Receive Command of the
Unsolicited Sequence failed because the Communications Timed out wait for a packet.
Error #: 02:A2
Error Msg ERROR 02:A2 Could not release the RAM for the Poll Table
Error #: 02:A3
Error Msg ERROR 02:A3 Ran out of RAM trying to allocate RAM for the Poll Table
Explanation: A problem occurred trying to dynamically allocate RAM for the Poll table.
Error #: 02:
Error Msg ERROR 02:A4 Error Allocating Memory for the Rx table
Explanation: A problem occurred trying to dynamically allocate RAM for the Rx table .
Error #: 02:A5
Error Msg ERROR 02:A5 There was more then 10k words to allocate for the Rx table
Explanation: The Quick Panel can only dynamically allocate 10 thousand WORDs or 20 thousands
bytes for the Rx table. To many local registers have been created.
Error #: 02:A6
Error Msg ERROR 02:A6 The packet received was to large
Explanation: A packet was received which was larger then the Receive Buffer. The End of Packet
character may be incorrect.
Error #: 02:A7
Error Msg ERROR 02:A7 The communication timed-out
Explanation: The Communications timed-out wait for a packet.
Error #: 02:A8
Error Msg ERROR 02:A8 Packet to large on the Receive of a Solicited Cmd\0" },
Explanation: While executing a Receive Command in a Solicited Sequence a packet was received
which was larger then the Receive Buffer. The End of Packet character may be incorrect.
Error #: 02:A9
Error Msg ERROR 02:A9 Comm time-out on the Receive of a Solicited Cmd\0" },
Explanation: While executing a Receive Command in a Solicited Sequence the communications
timed-out.
Error #: 02:AA
Error Msg ERROR 02:AA Transmitter time-out waiting for an XON char or the DSR line
Explanation: The transmitter in the Quick Panel could not send out any characters because it was
waiting for a XON character from the controller or the DSR line to the controller was not active.
Error #: 02:AB
Error Msg ERROR 02:AB Recv failed, then proc as Unsol Seq, then Recv timeout getting CMD
Explanation: A Sequence was executing a Receive Command, the data received did not match what
was intended. The data received from the controller was then processed as an Unsolicited Sequences.
Then the receiver timed-out waiting for the intended data from the controller. The data received from
the controller may not be an Unsolicited Command. The Receive Command in the Sequence may not
be correct, thus the Quick Panel would not receive another command from the controller.
Error #: 02:AD
Error Msg ERROR 02:AD Compiler version does not match the Driver Version\0"}
Explanation: The Compiler and the Driver have been given a version numbers which should match.
The version numbers are used to make sure that the Compiler and Driver work together. If the
Version numbers are different it could cause unexpected results. This error indicates that Version
numbers do not match.
Error #: 02:AE
Error Msg ERROR 02:AE Could not transmit because all of the echoes were not received
Explanation: The driver when in echo mode is suppose to echo all the characters it receives. If the
driver wants to transmit a string and it did not receives all the characters echoed from an earlier sent
command it will wait the time-out period for the echo of all the characters. If the driver does not
receive the echo of all the characters within the time-out period this error occurs. To fix the problem
increase the time-out period. If this does not fix the problem, make sure the controller is echoing all
the characters sent to it.
Using Windows
Note: If you are an experienced Windows user, skip this section.
Command Buttons
Command buttons initiate an immediate action. One command button in each dialog box carries out
the command you choose, using the information supplied in the dialog box. Other command buttons
let you cancel the command or choose from additional options. To choose a command button, click
the button.
Text Boxes
A text box is a space into which you type information. When you move to an empty text box, a
flashing vertical bar appears at the far left side of the box. If the box already contains text, it is
automatically highlighted and any text you type replaces it. You can erase the text by pressing
DELETE or BACKSPACE.
List Boxes
A list box shows a column of available choices. Scroll bars are used to move up and down through the
list. To select an item from a list, click the item you want then choose a command button.
Command button
Text box
List Box
Option Buttons
Option buttons appear in dialog boxes as a list of mutually exclusive items. You can select only one
option from the list at a time. The selected option button contains a black dot. To select an option
button, click the button.
Option button
Check Boxes
Check boxes offer a list of options you can switch on and off. You can select as many or as few check
box options as are appropriate. When an option in a check box is selected, it contains an X. To select
a check box, click the empty box.
Check Box
Error Messages
This section explains the messages that appear when an error has occurred in the Quick Panel unit
during RUN mode. The origin of the problem behind each error message is explained with
appropriate ways of disposing of the error. After a problem has been solved, turn the power Off, then
On, and restart the Quick Panel.
• SYSTEM ERROR
• ILLEGAL ADDRESS IN SCREEN DATA
• UNSUPPORTED TAG IN SCREEN DATA
• PLC NOT CONNECTED
• PLC NOT RESPONDING
• RECEIVE DATA ERROR
• PLC COM. ERROR
• SCREEN MEMORY DATA IS CORRUPT
• OBJ. PLC HAS NOT BEEN SETUP
• CLOCK SETUP ERROR
• SCREEN TRANSFER ERROR
There is a priority system in displaying error messages. When a system error occurs, the message
SYSTEM ERROR displays before any other messages. For errors other than System Error, the
message for the most recent error displays.
After resolving the error, the error message remains on the screen until the screen has been switched,
or until the unit has been reset.
SYSTEM ERROR
Indicates a fault in the basic operations of the Quick Panel. Following the error message, an error
code, as shown, will appear.
SYSTEM ERROR ( 03: x x )
Displays when a PC transferred file cannot be rebuilt. The x x portion of the message indicates the
error number.
SYSTEM ERROR ( x x x : x x x : x x x )
Displays in RUN mode when a file cannot be rebuilt. The message shows the error numbers in
sequence.