QUCM Domino Printer: Installation and Programming Manual
QUCM Domino Printer: Installation and Programming Manual
QUCM Domino Printer: Installation and Programming Manual
This Manual describes the QUCM application for interfacing a Domino Printer to a Modicon Quantum PLC sys-
tem.
1 Introduction ......................................................................................................................... 5
2 Installation ............................................................................................................................. 7
QUCM Installation ......................................................................................................... 7
Serial Connections to the QUCM-OE ............................................................................ 7
Port 1 to Domino Printer ......................................................................................... 7
Port 2 to the Personal Computer ............................................................................. 7
Printer Configuration ...................................................................................................... 8
Loading the Applications into the QUCM ..................................................................... 8
FWLOAD QUCM Firmware Update. ..................................................................... 9
QLOAD Application 1 ............................................................................................ 9
PLC I/O Scanner Configuration ................................................................................... 10
PLC Command Register ........................................................................................ 12
PLC TOD Clock .................................................................................................... 13
Message Name Block ............................................................................................ 13
Message Text Block .............................................................................................. 14
Serial Number Block ............................................................................................. 15
QUCM Status Block .............................................................................................. 16
Figures
Figure 2-1 QUCM-OE to RS-232 (9-pin) (MM3 Cable) ............................................................ 7
Figure 2-2 Connections to QUCM-OE serial ports ........................................................................ 8
Figure 2-3 QUCM-OE to RS-232 PC Port (9-pin) (MM1 Cable) ................................................ 8
Figure 2-4 FWLOAD of QUCM Firmware ................................................................................... 9
Figure 2-5 QLOAD of Application 1 ........................................................................................... 10
Figure 3-1 QUCM Home Page ..................................................................................................... 18
Figure 3-2 Config Extension Web Page ....................................................................................... 19
Figure 3-3 Upload Message from Printer Web Page .................................................................... 20
3
Tables
Table 2-1 Write Ref Master Definitions ....................................................................................... 11
Table 2-2 Concept I/O Scanner Example ..................................................................................... 12
Table 2-3 Unity I/O Scanner Example ......................................................................................... 12
Table 2-4 PLC Command Register Bitmap .................................................................................. 13
Table 2-5 PLC TOD Clock Block ................................................................................................ 13
Table 2-6 Message Name Block ................................................................................................... 14
Table 2-7 Embedded Message Codes ........................................................................................... 14
Table 2-8 Message Text Block ..................................................................................................... 15
Table 2-9 Serial Number Block .................................................................................................... 15
Table 2-10 QUCM Status Block .................................................................................................. 16
4
1
Introduction
The Niobrara QUCM is a TSX Quantum® compatible module that is capable of run-
ning multiple applications for performing communication translations between serial
protocols. This document covers an application provides a PLC controlled interface
with a Domino "A Series" printer using the A-comm Communications Protocol.
The QUCM-OE must be used in the local Quantum PLC processor rack. The module
is configured as an NOE-771-01 in the PLC and the I/O Scanner table is used to de-
fine the location of the printer data in the PLC.
The application, "qucm_domino_app1.qcm" is compiled and loaded into Application
1 of the QUCM-OE. The application includes multiple threads for simultaneously
servicing the printer, Modbus/TCP, Modbus Serial, and a built-in Web Server.
Serial Port 1 of the QUCM is used to connect to the Domino Printer via RS-232. A
Niobrara MM1 cable is needed to load the application into the QUCM.
QUCM Installation
Mount the QUCM in an available slot in the register rack. Secure the screw at the
bottom of the module.
140
QUCM
Niobrara
Fault
3773H Cable
Active 1 6
Ready 2 7
Run 3 8
4 9
Col 5 10
Lnk RN1 RN2
TXE TX1 TX2
RXE RX1 RX2
PC
MM3 Cable
MM1 Cable
Printer Configuration
The Domino Printer must be have its serial port configured for 38400 baud, 8 data
bits, 1 stop bit, and parity NONE.
QLOAD Application 1
1 Application 1 and 2 Switches must be in HALT.
2 Press "Start, Programs, Niobrara, QUCM, Apps, Domino, QLOAD Domino Ap-
plication 1"
3 Verify that the file to load is qucm_domino_app1.qcc
Health Block - This is the starting 3x register or 1x coil of the 128 bits of status
for the I/O Scanner.
Read Ref Master (RD Master Object) - This setting is ignored by the QUCM.
Leave blank or set to %MW1.
Read Ref Slave (RD Slave Index) - This setting is ignored by the QUCM. Leave
blank or 0.
Last Value (Input) - This setting is ignored by the QUCM. Leave at Hold Last.
Write Ref Master (WR Master Object) - This is the PLC location that holds
the starting register for a given block of data. This value must be a 4x register or
%MW. Table 2-1 shows the definitions of each of the six I/O Scan entries.
Write Ref Slave - This value must be 40001 through 40006 for entries 1 through
6 of the scan table. Unity requires the values to be 1 through 6.
Write Length - This setting is must be 1 for entries 1 through 6 of the scan table.
Slave IP Unit Health Rep RD Read Read Last Write Ref WR WR Description
Address ID Tout Rate Master Ref Len Value Master Slave Len
Object Slave Index
1 1.1.1.1 1 0 0 %MW1 0 0 Hold %MW9 1 1 PLC Command
2 1.1.1.1 2 0 0 %MW1 0 0 Hold %MW101 2 1 TOD Clock
3 1.1.1.1 3 0 0 %MW1 0 0 Hold %MW901 3 1 Message Name
4 1.1.1.1 4 0 0 %MW1 0 0 Hold %MW1001 4 1 Message Text
5 1.1.1.1 5 0 0 %MW1 0 0 Hold %MW951 5 1 Serial Number
6 1.1.1.1 6 0 0 %MW1 0 0 Hold %MW10 6 1 Status Block
7
8
9
The QUCM Domino Printer application supports a simple Web server to aid in testing
operations of the system.
Main Page
The main (Home) web page shows the revision of the QUCM application, the serial
port configurations, the status of the PLC rack communication, the currently loaded
Message Name, Message, Serial Number, and the source of the present message. Ad-
ditionally, the hexadecimal values of the QUCM’s active Name and Message Text are
displayed. Links are provided to view the Config Extension Data, Upload a message
from the printer, store a message back to the PLC, and Build a message from the Pro-
tocolFileBuilder PC program.
If the message includes non-printable attributes then they are displayed as a link with
a roll-over box to show the attribute fields. These links are not yet functional and will
return to the home page if clicked.
Build Message
This page is used to build a message in the QUCM and then load it into the PLC mes-
sage area. The message name is entered as straight text terminated with [EOT]. The
message text is also entered as straight text terminated with [EOT]. The QUCM then
strips out the print message text. A successfully loaded message will be in the QUCM
for display on the web page. It is then possible to load that message (name and text)
back into the PLC by clicking the "Store Message to PLC" link.