Download as pdf or txt
Download as pdf or txt
You are on page 1of 214

Tesco Controls, Inc.

TESCO L3000e PLC


Operations and Maintenance manual

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 1


T ABLE OF C ONTENTS
Operations and Maintenance manual ________________________________________________________ 1

Chapter 1: System Overview ____________________________________________________ 1


Introduction____________________________________________________________________________ 1
Architecture ____________________________________________________________________________ 1
Inputs/Outputs _________________________________________________________________________ 2
Table 1.1 - Input/Output Types ____________________________________________________________ 2
Keyboard ______________________________________________________________________________ 3
Display ________________________________________________________________________________ 3
Setpoints ______________________________________________________________________________ 3
Timers/Counters ________________________________________________________________________ 4
Communication Ports ____________________________________________________________________ 4
Fault Relay _____________________________________________________________________________ 4
Programming ___________________________________________________________________________ 5
Data Archiving __________________________________________________________________________ 6

Chapter 2: Operation __________________________________________________________ 7


Menu System _____________________________________________________________________________ 7
Selecting Menu Options __________________________________________________________________ 7
Adjusting & Entering Numbers _____________________________________________________________ 7
Menu Tree _____________________________________________________________________________ 8
Keyword Entry (Unlocking the L3000e) ________________________________________________________ 11

Modes __________________________________________________________________________ 12
SBY __________________________________________________________________________________ 12
Standby Mode _________________________________________________________________________ 12
CMD _________________________________________________________________________________ 12
Command Mode _______________________________________________________________________ 12
RUN _________________________________________________________________________________ 13
Run Mode ____________________________________________________________________________ 13
PGM _________________________________________________________________________________ 13
Program Mode ________________________________________________________________________ 13
CAL __________________________________________________________________________________ 13
Calibration Mode_______________________________________________________________________ 13
CFG __________________________________________________________________________________ 14
Configuration Mode ____________________________________________________________________ 14
XMT _________________________________________________________________________________ 14
Transmit ______________________________________________________________________________ 14
RCV__________________________________________________________________________________ 14
Receive ______________________________________________________________________________ 14
Mode Transitions ______________________________________________________________________ 15
Configuration Mode ____________________________________________________________________ 16
Examining Inputs, Outputs, other ____________________________________________________________ 16
Using the Menus _______________________________________________________________________ 16
Using the Full Keyboard _________________________________________________________________ 17
Changing Setpoints Via the Menus _________________________________________________________ 17
Changing Filter Constants ________________________________________________________________ 18

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 2


Storing Values Using the Full Keyboard ____________________________________________________ 18
Calibration ___________________________________________________________________________ 18
Analog Inputs _________________________________________________________________________ 18
Analog Outputs _______________________________________________________________________ 19
Test Mode ___________________________________________________________________________ 20

WARNING__________________________________________________________________ 20
To put an input/output/register in Test Mode: ______________________________________________ 20
Multi-Test ____________________________________________________________________________ 21

WARNING__________________________________________________________________ 21
Alarms_______________________________________________________________________________ 23
Alarm Operation ______________________________________________________________________ 23
Internal Digital Input Alarm ______________________________________________________________ 24
Physical Digital Output Alarm ____________________________________________________________ 24
Acknowledging Alarms _________________________________________________________________ 25
Other Alarm Characteristics _____________________________________________________________ 25
Real Time Clock _______________________________________________________________________ 26
Reliability Features _______________________________________________________________________ 27
Watchdog Timer ______________________________________________________________________ 27
Power Fail/ Brownout Detector __________________________________________________________ 27
Fault Relay ___________________________________________________________________________ 27
Write-Protected RAM __________________________________________________________________ 28
System Log ___________________________________________________________________________ 28
Power Up Sequence ____________________________________________________________________ 29

Chapter 3: Wiring ____________________________________________________________ 30


Grounding and Shielding ________________________________________________________________ 30
Power Supply _________________________________________________________________________ 30

WARNING__________________________________________________________________ 30
Analog Inputs _________________________________________________________________________ 30
Analog Outputs _______________________________________________________________________ 31
Digital Inputs _________________________________________________________________________ 32
Digital Outputs ________________________________________________________________________ 33
Backup System Battery Test Procedure ____________________________________________________ 34

WARNING__________________________________________________________________ 34

Chapter 4: Programming ______________________________________________________ 35


TESCODE Programming ___________________________________________________________________ 35
Examining Program ____________________________________________________________________ 35
Changing the Program from the Keyboard __________________________________________________ 35
Register Types ________________________________________________________________________ 35
Analog Input __________________________________________________________________________ 36
Analog Output ________________________________________________________________________ 36
Digital Input __________________________________________________________________________ 36

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 3


Digital Output _________________________________________________________________________ 36
Timer/Counter _________________________________________________________________________ 37
Seconds Timer _________________________________________________________________________ 37
Hours Timer ___________________________________________________________________________ 38
HMS Timer ____________________________________________________________________________ 38
Pulse Counter _________________________________________________________________________ 38
Event Counter _________________________________________________________________________ 39
Setpoint ______________________________________________________________________________ 41
Index ________________________________________________________________________________ 41
TESCODE Program and Statement Structure ___________________________________________________ 41
Mathematical Functions ___________________________________________________________________ 42
Conditional Expressions _________________________________________________________________ 43
Action Expressions _____________________________________________________________________ 43
Storing Values _________________________________________________________________________ 44
Control Flow __________________________________________________________________________ 44
TESCODE Execution Trace ________________________________________________________________ 44
Sample TESCODE Program __________________________________________________________________ 46
Sample Program Overview _______________________________________________________________ 46
Automatic Well Pump Control ____________________________________________________________ 46
Alarm Reset ___________________________________________________________________________ 47
Effect of Alarms on Pump and Valve Control _________________________________________________ 48
Auto/Manual Purge of TESCO Reactive Air Level Monitoring System _____________________________ 49
Macro Key Programming ___________________________________________________________________ 54
Examining the Current Macro Program _____________________________________________________ 55
Changing the Macro Program From the Keyboard ____________________________________________ 55
Macro Program in a File _________________________________________________________________ 55

Chapter 5: Networking and Telemetry ___________________________________________ 56


Overview _______________________________________________________________________________ 56
Network Media ________________________________________________________________________ 56
RS-232/Shielded Cable __________________________________________________________________ 57
RS-485/Twisted Pair ____________________________________________________________________ 57
2-Wire RS-485 _________________________________________________________________________ 58
4-Wire RS-485 _________________________________________________________________________ 59
On-Line Modem/Leased Line/Buried Cable __________________________________________________ 59
Dial-Up Modem/Telephone ______________________________________________________________ 59
Network Topology ________________________________________________________________________ 60
Broadcast Network _____________________________________________________________________ 60
Point-to-Point Network __________________________________________________________________ 60
Tree Network__________________________________________________________________________ 61
Network Protocol _________________________________________________________________________ 61
Message Buffering and Queuing __________________________________________________________ 61
Flow Control __________________________________________________________________________ 62
Medium Access Control _________________________________________________________________ 62
Communications Failure/Reconnect _______________________________________________________ 64
Automatic Alternate Path Switching _______________________________________________________ 64
Quiescent Telemetry (Peer to Peer) __________________________________________________________ 65
Polled Telemetry (Master/Slave) _____________________________________________________________ 66

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 4


Redundant Message Elimination __________________________________________________________ 67
Telemetry Control Setpoint ______________________________________________________________ 68

Chapter 6: Control Tables and Files ______________________________________________ 69


Introduction ____________________________________________________________________________ 69

Configuration Table _______________________________________________________________ 70


Viewing the Configuration Table at the L3000e ______________________________________________ 70
Changing the Configuration Table from the L3000e Keyboard __________________________________ 70
Configuration Table Fields _______________________________________________________________ 71
L3000e Information (PLC.INFO) ___________________________________________________________ 71
Digital Outputs/Inputs (DO/DI) ___________________________________________________________ 71
Analog Inputs/Outputs/Setpoints (AI/AO/SP) _______________________________________________ 72
Input Scanning (INPT.SCAN) _____________________________________________________________ 72
Timers/Counters (TMR/CTR) _____________________________________________________________ 73
Special Function Registers (SPEC.REGS) ____________________________________________________ 74
Network/Telemetry Items (NET/TLM) _____________________________________________________ 78
Activity Monitoring (MONITOR) __________________________________________________________ 80

WARNING__________________________________________________________________ 80
Output Devices (OUTPT.DVC) – (Not Used L3000) ____________________________________________ 81
Display Settings (DISPLAY) _______________________________________________________________ 81
Miscellaneous Settings (MISC) ___________________________________________________________ 82
Network Port Settings (NET.COM1, NET.COM2, NET.COM3, NET.COM4) _________________________ 83
Network Port Settings (NET.COM6) Virtual Modbus Port ______________________________________ 89
TCP/IP Ethernet _______________________________________________________________________ 89
Configuration Table File _________________________________________________________________ 89

TESCODE Program _________________________________________________________________ 90


Network Connection Table __________________________________________________________ 90
Store and Forward Message Routing Setup _________________________________________________ 93
DataExpress and DataExpress+ Store and Forward ___________________________________________ 93
MODBUS Store and Forward _____________________________________________________________ 94

Quiescent Table __________________________________________________________________ 96


Change-Based Entries __________________________________________________________________ 96
Interval-Based Entries __________________________________________________________________ 96

Polling Table _____________________________________________________________________ 99

Setpoint Table ___________________________________________________________________ 101

Filter Table _____________________________________________________________________ 101


Calibration Table _________________________________________________________________ 101

Precalibration Table ______________________________________________________________ 102

Macro Table ____________________________________________________________________ 102

Tag Table _______________________________________________________________________ 103

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 5


LED Table _______________________________________________________________________ 105

Archive Array Table_______________________________________________________________ 108


Archive Array Table Setup_______________________________________________________________ 108
Average & Min/Max Compression ________________________________________________________ 111
Archive Table Setup for AVG/MIN/MAX Compression ________________________________________ 112
Change Based ________________________________________________________________________ 113
Archive Table Setup for DI ______________________________________________________________ 114
Alarm Summary _______________________________________________________________________ 115
Archive Table Setup for Alarm ___________________________________________________________ 115
Archive Data Retrieval__________________________________________________________________ 115

Modbus and the Modbus Slave Table ________________________________________________ 116


L3000e Modbus Slave Table Entries _______________________________________________________ 117
L3000e Modbus Master Entries __________________________________________________________ 117

Chapter 7: Special Functions __________________________________________________ 118


L3000e Information (PLC.INFO) _____________________________________________________________ 118
Examining Program (EXAM.PGM) ___________________________________________________________ 119
Reports (REPORTS) _______________________________________________________________________ 120
Examining Configuration Table (EXAM.CFG) ________________________________________________ 120
Changing Configuration Table (CHG.CFG) __________________________________________________ 120
Diagnostics (DIAGS) ______________________________________________________________________ 120
PreCalibration (Precal) _________________________________________________________________ 121
Clock Functions (CLOCK) ________________________________________________________________ 124
Keyword Management (KEYS) ___________________________________________________________ 125
Assignable Privileges ___________________________________________________________________ 126
Remote Control (REMOT.CTL) ___________________________________________________________ 127
Examining Remote Registers (EXAM.RMT) _________________________________________________ 127
Changing Remote Registers (CHNG.RMT) __________________________________________________ 127
Examining Mode of Remote (EXAM.MODE) ________________________________________________ 128
Changing Mode of Remote (CHNG.MODE) _________________________________________________ 128

Chapter 8: QwikLoad Programming Software ____________________________________ 129


Introduction__________________________________________________________________________ 129
Installation ___________________________________________________________________________ 129
Starting the WinBench Program for QwikLoad ______________________________________________ 129
Communication Setup__________________________________________________________________ 129
Controller to PC Serial Port Cable _________________________________________________________ 129
Using QwikLoad _______________________________________________________________________ 130
L3000e Settings _______________________________________________________________________ 130
QwikLoad Controller to PC ______________________________________________________________ 131
Upload & Download ___________________________________________________________________ 132
Files ________________________________________________________________________________ 132
Exit QwikLoad ________________________________________________________________________ 132

Chapter 9: Programmers WinBench ____________________________________________ 133


Introduction__________________________________________________________________________ 133
Installation ___________________________________________________________________________ 133
Starting the WinBench Program __________________________________________________________ 133

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 6


Communication Setup _________________________________________________________________ 134
Software Setup _______________________________________________________________________ 134
Testing the WinBench™ and L3000e Telemetry _____________________________________________ 136
Changing L3000e Mode ________________________________________________________________ 136
L3000e Tables _______________________________________________________________________ 136
Assembling & Disassembling ____________________________________________________________ 137
LIQIV Image Tables____________________________________________________________________ 139
Telemetry and Options Configuration Screens ______________________________________________ 140
Calibration and Setpoint Screens ________________________________________________________ 141
Single File Uploading __________________________________________________________________ 142
Viewing the Sample Table ______________________________________________________________ 142
Single Table/File Downloading __________________________________________________________ 143
Creating a new Batch __________________________________________________________________ 143
The Batch Setup Window ______________________________________________________________ 144
Batch Uploading Tables from the L3000e __________________________________________________ 144
Printing a Table ______________________________________________________________________ 145
Viewing Tables in the Batch Editor _______________________________________________________ 145
Download Batch Tables/Files ___________________________________________________________ 145
The Archive Array Tables (Optional) ______________________________________________________ 146
Other Tables _________________________________________________________________________ 147
Viewing the Card Table ( L2000 Only ) ____________________________________________________ 147
Transferring Tables ___________________________________________________________________ 147
Copying LIQ5 / L3000e Batch files to 3.5" disk (*.bch) ________________________________________ 148
Saving these Tables into a Batch File _____________________________________________________ 148
Copy the Batch File to disk _____________________________________________________________ 149
Copying a LIQ5 Batch to L3000e Batch ____________________________________________________ 149

WARNING_________________________________________________________________ 149
Networking and Telemetry _____________________________________________________________ 150
RS-232 to RS-485 Bus __________________________________________________________________ 151
Dialup Modem _______________________________________________________________________ 151
Menus Options _________________________________________________________________________ 153
Pull-Down Menus _____________________________________________________________________ 153
Mouse Control and Keyboard ___________________________________________________________ 153
Changing Font for Active Editor Window __________________________________________________ 153
Changing Screen Colors for Active Editor Window ___________________________________________ 153
Software Version Information ___________________________________________________________ 153
Leaving WinBench™ ___________________________________________________________________ 154

Appendix A: Specifications ______________________________________________________ 1


Dimensions ___________________________________________________________________________ 1
Power Requirements ___________________________________________________________________ 2
Environmental ________________________________________________________________________ 2
Processor Module _____________________________________________________________________ 3
High Density I/O Card __________________________________________________________________ 4
Analog Inputs __________________________________________________________________________ 4
Analog Outputs ________________________________________________________________________ 4
Digital Inputs __________________________________________________________________________ 5

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 7


Digital Outputs: _________________________________________________________________________ 5
High Density I/O Terminal Block __________________________________________________________ 5

Appendix B: Dimensions/Mounting ______________________________________________ 1


L3000e Card Cages _____________________________________________________________________ 1
Displays __________________________________________________________________________________ 2
Large Display ___________________________________________________________________________ 2
Small Display ___________________________________________________________________________ 2
High Density I/O Terminal Block ____________________________________________________________ 3

Appendix C: Serial Port Interface and Cables _______________________________________ 1


Pin Numbering__________________________________________________________________________ 1
COM1 RS-232 port pinout _________________________________________________________________ 1
COM2 / COM3 RS-232 port pinout __________________________________________________________ 2
COM1 / COM2 / COM3 Null Modem Cable pinout _____________________________________________ 2
Signal Definitions ________________________________________________________________________ 3

Appendix D: Troubleshooting ___________________________________________________ 1


Error Display Messages ___________________________________________________________________ 1
Troubleshooting Without the Display Option _________________________________________________ 7
Communications Troubleshooting __________________________________________________________ 8
Telemetry Monitoring to Alphanumeric Display _______________________________________________ 9
Telemetry Monitoring to other Output Devices ______________________________________________ 11
What to Do If the MEM LED is Stuck On_____________________________________________________ 13
How to do a Complete System Reset (NMI) __________________________________________________ 14

Appendix HDIO ______________________________________________________________ 1


High Density I/O Card and Terminal Block _________________________________________________ 1
Jumpers / Switches _____________________________________________________________________ 1
Wiring Points __________________________________________________________________________ 2
Wiring Examples __________________________________________________________________________ 3
Analog Inputs___________________________________________________________________________ 3
Analog Outputs _________________________________________________________________________ 4
Digital Inputs ___________________________________________________________________________ 6
Digital Outputs _________________________________________________________________________ 6

Appendix HDAI ______________________________________________________________ 1


High Density Analog Input Card and Terminal Block _________________________________________ 1
Jumpers / Switches _____________________________________________________________________ 2
Wiring Points __________________________________________________________________________ 3
Wiring Examples _______________________________________________________________________ 5

Appendix HDDI ______________________________________________________________ 1


High Density Digital Input Card and Terminal Blocks _________________________________________ 1
Connectors ____________________________________________________________________________ 2
Jumpers / Switches _____________________________________________________________________ 2
Wiring Points - DC Terminal Blocks ________________________________________________________ 3
Wiring Points - AC Terminal Blocks ________________________________________________________ 4
Wiring Examples _______________________________________________________________________ 5

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 8


Appendix HDDO______________________________________________________________ 1
High Density Digital Output Card and Terminal Block _______________________________________ 1
Jumpers / Switches ____________________________________________________________________ 2
Wiring Points _________________________________________________________________________ 2
Wiring Examples_______________________________________________________________________ 3

END OF OPERATION AND MAINTENANCE MANUAL__________________________________ 4

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 9


C HAPTER 1: S YSTEM O VERVIEW
I NTRODUCTION
This manual applies to the L3000e PLC. Some of the features described in this manual are
options, and may not be present on your unit.

The TESCO L3000e is a powerful yet remarkably easy to use control instrument for either local
or distributed control applications. It can be networked in a variety of ways with other
members of the Liquitronic controller line, TESCO’s SCADA systems, as well as other third party
PLC’s, operator interfaces and SCADA systems.

The L3000e has been specifically designed to meet the unique needs of the Water and Waste
Water Control and Monitoring industry. It fits very well into a wide range of applications, from
simple stand-alone stations to elaborate networked systems.

The L3000e is a modular unit. Optionally, the L3000e might be equipped with an LED display
and keypad. The keypad consists of a stainless steel faceplate to which a permanent sealed
membrane keypad is attached. The keypad is designed to be impervious to corrosive
atmospheres such as Hydrogen Sulfide, Chlorine gas, etc. The display consists of an eight digit
alphanumeric display, plus up to 380 LED’s, that may be individually addressed or used as bar
graphs.

Power and Input/Output (I/O) connections are made using pull-apart terminal blocks. The
enclosure and DIN rail mounting system is designed such that the whole unit may be replaced
in less than two minutes in the unlikely event of a failure.

A RCHITECTURE
A complete L3000e system may consist of one or more I/O modules. The processor card
contains the central processor section, which runs QNX real-time multitasking operating system
contained in Secure Digital memory. The application control program, registers, setpoints and
configuration information is stored in battery backed, write-protected SRAM (Static Random
Access Memory). A watch-dog timer will automatically reset the system in case of errant
operation.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 1


I NPUTS /O UTPUTS
There are 5 types of High density I/O cards available which can be mixed and matched for
optimum physical I/O counts.

• HDIO card – 6AI,2AO,16DI,8DO


• HDAO card – 8AO
• HDAI card – 16AI
• HDDO card – 32DO
• HDDI card – 32DI

T ABLE 1.1 - I NPUT /O UT PUT T Y PES

TYPE A LT E R N A T E N A M E D E SCR I P T I ON E X A M P LE S
Digital Input (DI) Status (S) Senses an ON/OFF float switch, intrusion contact,
(contact open / pump fault contact
contact closed)
condition.
Digital Output (DO) Pump (P) generates an ON/OF pump on/off control, relay coil,
(contact open/ solenoid valve coil
contact closed)
condition

Analog Input (AI) Level In (L) senses a voltage or tank level, system pressure,
current level flow

Analog Output (AO) Level Out (AO) generates a voltage motor speed (VFD),
or current level chart recorder

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 2


K EYBOARD
As shown below, the L3000e is available with two different keyboard options - the 32-key Full
Programming Keyboard and the 4-key Menu Driven Operator Interface Keyboard. Four macro
keys may be added to either keyboard. The macro keys are customizable to provide a single-key
short cut for application specific functions (for example, pressing a macro key might cause a
tank level to be displayed).

F I G . 1.1 – K EY BO AR DS

32-key Keyboard 4-key Keyboard

D ISPLAY
The optional display facilities of the L3000e consist of an 8 character alphanumeric LED display
and up to 380 discrete LED’s. The Displays come in two different size formats, a compact model
and a full sized model. The compact display has 60 discrete LED’s, while two versions of the full
sized display come with either 220 or 380 discrete LED’s. The alphanumeric display is used to
display numeric values and menu prompts, while the discrete LED’s are used to display mode
information, bar graphs, and the ON/OFF state of digital inputs/outputs and alarms.

S ETPOINTS
The L3000e is capable of storing numeric constants in registers which are called Setpoints.
These constants are used to determine control program parameters such as pump turn-on and
turn-off points, alarm points and timing values.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 3


T IMERS /C OUNT ERS
The L3000e uses 5 different types of Timers/Counters for purposes such as sequencing,
counting events, pulse output generation and keeping values such as pump run times.

C OMMUNICATION P ORTS
The L3000e has four communication ports to allow communication with other controllers,
operator interface products and SCADA (Supervisory Control and Data Acquisition) systems. The
standard configuration includes three RS-232 ports and one Ethernet port.

F AULT R ELAY
The fault relay will go to the de-energized state under any of the following conditions:

• loss of power (12 VDC main supply)

• system errors or system reset

Normally-closed and normally-open contacts are both available.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 4


P ROGRAMMING
The L3000e can be programmed using one of six programming languages. Five languages are
IEC 1131-3 standard programming languages:

Sequential Function Chart (SFC)

Structured Text (ST)

Instruction List (IL)

Function Block Diagram (FBD)

Ladder Diagram (LD)

The additional language is TESCODE. TESCODE is a high level basic like language designed for
the water / wastewater industry. The TESCODE language contains facilities for performing
mathematical calculations, execution flow control, subroutines and other features. For more
details, see the Programming chapter.

The IEC 1131-3 program development environment includes the following features:

Windows 7 32bit and 64bit

Allow Upload/Download of all program code

Full Graphic Editor Tools optimized for creating and editing source programs

Animated Graphic Tools

Off-Line Simulation Tools

On-Line Debugger Tools

Documentation Tools

Archive Tools

Library Management Tools

Project Management Tools

Password Protection Tools for Projects and Libraries

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 5


D ATA A RCHIVING
The L3000e has the ability to automatically archive register values into Archive Arrays. This
feature may be thought of as a sophisticated data logger, built right into the L3000e. Register
values may be stored based on change, or may be stored in “compressed” format, with
minimum, maximum and average values stored away for each time interval. Alarm information
may also be captured.

For details, see the Control Tables and Files chapter.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 6


C HAPTER 2: O PERATION
M ENU S YSTEM
S ELECTING M ENU O PTIONS
Using the 32-key or 4-key keyboard, the keys shown below may be used to perform functions
via a menu system:

Fig. 2.1 - Keys Used for Menu Operations

General instructions for using this menu system are as follows:

1) Press the EXIT key to back out of any current menu until the mode is displayed (Either SBY
MODE, CMD MODE or RUN MODE).

2) Press the UP and DOWN arrow keys to display the desired option.

3) Press the ENTER key to perform the displayed option.

4) Some menu options take you into “sub-menus” of additional options. Select the desired sub-
option(s) as in steps 1) and 2).

A DJUSTING & E NTERING N UMBERS


Operation of the numeric display (for example, for adjusting a Setpoint), the number can be
adjusted using the UP and DOWN keys. Each time you press the key the number will increment
or decrement one unit. If you hold the UP or DOWN key down, the number will continue to
increment or decrement at a slow rate.

To change the number at a faster rate, you can select a “speed” by pressing the key multiple
times then holding it down. For example, pressing the UP key 3 times, and holding it down on
the third press would cause the number to increment at speed 3. When selecting a speed, you
must press the keys in rapid succession (within 1/2 second of each other), or it will revert back
to the slowest speed.

If you have the 32-key keyboard, you may enter numbers directly, using the number, negative
sign and decimal-point keys. When you have keyed in all desired digits, press ENTER.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 7


M ENU T REE
The L3000e menus are organized in a hierarchical fashion in what may be thought of as an
inverted tree of menus and sub-menus. This structure is shown in the two figures that follow.
The first figure shows a general tree structure while the second shows a detailed menu tree of
the EXAM CFG/CHNG CFG option under the SPECIAL menu. Depending on the Keyword used to
unlock the L3000e, various options may not be present if that Keyword does not have the
privilege to perform that function.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 8


Fig.2.2 L3000e Menu Tree

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 9


fig.2.2a-L3000e
EXAM CFG Menu Tree

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 10


K EYWORD E NTRY (U NLOCKING THE L3000 E )
The L3000e has a keyword (password) feature that prevents unauthorized or accidental
changes that would affect its operation. Before allowing access to these functions, the L3000e
must first be unlocked by entering a Keyword. When the L3000e is locked, only limited menu
choices will be available. After the L3000e has been unlocked, it will automatically lock itself
again after a period of time with no keyboard input. The purpose of this feature is to prevent
unauthorized access if the L3000e is accidentally left unlocked. The automatic lockout time is
settable in the Configuration Table, and defaults to 5 minutes.

A security threat is defined as 3 successive attempts within 1 minute to unlock the L3000e with
the wrong keyword. If this occurs, a selected DI will be turned ON, and all keywords will be
locked out for 5 minutes. The factory default setting for this field is DI 871.

To enter your keyword, and unlock the L3000e using the menus:

1) Choose the KEYWORD option from the menu

2) Use the UP/DOWN or number keys to select your keyword

3) Press ENTER

To lock the L3000e after unlocking it:

1) Choose the LOCK.KYBD menu option

2) Press ENTER

The L3000e may have multiple Keywords and different privileges may be associated with
different Keywords. The factory default is to have Keyword 10 set up for all normal L3000e
functions. See the Keyword Management section for details on how to set up different
Keywords and privileges.

With the 32-key keyboard, you enter your keyword in the process of changing modes (see
Modes section which follows).

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 11


M ODES
The various modes the L3000e can be in are displayed on the Mode LED’s:

These modes are described briefly below. For more information on performing specific
functions, see the sections, which follow. Using the 32-key keyboard, modes may be accessed
via the shortcut:

<keyword> . <mode number> ENTER

SBY
S TANDBY M ODE
In Standby Mode, the L3000e is not actively controlling, but is continuing to sense input signals.
The state of AI’s, AO’s, DI’s and DO’s may be changed using the TEST or MULT.TEST function, or
via Telemetry. Initiation of Quiescent and Polling Telemetry messages is disabled while in
Standby Mode. Responses to telemetry messages will function as normal.

The SBY LED is illuminated when the L3000e is in Standby Mode. It also blinks when executing
the TESCODE line number found in the Debug Setpoint. The DEBUG.SP option within SPEC.REGS
in the Configuration Table defines this Setpoint number (see Control Tables and Files chapter).

From the 32-key keyboard, Standby Mode is selected with the following keys:

10.1 ENTER

From the 4-key keyboard, Standby Mode is selected using the L3000e SBY menu option.

CMD
C OMMAND M ODE
Command Mode allows the entry of TESCODE statements that cause the L3000e to perform
some action, such as store a value to a Setpoint or Timer/Counter. Command Mode is
accessible only from the 32-key keyboard, and may be entered while the L3000e is in either Run
Mode or Standby Mode (the Run/Standby state is not affected). Command Mode may be
canceled by pressing EXIT, OFF. The CMD LED is illuminated when Command Mode is selected.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 12


It is also illuminated when an I/O point is being overridden via the TEST or MULT.TEST
functions. When the L3000e is in Remote Control of another unit, the CMD LED flashes on and
off.

From the 32-key keyboard, Command Mode is selected with the following keys:

10.2 ENTER

For example, Standby Mode is accessed by keying in 10.1 ENTER, (using the factory default
keyword of 10).

RUN
R UN M ODE
In Run Mode, the L3000e is running the application-specific control program, sensing inputs,
and generating outputs based on the control strategy. Sourcing of Quiescent and Polling
Telemetry are enabled when in Run Mode. When Run Mode is entered from Standby Mode, all
Quiescent Table entries will be transmitted if the PWR.UP.DMP parameter in the Configuration
Table is set to YES. (see Configuration chapter). The RUN LED is illuminated when the L3000e is
in Run Mode.

From the full keyboard, Run Mode is selected with the following keys:

10.3 ENTER

From the 4-key keyboard, Run Mode is selected using the RUN.MODE menu option.

PGM
P ROGRAM M ODE
Program Mode allows you to view or change the L3000e TESCODE control program or the
Macro Key programming. Changes may be made to the program from the keyboard only with
the 32-key keyboard. See the Programming chapter for details. When in Program Mode, the
PGM LED is illuminated.

From the 32-key keyboard, Program Mode is selected with the following keys:

10.4 ENTER

CAL
C ALIBRATION M ODE
Calibration Mode allows you to calibrate Analog Inputs and Outputs. Calibration associates a
range of physical measurement with an AO or AI so that the L3000e program may be written in
terms of engineering units and AI’s/AO’s may be examined and controlled in terms of real world
values. The CAL LED is illuminated when in Calibration Mode. The CAL LED also flashes when
one or more I/O registers are being overridden using Test or Multi-Test.
Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 13
From the 32-key keyboard, Calibration Mode is selected with the following keys:

10.5 ENTER

For details on calibrating an input or output, see the Calibration section in this Chapter.

CFG
C ONFIGURATION M ODE
Configuration Mode allows you to view or change the Configuration Table from the keyboard.

From the 32-key keyboard, Configuration Mode is selected with the following keys:

10.8 ENTER

XMT
T RANSMIT
The XMT LED comes on when the L3000e transmits a Telemetry message. The XMT LED can be
associated with any combination of the 4 communication ports via the Configuration Table.

RCV
R ECEIVE
The RCV LED comes on when the L3000e receives a valid Telemetry message addressed to it.
The RCV LED can be associated with any combination of the 4 communication ports via the
Configuration Table.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 14


M ODE T RANSIT IONS
The following paragraphs explain any special details that you may want to be aware of that
apply to transitions from one mode to another.

Changing from Standby Mode to Run Mode

When the L3000e is changed from Standby to Run Mode, the following things happen:

1) The TESCODE program begins execution from line 0 (or the first existing line).

2) Quiescent Telemetry is initialized, and after the startup delay (Q.STRT.DLY), all entries in the
Quiescent Table are transmitted (if PWR.UP.DMP is set on).

3) Polling Telemetry is initialized, and for each port, after the startup delay (p.POLL.DLY), the
polling cycle commences.

4) Hour Timers and Second Timers begin counting, if on.

Changing from Run Mode to Standby Mode

Digital Outputs

All normal (non-alarm) DO’s are turned off when changing from Run to Standby Mode. Note
that they may be turned back on from the keyboard using Command, Test or Multi-Test Mode.
They may also be turned on remotely via Telemetry.

Alarm Digital Outputs

The physical DO output associated with an alarm will be turned off when changing from Run to
Standby Mode. This applies regardless of whether the alarm DO has been defined to have a
flashing or steady output. The associated LED will remain flashing or on steady (acknowledged
Alarm). If an alarm event occurs while in Standby Mode, the physical DO output will be enabled
and associated LED will illuminate, as in normal operation.

Event Counters/Pulse Digital Outputs

The Event Counters associated with a Pulse DO are frozen and turned off when changing from
Run to Standby Mode. The associated physical DO outputs are turned off. Any changes to the
Event Counter, while in Standby Mode, will have a normal affect to the DO and the Event
Counter.

Quiescent Telemetry

Initiation of Quiescent Telemetry messages is disabled while in Standby Mode.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 15


Polling Telemetry

Initiation of Polling messages is disabled while in Standby Mode.

C ONFIGURATION M ODE
Entering Configuration Mode does not have any operational effect, however leaving
Configuration Mode may have an effect:

1. If you have made any changes in Configuration Mode and elect to save the changes, then
the L3000e will momentarily shut down all Telemetry activity and restart the Telemetry
system, possibly resulting in a momentary interruption to any active communications.
2. If you have changed the number of Digital Inputs or Digital Outputs, the LED Table will be
deleted, requiring you to download a new LED Table that matches the new DI/DO
configuration.

E XAMINING I NPUTS , O UTPUTS , OTHER


Select the EXAMINE menu option, then select the type of register you want to view. The
following items may be viewed:

U SING THE M ENUS


LEVEL Analog Input

ANAOUT Analog Output

STATUS Digital Input

PUMP Digital Output

SETPOINT Setpoint

FILTER Analog Input Filter


Constant

TMR/CTR Timer/Counter

INDEX Index Register

Table 2.1 -Examine Menu

Next, select which item (such as L-0, L-1, L-2... for LEVELS). When you press ENTER, the current
value of the item will be displayed. The name of the item will occasionally flash on the display
so that you can tell what you are looking at. For example, “L9” will flash occasionally if you are

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 16


viewing Analog Input 9 (Level 9). To stop viewing the item and return to the menu, simply press
the EXIT key. When at the “top” of the menu tree (after pressing EXIT until the mode is
displayed), if no keyboard input is received for more than 12 seconds, the last register that was
being examined will automatically be redisplayed. The update rate of the register that is being
displayed is factory defaulted to 0.5 seconds and can be changed in the Configuration Table
(RFRSH.DLY parameter under the DISPLAY category).

U SING THE F ULL K EYBOARD


Inputs, outputs, and other items may be examined using the 32-key keyboard by pressing the
following keys:

EXAM <REGISTER> <REGISTER NUMBER> ENTER

Examples: EXAM LEVEL 1 ENTER

EXAM SETPOINT 75 ENTER

After other operations have been performed using the keyboard, the last register that was
being examined may be re-displayed by pressing the EXAM key twice. When actively examining
a register, pressing the EXAM key twice will cause any tag name information for the register to
be displayed (see Tag Table section in the Control Tables and Files chapter).

When a register value is being shown, the tag information will be periodically displayed (at the
rate set in the Configuration Table).

(Tag Table section in the Control Tables and Files chapter)

C HANGING S ETPOINTS V IA THE M ENUS


Setpoints may be changed by selecting the CHANGE menu option, then the SETPOINT option.
Next, select which Setpoint to change (SP-0, SP-1, SP-2,...). Since Setpoints are stored in write-
protected memory, you will see MEM.OPEN displayed briefly as the L3000e opens write-
protected memory. The value may then be adjusted with the UP and DOWN keys. When you
have the desired value set, press ENTER to save the value and leave the menu option.
MEM.CLOSE will be displayed as the L3000e closes write-protected memory. If you wish to
revert to the old Setpoint value, press EXIT instead of ENTER.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 17


C HANGING F ILTER C ONSTANTS
Filter Constants are used to digitally filter Analog Input values. Each physical Analog Input has a
unique Filter Constant associated with it. The allowed range of values is 1.0 to 1,000,000.0. A
small value results in less filtering, while a large value results in much filtering. A value of 1.0
results in no filtering. A value of 100.0 will allow the filtered value to change by 1/100.0 of the
difference every AI sample period. The factory default value of 1.5 is reasonable for most
situations. A very large value (1,000,000.0) is useful for testing purposes, to effectively hold a
certain value on an Analog Input for a long time even though the signal is gone. Filter Constants
are changed just like Setpoints - use the CHANGE option, then the FILTER option. There is a one-
to-one correspondence between Filter Constants and Analog Inputs. For example, Filter
Constant 4 (F-4) is used to filter Level 4 (L-4).

In the filter table there is also an option to reset an AO to zero when entering Standby Mode.

S TORING V ALUES U SING T HE F ULL K EY BOARD


Using the 32-key keyboard, values may be stored to Setpoints, Timers/Counters, etc. while in
Command Mode, using the following keys:

ACTION <NUMBER> STORE <REGISTER> <REGISTER NUMBER> ENTER

Examples: ACTION 12.5 STORE SETPOINT 5 ENTER

ACTION 99 STORE TIMER/COUNTER 95 ENTER

ACTION 400 STORE ANAOUT 77 ENTER

C ALIBRATION
Calibration is performed to make an association between a voltage or current level and a “real
life” or engineering unit of measure. For instance, if an Analog Input is reading 10.5 mA, this
may represent 75 PSI water pressure on the connected pressure transducer. Calibrating this
input will cause values to be displayed in the engineering unit value.

A NALOG I NPUTS
An Analog Input (Level) is calibrated using the following procedure:

1. Choose the CALBRATE menu option (or using the 32-key keyboard, key in 10.5 ENTER)
2. Choose the LEVEL option
3. Choose the desired Level number to calibrate (L-0, L-1, L-2...)

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 18


4. Set the physical Analog Input to the low calibration point (a known point towards or at the
low end of the transducer range). The actual input that the L3000e sees will be displayed in
current (mA) or voltage (V), depending on how the input is configured
5. When the desired input value has been set up, press ENTER, or, you may override the input
value using the UP and DOWN keys, then press ENTER
6. Set the corresponding engineering unit value using the UP and DOWN keys, then press
ENTER to lock in this value (calibration point 1 is now complete)
7. Set the physical Analog Input to the high calibration point (a known point towards or at the
high end of the transducer range). The actual input that the L3000e sees will be displayed,
once again using current or voltage
8. When the desired input value has been set up, press ENTER, or, you may override the input
value using the UP and DOWN keys, then press ENTER
9. Set the corresponding engineering unit value using the UP and DOWN keys, then press
ENTER to lock in this value (calibration point 2 is now complete)

A NALOG O UTPUTS
Analog Outputs are calibrated similar to Analog Inputs:

1. Choose the CALBRATE menu option (or using the 32-key keyboard, key in 10.5 ENTER)
2. Choose the ANAOUT option
3. Choose the desired Analog Output number to calibrate (AO-0, AO-1, AO-2...)
4. Set the physical Analog Output to the low calibration point using the UP and DOWN keys.
The output that the L3000e is generating will be displayed in current (mA) or voltage (V),
depending on how the output is configured
5. When the desired output value has been set up, press ENTER
6. Set the corresponding engineering unit value using the UP and DOWN keys, then press
ENTER to lock in this value (calibration point 1 is now complete)
7. Set the physical Analog Output to the high calibration point using the UP and DOWN keys.
The output that the is generating will be displayed in current or voltage
8. When the desired output value has been set up, press ENTER
9. Set the corresponding engineering unit value using the UP and DOWN keys, then press
ENTER to lock in this value (calibration point 2 is now complete)

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 19


T EST M ODE
Test Mode provides a means of overriding an input, output or register to test operation of the
control program or a connected device. It also provides a means of overriding an input to
substitute for a failed transducer. At any given time, only one input, output or register is in Test
Mode (to control more than one, use Multi-Test). When testing an input (Analog or Digital), the
AI/DI register is isolated from the actual physical input and the current test value (as displayed)
is the value seen by the TESCODE program. When testing an output (Analog or Digital), the
AO/DO register is isolated from the TESCODE program or Telemetry writing to that register,
such that the physical output follows the current test value (as displayed). If the TESCODE
program or Telemetry reads the AO/DO register, it will see the current test value. When testing
a Timer/Counter or Index register, the same type of operation applies - the register is isolated
from writes by TESCODE or Telemetry, and TESCODE or Telemetry reads the current test value.
Whenever a register is under test, the CAL LED on the L3000e mode display will flash to remind
you. If the L3000e power is removed and restored while in Test Mode, the L3000e will not
remember the test setting, and the input/output will return to normal operation. Multi-Test, as
described in the next section, does remember test points across power cycles. In general, if the
function you need to perform can be done using the standard Test Mode, this is safer than
using Multi-Test, because it is less likely a test point will unintentionally be left on.

WARNING
Using the Test Mode feature at a live station is intrinsically “dangerous,” because you are
overriding normal operation of the L3000e control program. Be careful that you do not
inadvertently put a point in test, then walk away and forget it. This could later cause a problem
in control operation, causing a pump to come on when it should not, for instance, or causing a
tank to overflow because a pump did not come on. When in Test Mode and the EXIT or ENTER
key is pressed, the test point is released and will then return to program or external control -
depending on conditions, this may cause the value to jump unexpectedly to its new value.

Use Test Mode only if you are sure of what you are doing!

TO PUT AN INPUT / OUTPUT / REGISTER IN T EST M ODE :


1. Select the TEST menu option
2. Select the type of input/output/register (LEVEL, PUMP, ANAOUT, STATUS, TMR/CTR or
INDEX)
3. Select the input/output/register number (L-0, L-1, L-2...)
4. The current value will be displayed (and locked in at that level)
5. Set the override value with the UP and DOWN keys (the value takes effect immediately)
6. You may now leave this test point by pressing EXIT or ENTER - this will release the
input/output/register from override control (note, however that it will not necessarily

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 20


revert to the value that it had before you changed it – it will take on the value that any
program or physical input might set it to).

Test Mode may also be entered directly from the 32-key keyboard, if the L3000e is in Command
Mode, using the following keystrokes:

TEST <REGISTER> <REGISTER NUMBER> ENTER

Example: TEST LEVEL 7 ENTER

Press EXIT to release the register from Test Mode.

M ULTI -T EST
The Multi-Test feature works similar to the standard Test Mode, except that Multi-Test allows
you to “lock in” one or more test points, leave the test menu and then perform other keyboard
operations, such as examining inputs, changing Setpoints, etc. The test points may be
selectively released, released all at once, or more test points may be added. When power is
cycled on the L3000e, or the L3000e changes modes from Run to Standby or Standby to Run,
the Multi-Test test points are remembered (for example, if a Digital Output is turned on using
Multi-Test, and the unit is put from Run to Standby, the Digital Output will remain on). In
general, if the function you need to perform can be done using the standard Test Mode, this is
safer than using Multi-Test, because it is less likely a test point will unintentionally be left on.
The ability to Multi-Test is an assignable privilege (see Keyword Management section in the
Special Functions chapter), so you may not see it in your menu if you don’t have the privilege
assigned to your keyword. Whenever one or more points are locked in via Multi-Test, the CAL
LED on the L3000e mode display will flash to remind you.

WARNING
Using the Multi-Test feature at a live station is intrinsically “dangerous,” because you are
overriding normal operation of the L3000e control program. Be careful that you do not
inadvertently lock one or more points in test, then forget to remove them. This could later
cause a problem in control operation, causing a pump to come on when it should not, for
instance, or causing a tank to overflow because a pump did not come on. When a test point is
released, it will then return to program or external control - depending on conditions, this may
cause the value to jump unexpectedly to its new value.

Use Multi-Test only if you are sure of what you are doing!

To override an input/output/register using Multi-Test:

1. Select the MULT.TEST menu option.


2. Select the SET TEST option to add a test point.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 21


3. Select the type of input/output/register (LEVEL, PUMP, ANAOUT, STATUS, TMR/CTR or
INDEX).
4. Select the input/output/register number (L-0, L-1, L-2...).
5. The current value will be displayed (and locked in at that level).
6. Set the override value with the UP and DOWN keys (the value takes effect immediately).
7. You may now leave by pressing EXIT - this will release the input/output/register from
override control (note, however that it will not necessarily revert to the value that it had
before you changed it - it will take on the value that any program or physical input might
set it to).
8. As an alternative, you may press ENTER to lock in the test point at its current value - you
may now move around the menu system to perform other functions - the test point will
retain the value you selected.

To release an input/output/register from Multi-Test control:

1. Select the MULT.TEST option.


2. Select the RELEASE option to release a test point.
3. Either select ALL OFF to release all the test points, or select a test point from the list that
follows the ALL OFF option. Only those points currently being overridden will be on the list.
4. Confirm your selection by selecting YES or NO. Once all test points have been released, the
RELEASE option will no longer be shown (only the ADD option), and the CAL LED will stop
flashing.
5. You may now press EXIT to leave the Multi-Test menu.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 22


A LARMS
Alarm State LED

Active, Not Flashing (1 sec on 1 sec off)


Acknowledged

Active, Acknowledged Steady On

Inactive Steady Off


Table 2.2 - Alarm States

Alarms on the L3000e are typically used to indicate that an unusual condition exists which may
require operator attention. The conditions under which an alarm is asserted are application-
specific and most often defined by the TESCODE control program. An alarm is associated with a
physical or internal Digital Input or Digital Output and has an associated LED or LED’s on the
L3000e display which is used to indicate the alarm state. Alarms have three states, as indicated
by the LED:

The numbers of physical and internal DI/DO alarms are determined by the LED Table (see
Control Tables and Files chapter).

The L3000e can be configured to have up to 3 different types of alarm points:

• Physical DO Alarm
• Internal DI Alarm
• Physical DI Alarm

The Configuration Table also contains the following entries that further determine the behavior
of alarms:

The Special Function Register (SPEC.REGS) category of the Configuration Table allows the
association of some special alarm functions with specific registers:

ALARM ACK Key Flag DI (ACK.KEY.DI)

This entry determines which internal Status is the ALARM ACK Key Flag.

A LARM O PERATION
ALARM ACK Key Flag is set to ON when the ALARM ACK key on the L3000e keyboard is pressed.

The TESCODE program will usually monitor this Status and take appropriate action as necessary.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 23


I NTERNAL D IGITAL I NPUT A LARM
Use DI for Alarm Acknowledge (DI.ACK)

This entry enables or disables the use of a Status input to acknowledge alarms.

Alarm Acknowledge DI (ALM.ACK.DI)

This entry defines the Status input that will act as the ALARM ACK. Typically this Status input
would be wired to a push-button switch.

The operational sequence of each of the different alarm types is described below:

The Internal DI Alarm is currently OFF.

If ON is stored to the DI (the DI is asserted), the associated LED for that DI will flash and the
Common Alarm LED will flash and its associated Physical DO will become active. At this time 3
different events may take place.

1. OFF is stored to the Internal DI Alarm and NO ALARM ACK is generated:

The associated LED will remain flashing until ALARM ACK is generated. The Common Alarm
will remain flashing.

2. Internal DI Alarm is still ON and ALARM ACK is generated:

The associated LED will no longer flash, but will be ON solid. The Common Alarm will go
OFF.

3. OFF is stored to the Internal DI Alarm and ALARM ACK is generated:

The associated Alarm LED will turn OFF. The Common Alarm will go OFF.

If a ground is supplied to a Physical DI Alarm (the DI is ON) the associated LED will flash and the
Common Alarm LED will flash and its associated Physical DO will become active.

At this time 3 different events may take place:

P HYSICAL D IGITAL O UTPUT A LARM


1. Physical DI is turned OFF and NO ALARM ACK is generated:

The associated Alarm LED will remain flashing until ALARM ACK is generated. The Common
Alarm will remain flashing with the physical output active.

2. Physical DI is still ON and ALARM ACK is generated:

The associated Alarm LED will no longer flash, but will be ON solid. The Common Alarm will
go OFF.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 24


3. Physical DI is turned OFF and ALARM ACK is generated:

The associated Alarm LED will turn OFF. The Common Alarm will go OFF.

A CKNOWLEDGING A LARMS
If ON is stored to the Physical DO Alarm (the DO is asserted) the associated LED for that DO will
flash. The associated physical output will be ON steady and the Common Alarm LED will flash
and its associated Physical DO will become active. At this time 3 different events may take
place.

1. The DO is turned OFF and NO ALARM ACK is generated:

The associated LED will remain flashing until ALARM ACK is generated. The Common Alarm
will remain flashing with the physical output active.

2. The DO is still ON and an ALARM ACK is generated:

The associated LED will no longer flash, but will be ON solid. The Common Alarm will go
OFF.

3. The DO is turned OFF and an ALARM ACK is generated:

The associated Alarm LED will turn OFF. The Common Alarm will go OFF.

O THER A LARM C HARACTERISTIC S


Alarms may be acknowledged from the 32-key keyboard by pressing the ALARM ACK key. The
same function may be performed via the menus by choosing the ALRM ACK menu option. An
external push button or other device may be wired into a Digital Input on the L3000e to act as
an external ALARM ACK key. The DI used for this is defined in the Configuration Table.

The L3000e will “remember” the state of alarms across power failures. When changing from
Run to Standby Mode the physical DO output, whether flashing or steady, will be turned OFF.
The associated LED(s) will remain flashing or ON steady (acknowledged alarm). If an alarm
event occurs while in Standby Mode, the physical DO output will become active and the
associated LEDs will flash, (just as in Run Mode). When Testing an Alarm DO, the Testing only
affects the value of the Alarm register, it does not affect the actual Alarm sequence, such as
disabling the Alarm output. For instance, Testing an Alarm DO from OFF to ON will trigger the
alarm sequence for that DO, but to deactivate the Alarm output the register must be in the OFF
state and the Alarm Acknowledge key pressed.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 25


R EAL T IME C LOCK
The Real Time Clock (RTC) option in the L3000e can be used in various ways, including making
the TESCODE program perform functions based on time of day, and timestamp data collected in
Archiving Arrays. The RTC automatically places the current time information in several registers
that may be accessed in TESCODE. These registers are defined by fields in the Configuration
Table and are described below:

First HMS timer holds the current time of day in 24 hour HH.MM.SS format

WK.DAY.AO holds the day of the week (1-7)

MNTH.DY.AO holds the day of the month (1-31)

MONTH.AO holds the month of year (1-12)

YEAR.AO holds the year (0-99)

TIME.AO holds the time of day in 24 hour Hours Timer format (hours and
fractions of hours)

The RTC may be set using:

• The L3000e keyboard (under the SPECIAL menu, CLOCK option)


• The WinBench (see WinBench chapter)
• By writing to the AO registers and first HMS Timer

N O TE : You can’t write to the TIME.AO to set the time of day (write to the first HMS Timer
instead).

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 26


R ELIABILITY F EATURES
The L3000e has several features that are designed into the system specifically for the purpose
of ensuring reliable operation. This section describes how these mechanisms work.

W ATCHDOG T IM ER
The L3000e contains a Software Watchdog Timer which will automatically reset the L3000e in
case of errant operation. The principal of operation for the Watchdog Timer is that it must have
a strobe every 5 seconds by the L3000e firmware, or else the Watchdog Timer will time out and
reset the L3000e processor. In the event that the L3000e firmware “locks up” then, the
Watchdog Timer will reset the L3000e and operation will restart as if the L3000e had been
power-cycled.

P OWER F AIL / B ROWNOUT D ETECTOR


The L3000e has a power fail detector that is factory set to 10.0 V. If the 12 V supply drops below
this threshold (due to either power being shut down or due to a brownout condition), the
L3000e immediately goes into a safe shutdown mode to prevent writing to RAM as power
drops out.

F AULT R ELAY
The L3000e has a Fault Relay that is used to signal that a system fault exists. The Fault Relay has
normally-open and normally-closed contacts which may be connected to an external device
such as a light or buzzer. The Fault Relay is energized during normal operation, and will go to
the de-energized (fault) state under any of the following conditions:

• Power Failure (loss of 12 V DC power at the L3000e)


• Internal Firmware Error (L3000e will reset automatically)

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 27


W RITE -P ROTECTED RAM
RAM (Random Access Memory) on the L3000e is broken into two major divisions: Write
Protected RAM (WP RAM), and Read-Write RAM. Write- Protected RAM is used to store critical
information, such as:

• Setpoints
• TESCODE Program
• Macro Program
• Configuration Table and other tables
• Analog Input Filter Constants
• Keywords

Read-Write RAM is used to store information that changes too frequently to be stored in Write-
Protected RAM (there is a time delay in storing to WP RAM), such as current register values
(AI’s, AO’s, DI’s, DO’s, Timers/Counters, Index Registers).

S YSTEM L OG
The L3000e has a mechanism for logging unusual events, errors and items of possible interest.
These log messages may be directed to several different places (simultaneously):

• Alphanumeric Display
• Maintenance Port
• Memory (RAM Log)

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 28


For each of the possible message destinations, the level of logging can be set in the
Configuration Table. Log messages are classified into these categories, in order of increasing
severity:

TYPE A B B R E V I A T I ON D E SCR I P T I ON
Verbose V excessive information
Informational I just for informational purposes
Warning W a possible problem, but one that
can be readily recovered from
Error E a problem that causes termination
of the process that had the error
Fatal F severe problem that triggers a
system reset
Table 2.3 - System Log Messages

A typical log message might look like this:

Fig. 2.4 - Typical Log Message

The RAM Log may be viewed by dumping it to a computer connected to the Maintenance Port,
using the REPORTS function under the SPECIAL functions menu.

P OWER U P S EQUENCE
When power is applied to the L3000e, it goes through the following sequence:

1. Perform power-up self-test


• All LED’s blink several times to indicate L3000e CPU is functioning
2. Detect I/O Modules
3. If all tests are successful, the fault relay is pulled in, canceling fault state.
4. The L3000e resumes operation in the basic mode (either Standby or Run) that it was in
when power was removed.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 29


C HAPTER 3: W IRING
G ROUNDING AND S HIELDING
It is extremely important to observe good grounding and shielding practices in the typically
noisy environments where L3000e’s are commonly installed. If you observe the following rules,
you will avoid problems due to radiated and conducted noise:

• ground the negative side of the 12 volt power supply


• ground the L3000e chassis
• use shielded twisted pair cabling for all signals connecting to the L3000e
• for all signals to the L3000e (digital and analog), connect the cable shields to one end
ONLY, either to the L3000e FRAME-GROUND connections, or to the remote devices'
ground connection.

P OWER S UPPLY
The L3000e requires +12 VDC. This power is provided by a DIN rail 12 volt power supply.

WARNING
The negative side of the 12 V supply must be grounded.

A NALOG I NPUTS
Below is a simplified block diagram of an L3000e Analog Input:

Fig. 3.1 - L3000e Analog Input Block Diagram

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 30


Analog Inputs on the L3000e may be configured for current (4-20 mA), or voltage (0-5V/0-10V)
operation. The following diagrams show how AI’s can be wired.

Fig. 3.2 - Analog Input Current Mode Wiring Diagram

A NALOG O UTPUTS
Below is a simplified block diagram of an L3000e Analog Output:

Fig. 3.4 - Analog Output Block Diagram

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 31


Analog Outputs on the L3000e may be configured for current (4-20 mA), or voltage (0-5V/0-
10V) operation. The following diagrams show how AO’s can be wired.

Fig. 3.5 - Analog Output Current Mode Wiring Diagram

D IGITAL I NPUTS
Below is a simplified block diagram of an L3000e Digital Input:

Fig. 3.7 - Digital Input Block Diagram

Digital Inputs may be wired as shown:

Fig. 3.8 - Digital Input Wiring Diagram

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 32


D IGITAL O UT PUTS

Fig. 3.9 - Digital Output Block Diagram

Below is a simplified block diagram of an L3000e Digital Output:

Fig. 3.10 - Digital Output AC Wiring Diagram

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 33


B ACKUP S YSTEM B ATTERY T EST P ROCEDURE

WARNING
Before beginning the battery test, the L3000e should be placed in Standby mode with no
pumps running, in case the battery fails during testing.

Materials:

• Voltmeter
• Screwdriver ( for terminal blocks )

Test Procedure:

1. Measure voltage across battery terminals with charger working. (13.6V to 14.9V) *
2. Disconnect power to charger, or disconnect charger from battery. Measure voltage across
battery terminals. ( 12.8V to 13.2V ) *
3. Disconnect power to 12VDC power supply, or disconnect 12V output from power supply.
4. Make sure L3000e is running on battery power.
5. Watch L3000e for 30 minutes to make sure battery continues to supply power without
interruption.
6. Measure voltage across battery terminals with L3000e still on battery power. (12.0V to
13.2V) *
7. Reconnect all wiring and power to original condition.

* If the measured voltage is above or below the range the battery charger should be replaced.

* If the measured voltage is below the range the battery should be replaced. If the measured
voltage is above the range the measurement should be taken again after double checking to
make sure all previous steps were completed.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 34


C HAPTER 4: P ROGRAMMING
TESCODE P ROGRAMMING
The control program that runs in the L3000e is written in TESCODE – an English-like control
language invented by TESCO Controls which uses statements to implement a control strategy.
Normally, the TESCODE program is downloaded to the L3000e via the Maintenance Port (COM
1). Small programs may also be entered (or small program changes made) from the keyboard if
the L3000e is equipped with a Full Programming (32-key) keyboard.

E XAMINING P ROGRAM
The TESCODE program may be examined from the keyboard by doing the following:

1. Select the SPECIAL menu option


2. Select the EXAM PGM option
3. Select the MAIN PGM option
4. If there is a program, the first line number will be displayed (example: LN10)
5. To see the line of TESCODE, press ENTER and it will scroll across the display
6. To move to another line number, use the UP and DOWN keys
7. To conclude viewing the program, press EXIT

C HANGING T HE P ROGRAM FROM THE K EYBOARD


The TESCODE program may be changed from the keyboard only if you have the 32-key Full
Programming Keyboard. A program may also be downloaded using the TESCODE Programmers
WinBench64. To change the TESCODE program from the keyboard:

1. Enter Program Mode (10.4 ENTER)


2. Select MAIN PGM - if there is an existing program, the first line number will be shown (the
lines may be viewed in the same manner as described above)
3. To enter a new line of TESCODE, press STORE <line number> ENTER, or to replace the
current line, press STORE ENTER
4. Key in the desired TESCODE program statement, followed by ENTER
5. To leave Program Mode press EXIT several times

R EGISTER T YPES
TESCODE Programs manipulate (read and write) several different types of registers. These
registers are used to access physical inputs/outputs, hold intermediate calculations, time
values, etc. The different register types are described in the following sections.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 35


A NALOG I NPUT
An Analog Input (Level) register may be either Physical or Internal. A Physical Analog Input
register has a corresponding Physical Analog Input channel than can read a voltage or current
level from a connected device. An Internal Analog Input register has no corresponding Physical
Analog Input channel, and is typically used to hold a number for intermediate calculations or for
other programming purposes. The number of Physical and Internal Analog Inputs is set in the
Configuration Table. An Analog Input register is capable of holding a floating point number in
the range +/-3.37 x 1038, using a 32-bit internal (IEEE standard) representation. An un-calibrated
Physical Analog Input value is displayed as a whole number, corresponding to the “raw data”
seen on the AI channel in 12-bit resolution (0-4095). If a value is stored to a Physical Analog
Input register via the TESCODE program, it will be overwritten when the Analog Input channel is
scanned (the scan rate is set in the Configuration Table).

A NALOG O UTPUT
An Analog Output register may be either Physical or Internal. A Physical Analog Output register
has a corresponding Physical Analog Output channel than can control a voltage or current level
to drive a connected device. An Internal Analog Output register has no corresponding Physical
Analog Output channel, and may be used like an Internal Analog Input for programming
purposes. The number of Physical and Internal Analog Outputs is set in the Configuration Table.
An Analog Output register is capable of holding a floating point number in the range +/-3.37 x
1038. An un-calibrated Physical Analog Output value is displayed as a whole number,
corresponding to the “raw data” value being output on the AO channel in 12-bit resolution (0-
4095).

D IGITAL I NPUT
A Digital Input (Status) register may be either Physical or Internal. A Physical Digital Input
register has a corresponding Physical Digital Input channel that can sense an ON/OFF (contact
closed/open) condition. An Internal Digital Input register has no corresponding Physical Digital
Input channel, and may be used as a flag for programming purposes. The number of Physical
and Internal Digital Inputs is set in the Configuration Table. A Physical Digital Input register that
is stored to via a TESCODE program will revert to its actual state when the input is scanned
again (the scan rate is set in the Configuration Table).

D IGITAL O UTPUT
A Digital Output (Pump) register is always associated with a physical output channel (there are
no Internal Digital Outputs). A Digital Output channel generates an ON/OFF (contact
closed/open) condition in response to program control. Digital Outputs are typically used to
control a pump, motor, light, or other device that has an ON/OFF control input.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 36


T IMER /C OUNTER
There are five types of Timers/Counters:

The distribution of Timers/Counters among the various available types is defined by the
Configuration Table. All Timers/Counters are lumped together in one continuous range of
indexes, from T0 to Tn. Each different Timer/Counter type corresponds with a subset of the
total index range. The type subsets are ordered by index in the same order as shown in the
table above, with Pulse Counters first, and Seconds Timers last. If there are no Timers/Counters
of a given type defined, then they don’t take up any space in the index range.

TYPE D I SP LA Y INTERNAL MAX SIZE RANGE


Pulse 1 count 1 count 16 32 4.2 billion
Counter
Hours Timer 0.001 hour (3.6 2 seconds 256 32 272 years
seconds)
HMS Timer 1 second 0.5 seconds 256 32 68 years
Event 1 count Program control 256 32 4.2 billion
Counter or 0.02 seconds
Seconds 0.01 second 0.01 seconds 256 32 497 days
timer

Table 4.1 - Timer/Counters

In general, all Timers/Counters can be:

• preset
• turned ON or OFF (enabled/disabled)
• read
• displayed

When a Timer/Counter reaches its maximum count value, it resets to 0 and continues running.
Each Timer/Counter type is defined in the following sections.

S ECONDS T IMER
When enabled and when the L3000e is in Run Mode, Seconds Timers continuously increment,
keeping track of time elapsed in seconds and fractions of seconds. The dot on the right hand
side of the display blinks to indicate that the timer is running. When disabled or when the
L3000e is in Standby Mode, the current time value is held. Internally, Seconds Timer values are
represented as an integral number of counts, stored as a 32-bit number. Each count represents
0.01 seconds. For display purposes and for the purpose of use in a TESCODE program, the
representation is in seconds and fractions of seconds, of the form SSSSSS.FF.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 37


H OURS T IMER
Hours Timers are just like Seconds Timers in many respects. When enabled and when the
L3000e is in Run Mode, Hours Timers continuously increment, keeping track of time elapsed in
hours and fractions of hours. The dot on the right hand side of the display blinks to indicate that
the timer is running. When disabled or when the L3000e is in Standby Mode, the current time
value is held. Internally, Hours Timer values are represented as an integral number of counts,
stored as a 32-bit number. Each count represents 2 seconds. For display purposes and for the
purpose of use in a TESCODE program, the representation is in hours and fractions of hours, of
the form HHHHH.FFF.

HMS T IMER
When enabled, HMS Timers continuously increment, regardless of whether the L3000e is in Run
Mode or Standby Mode. The dot on the right hand side of the display blinks to indicate that the
timer is running. When disabled, the current time value is held. HMS timers are used in pairs,
with the first timer used as a running timer, and the second timer holding a maximum timer
value. When the value of the first timer reaches the value of the second, the first will reset to 0
and continue to run. Normally, the second counter is always off. For the purposes of display,
HMS Timers represent time in hours, minutes and seconds, of the form HHHH.MM.SS.
Internally, HMS Timer values are stored as 32-bit integral counts, each count representing 0.5
second. When storing or retrieving values to and from an HMS timer in TESCODE, values are
represented as a number of 0.5 second counts (example: 100 = 50 sec.).

P ULSE C OUNTER
Pulse Counters count pulses occurring on the first 16 Digital Inputs. Pulses can be counted at a
rate of up to 1000 pulses per second (on one DI). The Pulse Counter increments once for each
contact closure or opening of its corresponding Digital Input. The edge (rising or falling) which
triggers an increment is determined by the Pulse Map setting in the Configuration Table. The
Pulse Delay setting determines the minimum pulse width that will be seen.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 38


E VENT C OUNTER
Event Counters may be used as general purpose counters that can be stored to, read and
incremented directly using TESCODE statements. Event Counters are stored as 32-bit unsigned
integer numbers with a maximum range of 0- 4,294,967,295. Event Counters may also be used
with Digital Outputs to automatically generate timed pulses. A Digital Output which is
controlled by an Event Counter is called a Pulse DO. The value stored in the associated Event
Counter is decremented by the L3000e at a rate of 50 counts per second (50Hz). Each count is
therefore worth a time delay of 20 milliseconds. The pulse widths that can be generated range
from a minimum of 20 milliseconds to a maximum of 994 days, with a resolution of 20
milliseconds. A Pulse DO may be defined by placing a “P” following the LED assignment for that
DO in the LED Table, as in the following example below:

LED81=DO21P

The first Pulse DO defined is associated with the first Event Counter. Any other Pulse DO’s
defined are associated with the Event Counter which is at the same offset from the first Pulse
DO. The following example illustrates the principle:

• the first Pulse DO is defined to be DO 20


• the first Event Counter is 50 (determined by Configuration Table)
• if the next Pulse DO defined is DO 25, then it is associated with Event Counter 55
• Event Counters 51 through 54 act as normal Event Counters, and have no corresponding
Pulse DO

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 39


The table below shows the operation of the Pulse DO/Event Counter under various starting
conditions:

P U LSE COUNTER C O U N T E R A CT I ON R E SU LT
DO STATE V A LU E
STATE
OFF OFF 0 Store non- Counter decrements at 50 Hz; DO
zero value turns ON when count reaches 0
to counter
OFF ON 0 Store non- DO turns ON immediately; Counter
zero value decrements at 50 Hz; DO turns on
to counter when count reaches 0
ON OFF 0 Store non- DO turns off immediately; Counter
zero value decrements at 50 Hz; DO turns ON
to counter when count reaches 0
OFF OFF 0 Store non- Counter decrements at 50 Hz; DO
zero value goes OFF when count reaches 0
to counter

Table 4.2 - Pulse DO/Event Counter Operation

N OT E : The Event Counter ON/OFF state does not determine whether or not the counter will be
decremented automatically - it automatically decrements in either case. For an Event Counter
used to time a Pulse DO, the counter ON/OFF state determines whether the Event Counter will
time the ON duration or the OFF duration of the Pulse DO. When switching an Event Counter
with a value of 0 from ON to OFF or OFF to ON, the actual Pulse DO output will not change
state. The Event Counter must have a value other than zero, for the Pulse DO to change state
when changing the state of the Event Counter. This provides for a bump less transfer of the
Pulse DO when timing both the ON time and the OFF time.

To time both the DO ON and OFF states are illustrated by the following TESCODE example:
100- T55 ON AND T55 EQ 0 :if it is ready for OFF timing

ACTION T55 OFF AND SP100 STORE T55 :turn Pulse DO OFF for delay

110- T55 OFF AND T55 EQ 0 :if it is ready for ON timing

ACTION T55 ON AND SP101 STORE T55 :turn Pulse DO ON for delay

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 40


S ETPOINT
Setpoints are typically used to store operating parameters and constants such as pump turn-on
and turn-off levels. Setpoints are stored in write-protected RAM for safety. Setpoint values may
be changed from the keyboard using the CHANGE menu option. They are stored as a 32-bit IEEE
format floating point number with a maximum range of +/-3.37 x 1038.

I NDEX
Index registers may be used as general purpose registers in TESCODE programming. They also
have a special function that allows them to be used to index into other registers (Setpoints,
DI’s, DO’s, AI’s, or AO’s). For example, if Index register 3 has a current value of 8, then the
TESCODE expression:

SETPOINT INDEX 3

would access Setpoint 8 (the value in the Index register essentially gets substituted into the
expression). Index registers are stored as 32-bit unsigned integer numbers with a maximum
range of 0-4,294,967,295.

TESCODE P ROGRAM AND S TATEMENT S TRUCTURE


A TESCODE program consists of one or more TESCODE statement lines. Each TESCODE line has
an associated line number. All non-comment text in a statement must be in UPPER CASE. The
line number identifies the line and must be unique. Line numbers are followed immediately by
the dash “-” character, then one or more whitespace characters (whitespace may consist of
blank lines, space and tab characters). TESCODE lines are organized in increasing line number
order. The possible range of line numbers that may be used is 0 to 65534. Blocks of line
numbers may be skipped to leave room for future lines. Comments are allowed (and
encouraged!), and consist of text following a colon “:” character. Comments may be on a line by
themselves, or at the end of a line of data. At the end of the TESCODE program is an optional
line:

END of program
or
END

Each TESCODE line consists of an optional Conditional Expression and a mandatory Action
Expression. The Conditional Expression is evaluated to a TRUE or FALSE condition. If the result is
TRUE, then the Action Expression is executed. If the result is FALSE, the Action Expression is not
executed.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 41


TESCODE lines are executed in sequential order (from top to bottom) unless the Action
Expression redirects the flow to another line.

An example TESCODE line is shown below:


10- LEVEL 0 < SETPOINT 7 ACTION PUMP 10 OFF
Register names are abbreviated as in the following examples:
10- L0 < SP7 ACTION P10 OFF :if Level 0 is Less than Setpoint 7
:Turn Pump 10 Off
20- ACTION SP17 STORE T9 :Store Setpoint 17 into Timer 9

L O N G F OR M S H OR T F O R M MEANING
LEVEL L Analog Input
AO AO Analog Output
STATUS S Digital Input
PUMP P Digital Output
SETPOINT SP Setpoint
T T Timer/ Counter
INDEX IR Index Register

Table4.3- RegisterTypes

M ATHEMATICAL F UNCTIONS
The following table lists all the register types in their full and abbreviated forms:

The TESCODE language supports a variety of mathematical functions, as shown in the following
table:

N A M E /S Y M B O L F U N CT I O N E X A M P LE
+ Addition SP3 + L1
- Subtraction L10 - L8
x Multiplication AO7 X SP1
/ Division L9/SP77
EXP Inverse natural log (e ) EXP L3
LN LN Natural log LN AO6
SIN Sine SIN L88
COS Cosine COS AO99
TAN Tangent TAN L13
SQRT Square Root ACTION SQRT AO
19 STORE AO 20
AND Logical And L4 < SP7 AND P18
ON
AND Statement ACTION P7 ON
Concatenation AND P8 OFF

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 42


OR Logical Or L3 < SP5 OR L3 >
SP6 ACTION P5
OFF
NOT Logical Not NOT (L8 > SP5)
ACTION P5 ON
XOR Logical Exclusive Or L5 < SP8 XOR
L6 < SP9 ACTION
P1 ON
MIN Minimum ACTION L1 MIN
L2 STORE L3
MAX Maximum ACTION AO9
MAX SP5 STORE
AO9
=> Greater Than or Equal to L1 > 3.0 ACTION
P3 ON

< Less Than L1 < 5.5 ACTION


P3 OFF
EQ Equality T17 EQ T18
ACTION P77 ON
NEQ Not Equal T20 NEQ T21
ACTION P 15 ON
() Left/Right Parenthesis SP17 / (T45 +
T34)

Table 4.4 - TESCODE Language Support

All expressions are evaluated from left to right, unless parentheses are used. If parentheses are
used, the sub-expressions in the parentheses will be evaluated first.

C ONDITIONAL E XPRESSIONS
Conditional Expressions evaluate to a TRUE/FALSE value, and are used to determine whether or
not the Action Expression of a line of TESCODE is to be executed. Some example Conditional
Expressions:
100- L29 < SP9 :if Level 29 is Less than Setpoint 9
110- T17 ON AND P18 OFF :if Timer 17 is On and Pump 18 is Off

A CTION E XPRESSIONS
Action Expressions are the part of the TESCODE program line that performs the action, and are
optionally preceded by a Conditional Expression. Some example Action Expressions:
200- ACTION P1 ON :Turn Pump 1 On
210- ACTION SP23 STORE T55 AND SP24 STORE T56
:Store Setpoint 23 to Timer 55
:and Store Setpoint 24 to Timer 56

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 43


S TORING V ALUES
The symbol STORE may be used to cause a value or the result of an expression to be stored in
to a register. Here are some examples:
230- ACTION L12 + SP17 STORE T19 :Store Level 12 plus Setpoint 17
:to Timer 19
300- ACTION SP88 STORE AO7 :Store Setpoint 88 to Analog
:Output 7
420- ACTION COS AO77 + SP24 STORE AO78
:Store the Cosine of Analog
:Output 77 plus Setpoint
:24 to Analog Output 78

C ONTROL F LOW
Three TESCODE symbols may be used to control the flow of execution of a TESCODE program:
GOTO
GOSUB
RETURN
The GOTO is used as shown in the following example:
30- ACTION GOTO 99
This statement will cause execution to jump to line 99. If there is no line 99, execution will
continue with the next line after line 99, or if there is none, the beginning of the program.

The GOSUB is used in a similar fashion:


30- ACTION GOSUB 99
The only difference is that the GOSUB will remember where it came from, and return to the
next line of TESCODE when a RETURN is encountered. This feature is useful for writing
subroutines that can be called from multiple locations in the TESCODE program, and yet return
to the proper place when the subroutine is finished. Here is an example:
10- ACTION GOSUB 99
20- L17 < SP67 ACTION SP34 STORE T88
30- ...
40- ...
50- ACTION GOSUB 99
60- ...
70- ...
80- ACTION GOTO 10
99- ACTION P17 ON AND P13 OFF AND RETURN
The subroutine at line 99 is called from both lines 10 and 50. When the RETURN is encountered,
the program will return to execute at lines 20 and 60, respectively.

TESCODE E XEC UT ION T RACE


The L3000e has facilities to help the TESCODE programmer trace the execution of his program
in order to determine if it is operating properly and help track down any problems. The L3000e
will report to the Standard Output Device the TESCODE line numbers and detailed information
about any line of execution (the Standard Output Device is defined in the Configuration Table
and may be set to the Printer, Maintenance Port). Usually, the Maintenance Port is a good
choice to send Trace information to, where it can be viewed on an attached terminal (or on a

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 44


PC emulating a terminal). There is a TRACE entry in the Configuration Table under the
MONITOR category which provides overall control over the Trace Function. When TRACE is
enabled the S/S LED will flash, warning the operator that TRACE is enabled.

There are also three entries under the SPEC.REGS category which control the operation of the
Trace Function:

TRACE1.DI

This entry holds the index of the DI register that is used to enable/disable the tracing of
TESCODE line number information. When this DI is ON, the following information will be sent to
the Standard Output Device:

• nnnn the TESCODE line number executed.


• A the ACTION part of the expression has been executed.
• E the ELSE part of the expression has been executed.

DEBUG.SP

A TESCODE line number can be put into the Debug Setpoint (default SETPOINT 125) in order to
cause the SBY LED to flash when the TESCODE line is executed. In addition, if the TRACE1.DI is
ON all information about the line number in SETPOINT 125 will be reported.

TRACE2.DI

This entry holds the index of the DI register that is used to enable/disable additional
information tracing of TESCODE program lines (beyond the TRACE1 level).

TRACE.DLY

This entry holds the index of the Trace Delay Index Register. The Trace Delay Index Register is
used to determine the speed of TESCODE execution. This is useful in slowing the program down
so that its execution can be reasonably monitored using one of the Trace Functions. The Trace
Delay Index Register holds the number of 1mS time units that should be allowed per line of
TESCODE. For example, if this register has 50 stored in it and a TESCODE line takes 30mS to
execute then the L3000e will delay for 20mS before moving on to the next line.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 45


S AMPLE TESCODE P ROGRAM
As an aid in learning how to interpret and to write a TESCODE program, included is a sample
program from a real application, along with some descriptive material.

S AMPLE P ROGRAM O VERVIEW


The L3000e will start and stop the well pumps, and open and close the gate valve based on the
lower and upper reservoir levels. The L3000e will also monitor the reservoir levels and generate
high and low alarms and automatically purge based on the auto-purge Setpoints.

A UTOMATIC W ELL P UMP C ONTROL


The L3000e senses the lower reservoir level and the upper reservoir levels at Analog Inputs 0
and 1 respectively. The bottom of the upper reservoir is at a higher elevation than the lower
reservoir which causes the lower reservoir to fill to the top ahead of the upper reservoir as
illustrated in the figure which follows. Therefore the following control scheme is implemented

to maintain both reservoir levels:

1. When the level drops below the “Pump Start” Setpoint (SP41 ft.), the pump(s) which are in
automatic mode will start and the reservoirs will begin to fill simultaneously. The gate valve
should be open at this point if the “Open Valve” Setpoint (SP51 ft.) is set to an elevation
above the “Pump Start” Setpoint.
2. The level in the lower reservoir will reach the “Close Valve” Setpoint ((SP81 ft.) near the
top of the reservoir) and the valve will close, diverting all of the well pump flow to the
upper reservoir.
3. The level in the upper reservoir will reach the “Pump Stop” Setpoint (SP71 ft.) and the
pump(s) will stop.
4. When the level in the lower reservoir again drops below the “Open Valve” Setpoint (SP51
ft.), the valve will open.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 46


5. When the level in the upper reservoir again drops below the “Pump Start” Setpoint (SP41
ft.), the cycle will start over (back to step 1).

A LARM R ESET
There are two types of alarms implemented by this program. These are “Manually Reset”
alarms and “Auto Reset” alarms. When either type of alarm is generated by the L3000e, the
Common Alarm LED and the LED for the new alarm will both begin flashing. The common alarm
is always an indication that a new alarm has been generated and has not yet been
acknowledged or reset. The following describes what happens next depending on the type of
alarm that was generated and which type of reset is used, either the “Manual Reset” button
(mounted external to the L3000e) or the ALRM ACK menu option.

M AN U A L R E SE T T Y P E
1. ALRM ACK menu option:

Fig. 4.1 - Sample Application Block Diagram

a. The Common Alarm LED will go out.


b. The LED for the new alarm will go to a steady (non flashing) state.
2. Alarm Reset pressed:
a. The Common Alarm LED will go out.
b. If the condition which generated the alarm is still existing then the alarm LED will go to a
steady (non flashing) state, and will require the Alarm Reset button to be pressed once the
condition has cleared in order to clear the alarm. If the condition is no longer exists and the
Alarm Reset button is pressed the alarm will clear and the alarm LED will go out.

The following is a list of the Manual Reset type alarms.

1. Level Transducer Fail (Lower or Upper Reservoir, Low or High)


2. Pump Fail (Well #4 Pump #1 or Well #5 Pump #1)

A U T O R ES ET T Y P E
1. ALRM ACK menu option or Alarm Reset pressed:
a. The Common Alarm LED will go out.
b. If the condition which generated the alarm is still existing then the alarm LED will go to a
steady (non flashing) state, but will clear automatically when the condition is no longer
present at which point the Alarm LED will go out. If the condition clears before the alarm is
acknowledged or reset, the LED will continue flashing until one or the other type of reset is
used at which time the alarm will clear the LED will go out.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 47


The following is a list of the Auto Reset type alarms contained in this unit.

1. High Level Alarm.


2. Low Level Alarm.

A LA R M N A M E GENERATING D E LA Y INTERNA A LA R M
CONDITION S E T P OI N T L A LA R M TYPE
STATUS
Upper Reservoir Transducer Analog In 1 > SP600 S300 MANUAL
Fail High SP99 ft. seconds

Upper Reservoir High Level Analog In 1 > SP601 S301 AUTO


SP98 ft. seconds

Upper Reservoir Low Level Analog In 1 < SP602 S302 AUTO


SP97 ft. seconds

Upper Reservoir Transducer Analog In 1 < SP603 S303 MANUAL


Fail Low SP96 ft. seconds

Lower Reservoir Transducer Analog In 0 > SP604 S304 MANUAL


Fail High SP95 ft. seconds

Lower Reservoir High Level Analog In 0 > SP605 S305 AUTO


SP94 ft. seconds

Lower Reservoir Low Level Analog In 0 < SP606 S306 AUTO


SP93 ft. seconds

Lower Reservoir Transducer Analog In 0 < SP607 S307 MANUAL


Fail Low SP92 ft. seconds

Well #4 Pump #1 Fail Pump Called and SP608 S308 MANUAL


no running seconds
status received
Well #5 Pump #1 Fail Pump Called and SP609 S309 MANUAL
no running seconds
status received
Common Transducer Fail Any Transducer No Delay S311 MANUAL
Status Fail High or Low
status on

Table 4.5 - Sample Program

E FFECT OF A LARMS ON P UMP AND V ALVE C ONTROL

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 48


Some of the alarms listed above will stop and lock out the well pumps, or close and lock out the
valve. These are listed below:

1. Lower Reservoir Level Transducer Fail

If a transducer fail high or a transducer fail low alarm condition exists for the Lower
Reservoir then the level in the Lower Reservoir is not known. Therefore the gate is closed
and will remain closed until the condition clears and the alarm is reset. Well pump and
level control of the Upper Reservoir is not affected since the gate valve is closed and the
Lower Reservoir will not go any higher.

2. Upper Reservoir level transducer fail

If a transducer fail high or a transducer fail low alarm condition exists for Upper Reservoir then
the level in the Upper Reservoir is not known. Therefore the well pumps are stopped and will
remain stopped (unless started in hand) until the condition clears and the alarm is reset.

3. Well #4 pump #1 fail

The pump is locked out until the alarm is cleared.

4. Well #5 pump #1 fail:

The pump is locked out until the alarm is cleared.

A UTO /M ANUAL P URGE OF TESCO R EACTIVE A IR L EVEL M ONITORING


S YSTEM
Auto Purge:

The L3000e will initiate a purge cycle every SP37 hours. Once initiated, the cycle will execute as
follows:

1. The Lower Reservoir level storage register (AO89) will be held at the current value.
2. The purge solenoid will energize.
3. After 2 seconds the purge compressor will start.
4. The purge compressor will run for SP181 seconds and then stop.
5. The purge solenoid will remain energized for SP182 seconds after the compressor stop.
6. After a settle delay of SP183 seconds the L3000e will again begin updating the Lower
Reservoir level storage register (AO89). This register is used for gate valve control.

Manual Purge:

The Manual Purge button is mounted external to the L3000e. When the button is pressed a
purge cycle is initiated and the purge solenoid will be energized. The button must be released
before the cycle will continue to the next step (see 6 step sequence above). Once the purge

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 49


compressor starts, the purge cycle can be extended by re-pressing the Manual Purge button
(the button must be re-pressed before the compressor stops ). If this is done, then the solenoid
and compressor will remain energized and running until the button is released, at which time
the cycle will resume at step 4 of the sequence.

N OT E : When using the Tesco Reactive Air System, typical values for purge time are 4 to 6
seconds, and for purge interval are 16 to 36 hours. Significantly decreasing the interval or
increasing the time may cause excessive wear to the Reactive Air System.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 50


Table 4.6 - Sample TESCODE Program
:WEST LOTUS WATER DISTRICT
:GROUND WATER STORAGE RESERVOIR PROJECT
:REV 6/94 BY P. ACTONA
:
:— INITIALIZE ————————————————————————————
00- ACTION T0 ON AND T400 INCR :LIQ.5 RUNTIME & STARTS

:— ALARM RESET ————————————————————————————


02- S23 ON :RESET BUTTON PRESSED, CLEAR
ACTION S300 OFF :..UPPER LEVEL XD FAIL HIGH
AND S303 OFF :..UPPER LEVEL XD FAIL LOW
AND S304 OFF :..LOWER LEVEL XD FAIL HIGH
AND S307 OFF :..LOWER LEVEL XD FAIL LOW
AND S308 OFF :..WELL #4 PUMP #1 FAIL
AND S309 OFF :..WELL #5 PUMP #1 FAIL

:— TIMERS ——————————————————————————————
10- ACTION T600 ON AND T601 ON AND T602 ON :ALARM TIMERS ALWAYS ON
AND T603 ON AND T604 ON AND T605 ON :..
AND T606 ON AND T607 ON AND T608 ON :..
AND T609 ON AND T610 ON :..
AND T631 ON AND T632 ON :..& BACKSPIN TIMERS
AND T37 ON :..& AUTO PURGE TIMER

11- S1 ON ACTION 0.0 STORE T631 :WELL #4 PUMP #1 BACKSPIN


12- S2 ON ACTION 0.0 STORE T632 :WELL #5 PUMP #1 BACKSPIN

13- T639 > SP639 :SEQUENTIAL START DELAY


ACTION T639 OFF AND 0.0 STORE T639 :..

:— METER PEGS ————————————————————————————


50- L0 > 0.0 ACTION L0 STORE AO30 :LEVEL NOT NEG, STORE IT
ELSE ACTION 0.0 STORE AO30 :..ELSE STORE 0.0
51- L1 > 0.0 ACTION L1 STORE AO31 :LEVEL NOT NEG, STORE IT
ELSE ACTION 0.0 STORE AO31 :..ELSE STORE 0.0

:— PURGE ——————————————————————————————
90- T37 > SP37 :IF PURGE TIME
OR S22 ON :..OR MANUAL PURGE
AND P6 OFF :..& SOLENOID NOT CALLED
ACTION 0.0 STORE T37 :..RESET PURGE INTERVAL
AND P6 ON :..& PURGE S.V.
91- S22 ON ACTION 0.0 STORE T37 :DONT CONTINUE UNTIL RELEASE
:..& EXTEND IF COMP. ON
92- T37 > ( 2.0 / 3600.0 ) :AFTER 2 SECONDS
AND T37 < ( SP181 / 3600.0 ) :..& INTERVAL NOT DONE
AND P6 ON :..& SOLENOID CALLED
ACTION P7 ON :..& CLOSE COMPRESSOR ON
93- ( 2.0 + SP181 ) / 3600.0 < T37 :IF TIME
ACTION P7 OFF :..COMPRESSOR OFF
94- SP181 + SP182 / 3600.0 < T37 :IF TIME
ACTION P6 OFF :..SOLENOID VALVE OPEN
95- SP181 + SP182 + SP183 / 3600.0 < T37 :IF TIME
ACTION L0 STORE AO89 :..TAKE SAMPLE

:— ALARM GENERATION —————————————————————————


100- L1 < SP99 :UPPER LEVEL IS VALID
ACTION 0.0 STORE T600 :..RESET ALARM DELAY
ELSE :..ELSE,
T600 > SP600 :..IF TIME
ACTION S300 ON :UPPER LEVEL XD FAIL HIGH
101- L1 < SP98 :UPPER LEVEL IS NOT HIGH
ACTION 0.0 STORE T601 :..RESET ALARM DELAY
AND S301 OFF :.. & ALARM STATUS
ELSE :..ELSE,
T601 > SP601 :..IF TIME
ACTION S301 ON :UPPER LEVEL HIGH ALARM
102- L1 > SP97 :UPPER LEVEL IS NOT LOW
ACTION 0.0 STORE T602 :..RESET ALARM DELAY
AND S302 OFF :.. & ALARM STATUS
ELSE :..ELSE,
T602 > SP602 :..IF TIME

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 51


ACTION S302 ON :UPPER LEVEL LOW ALARM
103- L1 > SP96 :UPPER LEVEL IS VALID
ACTION 0.0 STORE T603 :..RESET ALARM DELAY
ELSE :..ELSE,
T603 > SP603 :..IF TIME
ACTION S303 ON :UPPER LEVEL XD FAIL HIGH
104- AO89 < SP95 :LOWER LEVEL IS VALID
ACTION 0.0 STORE T604 :..RESET ALARM DELAY
ELSE :..ELSE,
T604 > SP604 :..IF TIME
ACTION S304 ON :LOWER LEVEL XD FAIL HIGH
105- AO89 < SP94 :LOWER LEVEL IS NOT HIGH
ACTION 0.0 STORE T605 :..RESET ALARM DELAY
AND S305 OFF :.. & ALARM STATUS
ELSE :..ELSE,
T605 > SP605 :..IF TIME
ACTION S305 ON :LOWER LEVEL HIGH ALARM
106- AO89 > SP93 :LOWER LEVEL IS NOT LOW
ACTION 0.0 STORE T606 :..RESET ALARM DELAY
AND S306 OFF :.. & ALARM STATUS
ELSE :..ELSE,
T606 > SP606 :..IF TIME
ACTION S306 ON :LOWER LEVEL LOW ALARM
107- AO89 > SP92 :LOWER LEVEL IS VALID
ACTION 0.0 STORE T607 :..RESET ALARM DELAY
ELSE :..ELSE,
T607 > SP607 :..IF TIME
ACTION S307 ON :LOWER LEVEL XD FAIL HIGH
108- P1 OFF OR S1 ON :NOT CALLED OR IS RUNNING
ACTION 0.0 STORE T608 :..RESET ALARM DELAY
ELSE :..ELSE,
T608 > SP608 :..IF TIME
ACTION S308 ON :WELL #4 PUMP #1 FAIL
109- P2 OFF OR S2 ON :NOT CALLED OR IS RUNNING
ACTION 0.0 STORE T609 :..RESET ALARM DELAY
ELSE :..ELSE,
T609 > SP609 :..IF TIME
ACTION S309 ON :WELL #5 PUMP #1 FAIL
111- S300 ON OR S303 ON :ANY TRANSDUCER FAIL STATUS
OR S304 ON OR S307 ON :..
ACTION S311 ON :COMMON XD FAIL STATUS ON
ELSE ACTION S311 OFF :..ELSE, OFF

:— PUMP CALLS BASED ON UPPER RESERVOIR LEVEL ——————————————


200- L1 > SP71 ACTION S31 OFF
AND S32 OFF
201- L1 < SP41 ACTION S31 ON
AND S32 ON

:— VALVE OPEN / CLOSE FLAG BASED ON LOWER RESERVOIR LEVEL —————


210- AO89 > SP81 ACTION S51 OFF
211- AO89 < SP51 ACTION S51 ON

:— COMMON PUMP STOP FLAG ———————————————————————


290- S300 ON :UPPER LEVEL XD FAIL ALARM
OR S303 ON :..STATUS (HI OR LO)
ACTION S60 ON :COMMON STOP FLAG ON
ELSE ACTION S60 OFF :..ELSE, OFF

:— COMMON VALVE CLOSE FLAG ——————————————————————


291- S304 ON :LOWER LEVEL XD FAIL ALARM
OR S307 ON :..STATUS (HI OR LO)
ACTION S61 ON :COMMON CLOSE FLAG ON
ELSE ACTION S61 OFF :..ELSE, OFF

:— WELL #4 PUMP #1 START / STOP ———————————————————


300- S31 ON :PUMP IS REQUIRED
AND S1 OFF :..& NOT RUNNING
AND T631 > SP631 :..& BACKSPIN IS OK
AND T639 OFF :..& SEQUENTIAL START IS OK
AND S308 OFF :..& NO PUMP FAIL ALARM
AND S60 OFF :..& NO COMMON STOP FLAG
AND P1 OFF :..& PUMP NOT CALLED
ACTION P1 ON :CALL THE PUMP
AND T639 ON :..& SEQUENTIAL START DELAY

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 52


301- S31 OFF :PUMP IS NOT REQUIRED
OR S308 ON :..OR IS FAILED
OR S60 ON :..OR COMMON STOP FLAG ON
ACTION P1 OFF :STOP THE PUMP

:— WELL #4 PUMP #1 START / STOP ———————————————————


302- S32 ON :PUMP IS REQUIRED
AND S2 OFF :..& NOT RUNNING
AND T632 > SP632 :..& BACKSPIN IS OK
AND T639 OFF :..& SEQUENTIAL START IS OK
AND S309 OFF :..& NO PUMP FAIL ALARM
AND S60 OFF :..& NO COMMON STOP FLAG
AND P2 OFF :..& PUMP NOT CALLED
ACTION P2 ON :CALL THE PUMP
AND T639 ON :..& SEQUENTIAL START DELAY
303- S32 OFF :PUMP IS NOT REQUIRED
OR S309 ON :..OR IS FAILED
OR S60 ON :..OR COMMON STOP FLAG ON
ACTION P2 OFF :STOP THE PUMP

:— OPEN / CLOSE VALVE COMMAND ————————————————————


310- S51 ON :OPEN FLAG IS ON
AND S61 OFF :..& NO COMMON CLOSE FLAG
ACTION P8 ON AND P9 OFF :OPEN THE VALVE
311- S51 OFF :OPEN FLAG IS OFF
OR S61 ON :..OR COMMON CLOSE FLAG
ACTION P8 OFF AND P9 ON :CLOSE THE VALVE

:— PUMP START COUNTERS & RUNTIMERS ——————————————————


:WELL #4 PUMP #1
400- S1 ON AND T1 OFF :PUMP RUNNING & TIMER OFF
ACTION T1 ON AND T401 INCR :..TIMER ON & INCR STARTS
401- S1 OFF ACTION T1 OFF :PUMP NOT RUNNING, TIMER OFF
:WELL #5 PUMP #1
402- S2 ON AND T2 OFF :PUMP RUNNING & TIMER OFF
ACTION T2 ON AND T402 INCR :..TIMER ON & INCR STARTS
403- S2 OFF ACTION T2 OFF :PUMP NOT RUNNING, TIMER OFF
499- ACTION GOTO 02 :RETURN TO START
END OF PROGRAM

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 53


M ACRO K EY P ROGRAMMING
A TESCODE program may be associated with each Macro Key. When the Macro Key is pressed,
the TESCODE program is executed. A typical Macro Key program might look like this:

The Macro keys accept multiple TESCODE lines and are configured as follows:

MACRO KEY LINE NUMBERS


1 100-199
2 200-299
3 300-399
4 400-499
5 500-599
6 600-699
7 700-799
8 800-899

TESCODE lines from 1000 and above are used for subroutines for any Macro Key as in:

ACTION GOSUB 1000 and ACTION RETURN

Line Numbers 1 to 8 are reserved for single line statements corresponding to each Macro Key.
As an example:
1 - EXAM LEVEL 1 ENTER
Each time the corresponding Macro Key "1" is pressed, the value in Analog Input (LEVEL) 1 will
be displayed. The line numbers used in the Macro Program correspond to the Macro Key
numbers.

Two new TESCODE tokens have been added to the language:

KYBD ;the rtu will wait for keyboard input,

;the keyboard LOCK timeout will terminate the MACRO if waiting on keyboard input

STRING ;up to 30 characters, the string must be in double quotes

The new tokens are used as follows:

100- ACTION EXAM “ENTER FLOW GPM” AND KYBD STORE AO10

110- ACTION EXAM “DONE”

Line 100 will sequence, “ENTER FLOW GPM” on the alphanumeric display for a short duration
and then secondly the value of AO10 will display, the rtu is now waiting for keyboard input to
modify the value of AO10 on the display. If the MACRO key is pressed again the question
“ENTER FLOW GPM” will redisplay for a short duration and the value of AO10 will again

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 54


redisplay waiting for modification. If the user presses the EXIT key the macro is then abruptly
finished. If the user presses ENTER the AO10 value is stored and TESCODE line 110 is then
executed and “DONE” is briefly displayed on the display.

E XAMINING THE C URRENT M ACRO P ROGRAM


The current Macro Program may be examined from the keyboard by doing the following:

1. Select the SPECIAL option


2. Select the EXAM PGM option
3. Select the MACRO.PGM option
4. Select the desired macro with the UP and DOWN keys
5. To see the current program for the selected macro, press ENTER - the program line will
scroll across the display
6. To conclude viewing the macros, press EXIT

C HANGING T HE M ACRO P ROGRAM F ROM THE K EYBOARD


The Macro Keys may be programmed from the keyboard only if you have the Full Programming
Keyboard. They may also be downloaded using the TESCODE Programmers WinBench64. To
change the Macro Programming from the keyboard:

1. Enter Program Mode (10.4 ENTER)


2. Select MACRO.PGM
3. Press STORE <macro number> ENTER
4. Key in the desired macro program statement, followed by ENTER
5. To leave Program Mode press EXIT several times

M ACRO P ROGRAM IN A F ILE


Macro Keys may be programmed from a file using the WinBench64, in a similar fashion to how
the main TESCODE program is created in a file. The syntax of a Macro Program in a file is the
same as a TESCODE program, with the exception that EXAM, KYBD and “” is allowed, which
causes a register value or string to be displayed on the Alphanumeric Display and KYBD will
retrieve operator input. The line numbers in the file corresponds to the Macro Key number. The
following example shows a Macro Program for Macro Key 3 and 4:
3- S19 ON AND S23 OFF AND T17 ON
ACTION P23 OFF AND T17 OFF AND EXAM P23
ELSE ACTION P23 ON AND P19 ON AND EXAM P23
4- ACTION 32.0 STORE AO54 AND
33.0 STORE AO55 AND 34.0 STORE AO56 AND 35.0 STORE AO57

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 55


C HAPTER 5: N ETWORKING AND T ELEMETRY
O VERVIEW
The term Networking as it is used within this document refers to the general ability of the
L3000e to communicate with other units (L3000e's, L2000’s, LIQ 5’s, LIQ 4’s, MODBUS Devices
and SCADA systems) over a communications network. The term Telemetry refers to using the
L3000e’s networking capabilities to communicate specific types of information – primarily
input/output (I/O) register values, such as Analog Inputs, Analog Outputs, Digital Inputs and
Digital Outputs, for the purpose of control and data acquisition.

Network operation is message-based in that messages are the basic unit of information
manipulated. The different Telemetry message types are detailed in later sections. The L3000e
currently has the ability to communicate using these different Telemetry Protocols:

P R OT OC O L A LL O WE D U S A G E

Data Express (LIQ 4) May be mixed on same port with Data Express Plus

Data Express Plus (L3000e / LIQ May be mixed on same port with Data Express
2000)

MODBUS TCP/IP Ethernet Port. May be mixed on same port with Data
Express Plus
MODBUS RTU Master or Slave May not be mixed with other protocols on same port

DGH Remote I/O Master May not be mixed with other protocols on same port

Table 5.1 - Telemetry Protocols

In order for units to communicate, they must be connected together in one or more networks.
A network is a group of units connected together by a transmission medium, which may consist
of RS-232, RS-485, leased-line/buried cable, dialup telephone radio, Ethernet, etc. Each L3000e
in the network is identified by a unique address. The specific Telemetry Protocol that is being
used determines the usage of this address. Data Express Plus Telemetry uses a combination
Network ID and Network Node Address to identify network nodes. The other protocols use only
the Network Node Address. The Network ID and Network Node Address are set in the
Configuration Table.

N ETWORK M EDIA
There are a number of different physical media and configurations that can be used to carry
network traffic. The medium that is used for a given application depends on a number of
factors, including the transmission distance, data rate required, cost factors, and physical
constraints. The table which follows summarizes the different media and their limitations, as

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 56


they apply to an L3000e. Certain media can be used for either point-to-point or broadcast
communication. Point-to-point means that the medium connects only two network nodes.
Broadcast means that there are multiple nodes all connected to the same medium, such that
each node can “hear” all network transmissions. In addition to the media listed below, others
can be used via a converter connected to an L3000e Ethernet or RS-232 port (such as fiber
optic, spread spectrum radio, Digital Data Network, etc.).

MEDIUM DATA D I ST A N CE B R OA D C A ST P OI N T -
RATE TO-
(BAUD) P OI N T

RS-232, shielded cable 110 - 15 m No Yes


230,400
RS-485, shielded twisted 110 - typically up to 1.5 Yes Yes
pair 230,400 km
Ethernet 100M depends on Yes Yes
media type
Table 5.2 - Network Media Characteristics

RS-232/S HIELDED C ABLE


For short distances (up to about 15 meters) network nodes can be interconnected using
standard RS-232 cables, as documented in Appendix C. RS-232 may be used only for point-to-
point connection (no broadcast). An RS-232 connection might typically be used to connect to a
radio, graphical operator interface or SCADA system in close proximity.

RS-485/T WISTED P AIR


Using RS-485 transmitters and receivers, the L3000e can communicate relatively long distances
over twisted pair at up to 115200 baud. This medium can be used for either point-to-point or
broadcast connection. RS-485 uses balanced line transmitters and receivers, such that a
receiver has a “+” input and “-” input, and a transmitter has “+” output and a “-” output. The
logic level (“mark” or “space”) is represented by the voltage between the “+” and “-” terminals.
In accordance with the RS-485 standard, each transmitter can drive 32 unit loads, where a unit
load is defined as a receiver plus an inactive transmitter.

N OT E To limit transmission-line reflections, each end of a twisted pair cable must be


terminated with a resistor, connected across the two wires. The recommended resistor value
for the L3000e RS-485 module is 120 ohms. Two basic configurations are possible with RS-485:
2-wire and 4-wire.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 57


2-W IRE RS-485
The following diagram shows a 2-wire configuration. With 2-wire RS-485, the transmit and
receive lines are tied together. This is the simplest configuration, and it allows all units on the
RS-485 2-wire “bus” to hear all transmissions. Up to 32 units can be connected together this
way.

Fig. 5.1 - 2 wire RS-485 Bus

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 58


4-W IRE RS-485
The following diagram shows a 4-wire configuration. With 4-wire RS-485, the transmit and
receive lines are not tied together at the L3000e, but instead are brought out separately to a
transmit bus and a receive bus. Up to 64 units can be connected together using 4-wire RS-485,
and both busses can be simultaneously active (full-duplex communication). In a 4-wire
configuration, the end unit (sometimes called the “master”) must repeat, or loop-back, all
transmissions that are destined for other units. This can be a disadvantage in that if the master
fails, none of the other units can communicate. A L3000e can be made to loopback, or act as
the master on a 4-wire RS-485 circuit by using the appropriate setting in the entry for that port
in the configuration Table. Only one unit on a 4-wire circuit is allowed to be the master.

Fig. 5.2 - 4 wire RS-485 Bus

O N -L INE M ODEM /L EASED L INE /B URIED C ABLE


Using an external modem connected to a leased line/buried cable, the L3000e can
communicate at up to 230,400 bps. This medium can be used for either point-to- point or
broadcast connection, allowing greater distances than possible using RS-485.

D IAL -U P M ODEM /T ELEPHONE


Using an external dial-up modem, the L3000e can communicate essentially unlimited distances
over the public telephone network (analog and digital) at up to 1.5Mb/s. Dialup telephone
provides only point-to-point connections (no broadcast).

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 59


N ETWORK T OPOLOGY
A number of different network topologies are possible. The L3000e supports two basic network
types: broadcast, and point-to-point. Combinations of the two basic types are also possible.

B ROADCAST N ETWORK
A broadcast network figure is shown below. All the nodes are tied to a common transmission
medium such that each node can hear all transmissions. In the figure, each node is identified
with its Network ID and Node Address (in the form “ID.Adr”). This network type is also referred
to as a multi-point or bus network.

Fig. 5.3 - Broadcast Network Diagram

P OINT - TO -P OINT N ETWORK


A point-to-point network is shown below. This network type has individual connections
between nodes. A point-to-point network is also referred to as a switched network, since
transmission from one non-adjacent node to another requires switching a message through one
or more nodes to get it to its destination.

Fig. 5.4 - Point-to-Point Network Diagram

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 60


T REE N ETWORK
The figure below shows a tree topology, which is essentially a hybrid of point-to-point and
broadcast networks. Nodes 2.1 and 3.1 act as routers between adjacent broadcast networks.
This sort of arrangement might be used to better distribute network traffic (as opposed to
putting all the nodes on a common bus).

Fig. 5.5 - Tree Network Diagram

N ETWORK P ROTOCOL
The next several sections describe various aspects of the network protocol implemented in the
L3000e. The descriptions apply regardless of whether the messages being transmitted/received
are in Data Express, Data Express Plus, DGH, or MODBUS format.

M ESSAGE B UFFERING AND Q UEUING


Since bursts of message activity may be received faster than they can be processed, and
messages may be generated faster than they can be put on the network for transmission, a
scheme of buffering and queuing is used by the L3000e. Incoming messages are placed in a
receive buffer (one for each port), and processed continually. The size of the receive buffer is set
in the Configuration Table, with a factory default value of 256 (the maximum length of a
message). Under normal circumstances, the buffer should be large enough that it will absorb any
peaks in network activity, allowing incoming message processing to proceed at a constant rate. If
there is too much message activity for the L3000e to handle, the receive buffer will overflow. If
overflow occurs, a warning message is logged and the buffer is cleared so it can start over.

When an outgoing message is to be generated, a transmission request is placed on the


transmission queue. A transmission request instructs the L3000e to send an appropriate message
when the network is available. The actual message is generated “on the fly” according to the
Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 61
protocol associated with the destination node. A transmission request is used instead of the actual
message, so that the data in the message does not become “stale” while the message is waiting
to go out. Each port has its own transmission queue.

Each transmission request in the queue has a priority, with entries ordered so that the highest
priority message will go out first. Entries of equal priority are handled in first in first out (FIFO)
order. Messages that the L3000e initiates have a lower priority than responses to incoming
messages, in order to assure timely response.

F LOW C ONTROL
Flow control protocols are used to avoid receiver overrun. Since it takes a finite amount of time
to process an incoming message, it is possible that messages could be sent faster than the
receiver could process them (especially if the sender is a higher performance unit).

The L3000e uses a simple, yet effective, flow control protocol, which is often referred to as Stop
and Wait. Stop and Wait is relatively efficient on networks where the ratio of signal propagation
delay to message transmission time is small (as on the networks that the L3000e connects to). To
prevent the sender from overrunning the receiver, the following flow control protocol is used: the
sender transmits a message, then waits for a response before sending another message. After the
receiver processes the message, it transmits an acknowledgment message back to the original
sender, indicating that the message was received and that the receiver is ready for another
message. Often the acknowledgment message takes the form of some data that the sender
requested. This method of flow control is the same as used in the L2000, LIQ 5 and LIQ 4.

M EDIUM A CCESS C ONTROL


On a broadcast network, many nodes are connected together, but only one node at a time is
allowed to transmit. If more than one node is transmitting, a signal “collision” occurs, the
information becomes garbled, and neither transmission is successful. Because of this situation,
some set of rules for operation or means of coordination between nodes needs to be provided in
order to keep broadcast network communication from turning into a “free for all.” This is called
a medium access control protocol.

The means of medium access control used in the L3000e is known as “CSMA non-persistent”.
CSMA (Carrier Sense Multi-Access) non-persistent works as follows: a node wishing to transmit
first looks at the line to see if it is clear (“Carrier Sense”). If no other node is transmitting, the
node immediately seizes the line, performs it’s transmission, and then releases the line. If, when
the node wishes to transmit, the line is in use, the node delays a random period of time. The
checking and delaying is repeated until the message is able to be transmitted. If a collision
occurs, or if the message is damaged in transit by noise (determined by a lack of
acknowledgment), the node waits a random period of time and tries again. Collisions can occur
when two (or more) nodes sense that the line is free, and both try to transmit at the same time.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 62


There are several parameters that may be set in the Configuration Table that determine the retry
intervals and counts per port. These parameters are:

ACK.WAIT - the amount of time to wait (10 ms time units) for a response after the L3000e
originates a message. After this time expires, the L3000e realizes that an ACK has not been
returned, and reschedules the transmission at a random future time in the range of 10 ms up to
the full ACK.WAIT parameter. Thus, the time between successive retries will be about 1.0 to 2.0
times ACK.WAIT.

ACK.MAX - the maximum number of times to transmit a message when no ACK is being
received

BSY.WAIT - determines the amount of time to wait (10 ms time units) before trying again to
transmit after detecting a busy condition. The actual time to wait will be a random time in the
range of 10 ms up to the full BSY.WAIT parameter.

BSY.MAX - the maximum number of times to try to gain access to the network if each attempt
sees a busy condition.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 63


C OMMUNICATIONS F AILURE /R ECONNECT
If either the BSY.MAX or ACK.MAX count is exceeded before a message transaction successfully
occurs, a Communications Failure is declared. In the event of Communications Failure, the
L3000e does the following:

• Removes all transmission requests from the queue that are destined for the failed node
• Marks the status of the node as having failed, to prevent the transmission queue from filling up
with messages destined for the node
• Sends a Communications Fail Notification message (for Data Express/Data Express Plus only) to
the node designated to receive such a notification (defined in the Configuration Table CM.FL.ID
parameter).
• Queues a probe message to periodically try to reconnect with the failed node
• Turns on the Communications Fail DI as defined in the Configuration Table (default DI 63)
• Sets the value of the Communications Fail AO as defined in the Configuration Table (default AO
91). The Communications Fail AO indicates the address of the unit which is declaring a
Communications Failure, where the special value of 0 represents this unit.
• Sets the value of the Unreachable Unit AO as defined in the Configuration Table (default AO
92). The Unreachable Unit AO indicates the address of the unit with which the L3000e was not
able to communicate. For Data Express, MODBUS, and DGH messaging (which do not use
Network ID’s) the value is the Node Address. For Data Express Plus messaging, the value is 1000
times the Network ID plus the Node Address. (for example, a value of 53039 represents
Network ID = 53 and Node Address = 39).
• If an alternate path is defined in the Network Connection Table, any messages will be delivered
via that path instead.

The frequency with which the L3000e will try to contact the bad node is determined by the
RCN.WAIT parameter in the Configuration Table.

A UTOMATIC A LTERNATE P ATH S WITC HING


In the event of a communications failure, the L3000e has the ability to automatically switch to
an alternate path, if it has been defined in the Network Connection Table (see Control Tables
and Files chapter). For example, if the primary communications channel is a radio link, and the
secondary channel is dialup telephone, the L3000e can automatically switch to dialup if the
radio fails. If the radio comes back on line, the L3000e will revert to that channel. This feature
may also be used to attempt to deliver the same message to a different node using the same or
different channel, if the first node cannot be reached. Any number of alternate paths may be
chained together - the L3000e will start at the beginning and go down the chain in search of a
successful path.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 64


Q UIESCENT T ELEMETRY (P EER TO P EER )
Quiescent Telemetry is an active communications method (because messages are originated by
the L3000e). Quiescent messages may be used by protocol as shown in the following list:

• Data Express between LIQ 4 and L3000e (both directions)


• Data Express Plus between L2000, LIQ 5 and L3000e (both directions)
• Data Express Plus between L3000e and L3000e (both directions)
• Data Express Plus between L3000e and TESCO SCADA (both directions)
• From MODBUS Master to L3000e acting as MODBUS Slave (one direction only)
• From L3000e acting as MODBUS Master to MODBUS Slave(s) (one direction only)
• From L3000e acting as DGH Master to DGH Slave(s) (one direction only)

Quiescent messages are sent by the L3000e to transmit data points based on either change or
interval. The Quiescent Table determines which data points will be transmitted and based on
which criteria. For each data point that is to be transmitted, there is a corresponding entry in
the Quiescent Table. Each data point may be sent based either on change or based on an
elapsed time interval (if you want both change and interval-based, you may make two entries).

For change-based scalar data points (AI’s, AO’s, Setpoints, Indexes), a threshold is set for each
data point. When the value of the data point changes by more than the threshold from the last
value sent, the L3000e will transmit the new value. Binary change-based data points (DI’s and
DO’s) do not need an associated threshold, since they have only two possible states (0 or 1).
Timers/Counters are a special case in that they are sent on the change of an associated DI or
DO.

Any of the data types may be sent on regular intervals. If the specified interval has elapsed, the
current value is sent. Note that the actual interval of transmission may not be exactly the set
interval, because of other network traffic.

A single data point may be transmitted via Quiescent Telemetry to multiple destinations by
making multiple entries in the Quiescent Table for a given data point - one entry for each
destination node. Updates due to data value change are tracked separately for each entry,
assuring that each destination is kept up to date in accordance with its associated table entry.

Because the communication channels are of finite throughput (and may be busy due to other
traffic), it is possible to have values changing more rapidly than they can be transmitted (for
example, a Digital Input that is changing at a high frequency). This causes a potential problem in
that the transmission queue could become filled with transmission requests associated with
one rapidly changing value, preventing or seriously delaying transmissions associated with
other data points. In order to deal with this possibility, no more than 1 transmission request
associated with a given entry in the Quiescent Table is allowed in the transmission queue at any

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 65


one time. Note that this means that some intermediate transitions of a rapidly changing data
point will not be transmitted.

Quiescent operation may be disabled by storing a 4.0 in the Telemetry Control Setpoint
(settable in the Configuration Table, defaults to SP 126). It may be re-enabled by storing a 0.0 in
the Telemetry Control Setpoint. Quiescent messages are originated only when the L3000e is in
Run Mode (not Standby Mode). When Run Mode is entered from Standby Mode, the entire
Quiescent Table will be transmitted if the PWR.UP.DMP parameter is set to YES in the
Configuration Table, otherwise only messages that would be triggered from that point forward
will be transmitted.

P OLLED T ELEMETRY (M ASTER /S LAVE )


The L3000e has the capability to Poll other units, these units may be L2000 controllers, LIQ 4
controllers, MODBUS Slave or DGH Slave devices. Polling means that the L3000e will initiate
messages to retrieve register values from remote units and then store the response in local
registers. Polling operation is primarily defined through the Polling Table, but four related
parameters are specified per port (in NET.PORT section located in the Configuration Table), and
one parameter in the Network Connection Table (POLL.PRI). The Polling Cycle looks as follows:

Fig. 5.6 - Polling Cycle

Polling operation may be disabled by storing an 8.0 in the Telemetry Control Setpoint (settable
in the Configuration Table, defaults to SP 126). It may be re-enabled by storing a 0.0 in the
Telemetry Control Setpoint.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 66


The L3000e also supports writing to registers at remote units, with protocol conversion
happening as needed. The figure below shows a typical use for this feature:

Fig. 5.7 - Protocol Converter

The figure shows the L3000e acting as a protocol converter for SCADA so it can communicate
with MODBUS Device’s. The L3000e uses its Polling Table to determine which registers to poll
for in the MODBUS Device’s, and where to put the data in the L3000e’s local register set.
SCADA polls the L3000e using L3000e protocol, indirectly obtaining the MODBUS register data.
SCADA polls the L3000e’s local register set, which looks to SCADA just like a big L3000e with lots
of registers. If SCADA writes a value to one of the L3000e’s local registers, the L3000e “writes
through” to the remote Device. The L3000e’s local register value is not changed until the
L3000e polls the MODBUS Device for a new value. Thus, when SCADA sees the new value by
polling the L3000e’s local register, it is guaranteed to have made it out to the MODBUS Device.

This register write-through mechanism works for other protocols as well. Thus the L3000e can
be used as a communications concentrator for a group of LIQ 4’s, LIQ 5's, L2000’s, or MODBUS
Device’s (or any combination).

R EDUNDANT M ESSAGE E LIMINATION


When Quiescent and Polled Telemetry are used in combination, as they often are, there exists
the potential for redundant or excessive information to be reported. For instance, if the
Quiescent Table is set up to send a value based on an interval, that value could be polled for
just prior to the end of the interval. If this happens, the L3000e will hold off reporting the value
via Quiescent transmission, since it was just reported via the poll response. In order to
accomplish this, the L3000e resets any Quiescent Table entries when the value is polled. For
interval-based entries, the next time to send is set to the time the poll occurred plus the
interval. For change-based entries, a poll for the same data point will record the value such that
the change calculation will be based on the value sent in response to the poll. This will result in
the L3000e waiting to send the data point until it changes by more than the threshold amount
as compared to the polled value.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 67


T ELEMETRY C ONTROL S ETPOINT
Some basic control over Telemetry operation may be achieved through the Telemetry Control
Setpoint. This Setpoint is defined in the Configuration Table, and defaults to SP 126. The
following table shows the values that may be placed into the Setpoint and the effect they have:

V A LU E E F FE CT

0 Normal Operation

1 Suppress Communication Fail (CF) Messages on alphanumeric


display

2 Monitor network activity to alphanumeric display in FROM.TO.TYPE


format

4 Suppress Quiescent Telemetry message origination

8 Suppress Polling Telemetry message origination

Table 5.3 - Telemetry Control Setpoint Values

The various values may be added together to have multiple effects; for instance a value of 6.0
would mean to monitor to the alphanumeric display and to turn off Quiescent.

The various values may be added together to have multiple effects; for instance a value of 12.0
would mean to turn off Polling and to turn off Quiescent.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 68


C HAPTER 6: C ONTROL T ABLES AND F ILES
I NTRODUCTION
There are a number of control tables, which determine the operation, and personality of the
L3000e. These tables are listed below:

T A B LE D E SCR I P T I ON

TESCODE Program contains the application specific control program

Configuration Table determines general settings and parameters for


the L3000e
Network Connection Table contains information needed to communicate with
other units
Quiescent Telemetry Table list of registers that should be sent on time or
change
Polling Table list of registers that should be polled for from other
units
Setpoint Table list of Setpoint values

Filter Constant Table list of Analog Input Filter Constants

Calibration Table controls conversion of Analog Input/Output values


to engineering units

Macro Table action to be executed when Macro Keys are


pressed

Tag Table tag names, units, descriptions associated with


registers

LED Table mapping of Digital Inputs/Outputs for accurate


readings

Pre-calibration Table adjusts Analog Inputs/Outputs for accurate


readings

Archive Array Table sets up L3000e to automatically store data in


Archive Arrays

MODBUS Slave Table Converts MODBUS registers to L3000e registers


and back and assigns Floating Point registers

Table 6.1 - Control Tables

All of these tables may be uploaded/downloaded (in the form of files) from/to the L3000e using
the WinBench64 (see chapter nine). In addition, the user may change the Program, Macro

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 69


Program, Configuration Table, Setpoints, Filter Constants, Calibration and Pre-calibration from
the keyboard.

Table files consist of ASCII text, and may have imbedded comments and “whitespace” to ease
readability. Comments consist of text following a colon “:” character. Comments may be on a
line by themselves, or at the end of a line of data. Whitespace may consist of blank lines, space
and tab characters. Whitespace may be used freely, except inside literal strings (enclosed in
quotes), where it will be taken literally.

C ONFIGURATION T ABLE
The Configuration Table is stored in write-protected RAM, and contains a number of settings
and options that determine the basic personality of the L3000e. The Configuration Table may
be viewed or changed from the keyboard or uploaded/downloaded using the WinBench64.

V IEWING THE C ONF IGURAT ION T ABLE AT THE L3000 E


To view the Configuration Table from the L3000e optional keyboard/display, use the EXAM CFG
option under the SPECIAL menu.

To view a particular Configuration Table field, first select the desired category using the
UP/DOWN arrow keys. The category names are shown as major headings in the sections which
follow. Once you have selected the desired category, press ENTER, then select the desired field
and press ENTER again. This will display the current field value. Press EXIT (or any key) to stop
viewing that field and return to the list of fields under that category. To move to another
category, press EXIT again and use the UP/DOWN arrow keys. Press EXIT again to exit the
Configuration Table viewing function.

C HANGING THE C ONFIGURAT ION T ABLE FROM THE L3000 E K EYBOARD


To change the Configuration Table from the keyboard, use the CHNG CFG option, or use the
shortcut <keyword>.8 (i.e. 10.8). In order to change the Configuration Table, the L3000e must
be in Standby Mode.

To change a field from the keyboard, first select the category with the UP/DOWN arrow keys,
then press ENTER. Next, select the desired field from the list of fields under that category, and
press ENTER to view/edit the field. Use the UP/DOWN arrow keys to select different values. For
numeric fields, you may enter a number directly from the 32-key keyboard. Once you have
selected or entered the desired value, press ENTER to accept it, or EXIT to go back to the
original value. You may then select other fields to change, or press EXIT once more to select
another category. Once you have made all desired changes to the Configuration Table, press
EXIT until the prompt SAVE-YES appears. You may now use the UP/DOWN arrow keys to select
between SAVE-YES and SAVE-NO. Press ENTER on SAVE-YES if you wish to save your changes.
Press ENTER on SAVE-NO if you wish to discard your changes. If you want to go back to editing

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 70


the Configuration Table, press EXIT instead. If you choose to save your changes, the L3000e will
then check the new Configuration Table for any errors or conflicts. If a problem is found, you
will be taken to the offending field where you can change the value and resolve the problem.
Note that sometimes more than one field may be involved – because there are a few rules that
enforce a certain relationship between two fields (these rules are called out in the field
descriptions in this chapter).

C ONFIGURATION T ABLE F IELDS


This section describes each of the Configuration Table fields that may be set. The major topic
headings correspond with the category names in the Configuration Table, and the minor
headings correspond to the field names.

L3000 E I NFORMATION (PLC.INFO)


L3000e Name (PLC.NAME) The L3000e Name field is a piece of text that may be used to
identify the L3000e. This text may be displayed as a banner by accessing the PLC.INFO option
under the SPECIAL menu (see menu tree) or by pressing STATUS ENTER. The L3000e Name may
contain up to 35 characters. To change the L3000e Name from the keyboard, use the
UP/DOWN arrow keys to select each desired letter in sequence. After each letter, press ENTER.
When done entering the text, press EXIT (note that in this case, EXIT does not discard your
changes).

D IGITAL O UT PUTS /I NPUTS (DO/DI)


Total Number of Physical DO’s (PHYS.DO) This field should be set to correspond with the
number of physical Digital Outputs that are installed on the L3000e. The allowed range of
values is 0-192.

Number of Physical DI’s (PHYS.DI) This field should be set to correspond with the number of
physical Digital Inputs that are installed on the L3000e. The allowed range of values is 0-390.

Number of Internal DI’s (INTRN.DI) This field determines the number of Internal Digital Inputs
(programming flags) that are available to the TESCODE programmer. These DI’s have no
corresponding physical hardware. The allowed range of values is 0-10000.

Internal DI Starting Index (INT.DI.IDX) This field determines the starting index of internal DI’s
that are to be reported via L3000e protocol Telemetry, and displayed on the L3000e’s LED
annunciator panel. This is useful if you wish to leave a large gap between the Physical DI’s and
the Internal DI’s so that the Internal DI’s start at a nice round number (like 500). If you set the
INT.DI.IDX to 500 then, the L3000e won’t waste time reporting the DI’s that you are not using
between the last Physical DI and DI500. The DI’s in the range between the last Physical DI and
the INT.DI.IDX are referred to as Phantom DI’s. Phantom DI’s are not reported via L3000e

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 71


protocol Telemetry, and may not be mapped to the L3000e LED display. The allowed range of
values for this field is 0-10000.

A NALOG I NPUTS /O UTPUTS /S ET POINTS (AI/AO/SP)


Number of Physical AI’s (PHYS.AI) This field should be set to correspond with the number of
physical Analog Inputs that are installed on the L3000e. The allowed range of values is 0-112.

Number of Internal AI’s (INTRN.AI) This field determines the number of Internal Analog Inputs
available to the TESCODE programmer. These registers are used to hold intermediate
calculation values and the like, and have no corresponding physical input. The allowed range of
values is 0-10000.

Number of Physical AO’s (PHYS.AO) This field should be set to correspond with the number of
physical Analog Outputs that are installed on the L3000e. The allowed range of values is 0-60.

Number of Internal AO’s (INTRN.AO) This field determines the number of Internal Analog
Outputs available to the TESCODE programmer. These registers are used to hold intermediate
calculation values and the like, and have no corresponding physical output. The allowed range
of values is 0-10000.

Number of Setpoints (SP) This field determines the number of Setpoints available to the
TESCODE programmer. These registers are used to hold constant values (for instance, pump
turn-on and turn-off points). The allowed range of values is 0-3000

Number of Index Registers (INDEX) This field determines the number of Index Registers
available to the TESCODE programmer. These registers are used to index into arrays or for
internal calculations. The allowed range of values is 0-10000.

I NPUT S CANNING (INPT.SCAN)


Several different input scanning methods may be selected through the use of these parameters.
Inputs may be scanned in synchronism with the TESCODE program, or may be scanned based
entirely on time.

Scan at the Top of TESCODE Program (SCAN.TOP) This YES/NO setting determines whether
or not inputs will be scanned each time the “top” of the TESCODE control program is
encountered. The factory default value is NO.

TESCODE Line to Trigger Scanning (SCAN.LINE) This field defines the line of TESCODE (by
line number) which, when executed, is to trigger scanning of inputs. This field only applies if
SCAN.TOP is set to YES. The allowed range of values is 0-65534.

Input Scan Rate (SCAN.RATE) This field defines the rate at which input scanning occurs. It only
applies if SCAN.TOP is set to NO. The value is given in milliseconds. Each time the L3000e

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 72


finishes executing a line of TESCODE, it checks to see if it is time to scan the inputs based on this
field. If the given number of milliseconds has passed since the last scan, the L3000e will then
perform an input scan operation. The allowed range of values is 0-65535 (0 means as fast as
possible - once for each line of TESCODE executed).

Input Scan AI Count (AI.COUNT) This field specifies the number of Analog Inputs that should
be scanned each scan cycle. (All Digital Inputs are scanned each cycle.) The allowed range of
values is from 0 up to the number of Physical AI’s.

T IMERS /C OUNT ERS (TMR/CTR)


Number of Pulse Counters (PULSE.CTR) This field determines the number of Pulse Counters.
Each Pulse Counter is associated with a Physical Digital Input (up to the first 16 DI’s). Pulse
Counters count the number of pulses that are seen on the corresponding DI. The allowed range
of values is 0-16.

Pulse Counter Trigger Map (PULSE.MAP) This field determines the trigger edge of the Pulse
Counters. This number is interpreted as a 16-bit binary value, where each bit (0 or 1)
determines the trigger edge of the associated Pulse Counter. Bit 0 corresponds with the first
Pulse Counter, bit 1 corresponds with the second Pulse Counter, etc. A value of 0 means the
Pulse Counter will trigger (count) on a 0-to-1 transition of the DI. A value of 1 means the Pulse
Counter will trigger on a 1-to-0 transition. The allowed range of values for the Trigger Map is 0
to 65535. A value of 0 (all bits 0) means all Pulse Counters will trigger on a 0-to-1 transition. A
value of 65535 (all bits 1) means that all Pulse Counters will trigger on a 1-to-0 transition.

Pulse Filter Delay (PLS.DLY.0, ... 15) There are 16 Pulse Filter Delay fields, corresponding to
up to 16 Pulse Counters. The Pulse Filter Delay determines the minimum pulse width that will
be seen by the Pulse Counter. Values are given in milliseconds. A low value will cause the Pulse
Counter to respond to high frequency pulses. A high value is useful to filter out high frequency
noise (for instance contact bounce) on a pulse source. The allowed range of values is 0-65535 (0
means no filtering). The factory default value is 100.

Number of Hours Timers (HOUR.TMR) This field determines the number of Hours Timers. The
allowed range of values is 0-256. The factory default value is 40.

Number of HMS Timers (HMS.TMR) This field determines the number of HMS (Hours-Minutes-
Seconds) Timers. The allowed range of values is 0-256. The factory default value is 10.

Number of Event Counters (EVENT.CTR) This field determines the number of Event Counters.
The allowed range of values is 0-256. The factory default value is 20.

Number of Seconds Timers (SEC.TMR) This field determines the number of Seconds Timers.
The allowed range of values is 0-256. The factory default value is 40.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 73


S PECIAL F UNCT ION R EGISTERS (SPEC.REGS)
The fields in this category are used to determine which registers in the L3000e will be used to
perform various special functions. In most cases, the factory default will be adequate, but
allowing you to set these values gives you the flexibility to remap the registers to a different
place if you wish to use the default register for something else.

AO for Day of Week (WK.DAY.AO) The Analog Output defined with this field is used to hold the
day of the week (1-7), when the RTC (Real Time Clock) option is installed. The factory default
setting for this is AO 93.

AO for Day of Month (MNTH.DY.AO) The Analog Output defined with this field is used to hold
the day of the month (1-31), when the RTC (Real Time Clock) option is installed. The factory
default setting for this is AO 94.

AO for Month of Year (MONTH.AO) The Analog Output defined with this field is used to hold
the month of year (1-12), when the RTC (Real Time Clock) option is installed. The factory default
setting for this is AO 95.

AO for Year (YEAR.AO) The Analog Output defined with this field is used to hold the year (00-
99), when the RTC (Real Time Clock) option is installed. The factory default setting for this is AO
96.

Time of Day (TIME.AO) The Analog Output defined with this field holds the current time, in 24
hour Hours Timer format (hours, fractions of hours), when the RTC (Real Time Clock) option is
installed. The factory default setting for this is AO 90.

Debug Statement Number Setpoint (DEBUG.SP) The Setpoint defined with this field is used to
hold a TESCODE program line number. When that line of TESCODE is executed, the SBY LED
flashes on. This feature is useful for developing and testing TESCODE programs. The factory
default setting assigns this functionality to SP 125.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 74


Telemetry Control Setpoint (TLM.CTL.SP)

The Setpoint defined with this field is used for control over Telemetry operation and
monitoring. The factory default setting for this is SP 126. The following table shows the values
that may be placed into the Setpoint and the effect they have:

V A LU E E F FE CT

0 Normal Operation

1 Suppress Communication Fail (CF) Messages on


alphanumeric display

2 Monitor network activity to alphanumeric display in


FROM.TO.TYYPE format

4 Suppress Quiescent Telemetry message origination

8 Suppress Polling Telemetry message origination

Table 6.2 - Telemetry Control Setpoint Values

The various values may be added together to have multiple effects; for instance a value of 6.0
would mean to monitor to the alphanumeric display and to turn off Quiescent Telemetry.

The various values may be added together to have multiple effects; for instance a value of 12.0
would mean to turn off Polling and to turn off Quiescent.

Communications Fail DI (CM.FAIL.DI) The Digital Input register defined with this field is used
to indicate that a communications failure has occurred between this unit and another unit (the
DI is turned ON under these conditions). The factory default for this field is DI 63.

Communications Fail Address AO (CM.FAIL.AO) The Analog Output register defined with this
field is used to indicate the network address of the unit that last declared a communications
failure (0 if this unit). The factory default for this setting is AO 91.

Address of Unreachable Unit AO (UNRCH.AO) The Analog Output register defined with this
field is used to indicate the network address of the unit that can’t be reached in a
communications failure. The factory default for this setting is AO 92.

Power Count AO (PWR.CNT.AO) The Analog Output register defined with this field is used to
indicate the cumulative number of power interruptions to the L3000e unit. The PWR.CNT.AO
and the RST.CNT.AO should reflect the same count for proper operation. Check the LOG file if
these counts are ever different. The factory default for this field is AO 97.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 75


Reset Count AO (RST.CNT.AO) The Analog Output register defined with this field is used to
indicate the cumulative number of system resets to the L3000e unit. The PWR.CNT.AO and the
RST.CNT.AO should reflect the same count for proper operation. Check the LOG file if these
counts are ever different. The factory default for this field is AO 98.

Random Number AO (RND.NUM.AO) The Analog Output register defined with this field
automatically generates a random number (0.0 - 99.9) each time it is read. The factory default
for this field is AO 99.

Network ID and Node Address AO (NET.ADR.AO) This Analog Output register defined by this
field holds the Network ID and Node Address of the L3000e and can be read from TESCODE or
examined from the keyboard. The format of the information stored in this register is:
AO 100 = NetID * 1000 + NodeAddr

For example, a value of 123045 would mean Network ID 123 and Node Address 45. This field
defaults to AO 81.

Run Mode DI (RUN.DI) The Digital Input defined with this field will be on while the L3000e is in
run mode and off when it is in standby mode. The factory default for this field is DI 76.

Program Line to go to on Interrupt (SW.INT.LN) This field determines the line of the TESCODE
program to go to when an interrupt input is received. When an interrupt is received on the first
interrupt DI the L3000e will jump to the line defined in this field. Each successive interrupt DI
will Jump to the line defined in this field plus 100 for each DI beyond the first. For example, if an
interrupt was received on the forth interrupt DI, program execution would jump to the line in
SW.INT.LN + 300. The factory default for this field is 10000.

Interrupt Enable DI (SW.INT.DI) This field defines the digital input that is used to enable or
disable interrupt driven DIs. If this status is on, interrupt DIs are enabled, otherwise they are
disabled. The factory default for this field is DI 78.

DI to Flag Keyboard ALARM ACK (ACK.KEY.DI) This field defines the DI (normally an internal
DI) which should be used to indicate that the user has acknowledged alarms through the
keyboard. When the user presses the ALARM ACK key or selects the ALRM ACK menu function,
this DI will be set to the ON state. The factory default for this field is DI 62.

Alarm Acknowledge DI Enable (DI.ACK) This ON/OFF setting enables/disables the use of the
Alarm Acknowledge DI. The factory default setting is ON.

Alarm Acknowledge DI (ALM.ACK.DI) This field defines the Digital Input (normally a Physical
DI) which should be used to perform an Alarm Acknowledge function. Typically this DI would be
wired to a push-button. The factory default is DI 0.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 76


Security Threat DI (SECURE.DI) This field determines which DI (normally an internal DI) will be
used to flag a potential security threat. A security threat is defined as 3 successive attempts
within 1 minute to unlock the L3000e with the wrong keyword. If this occurs, the selected DI
will be turned ON, and all keywords will be locked out for 5 minutes. The factory default setting
for this field is DI 71.

AC Fail DI (AC.FAIL.DI) The factory default setting for this field is DI 72.

Trace Delay Index Register (TRACE.IR) This entry holds the index of the Trace Delay Index
Register. The Trace Delay Index Register is used to determine the speed of TESCODE execution.
This is useful in slowing the program down so that its execution can be reasonably monitored
using one of the Trace Functions. The Trace Delay Index Register holds the number of 1mS time
units that should be allowed per line of TESCODE. For example, if this register has 50 stored in it
and a TESCODE line takes 20mS to execute then the L3000e will delay for 30mS before moving
on to the next line. This field defaults to IR 73.

Trace Level 1 DI (TRACE1.DI) This entry holds the index of the DI register that is used to
enable/disable the tracing of TESCODE execution line number information (Level 1
information). When this DI is ON, the following information will be sent to the Standard

Output Device:

• nnnn -the TESCODE line number executed


• A -the ACTION part of the expression has been executed
• E -the ELSE part of the expression has been executed

In addition, if a TESCODE line number is in the Debug Setpoint (DEBUG.SP, default SETPOINT
125) and the TRACE1.DI is ON, additional information about the line number in the Debug
Setpoint will be reported. This field defaults to DI 74.

Trace Level 2 DI (TRACE2.DI) This entry holds the index of the DI register that is used to
enable/disable additional execution tracing (Level 2 information) of TESCODE program lines.
This field defaults to DI 75.

Card Count AO (CRD.CNT.AO) This field determines which analog output will hold the total
number of I/O cards installed in the L3000e. This number does not include the processor card.
The factory default for this field is AO 80.

Card Health DI (HEALTH.DI) This field determines the first digital input that will be assigned
to indicate the state of an I/O card. Then next consecutive X digital inputs will be used to
indicate the state of other cards, where X is the number of I/O cards installed. An on state
indicates that the card is functioning, while an off state indicates a fault. The factory default for
this field is DI 80.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 77


Transmit Queue Overflow (XMT.QUE.AO) This This register will count up every Transmit
Queue Overflow so that SCADA can monitor this value to check if the L2000/L3000 is ever
clearing any Transmit Queue because too many entries are added to the Queue. The Port
N.Q.SIZE can be increased and or the communications should be decreased on the port so that
the XMT.QUE.AO is not incrementing. The factory default for this field is AO82.

N ETWORK /T ELEMETRY I TEMS (NET/TLM)


Network ID (NET.ID) This field determines the Network ID of this L3000e. The Network ID
determines the Network that this L3000e “belongs to” when using L3000e (Data Express Plus)
messaging. The factory default value for this is 1, with an allowed range of 1-255.

Network Node Address (NODE.ADR) The Network Node Address of this L3000e. Note that on a
given network, each Network Node Address must be unique. This address is used to identify
this L3000e so that Telemetry messages may be directed to it. The Network Node Address is
used for Data Express (LIQ 4), Data Express Plus (L2000 & LIQ 5) and MODBUS communications
protocols. The factory default Network Node Address is 1, with an allowed range of 1-255.

Quiescent Operation Startup Delay (Q.STRT.DLY) This field determines how long the L3000e
will wait on power up, before it begins to send values that are in its Quiescent Table. It also
applies to mode changes from Standby Mode to Run Mode and when Quiescent operation is re-
enabled using the Telemetry Control Setpoint This value is in 10 millisecond time units. The
default value for this field is 500 (5 seconds) and the allowed range is 0-65535.

Quiescent Telemetry Table Scan Rate (Q.SCN.RATE) This field determines how often the
Quiescent Table will be scanned to check if any values need to be sent based on change. Note
that interval-based entries will be serviced at the appropriate time, regardless of this field. This
field is in 10 millisecond time units. The factory default is 100 (1 second) and the allowed range
is 0-65535 (0 means scan as often as possible).

Percentage of Quiescent Threshold (PCNT.THRS) This field applies only to threshold-based


Quiescent communications with a PEER system on a dialup link. If a Quiescent message is sent
to such a system, while the connection exists, the L3000e will try to take advantage of the
connection depending on how the PCNT.THRS field is set. For example, if PCNT.THRS is set to
25%, any Quiescent threshold-based points that have changed by more than 25% of their
normal threshold will be sent at that time as well. A setting of 100% effectively disables this
feature by requiring a full 100% threshold change before the Quiescent point is sent. The
factory default is 100% and the allowed range is 10-100%.

Percentage of Quiescent Interval (PCNT.INTV) This field applies only to interval-based


Quiescent communications with a PEER system on a dialup link. If a Quiescent message is sent
to such a system, while the connection exists, the L3000e will try to take advantage of the

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 78


connection depending on how the PCNT.INTV field is set. For example, if PCNT.INTV is set to
60%, any Quiescent interval-based points that have more than 60% of their normal interval
elapsed will be sent at that time as well. A setting of 100% effectively disables this feature by
requiring a full 100% of the interval to elapse before the Quiescent point is sent. The factory
default is 100% and the allowed range is 10-100%.

Power Up Quiescent Table Dump (PWR.UP.DMP) This YES/NO setting determines whether or
not the entire Quiescent Table will be dumped (transmitted) when power is applied to the
L3000e. It also applies to mode changes from Standby Mode to Run Mode and when Quiescent
operation is reenabled using the Telemetry Control Setpoint. If set to NO, then only Quiescent
entries that from that point forward cross their threshold or whose interval expires are sent
out. The factory default setting for this field is YES.

Write Through Polling (POLL.WRIT) This YES/NO setting enables/disables write through
polling. The factory default setting is NO.

Event Logging (LOGGING) The settings in this category determine what level of event logging
messages should be sent to the various output devices. Event log messages are generated by
various system events and each message is assigned a level of importance.

The levels are:

NONE No Logging
VERBOS Verbose Messages
INFO Information Messages
WARN Warning Messages
ERROR Error Messages

Table 6.3 - Event Logging Levels

A setting of INFO for a particular device will log Informational, Warning and Error Messages to
that device. A setting of NONE will disable logging to that device.

Alpha-Numeric Display Logging Level (ALPHA.LVL) This field determines the level of message
logging for the Alpha-Numeric Display. The factory default is ERROR.

RAM Logging Level (RAM.LVL) This field determines the level of message logging to the
memory (RAM) log. The factory default is INFO.

Number of Log Messages to Keep in RAM (NUM.MSG) This field determines the number of
messages kept in the RAM message log. The factory default is 1000. The range of values is 128
to 20000.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 79


Allow RAM Log Messages to Wrap (RAM.WRAP) This field determines what happens when the
RAM log is full of messages, and a new message is generated. If RAM.WRAP is set to ON, the
oldest message in the log will be discarded to make room and the new message will stored. If
RAM.WRAP is set to OFF, when the log becomes full, no new messages will be stored until the
log is cleared (using CLR LOG function, found under DIAGNOST functions under the SPECIAL
menu).

A CTIVITY M ONITORING (MONITOR)


The settings in this category determine what activity monitoring messages should be
generated. Factory default for all the settings in this category is off. More than one type of
monitoring may be enabled at a time.

WARNING
These settings are for TESCO use only and should be used with care, as they can effect system
operation.

Monitor Analog Input Scanning (SCAN) This YES/NO setting determines if Analog Input
scanning activity is monitored. Output generated is sent to the Standard Output Device
(defined by the STD.OUT setting).

Monitor Self Test (SELF.TEST) This YES/NO setting determines if self-test activity is monitored.
Output generated is sent to the Standard Output Device (defined by the STD.OUT setting).

Monitor Network Traffic Addressed to Us (NET.US) This field determines if Network/Telemetry


messaging addressed to this unit is monitored. Possible settings are NONE, or any combination
of P1, P2, P3, or P4 to specify the port(s) for which monitoring is to occur. Output generated is
sent to the Standard Output Device (defined by the STD.OUT setting).

Monitor Network Traffic Addressed to Any Unit (NET.ALL) This field determines if
Network/Telemetry messaging addressed to any unit is monitored. Possible settings are NONE,
or any combination of P1, P2, P3, or P4 to specify the port(s) for which monitoring is to occur.
Output generated is sent to the Standard Output Device (defined by the STD.OUT setting).

Monitor Network Retries (NET.RETRY) This field determines if Network/Telemetry retries (on
BUSY, or NO ACK conditions) for this unit are monitored. Possible settings are NONE, or any
combination of P1, P2, P3, or P4 to specify the port(s) for which monitoring is to occur. Output
generated is sent to the Standard Output Device (defined by the STD.OUT setting).

Monitor Network Traffic, Raw Mode (NET.RAW) This field determines if Network/Telemetry
messaging (for all units heard) is monitored, in raw mode. This mode shows the raw, data bytes
transmitted and received. Possible settings are NONE, or any combination of P1, P2, P3, or P4

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 80


to specify the port(s) for which monitoring is to occur. Output generated is sent to the Standard
Output Device (defined by the STD.OUT setting).

Monitor Network Transmit Queue (NET.QUEUE) This field determines if transmission queue
activity is monitored. This mode shows each time a message is added to or removed from the
transmission queue. Possible settings are NONE, or any combination of P1, P2, P3, or P4 to
specify the port(s) for which monitoring is to occur. Output generated is sent to the Standard
Output Device (defined by the STD.OUT setting).

Monitor Dialup Modem Activity (DIAL) This YES/NO setting determines whether dialup modem
call progress activity is monitored to the Standard Output Device (defined by the STD.OUT
setting).

Monitor Dialup Modem Activity to Display (DIAL.DISP) This YES/NO setting determines
whether dialup modem call progress activity is monitored to the Alphanumeric LED Display.

TRACE Enable (TRACE) This YES/NO setting enables/disables the TESCODE Execution Trace
Functions.

O UTPUT D EVICES (OUTPT.DVC) – (N OT U SED L3000)


Standard Output Device (STD.OUT) This field determines where information destined for the
Standard Output Device will be sent. Activity Monitoring information (See Activity Monitoring
above) is sent to the Standard Output Device. The Standard Output Device may be assigned one
of the following values:

NONE Null

COM1 Maintenance Port

Table 6.4 - Standard Output Device Values

D ISPLAY S ETTINGS (DISPLAY)


Display Type (LIQ5.DISP) This field determines whether or not the large Liq5 style display is
being used. Setting this to YES indicates the large display is being used, while NO indicates the
small display is being used. If no display is installed this setting may be YES or NO.

Scroll Delay (SCRLL.DLY) This field determines the speed that information gets scrolled across
the Alpha- Numeric display. This number is the time delay, in 10 millisecond units, between
each character. The factory default setting is 18. A smaller number will cause faster scrolling,
and a larger number will cause slower scrolling. The allowed range of values is 0-100.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 81


Refresh Delay (RFRSH.DLY) This field determines the rate of refresh for the Alpha-Numeric
display when it is being used to examine a value. This will determine the responsiveness of the
display to changes in the value. This number is the time delay between refreshes of the display,
and is given in 10 millisecond time units. The factory default is 50 (0.5 seconds). A smaller value
will make the display more responsive, but will also take more time from other tasks that are
running on the LIQ 5 (the TESCODE Interpreter, and Telemetry, for instance). The allowed range
of values is 0-1000.

Flash Delay (FLASH.DLY) This field determines the flash rate for both flashing text on the
Alpha-Numeric Display, and flashing alarm LED’s. It has no effect on the flashing markers and
over/under-range indicators used for LED Bar Graphs. The field defines the amount of time
between each change of state (ON -> OFF or OFF -> ON). This number is given in 10 millisecond
time units, and the factory default is 50 (0.5 second). A smaller number will cause faster
flashing, a larger number will cause slower flashing. The allowed range of values is 0-1000.

Tag Display Rate (TAG.RATE) This field determines how often the “tag name” display will be
shown on the Alpha-Numeric Display when a I/O register (Analog Input, Analog Output, etc.) is
being examined. The tag name display identifies the value that is being displayed, for instance,
“L17” would flash on the display occasionally when Level 17 (AI 17) is being displayed. This field
is in 10 millisecond units and gives the amount of time between tag name displays. The factory
default is 2000 (20 seconds) and the allowed range is 0-65535.

Tag Display Delay (TAG.DLY) This field determines how long each tag string remains on the
display. It is given in 10ms increments. The factory default is 100 (1 second), with an allowed
range of 50-800.

Tag Display Control (TAG.CTRL) This YES/NO setting determines if Tag Name information is
displayed on the Alpha-Numeric Display. The factory default is YES.

Default Display Precision (DFLT.PREC) This field determines how many digits of precision will
be displayed on the Alpha-Numeric Display for floating point numbers. The factory default is 1,
and the allowed range is 0-7.

XMT/RCV LED Settings (XMT.RCV) This field determines which port(s) cause the XMT and RCV
LED’s to light when messages are transmitted and received, respectively. Possible settings are
NONE, ALL or any combination of P1, P2, P3, P4. The factory default is ALL.

LED Display Blanking (LED.BLANK) This YES/NO setting enables/disables blanking of the
optional LED display. The default is NO. Time before blanking is defined by MISC - LOCK.TIME.

M ISCELLANEOUS S ETTINGS (MISC)


Write-Protected RAM CRC Rate (WP.CRC.RTE) This field determines how often a CRC (Cyclical
Redundancy Check) is performed on Write-Protected RAM. The CRC check is periodically run to
Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 82
insure that the contents of Write-Protected RAM have not become corrupted. This setting is in
10 millisecond units and has a factory default value of 6000 (60 seconds). At the default setting,
the complete CRC test will be performed every 60 seconds (as a background task, spread out
over the 60 second period). The allowed range is 0-65535. A value of 0 disables CRC checking
feature. If a very small value is set, the L3000e will do the best it can to complete the operation
in time without monopolizing the CPU.

Keyboard Auto-Lock Time (LOCK.TIME) This field determines how long the L3000e will wait
from the last key press to when the keyboard automatically locks, and the display blanks, if
LED.BLANK is enabled (once locked, the operator will have to re-enter his keyword to unlock it).
This field is in seconds and has a factory default value of 300 (5 minutes). A value of 0 disables
the auto-lock feature.

Maximum Idle Time (MAX.IDL) This field is used for the serial communication ports to allow
changing the inter-character gap when receiving bytes from a device. Usually a digital radio
with buffering may not transmit the complete protocol message in a single block. Default is 8.

N ETWORK P ORT S ETTINGS (NET.COM1, NET.COM2, NET.COM3,


NET.COM4)
Baud (n.BAUD) This field determines the baud rate at which the port will communicate. The
device that the port is communicating with must also use the same baud rate. The ranges of
allowed baud rates supported per port are: 300, 600, 1200, 2400, 4800, 9600, 19200, 38400,
57600.

P OR T D E SCR I P T I ON A P P L I C A B LE B A U D
RATES

NET.COM1 RS-232, no handshake 300 -57,600 bps

NET.COM2 RS-232, Full handshake 300 -57,600 bps

NET.COM3 RS-232, Full handshake 300 -57,600 bps

NET.COM4 ETHERNET 10/100Mbps


NET.COM6 Modbus TCP 10/100Mbps
Table 6.6 - Valid Baud Rates

N OT E Any port on the L3000e may be set to any valid baud rate and need not correspond to
the rate of any other port. COM1 will automatically default to 19,200 bps 8 bits, no parity on

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 83


power up of the L3000e. This ensures that communication can be re-established after an
incorrect setting for COM1 is sent to the L3000e.

Parity (n.PARITY) This field determines the parity that the port will communicate with. The
device that the port is communicating with must also use the same parity setting. The following
parity codes are sed:

NONE No Parity

ODD Odd Parity

EVEN Even Parity

Table 6.7 - Parity Values

Stop Bits (n.STOPBIT) This setting determines the number of stop bits that the port will
communicate with. The device that the port is communicating with must also use the same
number of stop bits. The number of stop bits may be set to a value of 1 or 2.

DCD Function (n.DCD.BUSY) This YES/NO setting determines whether or not the port will use
Data Carrier Detect as an indication that the line is busy. This is necessary since multipoint
networks use DCD as a busy indicator, whereas point to point networks may use DCD to
indicate that carrier is established, and it is clear to send.

DCD CTS DSR


RS-232, full handshake must be must be must be
ASSERTED for ASSERTED ASSERTED for
message XMT for byte XMT message XMT

RS-232, no handshake n/a n/a n/a

Table 6.8 - Interpretation of Handshake Signals

Protocol (n.PROTO) The field determines the basic Telemetry protocol that is used on this
port. Any subdivisions or differences within this protocol are specified in a Network Connection
Table entry for the unit that a message is being sent to. The following values are currently
allowed for this field:

F I E LD V A LU E D E SC R I P T I ON

LIQ L3000e / LIQ 5 (Data Express Plus) or LIQ 4 (Data Express)

MBUS.MSTR L3000e acts as a MODBUS Master

MBUS.SLAV L3000e acts as a MODBUS

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 84


Slave

MBUS.EXT This protocol will allow the


Serial port to act as both
Master and Slave Modbus.
A Serial port can now have a
Slave Modbus Table and a
Poll/Quiescent Table for the
same Serial port.
DGH.MSTR L3000e acts as a DGH Master

Table 6.9 - Telemetry Protocol values

N OT E For purposes of port configuration, Data Express and Data Express Plus is considered
one protocol. Thus, LIQ 4’s, LIQ 5's, L2000 and L3000e’s can coexist on the same
communications link. When the L3000e originates a message to a LIQ 4 or LIQ 5, it distinguishes
between the two using the Device Type field in the Network Connection Table. The factory
default for the Protocol field for all communication ports is LIQ.

Answer Delay (n.ANSR.DLY) The Answer Delay is used to control the time from when a
message is received and decoded, to when the L3000e attempts to answer back, or
acknowledge the message. This delay does not apply to messages originated by the L3000e –
only replies. The purpose of this delay is to give the other node time to release the
communications line. See Figure 3 below. The Answer Delay is given in 10 millisecond time
units, and has a range of 0-1000 (0-10 seconds).

Leading Pad (n.LEAD.PAD) The Leading Pad entry is used to add extra pad characters to the
front of the telemetry message. This is used for those peripheral communication devices that
require extra time to get ready for an incoming telemetry message stream. LEAD.PAD has a
range of 0-20 characters.

Trailing Pad (n.END.PAD) The Trailing Pad entry is used to add extra pad characters to the end
of the telemetry message. This is used for those peripheral communication devices that require
extra time to properly end a telemetry message stream. END.PAD has a range of 0-20
characters.

Acknowledge Wait Time (n.ACK.WAIT) The Acknowledge Wait Time sets the amount of time
that the L3000e will wait for an acknowledge, or response to an outgoing message. If this time
expires and no acknowledge has been received, the L3000e will send the message again. The
Acknowledge Wait Time is given in 10 millisecond time units, and has a range of 1-1000.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 85


Acknowledge Wait Maximum Count (n.ACK.MAX) The Acknowledge Wait Maximum Count sets
the number of times that the L3000e will wait for an acknowledge, or response to an outgoing
message before giving up and declaring a communications failure. The Acknowledge Wait
Maximum Count has a range of 1-65535.

Intermediate Acknowledge Wait Time (IACK.WAIT) The Intermediate Acknowledge Wait Time
sets the amount of time that the L3000e will wait for an acknowledge, or response to an
outgoing routed message. If this time expires and no acknowledge has been received, the
L3000e will send the message again. The Intermediate Acknowledge Wait Time is given in 10
millisecond time units, and has a range of 1-1000.

Intermediate Acknowledge Wait Maximum Count (IACK.MAX) The Intermediate Acknowledge


Wait Maximum Count sets the number of times that the L3000e will wait for an Intermediate
acknowledge, or response to an outgoing routed message before giving up and declaring a
communications failure. The Intermediate Acknowledge Wait Maximum Count has a range of 1-
65535.

MEDIA TYPE CONDITION TREATED AS “B U SY ”

RS-232 full handshake DSR not asserted DCD according to DCD.BUSY


setting

RS-232 no handshake n/a

Table 6.10 - Conditions Considered “Busy”

Busy Wait Time (n.BSY.WAIT) The Busy Wait Time sets the amount of time that the L3000e will
wait before reattempting to send a message when it has encountered a busy condition. Note
that in the L3000e, the busy condition is interpreted to account for several possibilities.

The Busy Wait Time is given in 10 millisecond time units, and has a range of 1- 4000000.

Busy Wait Maximum Count (n.BSY.MAX) The Busy Wait Maximum Count sets the number of
times that the L3000e will try to send a message when it sees a busy condition before giving up
and declaring a communications failure. The Busy Wait Maximum Count has a range of 1-
65535.

Reconnect Wait Time (n.RCN.WAIT) The Reconnect Wait Time determines how long the L3000e
will wait between attempts to contact a unit with which it has declared a communications failure.
The Reconnect Wait Time is given in 10 millisecond time units, and has a range of 1-4000000.

Transmit Queue Size (n.Q.SIZE) This field determines the number of messages that can be in
the queue awaiting transmission for this port. How big the queue needs to be is a function of
the media that the port is connected to, the baud rate, the Lead and Trail Delay settings, the

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 86


amount of Quiescent messaging, etc. The minimum value for this field must be at least the
number of Network Connection Table entries for this port, plus 2. This minimum setting allows
room for the L3000e to keep a probe message on the queue for each network node it is trying
to communicate with, so that it can reconnect in the event of a communications failure. The
factory default of 10 entries should handle most cases, but if overflow occurs (a log message
will be generated) then this value can be increased. A larger queue size takes more system
memory. This value can be set to a range of 1-100.

Communications Fail Path ID (n.CM.FL.ID) This field identifies the unit (by Path ID) that
should be notified in the event of a communications failure. There must be a corresponding
entry in the Network Connection Table with the given Path ID. A value of 0 means that no unit
should be notified. The factory default for this field is 0, with an allowed range of values of 0 -
65535.

Poll Delay (n.POLL.DLY) The Poll Delay field is specified per port, and indicates how long after
power up, or after entering Run Mode the L3000e should wait to initiate Polling activity on this
port. The time is given in 10 millisecond units and has a range of 0-65535 and a default value of
500 (5 seconds).

Poll Gap (n.POLL.GAP) The Poll Gap field specifies the delay that the LIQ 5 should use
between each Polling Cycle (refer to the figure below). The POLL.GAP is given in 10 millisecond
units, with an allowed range of 0-65535 and a default value of 100 (1 second).

PLCGap (n.PLC.GAP) The L3000e Gap field specifies the delay that the L3000e should use
between polling each successive L3000e in a Polling Cycle (refer to the figure below). The
L3000e Gap is given in 10 millisecond units, with an allowed range of 0-65535 and a default
value of 0.

Message Gap (n.MSG.GAP) The Message Gap field specifies the delay that the L3000e should
use between each successive polling transaction in polling a given L3000e (refer to the figure
below). The MSG.GAP is given in 10 millisecond units, with an allowed range of 0-65535 and a
default value of 0.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 87


Fig. 6.1 - Polling Cycle

Disable DI (n.DISBL.DI) The Disable DI turns OFF or disables the corresponding port such that
all telemetry is disabled. Default values 2.DISBL.DI is DI 982, 3.DISBL.DI is DI 983, 4.DISBL.DI is
DI 984, 6.DISBL.DI is DI 886.

Recommended Settings for Timing Parameters

The ideal values of the different timing parameters listed above vary by the type of media the
port is connected to, and the characteristics of the network nodes with which the L3000e
communicates. The following table gives recommended settings for these parameters. These
parameters should result in successful communications in most cases. Occasionally, a different
value may be necessary for proper communications or for faster throughput. If you feel you
want to try a different setting for a field, the values listed in the table make good starting
points. All timing parameters listed are in 10 millisecond time units.

Table 6.11 - Recommended Timing Settings


Dm = delay for maximum message = 255000 / baud rate)

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 88


N ETWORK P ORT S ETTINGS (NET.COM6) V IRTUAL M ODBUS P ORT
NET.COM6 is a Virtual Modbus Communications Port. The properties only apply to the Modbus
TCP protocol on NET.COM4

DataExpress, DataExpress+ and MODBUS TCP can all coexist on Ethernet port NET.COM4 and
NET.COM6

TCP/IP E THERNET
These settings apply to NET.COM4 and specify the following:

4.IP is the IP address of this unit.

4.SUBNET is the subnet mask of this unit.

4.GATEWAY is the IP address of the device that handles off-network traffic.

4.MAC is the MAC address of this unit and is READ ONLY. The MAC address is assigned at NMI
time for this unit. It is composed of : 000146xxxxxx, the xxxxxx is the CRC hash of the OMAP
Unique ID, the 000146 is a reserved prefix for Tesco Controls.

4.APP.PORT is the TCP port used for communications. The default is 2000

4.ENABLE will shutdown Modbus TCP communications when set to OFF, default ON.

C ONFIGURATION T ABLE F ILE


The Configuration Table may be stored as a ASCII text file and downloaded to or uploaded from
the L3000e using the WinBench. The file consists of a list of fields and associated values. The
field names are the same as the prompt names given in the previous section. The easiest way to
create a new Configuration Table is to upload one from an L3000e and then change the fields as
desired. The table may then be downloaded to the L3000e.

Table 6.12 - Partial Listing of Configuration Table File

Below is a partial listing of an example Configuration Table source file:


: -----[ L3000e.INFO ]-----
GWAY.NAME="L3000e"
: -----[ DO/DI ]-----
PHYS.DO=32
PHYS.DI=24
INTRN.DI=376
INT.DI.IDX=300
: -----[ AI/AO/SP ]-----
PHYS.AI=8
INTRN.AI=120
PHYS.AO=4
INTRN.AO=116
SP=128
INDEX=128
: -----[ INPT.SCAN ]-----
SCAN.TOP=OFF
SCAN.LINE=0
SCAN.RATE=1000

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 89


AI.COUNT=0

TESCODE P ROGRAM
The TESCODE Program source file stores the TESCODE control program. TESCODE syntax was
described in the Programming chapter. A TESCODE program file consists of a series of TESCODE
lines, in ASCII form. The following is a partial example of the contents of a TESCODE program
file:

Table 6.13 - Partial Listing of a TESCODE Program File: These are some comments
10- ACTION T 59 ON AND P 17 OFF :This is a comment
20- ACTION T 60 INCR :This is another comment
100- L 20 < SP 20
ACTION P 1 ON
ELSE
ACTION P1 OFF
110- L 21 < SP 21
ACTION P 2 ON
ELSE
ACTION P2 OFF

N ETWORK C ONNECTION T ABLE


The Network Connection Table is used in order to specify information about network nodes
with which the L3000e communicates. For the L3000e to originate a message for a given
network node, it must have an entry in the Network Connection Table. The Store and Forward
Routing feature of the L3000e is defined and configured using this table.

The Network Connection Table is an ASCII file, consisting of a series of entries of the following
format:

Table 6.14 - Network Connection Table Format


BEGIN
PATH.ID=<value>
ALT.PATH=<value>
FROM.NET.ID=<value>
FROM.NODE.ADR=<value>
DEST.NET.ID=<value>
DEST.NODE.ADR=<value>
VIA.NET.ID=<value>
VIA.NODE.ADR=<value>
SEND.PORT=<value>
SEND.DEV.TYPE=<value>
SEND.MAX.HOP=<value>
MDM.DISCONNECT=<value>
MDM.INIT=<value>
MDM.DIAL=<value>
COMM.FLAG=<value>
COMM.PCNT=<value>
POLL.REG=<value>
DEST.IP=<value>

Each entry must start with the key word BEGIN.


PATH.ID field identifies the Network Connection Table entry. Each entry has a unique PATH.ID.
The PATH.ID is referenced in Quiescent Table and Polling Table entries to the destination for
messages. Path IDs that are automatically created by the L3000e start at 60000 (if a network

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 90


node originates a message to the L3000e, and there is no corresponding Network Connection
Table entry, the L3000e will automatically create one).

ALT.PATH field identifies an alternate path that should be used if communication fails on this
path. The ALT.PATH is the PATH.ID of another entry in the Network Connection Table.

The FROM.NET.ID and FROM.NODE.ADR fields are used for message routing and identifies
a source address of an incoming message to "capture" and re-route. The DEST.NET.ID and
DEST.NODE.ADR must also match the incoming message for subsequent forwarding. These
fields are used for routing an incoming message that uses the standard (old style) LIQ5 message
protocol. The FROM.NET.ID and FROM.NODE.ADR should be set to 0.0 unless actively capturing
and forwarding incoming LIQ5 messages.

DEST.NET.ID and DEST.NODE.ADR fields are used to identify the final destination node to
which messages should be addressed when using this "path". If the protocol being used is Data
Express (LIQ 4), DGH or MODBUS, set the NET.ID field to 0, since these protocols do not use the
NET.ID.

VIA.NET.ID and VIA.NODE.ADR fields are used for message routing and identifies a
message forwarding address to route the message through to reach the final destination as
identified in DEST.NET.ID and DEST.NODE.ADR.

SEND.PORT field indicates what communications port should be used to transmit messages.

SEND.DEV.TYPE field defines the device type of the forwarding or destination node, if
needed for the protocol. The only protocol that currently uses this field is LIQ. If the protocol is
set to LIQ in the Configuration Table, then SEND.DEV.TYPE must be set to either LIQ4, LIQ5 or
LIQ5R to distinguish between the three LIQ message types. The LIQ5R device type transmits a
message with an envelope that supports store and forward message routing. For protocols
other than LIQ, set the SEND.DEV.TYPE field to NONE.

SEND.MAX.HOP field determines the number of forwards a message can take before it is
declared an orphan and killed. SEND.MAX.HOP is only supported in the LIQ5R message
protocol.

MDM.DISCONNECT field applies only to dialup telephone communications and identifies the
disconnect sequence needed with the forwarding or destination node. This field has two
possible values:

MASTER after a dialup connection is established, do not terminate the connection - wait
for the other end to terminate, because the other end may have information that it needs to
poll for and can take advantage of the existing connection. It is then up to the master to
terminate the connection.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 91


PEER terminate the dialup connection after the message(s) have been delivered

MDM.INIT field applies only to dialup telephone communications and is a character string that
should be sent to the modem on this port to initialize it. Currently this field is not implemented
and may be left blank.

MDM.DIAL field applies only to dialup telephone communications and consists of a series of
characters that should be sent to the modem in order to dial and create a connection with the
node. Currently, the only type of dial string that is supported consists of ATDT followed by a
telephone number, like this example (dashes are allowed, but no spaces):

“ATDT395-8800”

COMM.FLAG field specifies a DI or DO that is to track the “health” of the communications


path. If a communications failure occurs on the path, the DI/DO will be set to the ON state. If
communication is restored on the path, the DI/DO will be cleared to the OFF state. The DI/DO
may be designated as an alarm in the LED Table, and will have the normal alarm functionality.
The acceptable values that may be assigned to this field are NONE, DInn or DOnn (where nn is a
valid DI or DO register index). The default value is NONE.

COMM.PCNT field specifies a register that is to used to track the percentage of successful
communications on this path. This percent reflects only the success/failure of transactions
originated from the L3000e using this path. Incoming transactions are not included because the
L3000e cannot know if the originator has received the L3000e’s response. The percentage is
computed by tracking the success/failure of the last 32 transactions originated by the L3000e
(for instance, 30 good out of 32 would give 94%). If a communications failure occurs (no
response after designated number of retries), the percentage is immediately set to zero. The
allowed values for this field are AInn or AOnn (where nn is a valid AI or AO register index). The
default value is NONE. A different register should be used for each path.

POLL.REG field specifies an AO register that contains the Priority of Polling that the
designated Device receives relative to other devices. A value of 1 means Poll the Device every
Poll cycle (see Network/Telemetry chapter). A value of 2 means Poll the device every other
time, etc. A value of 0 means disable Polling for this device ( useful to temporarily Disable
Polling of a Device without removing it from the Poll Table). The default value is NONE. If NONE
then the Poll Priority defaults to 1.

DEST.IP field specifies the destination TCP/IP network address.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 92


6.15 - Partial Listing of Network Connection Table

Below is a partial listing of an example Network Connection Table file:


: Example Standard LIQ5 Telemetry Network Connection Entry
: See Routing Setup for Further Examples
BEGIN : All entries have a BEGIN
PATH.ID=1 : Uniquely identifies entry, reference in
: Quiescent Table and or Polling Table
ALT.PATH=0 : PATH.ID of another entry for alternate
: path (0=none) used on Comm fail escalation
FROM.NET.ID=0 : Capture and forward any received message
FROM.NODE.ADR=0 : that matches this source address and matches
: the DEST.NET.ID and DEST.NODE.ADR fields.
: Allows routing of standard LIQ5 messages
: 0.0 disables this feature
DEST.NET.ID=1 : Network ID of final destination unit
DEST.NODE.ADR=2 : Node Address of final destination unit
VIA.NET.ID=0 : To reach the final destination, route the
VIA.NODE.ADR=0 : message through this address
: 0.0 disables this feature
SEND.PORT=3 : Communications port to use
SEND.DEV.TYPE=LIQ5 : Device type of unit
SEND.HOP.MAX=0 : No Routing needed
MDM.DISCONNECT=PEER : Modem hang-up sequence (Master or Peer)
MDM.INIT=”” : Modem initialization string
MDM.DIAL=”ATDT395-8800" : Modem dial string
COMM.FLAG=DI300 : DO/DI to track communications failure/success
COMM.PCNT=AO200 : AI/AO to track communications success rate
POLL.REG=NONE : AO Register, Default NONE is a Polling Priority of 1
DEST.IP=192.168.10.10 : If on Ethernet then assign TCP/IP network address

S TORE AND F ORWARD M ESSAGE R OUTING S ETUP


Store and Forward message routing is accomplished by adding the appropriate entries into the
Network Connection Table.

D ATA E XPRESS AND D ATA E XPRESS + S TORE AND F ORWARD


In this example the L2000/L3000 will forward native messages from Serial to Ethernet and
Ethernet back to Serial. The NetConnect Table in Addr 1.2 defines the Store and Forward
operation. The Polling Unit Addr 1.255 is polling over serial P2 to Addr 1.3 which the message
is being trapped and forwarded by Addr 1.2 and sent on over Ethernet.
SCADA or Polling Unit TLM 1.255
BEGIN
PATH.ID=102
ALT.PATH=0
FROM.NET.ID=0
FROM.NODE.ADR=0
DEST.NET.ID=1
DEST.NODE.ADR=3
VIA.NET.ID=0
VIA.NODE.ADR=0
SEND.PORT=2 :send poll msg out P2
SEND.DEV.TYPE=LIQ5
SEND.MAX.HOP=1
MDM.DISCONNECT=PEER
MDM.INIT=""
MDM.DIAL=""
COMM.FLAG=NONE
COMM.PCNT=NONE
POLL.REG=NONE
DEST.IP="0.0.0.0"

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 93


STORE and Forward Unit STORE and Forward Unit
TLM 1.2 to TLM 1.3 TLM 1.2 Back to TLM 1.255

BEGIN BEGIN
PATH.ID=104 PATH.ID=102
ALT.PATH=0 ALT.PATH=0
FROM.NET.ID=1 FROM.NET.ID=1
FROM.NODE.ADR=255 : msg recvd from 1.255 FROM.NODE.ADR=3 : msg recvd from 1.3
DEST.NET.ID=1 DEST.NET.ID=1
DEST.NODE.ADR=3 : and destination 1.3 DEST.NODE.ADR=255 : and destination 1.255
VIA.NET.ID=0 VIA.NET.ID=0
VIA.NODE.ADR=0 VIA.NODE.ADR=0
SEND.PORT=4 :forward msg out ethernet SEND.PORT=2 :forward msg out P2
SEND.DEV.TYPE=LIQ5 SEND.DEV.TYPE=LIQ5
SEND.MAX.HOP=1 SEND.MAX.HOP=1
MDM.DISCONNECT=PEER MDM.DISCONNECT=PEER
MDM.INIT="" MDM.INIT=""
MDM.DIAL="" MDM.DIAL=""
COMM.FLAG=NONE COMM.FLAG=NONE
COMM.PCNT=NONE COMM.PCNT=NONE
POLL.REG=NONE POLL.REG=NONE
DEST.IP="192.168.15.103" DEST.IP="0.0.0.0"

TLM 1.3 Back to TLM 1.255


BEGIN
PATH.ID=104
ALT.PATH=0
FROM.NET.ID=0
FROM.NODE.ADR=0
DEST.NET.ID=1
DEST.NODE.ADR=255
VIA.NET.ID=0
VIA.NODE.ADR=0
SEND.PORT=4
SEND.DEV.TYPE=LIQ5
SEND.MAX.HOP=1
MDM.DISCONNECT=PEER
MDM.INIT=""
MDM.DIAL=""
COMM.FLAG=NONE
COMM.PCNT=NONE
POLL.REG=NONE
DEST.IP="192.168.15.102"

MODBUS S TORE AND F ORWARD


In this example the L2000/L3000 will forward MODBUS messages from Serial to Ethernet and
Ethernet back to Serial. The NetConnect Table in Addr 0.2 defines the Store and Forward
operation. The Polling Unit Addr 0.255 is polling over serial P2 to Addr 0.3 which the message
is being trapped and forwarded by Addr 0.2 and sent on over Ethernet.
SCADA or Polling Unit TLM 1.255
BEGIN
PATH.ID=102
ALT.PATH=0
FROM.NET.ID=0
FROM.NODE.ADR=0

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 94


DEST.NET.ID=0
DEST.NODE.ADR=3
VIA.NET.ID=0
VIA.NODE.ADR=0
SEND.PORT=2 :send poll msg out P2
SEND.DEV.TYPE=NONE
SEND.MAX.HOP=1
MDM.DISCONNECT=PEER
MDM.INIT=""
MDM.DIAL=""
COMM.FLAG=NONE
COMM.PCNT=NONE
POLL.REG=NONE
DEST.IP="0.0.0.0"

STORE and Forward Unit STORE and Forward Unit


TLM 0.2 to TLM 0.3 TLM 0.2 Back to TLM 0.255

BEGIN BEGIN
PATH.ID=104 PATH.ID=102
ALT.PATH=0 ALT.PATH=0
FROM.NET.ID=0 FROM.NET.ID=0
FROM.NODE.ADR=255 : msg recvd from 1.255 FROM.NODE.ADR=3 : msg recvd from 1.3
DEST.NET.ID=0 DEST.NET.ID=0
DEST.NODE.ADR=3 : and destination 1.3 DEST.NODE.ADR=255 : and destination 1.255
VIA.NET.ID=0 VIA.NET.ID=0
VIA.NODE.ADR=0 VIA.NODE.ADR=0
SEND.PORT=4 :forward msg out ethernet SEND.PORT=2 :forward msg out P2
SEND.DEV.TYPE=NONE SEND.DEV.TYPE=NONE
SEND.MAX.HOP=1 SEND.MAX.HOP=1
MDM.DISCONNECT=PEER MDM.DISCONNECT=PEER
MDM.INIT="" MDM.INIT=""
MDM.DIAL="" MDM.DIAL=""
COMM.FLAG=NONE COMM.FLAG=NONE
COMM.PCNT=NONE COMM.PCNT=NONE
POLL.REG=NONE POLL.REG=NONE
DEST.IP="192.168.15.103" DEST.IP="0.0.0.0"

TLM 0.3 Back to TLM 0.255


BEGIN
PATH.ID=104
ALT.PATH=0
FROM.NET.ID=0
FROM.NODE.ADR=0
DEST.NET.ID=0
DEST.NODE.ADR=255
VIA.NET.ID=0
VIA.NODE.ADR=0
SEND.PORT=4
SEND.DEV.TYPE=NONE
SEND.MAX.HOP=1
MDM.DISCONNECT=PEER
MDM.INIT=""
MDM.DIAL=""
COMM.FLAG=NONE
COMM.PCNT=NONE
POLL.REG=NONE
DEST.IP="192.168.15.102"

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 95


Q UIESCENT T ABLE
The Quiescent Table determines what data points will be sent using Quiescent Telemetry, and
under what conditions. The Quiescent Table consists of a list of entries, in any order. There are
two basic types of entries: change-based and interval-based.

C HANGE -B ASED E NTRIES


The basic principle for Change-Based Quiescent Telemetry is that a Source Register value is sent
to a Destination Register whenever the Source Register changes by more than the value in a
Threshold Register. The amount of change is determined from the last value that was sent.
Digital Inputs and Digital Outputs follow this principle, except that there is no Threshold
Register, since a DI/DO can have only two values (0/1). Transmission of Timers/Counters occurs
when an associated DI/DO Threshold Register changes state (does not depend on the value that
is in the Timer/Counter). Additional details/restrictions depend upon the Telemetry protocol
being used to transmit the information, as shown in the tables, which follow.

I NTERVAL -B ASED E NTRIES


Interval-based entries are fairly simple - a Source Register value may be sent to (possibly
different) Destination Register at the destination unit at periodic intervals. The interval is
specified in 10 ms time units (as are all Telemetry timing parameters). A value of 0 means as
fast as possible. The actual times may vary somewhat depending on system load and network
traffic.

The Table below summarizes the different combinations which are legal for Quiescent Table
entries, depending on the protocol used (the Threshold Register column applies only to change-
based entries):

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 96


MODBUS DESTINATION REGISTER L3000 E SOURCE REGISTER

40001..41999F H OL D I N G AO0..AO N N ,AI0..AI N N


00001..01999 C O I L DI0..DI N N ,DO0..DO N N
Table 6.16 - Valid Quiescent Table Entries

The Quiescent Table is an ASCII file, consisting of a series of entries of the following format:
BEGIN
PATH.ID=<value>
INTERVAL=<value>
SRC.REG=<value>
DST.REG=<value>
THRES.REG=<value>
TRIG.REG=<value>

Each entry must start with the key word BEGIN.

PATH.ID field identifies the path that should be used to send the data point to its destination.
To be valid, it must correspond to a path defined in the Network Connection Table.

INTERVAL field is used to specify the transmission interval for interval based entries. If the
INTERVAL field is set to a value of 0, this means that the entry is change-based. The INTERVAL is
given in 10 ms time units (for example, a value of 3000 gives a 30 second interval).

SRC.REG identifies the Source Register, whose value should be read and sent (for example,
AO99).

DST.REG identifies the Destination Register (the register where the value should be stored in
the destination unit).
If the L3000e is a Modbus Master then the Modbus Register is entered as 40001 for the first integer
Holding Register and 40001F if sending Floating Point.
If the L1000G is a Modbus Master then the Modbus Register is entered as
• 40001 for the first Unsigned Integer Holding Register
• or 40001F if receiving Floating Point
• or 40001FW to receive Floating Point and Swap 16 bit Words
• or 40001S if receiving a Signed Integer
The optional ^ denotes a scaling factor such as ^2 would mean divide by 100 after receiving the value
and ^1 would be divide by 10.

THRES.REG field identifies the Threshold Register, which is used to hold the threshold for
change-based entries (to be a change-based entry, the INTERVAL field must be 0). For interval-
based entries the THRES.REG field should be set to NONE.

TRIG.REG field specifies an optional Trigger Register, that exerts control over the transmission
of the associated Quiescent data point. The allowed values for this field are NONE, or a DI
register DInn. If a register is specified, it has the following effect:

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 97


CONDITION E F FE CT

Trigger Register value = 0 The entry will NEVER be sent


Quiescently

Trigger Register value = 1 The entry is sent as normal,


depending on interval or threshhold

Trigger Register value transition 0 to 1 The Quiescent entry will be sent


immediately, regardless of interval or
threshhold values

Table 6.19 - Trigger Register Values

For the Quiescent task to detect a 0 to 1 state transition, the 0 state should be held for at least
the duration of the Quiescent Scan Time in the Configuration Table and the 1 state must be
held for at least the duration of the Quiescent Scan Time. The same Trigger Register may be
used for multiple Quiescent entries.

Table 6.20 - Partial Listing of Quiescent Table

Below is a partial listing of a sample Quiescent Telemetry Table file:


: Comment line

:Send AO5 to 40005 as a float through path 1, every 3000 x 10 ms (30 seconds)
BEGIN : each entry starts with a BEGIN
PATH.ID=1 : where to send it
INTERVAL=3000 : how often to send
SRC.REG=AO5 : where to get value from
DST.REG=40005F : Modbus Holding Register 5 and send as Float
THRES.REG=NONE : there is no threshold for interval-based
TRIG.REG=NONE : no Trigger Register specified

BEGIN : Send AI7 to AO10 through path 1


PATH.ID=1
INTERVAL=0 : 0 means change-based
SRC.REG=AI7
DST.REG=AO10
THRES.REG=AO17 : change threshold is stored in AO 17
TRIG.REG=NONE : no Trigger Register specified

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 98


P OLLING T ABLE
The L3000e has the capability to Poll other units. These units may be L3000e controllers, LIQ 5
controllers, LIQ IV controllers, MODBUS Slave devices, or DGH devices. Polling means that the
L3000e will initiate messages to retrieve register values from remote units and then store the
response in local registers. Polling operation is primarily defined through the Polling Table. The
Polling Table is an ASCII file, consisting of a series of entries of the following format:
BEGIN
PATH.ID=<value>
PRIORITY=<value>
SRC.REG=<value>
DST.REG=<value>

Table 6.21 - Polling Table Format

BEGIN field is a required keyword for the start of each entry.

PATH.ID field identifies the unit that should be polled. There must be a corresponding
Network Connection Table entry.

PRIORITY field specifies the priority of polling for this register relative to other entries for the
same PATH.ID. A value of 1 means poll for this register every time the L3000e identified by this
PATH.ID is polled. A value of 2 means poll every other time, etc. The allowed range for this field
is 0-65535 and the default value is 1. A value of 0 means disable polling for this register (useful
for temporarily disabling polling of a register without removing it from the table).

SRC.REG field identifies the register to retrieve information from in the remote unit.
If the L1000G is a Modbus Master then the Modbus Register is entered as
• 40001 for the first Unsigned Integer Holding Register
• or 40001F if receiving Floating Point
• or 40001FW to receive Floating Point and Swap 16 bit Words
• or 40001S if receiving a Signed Integer
The optional ^ denotes a scaling factor such as ^2 would mean divide by 100 after receiving the value
and ^1 would be divide by 10.

:Poll for MODBUS 40001 float, PATH ID 1, and store in AO1 every Poll cycle.
BEGIN :Each entry starts with a BEGIN
PATH.ID=1 :Where to obtain data
PRIORITY=1 :How often to Poll
SRC.REG=40001FW:Receive Holding Register 1 as a Floating Point value and Swap Words.
DST.REG=AO1 : Store value to AO1

:Poll for MODBUS 40001 Signed Int divide by 100 and store in AO1 every cycle.
BEGIN :Each entry starts with a BEGIN
PATH.ID=1 :Where to obtain data
PRIORITY=1 :How often to Poll
SRC.REG=40001S^2 :Receive Holding Register 1 as a Signed Int and divide value by 100
DST.REG=AO1 :Store value to AO1

:Poll for MODBUS 40001 Unsigned Int divide by 100 and store in AO1 every cycle.
BEGIN :Each entry starts with a BEGIN
PATH.ID=1 :Where to obtain data
PRIORITY=1 :How often to Poll
SRC.REG=40001^2 :Receive Holding Register 1 as a Unsigned Int and divide value by 100
DST.REG=AO1 :Store value to AO1

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 99


DST.REG field identifies the local L3000e register to place the retrieved information in.

In addition, there are fields in other tables that control Polling operation. The Configuration
Table contains POLL.DLY, POLL.GAP, L3000e.GAP, MSG.GAP, while the Network Connection
Table has the POLL.PRI field (see Configuration Table and Network Connection Table for more
details).

The following tables show the allowed polling register types for each Telemetry protocol.

MODBUS SOURCE REGISTER L3000 E DESTINATION REGISTER

40001..41999F H OL D I N G AO0..AO N N ,AI0..AI N N


10001..11999 S TA TU S DI0..DI N N ,DO0..DO N N
30001..31999 I N P U T AO0..AO N N ,AI0..AI N N
Table 6.22 - Polling Registers

Two sample Polling Table entries are given below:


: Comment line
:Poll for AI 0, PATH ID 1, and store in AI0 every Poll cycle.
BEGIN :Each entry starts with a BEGIN
PATH.ID=1 :Where to obtain data
PRIORITY=1 :How often to Poll
SRC.REG=AI0 :Which register to get
DST.REG=AO20 :Which register to store value in
:Poll for AO 12, PATH ID 3, and store in AI 14 every other Poll cycle.
BEGIN
PATH.ID=3
PRIORITY=2
SRC.REG=A012
DST.REG=AO14
Table 6.24 - Partial Listing of Polling Table

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 100


S ETPOINT T ABLE
The Setpoint Table defines a list of Setpoints and associated values that may be downloaded to
the L3000e. The file format is illustrated by the following partial sample of a Setpoint Table
source file:

Table 6.25 - Partial Listing of Setpoint Table


SP0 = 17.01
SP1 = 93.0
SP2 = 574
SP3 = 13.33
SP4 = 9.75
SP5 = 0
SP6 = 10
SP7 = 6784.455
SP8 = 4995.33
SP9 = 234.0
SP10 = 432.9923
SP11 = 3.2415
SP12 = 2.7818
SP13 = 3600.0
SP14 = 24.0

F ILTER T ABLE
The Filter Table defines a list of Analog Input Filter Constants that may be downloaded to the
L3000e. The AORESET field allows the associated analog output to be set to zero (0) which may
correspond to 4mA on transition from run mode to standby mode. The file format is illustrated
by the following sample of a Filter Table source file:

Table 6.26 - Partial Listing of Filter Table


AORESET0=OFF
AORESET1=ON
AIFILTER0=5.0
AIFILTER1=7.5
AIFILTER2=100
AIFILTER3=1.0
AIFILTER4=2.5
AIFILTER5=3.0
AIFILTER6=1.57

C ALIBRATION T ABLE
The Calibration Table contains entries that define the Calibration for AI’s and AO’s in the
L3000e. Normally, Calibration is performed through the keyboard, then the Calibration Table
may be uploaded from the L3000e for safekeeping. For more information see the Calibration
section. Below is a partial listing of a sample Calibration Table file:

Table 6.27 - Partial Listing of Calibration Table


BEGIN : each entry starts with BEGIN
REG=AI0 : identifies the register (AI or AO)
TYPE=4-20MA : identifies the type (4-20MA or 0-5V)
1.ENGR=0.0 : the engineering value for calibration point 1
1.METER=4.0 : meter reading (mA) for calibration point 1
2.ENGR=100.0 : the engineering value for calibration point 2
2.METER=20.0 : the meter reading (mA) for calibration point 2
BEGIN

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 101


REG=AO10
TYPE=0-5V
1.ENGR=15.0
1.METER=0.0
2.ENGR=10000.0
2.METER=5.0
.

.
.

P RECALIBRATION T ABLE
The Precalibration Table allows each AI or AO channel to be accurately adjusted so that each AI
or AO responds identically, providing compensation for component variations from channel to
channel and L3000e to L3000e. Once precalibrated, an AI/AO channel will accurately reflect the
voltage or current within the allowable range. Precalibration must be performed through the
keyboard, then the Precalibration Table may be uploaded and saved away for later
downloading to the L3000e. Note that it only makes sense to download a given Precalibration
Table to the L3000e it was generated from, since it is specific to that L3000e. The Precalibration
Table is not usually downloaded to a L3000e unless it has been “NMI’ed,” which erases all
memory and resets the entire L3000e to a factory default condition (this is required if EPROM’s
are changed). For more information on the Precalibration process see the Special Functions
chapter. Below is a partial listing of a sample Precalibration Table file:

Table 6.28 - Partial Listing of Precalibration Table


BEGIN : each entry starts with a BEGIN
REG=AI0 : register type and number
TYPE=4-20MA : range for precalibration
1.RAW=714 : raw value found at first point (4 MA)
2.RAW=3643 : raw value found at second point (20 MA)

BEGIN
REG=AI1
TYPE=4-20MA
1.RAW=698
2.RAW=3627

BEGIN
REG=AO0
TYPE=4-20MA
1.RAW=703
2.RAW=3629

M ACRO T ABLE
The Macro Table contains entries that define the programming for each Macro Key. For more
information see the Programming chapter. Below is a listing of an sample Macro Table file:

Table 6.29 - Partial Listing of Macro Table


1- EXAM L1
2- EXAM T59
3- L3 < SP4 ACTION P17 ON AND T13 OFF ELSE ACTION P17 OFF AND
T13 ON
4- ACTION T2 INCR AND EXAM T2

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 102


T AG T ABLE
The Tag Table may be used to associate identification and other information with L3000e
registers. This information is used for display and other purposes. The Tag Table is stored in
Write Protected RAM and may be uploaded/downloaded using the L3000e WinBench. The Tag
Table is an ASCII file made up of multiple entries with the following format:

Table 6.30 - Tag Table Format


BEGIN
REG=<value>
PREC=<value>
UNITS=<value>
TAGNAME=<value>
DESCRIPTION=<value>

Each entry must start with the BEGIN keyword.

REG field identifies the L3000e register for which an entry is being made. Allowed values are AI
(LEVEL), AO (ANAOUT), DO (PUMP), DI (STATUS), SP, IR (INDEX), T (TIMER). The register type is
followed by a register index.

PREC field specifies the precision that is associated with the register. This determines the
number of digits to the right of the decimal point which will be displayed when this register is
shown on the L3000e alphanumeric display. The allowed range of precision values is 0 to 7.

UNITS field specifies the engineering units associated with the register (such as “PSI”, “GPM”,
etc.). This field may be up to 4 characters long. This field is optional and may be omitted if
desired. The units are used when the register is displayed on the L3000e alphanumeric display
using the EXAM function. If there is enough room on the display, the units will be shown along
with the register value, otherwise they will be displayed only with the register type and index
when it is periodically displayed.

TAG.NAME field may be up to 60 characters in length and is meant to be used to hold an


abbreviated identifier for the register (such as “LIT-100”, “SYS PRES”, etc.). This field is optional
and may be omitted if desired. The tag name is periodically displayed when the register is being
examined on the L3000e alphanumeric display.

DESCRIPTION field may be up to 60 characters in length and is meant to hold a longer


identification of the register. This field is optional and may be omitted if desired. The
description is periodically displayed when the register is being examined on the L3000e
alphanumeric display.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 103


When a register is displayed on the L3000e alphanumeric display using the EXAM function, the
following information is displayed in the order shown:

1. value, {units}
2. register type and index, units
3. tag name
4. Description

Several Configuration Table fields control the display of the above information. These fields are:
TAG.RATE, TAG.DLY, and TAG.CTRL (see the Configuration chapter for a description).

When actively examining a register, pressing the EXAM key twice will cause any tag name
information for the register to be displayed. If not actively examining a register, pressing the
EXAM key twice will only bring up the last register displayed (and not the tag information).
Periodically, after the delay specified in TAG.RATE, the tag information will be automatically
displayed. If TAG.CTRL = 0 (OFF) ALL tag name strings will be displayed when EXAM is pressed
twice if actively examining a register, but the tag information will NOT come up on a periodic
basis.

Below is a partial sample of a Tag Table:

Table 6.31 - Partial Listing of Tag Table


BEGIN
REG=AO10
PREC=0
UNITS=”FT”
TAGNAME=”PIT-1000"
DESCRIPTION=”TANK LEVEL”

BEGIN
REG=T40
PREC=3
TAGNAME=”BS-1234"
DESCRIPTION=”BACKSPIN DELAY”

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 104


LED T ABLE
The LED Table is used to determine the following:

• the mapping of DI/DO states to LED’s


• the mapping of bar graph displays to LED’s
• which DI’s/DO’s/LED’s are to be treated as alarms
• which DO/LED(s) to treat as the Common Alarm
• which DO’s are to be treated as Pulse DO’s (see Event Countersection)

Any displayable DI/DO state may be assigned to any LED annunciator, and any LED can be
designated as an alarm. The LED Table may be uploaded and downloaded to the L3000e with
the WinBench. One feature the LED Table supports is the assigning of multiple LED’s (as many
as desired) to a single DI or DO. LED’s may be assigned in any fashion, subject to the following
rules:

1. a single LED may not be assigned to more than one DI/DO


2. an LED can’t be used for both a DI/DO and as part of a bar graph display.
3. the LED’s must be listed in the file in ascending order
4. Phantom DI’s (those between the last physical DI and the index defined by the INT.DI.IDX
Configuration Table parameter) may not be displayed

The following figure shows the numbering system used to identify LED’s for purposes of the LED
Table.

Fig. 6.3 - LED Numbering L3000e Small Display

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 105


Fig. 6.4 - LED Numbering L3000e Large Display

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 106


The LED Table file format is illustrated by the example shown below (with the normal
comments and whitespace allowed):

Table 6.32 - Partial Listing of LED Table


LED0=DI9
LED1=DI9
LED2=DI10A :The ‘A’ means Alarm
LED60=DI0
LED61=DI1A
LED62=DI2
LED140=DO0CF :The ‘C’ means Common Alarm,’F’ means flash output
LED141=DO1AF :Alarm with Flashing output
LED141=DO1P :The ‘P’ means Pulse DO
: The following entry defines a bar graph display for AI7:

BEGIN
REGISTER=AI7 :AI, AO
TOP.LED=60 :the top LED for the bar graph
NUM.LEDS=80 :how many LED’s to use for the bar graph
LOW.VAL=0.0 :the value that corresponds to all LED’s
off
HIGH.VAL=100.0 :the value that corresponds to all LED’s on
LL.MRK.REG=SP1 :NONE, AI, AO, SP
L.MRK.REG=SP2 :NONE, AI, AO, SP
H.MRK.REG=SP3 :NONE, AI, AO, SP
HH.MRK.REG=SP4 :NONE, AI, AO, SP

: The following entry defines a bar graph display for AO3:


BEGIN
REGISTER=AO3
TOP.LED=220
NUM.LEDS=80
LOW.VAL=50.0
HIGH.VAL=60.0
LL.MRK.REG=NONE
L.MRK.REG=NONE
H.MRK.REG=NONE
HH.MRK.REG=NONE

Any number of bar graphs can be defined, up to the number that could be displayed without
overlapping (38, since each bar graph must use at least 10 LED’s). The bar graph section of the
LED Table must follow the DI/DO/LED mapping section. The format of a bar graph entry is as
follows:

Each entry must start with the key word BEGIN.

REGISTER field indicates which register the bar graph will reflect.

TOP.LED field is used to determine which LED is used to begin the bar graph.

NUM.LEDS field indicates how many LEDs will be used for the bar graph, none of the used
LEDs can be assigned to anything else.

LOW.VAL field indicates the low value of the bar graph, when the value (contained in
REGISTER) reaches LOW.VAL none of the bar graph LED’s will be on. If the register value goes
below the LOW.VAL value then the bottom LED of the bar graph will flash.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 107


HIGH.VAL field indicates the high value of the bar graph, when the value (contained in
REGISTER) reaches HIGH.VAL the entire bar graph will be on. If the register value exceeds the
HIGH.VAL value then the top LED of the bar graph will flash.

LL.MRK.REG (Low low marker register), L.MRK.REG (Low marker register), H.MRK.REG
(High marker register), and HH.MRK.REG (High high marker register) identify the registers
that will be displayed as markers. You must enter NONE, AI, AO, or SP for this field, followed by
the register index (except in the NONE case). For each marker defined, a blinking LED marker
will be displayed at the location on the bar graph which corresponds to the value in the
register.

A RCHIVE A RRAY T ABLE


The Archive Module can handle up to forty separate Archive Arrays and can log data as quickly
as 10 millisecond intervals across all archives. A time stamp for each recorded entry is accurate
to 10 milliseconds. Each time the L3000e scans an input, or a register write occurs (by TESCODE,
Telemetry or the user), the L3000e checks to see if the register is supposed to archive. This
guarantees that all data will be trapped and processed, unlike other Data Loggers which have to
sample the physical I/O and thus may or may not synchronize well with the Process Controller.
There are three basic types of archives that the L3000e can perform:

• Average/Min/Max data compression


• Change Based archives with associated delta change registers
• Alarm Event archives

Archive Array data integrity is maintained across power failures. The L3000e WinBench may be
used to configure archives, retrieve archived data and plot archive data (see L3000e WinBench
chapter).

A RCHIVE A RRAY T ABLE S ETUP


Data archives are defined according to the Archive Array Table. Time units can be expressed
with the suffix S (seconds), M (minutes), H (hours), D (days), but only one unit may be used per
field entry. Fractions of time units are allowed, such as 0.5S for half a second. An Archive Array
Table is an ASCII file of one or more entries of the following format:

Table 6.33 - Archive Array Table Format


BEGIN
INPUT=<value>
ARRY.NUM=<value>
ARRY.TYPE=<value>
LOG.RATE=<value>
ARRY.TIME=<value>
ARRY.NAME=<value>
DELTA.REG=<value>
ARRY.SIZE=<value>
MN.MX.RATE=<value>
ARC.WRAP=<value>

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 108


ARC.SBY=<value>
ARC.TRIG=<value>
ARC.CLEAR=<value>
ARC.STATE=<value>
ARC.PCNT=<value>

The keyword BEGIN must start each entry. One entry sets up one Archiving Array.

INPUT field specifies the input register (the register which contains the values to be stored in
the Archive Array. Valid values for this field are: AI (Analog Input), AO (Analog Output), DI
(Digital Input), DO (Digital Output), or NONE.

ARRY.NUM field assigns an Archive Array Number to the Archive Array, for purposes of
identification.

ARRY.TYPE field specifies the Archive Array Type, which determines the basic operation of
the Archive Array. This field can be one of COMPRESS, CHNG.BASE, or ALARM.SUM.

LOG.RATE field specifies the interval for archiving - this determines how often data is stored.

MN.MX.RATE field specifies the rate at which to archive min/max values. This field only
applies when ARRY.TYPE is set to COMPRESS. Allowed values are NONE (no min/max
recording), LOG.RATE (store min.max values at the same rate as the average), or a specific time
period (such as 30M for 30 minutes). The default value for this field is LOG.RATE.

ARRY.TIME field is used to specify the total time period to keep data in the Archive Array. This
field only applies when ARRY.TYPE is set to COMPRESS, and cannot be used with an array type
of CHNG.BASE or ALARM.SUM (for these cases the ARRY.SIZE field is used to define the array
size).

DELTA.REG field defines the Delta Change Register. This field is used only with the ARRY.TYPE
field set to CHNG.BASE and the INPUT field set to an Analog Input or Output register. The Delta
Change Register holds the threshold for archiving data on change. The default value for this
field is NONE.

ARRY.SIZE field specifies the size, in bytes, for an Archive Array of type CHNG.BASE or
ALARM.SUM.

ARRY.NAME field is used to store up to 60 characters to describe the Archive Array.

ARC.WRAP field is used to turn Archive Array Wrap ON or OFF. If set to ON, when the Archive
Array is full the archive will automatically “wrap” and replace the oldest data with new data.
With ARC.WRAP set to ON, new data will be recorded indefinitely, with the oldest data being
discarded. The default value for this field is ON.

ARC.SBY field determines whether archiving will occur when in Standby Mode. When set to
ON, archiving will occur when the L3000e is in Standby Mode. If set to OFF, archiving will only
occur when the L3000e is in Run Mode. The default value for this field is ON.
Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 109
ARC.TRIG field specifies the Trigger Register that controls the start/stop of archiving. Allowed
values are DInn or NONE. The Trigger Register must have a change of state from OFF to ON to
start archiving. If WRAP = OFF and at end of archive, a transition of this register to ON will cause
the archive to restart archiving from the beginning. When the Trigger Register is OFF, no
archiving takes place for the associated Archive Array. The default value for this field is NONE.

ARC.CLEAR field specifies an Archive Array Clear Register. Allowed values are DInn or NONE.
If the Clear Register state changes from OFF to ON this will cause the associated Archive Array
to clear (all data erased) and archiving to stop. The default value for this field is NONE.

ARC.STATE field specifies an Archive Array State Register that is used to show the state of the
Archive Array. Allowed values are DInn or NONE. This register is ON when actively archiving and
OFF when archive is stopped or finished. The default value for this field is NONE.

ARC.PCNT field specifies an Archive Array Percentage Register which tracks show the
percentage full of the associated Archive Array. This register will contain 100 when the Archive
Array is full. Allowed values are AOnn or NONE, with a default value of NONE.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 110


A sample Archive Array table is shown below:

Table 6.34 - Partial Listing of Archive Array Table


BEGIN
INPUT=AI0
ARRY.NUM=100
ARRY.TYPE=CHNG.BASE
LOG.RATE=NONE
ARRY.TIME=NONE
ARRY.NAME=”Tank Level”
DELTA.REG=SP0
ARRY.SIZE=10000
MN.MX.RATE=NONE
ARC.WRAP=ON
ARC.SBY=ON
ARC.TRIG=NONE
ARC.CLEAR=NONE
ARC.STATE=NONE
ARC.PCNT=NONE
BEGIN
INPUT=AO10
ARRY.NUM=101
ARRY.TYPE=COMPRESS
LOG.RATE=1M
ARRY.TIME=24H
ARRY.NAME=”Pump Speed”
DELTA.REG=NONE
ARRY.SIZE=0
MN.MX.RATE=LOG.RATE
ARC.WRAP=OFF
ARC.SBY=OFF
ARC.TRIG=DI300
ARC.CLEAR=DI301
ARC.STATE=DI302
ARC.PCNT=AO200
BEGIN
INPUT=NONE
ARRY.NUM=102
ARRY.TYPE=ALARM.SUM
LOG.RATE=NONE
ARRY.TIME=NONE
ARRY.NAME=”Alarms”
DELTA.REG=NONE
ARRY.SIZE=5000
MN.MX.RATE=NONE
ARC.WRAP=OFF
ARC.SBY=OFF
ARC.TRIG=NONE
ARC.CLEAR=NONE
ARC.STATE=NONE
ARC.PCNT=NONE

A VERAGE & M IN /M AX C OMPRESSION


Only Analog Input and Analog Output registers can be archived with averaging and min/max
compression. An AI is sampled and averaged over the LOG.RATE period. The sample time for an
AI is defined in the Configuration Table by the SCAN.RATE field. The LOG.RATE for the AI to be
archived must be equal to or greater than the SCAN.RATE and an even multiple of the
SCAN.RATE. For Analog Output registers the sample time is whenever the TESCODE control
program, Telemetry or the keyboard writes to the register. The average for the AO interval is
integrated over the interval time to generate an accurate average for the interval. The
avg/min/max values are guaranteed to process all AI and AO register values.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 111


The Archive Array fields are designed to be easy to use, but, also offer the flexibility for
maximum control. The setup for archiving the avg/min/max values for a particular register is
illustrated by the following example:

A RCHIVE T ABL E S ETUP FOR AVG/MIN/MAX C OMPRESSION


Table 6.35 - Partial Listing of Archive Array Table
BEGIN
ARRY.NUM=1
INPUT=AO5
ARRY.TYPE=COMPRESS
LOG.RATE=5M
ARRY.TIME=60D

This configuration will average over a 5 minute period the value for AO5 and every 5 minutes
the averaged value and the min/max values are stored as an entry in archive array number 1.
The archive array will hold such entries for a maximum of 60 days. After the last entry is stored
in the archive, the archive will automatically wrap back to the beginning of the archive array
and the earliest entries will be overwritten with new average min/max values. This circular
archive will continue indefinitely.

MEMORY USAGE
For an array type defined as COMPRESS, each entry of avg/min/max in the array will require 30
bytes. So, for the above array number 1, the memory required to store the archive is calculated
as follows:

• 60 Days = 5,184,000 Seconds


• 5 Minutes = 300 Seconds
• 5,184,000 Seconds / 300 Seconds = 17,280 entries
• 17,280 entries x 30 bytes/entry = 518,400 bytes.

If the above archive was set up with a min/max sample every hour, the archive configuration
would be as follows:

Table 6.36 - Partial Listing of Archive Array Table


BEGIN
ARRY.NUM=1
INPUT=AO5
ARRY.TYPE=COMPRESS
LOG.RATE=5M
MN.MX.RATE=1H
ARRY.TIME=60D

The archive would contain average values at a 5 minute rate and min/max value at an hourly
rate.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 112


MEMORY USAGE
Because of the different rates of archiving the average and min/max values, the memory usage
is as follows:

• (5,184,000 Seconds / 300 Seconds) = 17,280 entries for average


• Average value entry requires 10 bytes
• 17,280 entries x 10 bytes/entry = 172,800 bytes for average
• (5,184,000 Seconds / 3,600 Seconds) = 1,440 entries for min/max
• Min/max value entry requires 20 bytes
• 1,440 entries x 20 bytes/entry = 28,800 bytes for min/max
• (172,800 + 28,800 ) = 201,600 bytes total memory required

To archive only average values into the archive array, the following archive array configuration
would be defined:

Table 6.37 - Partial Listing of Archive Array Table


BEGIN
ARRY.NUM=10
INPUT=AI2
ARRY.TYPE=COMPRESS
LOG.RATE=5M
MN.MX.RATE=NONE
ARRY.TIME=60D

MEMORY USAGE
With only average values archived, the memory usage would be as follows:

• (5,184,000 Seconds / 300 Seconds) = 17,280 entries


• Average value entry requires 10 bytes
• 17,280 entries x 10 bytes/entry = 172,800 bytes.

C HANGE B ASED
Change Based archiving is supported for Analog Input, Analog Output, Digital Input and Digital
Output registers. When archiving DI or DO registers the DELTA.REG field does not apply - on any
change of state these registers are archived with timestamp. Archiving of AI and AO registers
depend upon the value stored in the register defined by the DELTA.REG field. The AI or AO
register is archived if the absolute value of difference between the current register value and
the previous archived register value is equal to or greater than the delta amount value stored in
the register defined by the DELTA.REG field.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 113


An example Archive Array configuration is shown below to archive a Digital Input register on
change:

A RCHIVE T ABL E S ETUP FOR DI


Table 6.38 - Partial Listing of Archive Array Table
BEGIN
ARRY.NUM=100
INPUT=DI3
ARRY.TYPE=CHNG.BASE
ARRY.SIZE=50000

For DI or DO registers any change of state will cause an entry to be stored into the archive
array.

MEMORY USAGE
The memory allocated to a Change Based array is specified in the ARRY.SIZE field. Each change
of state entry requires 5 bytes, therefore (50,000 bytes / 5 bytes) = 10,000 entries may be
stored.

To archive an AI or AO register on change, the following example archive array setup may be
used:

Table 6.39 - Partial Listing of Archive Array Table


BEGIN
ARRY.NUM=100
INPUT=AI3
ARRY.TYPE=CHNG.BASE
ARRY.SIZE=100000
DELTA.REG=AO100 : AO100 = 2.5

For an entry to be stored into the Archive Array, the current value for AI3 must be equal to or
greater than 2.5 units from the last archived entry.

MEMORY USAGE
Each delta change entry requires 9 bytes, (100,000 bytes / 9 bytes) = 11,111 entries.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 114


A LARM S UMMARY
Alarm Summary archiving will automatically archive all alarm registers upon change of state of
the alarm register or change of state of the alarm sequence annunciator. The alarm register
value as well as the state of the alarm sequence annunciators is recorded.

A RCHIVE T ABL E S ETUP FOR A LARM


To archive all alarms on change of state, an example archive array configuration is shown
below:

Table 6.40 - Partial Listing of Archive Array Table


BEGIN
ARRY.NUM=100
INPUT=NONE
ARRY.TYPE=ALARM.SUM
ARRY.SIZE=100000

For alarm registers, any change of state will cause an entry to be stored into the archive array.
In this way, all alarm conditions are easily monitored, logged and time stamped and an audit
trail of all alarm activity can be generated and reported.

MEMORY USAGE
Each change of state entry for an alarm register requires 8 bytes, (100,000 bytes / 8 bytes) =
12,500 entries.

A RCHIVE D ATA R ET RIEVAL


The Archive Arrays can be uploaded to a file using the L3000e WinBench (see WinBench
chapter). The uploaded data may then be displayed in a line trend/plot by the WinBench, sent
to a printer, or loaded into a spreadsheet or database package. The data is uploaded in ASCII
format so that it is easily imported into various software packages. Also, the archive data can be
reported to the STD.DUMP device of the L3000e.

The STD.DUMP device can be the maintenance port or the parallel printer port.

Use the ARC TBL selection, located under the SPECIAL / REPORTS menu.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 115


M ODBUS AND THE M ODBUS S LAVE T ABLE
Communications can be over Ethernet using Modbus TCP and or serial communications using
Modbus RTU. The default register value is represented as a 16 bit unsigned integer. Thus, all
L3000e floating point numbers are converted to integer before being sent. A negative value
will be sent as 0 and a value greater than 65,535 will sent as 65,535. All floating point numbers
will be truncated.

In order to send/receive floating point values the L3000e Modbus Slave device must have a
Modbus Slave Table. This table will assign the Modbus registers as floating point values and
also map L3000e device registers with corresponding Modbus device registers.

I F A REGISTER IS NOT DEFINED IN THE M ODBUS S LAVE T ABLE THEN DEFAULT INTEGER RULES
APPLY

L3000e Modbus Device Modbus Msg Type


Digital Outputs 0 to n 00001 - 01999 ROS,FSC
Digital Inputs 0 to n 10001 - 21999 RIS
Analog Inputs 0 to n 30001 - 31999 RIR
Analog Outputs 0 to n 40001 - 41999 ROR,PSR
Setpoints 0 to n 42001 - 43999 ROR,PSR
Timer/Counters 0 to n 44001 - 45999 ROR,PSR
Index Registers 46001 - 47999 ROR,PSR

N OT E Modbus register 40000 is not a legal Modbus register index.

Modbus 40001 register will map to AO0 in the L3000e and


Modbus 40002 register will map to AO1 in the L3000e
….
Notice that the Modbus register index and the L3000e register index is offset by one because of
Modbus starting with 1 (40001) and the L3000e starting with 0 (AO0).

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 116


L3000 E M ODBUS S LAVE T ABLE E NTRIES
40010F = AO100 ;states that L3000e AO100 will be sent and received as a float value
40011 IS NOW AN ILLEGAL REGISTER INDEX BECAUSE THE FLOAT TAKES 2 INTEGER REGISTERS
40012 = AO101 ;states L3000e AO101 is integer because of omission of appended F
40013F = AO102 ;states L3000e AO102 will be sent and received as a float value
• T H OS E R EG I S T ER S D EF I N ED I N T H E M OD BU S S L A V E T A BL E WI L L N OT H A VE A NY
O FFS ET A S S OC I A T ED WI T H T H E R EG I S T E R PA I R I NG .
• A NY T H I NG U ND E F I N ED I N T H E M O D BU S T A BL E R EM A I NS OF FS ET OF 1

00001 = DO0 ;states that L3000e digital output 0 is mapped to Mobus coil 1
00001 IS WRITE ONLY AND CANNOT BE READ
10001 = DI10 ;states that L3000e digital input 10 is mapped to Modbus status 1
10001 IS READ ONLY AND CANNOT BE WRITTEN
• I F Y OU S E T A DI A S A C OI L A ND A L S O T H E S A M E DI A S A S T A T U S T H E D I G I T A L C A N BE
READ/WRITE

00020 = DI20 ;states that L3000e digital input 20 is mapped to Modbus coil 20
10020 = DI20 ;states that L3000e digital input 20 is mapped to Modbus status 20
The above combination will allow DI20 to be READ/WRITE

L3000 E M ODBUS M ASTER E NTRIES


The Polling Table and Quiescent Table of the L3000e define whether the value of a register is
floating point by appending an F on the register index and will default as integer. Please refer
to the above Polling and Quiescent Tables for more information on Modbus entries.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 117


C HAPTER 7: S PECIAL F UNCTIONS
The Special Functions menu may be reached in the normal way using the arrow keys from the
main menu, or the shortcut <keyword>.9 ENTER may be used (example: 10.9 ENTER). This
menu provides access to some of the special functions of the L3000e that are not typically used
much in normal operation. Each of these functions are described below.

L3000 E I NFORMATION (PLC.INFO)


This function displays some basic information about the L3000e on the Alphanumeric Display.
From the 32-key keyboard, the shortcut key sequence STATUS ENTER may also be used. The
various items of information may be selected for display by pressing the arrow keys. To exit the
L3000e Information display, press EXIT. The fields of information that are displayed in this mode
are listed below:

F I E LD D E SC R I P T I ON

L3000e Name The GWAY.NAME string from the Configuration Table is


displayed, scrolling if necessary

Firmware Version The version number of the firmware that is stored in


EPROM.

Network Address The Network ID and Node Address of this L3000e in the
form NET.ni.na, where ni=Network ID and na=Node
Address (or if necessary to fit on display, in the form
NW.ni.na

I/O Cards Indicates whether I/O Board has been detected ( IO or


NO.CARDS )

RAM Total Total RAM size on the L3000e, in K (1024-byte blocks),


for example: 256K

WP RAM Size Total RAM that is designated as write protected. Write


protected RAM is a subset of total RAM. Shown as WP
nnnK

RW RAM Size Total RAM that is designated as read-write (not write


protected). Read-write RAM is a subset of total RAM.
Shown as RW nnnK

WP RAM Available Amount of write-protected RAM that is available


(unused). Shown as PMEM.nnnK

WP RAM Block The largest contiguous block of write-protected RAM


that is available. Shown as PBLK.nnnK

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 118


U RAM Available The amount of U RAM available. U RAM is defined as
non-write-protected RAM that is battery backed and
retains its value between power cycles (used to store I/O
registers and other information). Shown as UMEM.nnnK

U RAM Block The largest contiguous block of U RAM that is available.


Shown as UBLK.nnnK

S RAM Available The amount of S RAM available. S RAM is defined as


non-write protected RAM that does not retain its value
between power cycles (used as scratch area for
operating system and other functions). Shown as
SMEM.nnnK

S RAM Block The largest contiguous block of S RAM that is available.


Shown as SBLK.nnnK

Copyright Notice Indicates that the firmware resident in the L3000e is


copyrighted

Table 7.1 - L3000e.INFO Fields

E XAMINING P ROGRAM (EXAM.PGM)


The main TESCODE program and the Macro program may examined using this function. See the
appropriate sections under the Programming chapter for details on how this is done.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 119


R EPORTS (REPORTS)
Various reports may be generated by the L3000e and sent to the Maintenance Port ( COM1).
The reports are listed below:

R E P OR T D E SC R I P T I ON

ARC TBL Prints Archive Array data


CFG TBL Prints the Configuration Table.
PROGRAM Prints the TESCODE Program.
MACRO.TB Prints the Macro Program.
CAL TBL Prints the Calibration Table.
NET TBL Prints the Network Connection Table.
QTLM TBL Prints the Quiescent Telemetry Table.
LOG TBL Prints the Message Log.
PROC TBL Prints the Operating System Process Table.
TLM STAT Prints the Telemetry Status Report.
Table 7.2 - Reports Printing Options

E XAMINING C ONFIGURATION T ABLE (EXAM.CFG)


The Configuration Table may be examined using this menu option - see Control

Tables and Files chapter.

C HANGING C ONFIGURATION T ABLE (CHG.CFG)


The Configuration Table may be changed using this menu option - see Control Tables and Files
chapter.

D IAGNOSTICS (DIAGS)
A number of different diagnostic functions may be accessed under this menu option. Some of
them are available only while in Standby Mode (not while in Run Mode). Each diagnostic is
described in the sections which follow.

ROM This test checks the validity of the L3000e’s ROM, which holds the firmware
necessary to run the controller. A checksum is computed from the contents of the ROM and
checked against the value which is stored in the last few locations of the ROM. The result will
show PASSED (checksums matched) or FAILED (checksums not matched), followed by the
checksum values that were computed (shown in hexadecimal). If this test fails, the ROM is
suspect, and may not operate properly - please contact TESCO Controls, Inc.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 120


RW RAM This test checks the read-write RAM (non-write protected). You may choose
REPEAT or NO.REPEAT for a repetitive or one-shot test. If the repetitive test is run, a count
np.ns is displayed after each pass, where np is the number of passes, and ns is the number of
successes. If the RAM continues to pass the test, the two counts will always be the same. To
stop the repetitive test, press any key.

WP RAM This test checks the write-protected RAM. You may choose REPEAT or
NO.REPEAT for a repetitive or one-shot test. If the repetitive test is run, a count np.ns is
displayed after each pass, where np is the number of passes, and ns is the number of successes.
If the RAM continues to pass the test, the two counts will always be the same. To stop the
repetitive test, press any key.

RAM SIZE This test runs through the automatic RAM size detection to determine the total
RAM size and the amount of RAM that is write-protected. It runs through the test, then displays
the read-write RAM size as RW nnnK, the write-protected RAM size as WP nnnK and the total
RAM as -nnnK-.

WATCH DOG This test will activate the watchdog that automatically resets the L3000e
within one second if a firmware problem is detected.

N OT E The watchdog diagnostic will reset the L3000e when working correctly.

FAULT RLY This test will alternate the state of the fault relay each time ENTER is pressed
while this option is selected. The relay will return to its normal state after leaving the FAULT.RLY
menu option.

P RE C ALIBRATION (P RECAL )

PRECAL The pre-calibration function is not really a diagnostic, but is included with the
diagnostics because it is a function typically not performed other than at the factory. What pre-
calibration does is associate “meter reading” values with the raw 12-bit values that are
generated/read by the D/A and A/D converters used in the L3000e AO’s and AI’s. These meter
reading values (milliamps or volts) may then be accurately used in normal calibration by the
operator.

N OT E Display option required for Pre-Calibration.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 121


Procedure for Analog Input Pre-Calibration:

1. Connect circuit as shown for Analog Input Pre-calibration Setup.


2. Access the PRECAL function under the SPECIAL menu.
3. Select LEVEL (AI), then select 4 -20 MA.
4. Select 4MA.
5. Adjust the current loop until the meter reads exactly 4.00 mA (the meter used should be an
accurate one - the better the meter accuracy, the more accurate the pre-calibration).
6. Select L - 0 (LEVEL 0/AI 0).
a. The L3000e will display the raw 12-bit value it is reading on the selected input in the form
4MA.nnnn, where nnnn is the 12-bit value.
7. Make sure that the raw value is not changing significantly, then press ENTER.
8. Repeat steps 6 and 7 for each of the Analog Inputs.
9. Press EXIT, 4MA should now be displayed, use an arrow key to select 20MA.
10. Adjust the current loop until the meter reads exactly 20.00 mA.
11. Select L - 0 (LEVEL 0/AI 0).
12. Make sure that the raw value is not still changing significantly, thenpress ENTER.
13. Repeat steps 11 and 12 for each of the Analog Inputs.
14. Press EXIT until the mode is displayed.

Fig. 7.1 - Analog Input Pre-Calibration Setup

1. Procedure for Analog Output Pre-Calibration:


2. Connect circuit as show for Analog Output Pre-calibration Setup.
3. Access the PRECAL function under the SPECIAL menu.
4. Select ANAOUT, then select 4 -20 MA.
5. Select 4MA.
6. Select AO - 0.
a. The L3000e will display the raw 12-bit value being generated on the selected output in the
form 4MA.nnnn, where nnnn is the 12-bit value.
7. Adjust the raw value with the arrow keys until the meter reads exactly 4.00 mA, then press
ENTER (the meter used should be an accurate one - the better the meter accuracy, the
more accurate the pre-calibration).

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 122


8. Use the arrow keys to select the next AO channel.
9. Repeat steps 5 and 6 for all AO channels.
10. Press EXIT, 4MA should now be displayed, use an arrow key to select 20MA.
11. Select AO - 0.
12. Adjust the raw value until the meter reads exactly 20.00 mA, and then press ENTER.
13. Use the arrow keys to select the next AO channel.
14. Repeat steps 10 and 11 for all AO channels.
15. Press EXIT until the mode is displayed.

Fig. 7.2 - Analog Output Pre-Calibration Setup

LAMPTEST This diagnostic function is used to test for proper operation of all the LED’s on the
L3000e processor module, and display panel if installed. When this function is selected, all the
LED’s will flash on and off, in order to allow the operator to determine if an LED is stuck on or
off. During this time, any DI’s or DO’s that are associated with the LED’s will be unaffected.
LED's on I/O Cards will not be affected as they are hard wired to the input/output they
represent. To end the test, press EXIT.

NET PORT This diagnostic function allows you to test the operation of the network
communications ports. The test operates by sending a stream of bytes out the port, and waiting
a short time for the byte stream to be echoed back. The byte stream is a standard bit error test
stream and looks like this:
[1aQuickBrownFoxJumpedOverTheLazyDogs1][2aQuickBrownFoxJumpedOverTheLazyDogs2]
[3aQuickBrownFoxJumpedOverTheLazyDogs3][4aQuickBrownFoxJumpedOverTheLazyDogs4]
[5aQuickBrownFoxJumpedOverTheLazyDogs5][6aQuickBrownFoxJumpedOverTheLazyDogs6]
[7 Byte Count=254 7]

The echoing may be performed by another unit, may be accomplished by wiring the port
output to its input, or may be done internally to the L3000e. If an external unit is used, it may
be another L3000e or LIQ 5 running the NET ECHO diagnostic on its corresponding port. Note
that the communications parameters (baud, parity, stop bits) must match on the two units for
the test to succeed (these parameters are changed via the Configuration Table).

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 123


To run the test:

1. Select NET PORT from the DIAGNOST menu.


2. Select the desired port.
3. Select INT LOOP (internal loop-back) or EXT LOOP (external loop-back).
4. Select REPEAT or NO.REPEAT. In REPEAT mode the test will automatically repeat. In
NO.REPEAT mode, the test will be performed once each time you press the ENTER key. As
the test runs, it will display progress information in the form tttt.ssss, where tttt is the
number of tries, and ssss is the number of successes. For long term tests, the numbers may
exceed 9999 and wrap back to 0. If an error was ever detected in this case, a decimal point
will appear at the end (far right) of the display.
5. To terminate the test, press EXIT.

NET ECHO This diagnostic will cause the L3000e to echo back (retransmit) any bytes received
on the selected port. It is normally used in conjunction with the NET.PORT test described above.
To run this diagnostic, simply select the desired port (1-4) and press ENTER. To stop, press EXIT.

CLR LOG This function clears the RAM message log, where warning, error and other messages
are logged. These messages are normally of interest only to TESCO personnel. Please do not
clear the log unless directed to do so by TESCO.

C LOCK F UNCTIONS (CLOCK)


If the RTC (Real Time Clock) option is present, the following functions are available under the
CLOCK menu:

DISPLAY - Display the current date and time in mm/dd/yy HH.MM.SS.FF format, where:

mm = month (01-12)
dd = day of month (01-31)
yy = year (00-99)
HH = hours (24 hour format)
MM = minutes
SS = seconds
FF = 100ths of seconds
SET - Set Current Date and Time. The LIQ 5 will prompt for:

MONTH
DAY
HOUR
MIN
SEC

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 124


K EYWORD M ANAGEMENT (KEYS)
The L3000e has a unique feature that allows different keywords, or accounts, to be defined that
allow access to different functions through the keyboard. For example, a keyword could be set
up that allowed access only to a few basic functions - examining things and changing Setpoints.
Another keyword could be set up to have access to more advanced features, such as Calibration
and Test Modes. These keywords could then be assigned to different individuals, so that they
are only given access to the functions they need to perform. The factory default for the L3000e
is to have 2 standard keywords defined. For purposes of discussion, we will call them the
Operator Keyword (10) and the Administrator Keyword (77). The default situation is to allow
the Operator Keyword access to all functions except Diagnostics, Multi-Test, Remote Control
and the ability to set up and change keywords. The Administrator Keyword is given access to all
functions, including the ability to set up and change keywords. Keywords may be added,
changed, or deleted using the Administrator Keyword. The Administrator Keyword may even be
redefined to another number. All keyword management functions are found under the SPECIAL
menu, in the KEYS sub menu. This sub menu will only appear if you have unlocked the L3000e
using the Administrator Keyword. There is also a special purpose keyword, 9999. The 9999
keyword represents the LOCKED state of the L3000e. The privileges assigned to 9999 will be
shown when the L3000e is LOCKED (no keyword has been entered). In this way, the L3000e can
be customized to present or not present certain options in the LOCKED state.

Viewing Keywords and Privileges

The list of existing keywords may be viewed using the EXAM.KEYS function. Press the
UP/DOWN keys to go through the list. To see the privileges associated with a keyword, press
the ENTER key when the keyword of interest is displayed. A list of privileges will then be
displayed, which may be traversed with the UP/DOWN keys. To see if the privilege is turned on
or off, press enter - YES or NO will be displayed. Press EXIT to return to the list of privileges.

Adding a Keyword A new keyword may be easily added using the ADD KEY function. After
selecting this option, enter the number of the new keyword you wish to create, then press
ENTER. The keyword will be added will all privileges, except keyword management.

Deleting a Keyword An existing keyword may be deleted using the DEL KEY function. You are
allowed to select from the list of existing keywords using the UP/DOWN keys. When you see
the keyword you wish to delete, press ENTER, and confirm by selecting YES. The keyword will
then be deleted.

Changing a Keyword A keyword may be changed (from 10 to 1, for instance) using the CHG KEY
option. The list of existing keywords is presented - choose the one you wish to change using the
UP/DOWN keys, then press ENTER. Now enter the new keyword.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 125


Changing Privileges for a Keyword The privileges associated with an existing keyword may be
changed using the CHG PRIV function. Select the key you wish to change privileges for using the
UP/DOWN keys and ENTER. The list of privileges is presented and may be traversed using the
UP/DOWN keys. To see/change a given privilege, press ENTER. A YES/NO prompt will be
displayed, with the current setting indicated with the “*”. This setting may be changed by
pressing UP/DOWN, then ENTER.

Below is a table showing the privileges that can be assigned (allowed) by keyword:

A SSIGNABLE P RIVIL EGES


Table 7.4 - Assignable Privileges

PRIVILEGE
EXM LVL
EXM AO
EXM STAT
EXM PUMP
EXM SP
EXM TMR
EXM IDX
EXM FILT
EXM PGM
EXM CFG
RUN/SBY
TEST MNU
TST LVL
TST AO
TST STAT
TST PUMP
TST TMR
TST IDX
MULT.TES
ALRM ACK
CHG MENU
CHG SP
CHG FILT
CHG CAL
CHG CFG
SPEC MNU
RUN DIAG
REPORTS
CLK MNU
SET CLK
CHG KEYS

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 126


R EMOTE C ONTROL (REMOT.CTL)
The L3000e can perform remote operations over established communications channels with
remote L2000's, LIQ 5’s and LIQ 4’s. The functionality provided is as follows:

L3000 E C O N TR O L L I N G AN L2000 OR LIQ 5


• Examine L3000e / LIQ 5 register (SP, AI, AO, DI, DO, T, IR)
• Change L3000e / LIQ 5 register (SP, AI, AO, DI, DO, IR)
• Examine current mode (Run or Standby)
• Change current mode (Run or Standby)

L3000 E C O N TR O L L I N G A LIQ 4
• Examine LIQ 4 register (SP, AI, AO, DI, DO, T)
• Change LIQ 4 register (SP, AI, AO, DI, DO)
• Examine current mode (Run or Standby)
• Change current mode (Run or Standby)

The SPECIAL menu found under the REMOT.CTL menu option provides access to the above
functions. When you access the Remote Control menu, the L3000e will first prompt you to
enter some information about the unit that you want to communicate with. The first prompt
lets you choose between a LIQ 4 and L2000 / LIQ 5. Next, select the Telemetry address of the
unit to communicate with (Network ID and Address for L2000 / LIQ 5, Address only for LIQ 4).
After you have entered the necessary parameters, the menu of functions will be presented. The
following sections describe the four available functions.

E XAMINING R EMOT E R EGISTERS (EXAM.RMT)


To examine a register on the remote unit, use the EXAM.RMT menu option. You will choose
from a list of different register types that are available. Next, choose the register number to
examine, either using the UP/DOWN arrow keys or the number keys (if available). After you
choose the register number and press ENTER, the L3000e will retrieve the information from the
remote unit, using the normal communications parameters for the selected port. If it takes
more than a short time to retrieve the information (due to network traffic, baud rate or
whatever), the L3000e will show a flashing “WAIT” on the display. When the value is received, it
will be displayed. If you get tired of waiting for the communications to complete and wish to
terminate the attempt, press EXIT. Once a value has been retrieved, you may exit the display by
pressing any key. When displaying the value, it is not automatically updated. To retrieve the
value again, press ENTER twice. If you choose to examine a register that doesn’t exist on the
remote unit, INDEX.ERR will be displayed.

C HANGING R EMOTE R EGISTERS (CHNG.RMT)

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 127


To change a register value on the remote unit, use the CHNG.RMT menu option. You will
choose from a list of different register types that are available. Next, choose the register
number to change. After you choose the register number and press ENTER, the L3000e will
retrieve the information from the remote unit to display the current value. Once the value is
received, you may adjust it with the UP/DOWN arrow keys or number keys. When you press
ENTER, the L3000e will write the value to the remote register, then poll for and display the
register value. To return to the register list, press EXIT.

E XAMINING M ODE OF R EMOTE (EXAM.MODE)


To display the current Run or Standby Mode of the remote unit, use the EXAM.MODE option.
Either RUN or SBY will be displayed.

C HANGING M ODE OF R EMOTE (CHNG.MODE)


To change the Run/Standby Mode of the remote unit, use the CHNG.MODE option. The current
mode will be retrieved from the remote unit and displayed (SBY or RUN). You may then use the
UP/DOWN arrow keys to select the other mode. Once the desired mode is shown, press ENTER.
You must now confirm the mode change by using the arrow keys and pressing ENTER. The
L3000e will then set the mode of the remote unit, poll for the mode and display it.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 128


C HAPTER 8: Q WIK L OAD P ROGRAMMING S OFTWARE
I NTRODUCTION
The QwikLoad software is designed as a quick way to link your L3000e / L2000 / LIQ5 and LIQIV
to a standard PC and upload and download programming data. The QwikLoad software uses the
factory default settings of the L3000e / L2000 / LIQ5 and LIQIV.

I NSTALLATION
Loading Software The QwikLoad program is located on the WinBench program disk. It is loaded
into the WinBench subdirectory automatically during the WinBench installation (see Chapter
10).

S TARTING T HE W IN B ENC H P ROGRAM F OR Q WIK L OAD


To start the WinBench™ program, select “Start”, then “Programs”, then left click on the
WinBench™ icon. When the WinBench™ window opens for the first time, customize the
location of the communications icon panel. (1) Place your cursor on the panel, (2) hold your left
mouse button down, (3) drag the panel to the right side of your WinBench™ Window and
release.

WinBench.log Select the minimize bar in the upper right corner of this panel and it becomes an
icon in the lower right corner of the WinBench screen. The LOG tracks all functions you perform
in the current operation of WinBench and provides a record of your usage. Select Save File and
a Dialog Box appears for you to personalize this LOG for future reference. (Save as) If you do
not change the WinBench Log default file name, this information will be over-written on the
next selection of WinBench.

C OMMUNICAT ION S ETUP


Setting up the QwikLoad to communicate with an L3000e Smart I/O L3000e consists of hooking
up the communications cable between your Computer (PC) and the L3000e, and configuring the
serial port communications parameters.

C ONTROLLER TO PC S ERIAL P ORT C ABLE


Communications cables are normally provided by TESCO. One end of the cable should be
connected to the maintenance Port (COM 1) of the L3000e.

L3000e Maintenance Port is the COM1 RJ45 connector found in the front of the L3000e
faceplate.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 129


N OT E See Appendix C for complete cable specifications.

U SING Q WIK L OAD

When you start QwikLoad it defaults to NetWork ID=1 and Node Address=1. If your L3000e has
a different telemetry address, then make changes to QwikLoad so it matches your L3000e
address to communicate properly.

• L3000e/L2000 Maintenance Port is COM 1, 19200-baud, no parity, 8 data bits and 1 stop
bit.
• LIQ5 Maintenance Port is factory defaulted to COM 4, 9600-baud, no parity, 8 data bits and
1 stop bit.
• LIQIV Telemetry Ports are factory defaulted to 9600-baud, odd parity, 8 data bits and 1
stop bit.

L3000 E S ETTINGS
Check the L3000e communication settings now before you go on, by performing the following
steps:

You must first check the L3000e Telemetry address: Use the 32-key or 4-key keyboard on the
L3000e. To find the node address on the L3000e, Press Enter, Read out shows KEYWORD, Press
Enter, Press up arrow to KEY.10, Enter, Read out shows UNLOCKED then changes to SBY MODE.
Enter, then down arrow to SPECIAL, Enter, then down arrow to EXAM CFG, Enter, then down
Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 130
arrow to NET/TLM, Enter, NET.ID. Enter, 1 (is correct) Enter, then down arrow to NODE.ADR.
Enter, Number (1-9999) This is your node address for this L3000e.

1. To check or change the QwikLoad address: Place your cursor on the Address button, under
the communications settings panel, and left click once. A pop-up Dialog box appears.
L3000e Address, Network ID: 1, and Node Address: (1-9999). Highlight the number and key
the number you found on the controller. Click Ok.
2. For other checks or changes to the DEFAULT maintenance port settings: Move your cursor
to the Com Port: button. A pop-up Hint appears, click to change the Active
Communications Port. Left click once, a Dialog box appears, Communications Setup. On the
lower left of the box, left click the button marked Advanced, all of the settings are now
shown: Check your Baud Rate, Computer Port, Protocol, Handshake, Parity, Stop Bits, Lead
Pads and Trail Pads. Select the Default button, left click once to confirm the factory
settings. Then the Ok button.

Q WIK L OAD C ONTROLLER TO PC

It is important to run QwikLoad from the directory that you want to upload or download your
files to or from. QwikLoad will read and write only to that directory.

Upon selection of the UPLOAD BUTTON, QwikLoad will prompt the user with the following
dialog box to select a file or create a one.

If an existing file name is selected, QwikLoad will overwrite the existing files with new data from
the L3000e.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 131


U PLOAD & D OWNL OAD
Button Description

Upload from controller Upload all tables from Controller

Download to controller Download all tables to Controller

X to Exit to WinBench Terminate QwikLoad - return to WinBench

F ILES
QwikLoad uploads/downloads the files associated with each Program/Table associated with the
L3000e. These tables distinctly define the character and operation of the L3000e.

For a complete description of each table please refer to the Control Tables and Files chapter.

Each different file type has a unique file extension. With the exception of the TESCODE Program
Binary File and Macro Key Binary File, all files are ASCII text.

E XIT Q WIK L OAD


Select X in upper right corner to return to WinBench.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 132


C HAPTER 9: P ROGRAMMERS W IN B ENCH
I NTRODUCTION
WinBench™ is a WinNT™ program. This Software is a native NT 32 bit application providing a
complete programming environment for the Tesco Controls, Inc., Programmable Controllers.
WinBench™ provides a user interface with multiple edit windows, pull down menus, tool bars,
and mouse support. WinBench™ communicates with the L3000e / L2000 and LIQ5 through a
serial communications channel, allowing programs and tables to be easily transferred, to and
from the controllers. WinBench™ can also place the Tesco Controls, Inc., controllers in Standby
Mode, Run Mode, and Set/Retrieve the date and time.

I NSTALLATION
Setup Instructions:

1. Start MS Windows\WinNT
2. Insert CD
3. Run SETUP

N O TE If you have a previous version of WinBench™ on your computer, we recommend it be


removed using Control Panel, Add\Remove Programs, before installing the newer version.

TM

S TARTING T HE W IN B ENC H P ROGRAM


To start the WinBench™ program, select “Start”, then “Programs”, then left click on the
WinBench™ icon. When the WinBench™ window opens for the first time, customize the
location of the communications icon panel. (1) Place your cursor on the panel, (2) hold your left
mouse button down, (3) drag the panel to the top side of your WinBench™ Window and
release.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 133


WinBench.log Select the minimize bar in the upper right corner of this panel and it becomes an
icon in the lower right corner of the WinBench screen. The LOG tracks all functions you perform
in the current operation of WinBench and provides a record of your usage. Select, Save File and
a Dialog Box appears for you to personalize this LOG for future reference. (Save as) If you do
not change the WinBench Log default file name, this information will be over-written on the
next selection of WinBench.

C OMMUNICATION S ETUP
Setting up the WinBench™ to communicate with an L3000e consists of hooking up the
communications cable between your Computer (PC) and the L3000e, and configuring the serial
port communications parameters.

PC to L3000e Serial Port Cable Communications cables are normally provided by TESCO. One
end of the cable should be connected to the maintenance Port (COM 1) of the L3000e.

• L3000e Maintenance Port is the COM1 RJ45 connector found on the faceplate.

N O TE See Appendix C for complete cable specifications.

S OFTWARE S ETUP
When you start WinBench™ for the first time, it defaults to NetWork ID=1 and Node Address=1.
If your L3000e has a different telemetry address, then make changes to WinBench™ so it
matches your L3000e address to communicate properly.

• L3000e Maintenance Port is COM 1, 19200-baud, no parity, 8 data bits and 1 stop bit.

Check the L3000e communication settings now before you go on, by performing the following
steps:

You must first check the L3000e Telemetry address: Use the 32-key or 4-key keyboard on the
Display.

To find the node address on the L3000e, Press Enter, Read out shows KEYWORD, Press Enter,
Press up arrow to KEY.10, Enter, Read out shows UNLOCKED then changes to SBY MODE. Enter,
then down arrow to SPECIAL, Enter, then down arrow to EXAM CFG, Enter, then down arrow to

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 134


NET/TLM, Enter, NET.ID. Enter, 1 (is correct) Enter, then down arrow to NODE.ADR. Enter,
Number (1-9999) This is your node address for this L3000e.

1. To check or change the WinBench™ address: Place your cursor on the Address button,
under the communications settings panel, and left click once. A pop-up Dialog box appears.
L3000e Address, Network ID: 1, and Node Address: (1-9999). Highlight the number and key
the number you found on the controller. Click Ok.

2. For other checks or changes to the DEFAULT maintenance port settings: Move your cursor
to the Com Port: button. A pop-up Hint appears, click to change the Active
Communications Port. Left click once, a Dialog box appears, Communications Setup. On the
lower left of the box, left click the button marked Advanced, all of the settings are now
shown: Check your Baud Rate, Computer Port, Protocol, Handshake, Parity, Stop Bits, Lead
Pads and Trail Pads. Select the Default button, left click once to confirm the factory
settings. Then the Ok button.

The communication settings will be remembered from session to session in the WinBench .

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 135


T ESTING THE W IN B ENCH ™ AND L3000 E T ELEMETRY
To confirm your communications are working: Move your cursor to the Title Bar, Control, Left
click once. A Dialog box appears, Left click Get Time. The Date & Time Window appears,
showing a calendar with today’s date and a reading of the current time. You have now received
communications from the L3000e. Select the OK button.

If the Date & Time window does not appear, return to step 1 above, and repeat these
instructions.

Note: A common mistake is not attaching the cable to the correctly designated ninepin serial
port on your computer. Some PC’s have two serial ports, (Not always labeled) COM1 & COM2.
If you are not sure which port is which, try connecting the cable to the other port. Both ports
will work, but you must identify the correct COM Port Number.

C HANGING L3000 E M ODE


Through the WinBench™, you can place the L3000e in two operating modes, Run Mode and
Standby Mode. This is accomplished by choosing the Standby Mode or Run Mode Button. On
the left side of the WinBench™ window, select the mode you wish to place the L3000e in. (You
may also select Control from the pulldown menu bar.) As you make this selection, you will see
the Alpha/ Numeric Display on the L3000e, change accordingly RUN MODE or SBY MODE.
WinBench™ has now communicated with your L3000e, L2000 Programmable Logic Controller.

L3000 E T ABLES
Inside the L3000e, battery backed Static RAM stores and retains the downloaded Tables or files
that configures your L3000e. What is a Table? The L3000e uses Configuration Tables to monitor,
activate, or adjust the corresponding components and features of your L3000e. Each definable,
separate Table is then grouped or assembled into a BATCH. This Batch of Tables can be

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 136


transferred to your computer to be viewed and or modified with WinBench™. The information
contained in the Tables will distinctly control the character and performance of this L3000e.

A SSEMBL ING & D ISASSEMBLING


The WinBench™ automatically assembles a TESCODE™ Program or Macro Table into a binary
format that the L3000e interprets. The assembled binary file can be Uploaded (Transferred
from the L3000e to your computer) or Downloaded (Transferred from your computer to the
L3000e). The Disassemble function loads a binary file (TESCODE™ Program or Macro Table)
from a previously assembled or uploaded file and disassembles it into a source text Table/file
for viewing or editing.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 137


L3000 E T A BL E T Y PE S
With the exception of the TESCODE™ Program Binary File and the Macro Key Binary File all the
files are ASCII type, the following are the Tables/Files used and their Extensions.

TESCODE Program Source File .SRC ASCII Contains the application specific
control program
TESCODE Program Binary File SR5 binary Output of the TESCODE Assembler,
must be created for downloading
also created by uploading a TESCODE
Program from the L3000e
Configuration Table .CFG ASCII determines general settings and
parameters for the L3000e

Network Connection Table .NET ASCII contains information for L3000e to


communicate with other units

Modbus Table .MOD ASCII If a Modbus slave device then this


table provides floating point register
values and register index mapping
Polling Table .POL ASCII list of registers that should be polled
for from other units

Setpoint Table .STP ASCII list of Setpoint values

Filter Constant Table .FLT ASCII list of Analog Input Filter Constants

Calibration Table .CAL ASCII controls conversion of Analog I/O


values to engineering units

Macro Table .MA5 binary output of the Macro Assembler,


must be created for download also
created by uploading a Macro Table
from the L3000e

Macro Table Source File .MAC ASCII specifies action to be executed when
Macro Keys are pressed

Tag Table .TAG ASCII tag names, units, descriptions


associated with registers

LED Table .LED ASCII mapping of Digital Inputs/Outputs,


Alarms and bargraphs to LED's

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 138


Precalibration Table .PRE ASCII adjusts Analog Inputs/Outputs for
accurate readings

Archive Array Table .ARC ASCII sets up L3000e to automatically


store data in Archive Arrays

Card Table .CRD ASCII L3000e physical card and I/O


mapping.
Upload Only
Before you change any information within the original files, use good Windows operating
procedures by making a Backup.

LIQIV I MAGE T ABL ES


LIQIV accesses an IMAGE Table, .LIQ, from this selection you can view the .SRC and .TLM files
derived from this table. (refer to your operators manual for additional information.)

Start-Up selection screen, click on tabs to be displayed.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 139


TESCODE PROGRAM, with disassembled Source code.

T ELEMETRY AND O PTIONS C ONF IGURATION S CREENS

The Telemetry screen shows the Communications settings.

Options and Configurations on this screen outline the setup for the basic operation. Changes to
be made by Service Personnel only.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 140


C ALIBRATION AND S ETPOINT S CREENS

View of the Calibration settings.

Setpoints for 127 settings allow you to use this simple matrix and then click Update to activate
the changes.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 141


S INGLE F IL E U PLOADING
For practice, let’s bring a Table from the L3000e to the WinBench™ (Single File Upload).

1. Click on the UP File Button located on the left side of the WinBench™ Window.
2. The File Upload dialog box appears and the File name text box is ready for you to type
“Sample”.

This unique file extension will default to .src (or Source Code) for you in this demonstration and
locate the Sample file in the WinBench™ directory of your hard-drive.

V IEWING THE S AM PLE T ABLE

3. Click Open. As the Source code Table is being uploaded to your hard-drive, the L3000e
Alpha/ Numeric Display screen reads UL.PGM., (upload programs) as it is sending this table
to you.
4. Now a Information Dialog box appears, File Disassembled, click OK.

The Sample Table viewed in the Active Editor Window. When editing or changing a L3000e
table or program it is generally a good practice to Upload the table from the L3000e, and then
modify that table image in order to have the most up to date copy.

Saving a Table / File Click, Save File, now let’s put this sample table away without making any
changes.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 142


Select the X in the upper corner of this screen to close the table.

S INGLE T ABL E /F IL E D OWNLOADING


1. To download a table, you must first make sure it is displayed in the Active Editor window.
(Click on the Tab of the desired Table).
2. Click the Dn File Button, (Download Table) if no directory file is open, the file download
dialog box appears and the File name text box is ready for you to type.
3. You will be prompted for a File Name and the text box will request the unique file
extension of this Table or program.
4. If you have not saved the directory file since the last time you edited tables in WinBench™,
you will be prompted to Save Changes before continuing.
5. And if you are downloading a TESCODE™ program, you will also be prompted to Assemble.
A Progress window labeled Downloading will appear on the screen with the name of the
current file being downloaded, the directory where the file is located and the
communications configuration information.
6. When WinBench™ has finished downloading the table, a second window will appear. This
window will be labeled Information or Error. Both will require you to click OK, or <Enter>
before continuing.

C REATING A NEW B ATCH


The Batch Upload option is used for uploading multiple associated tables from the L3000e to
your computer. This feature is used the same way as Single Table Upload. WinBench™ will ask
for the name of the file.

Let’s create a Batch Upload. Left click on New Batch button. Select the Programmable Logic
Controller type. Then, OK. The Save as dialog window appears, Save in: WinBench. Save as type:
Batch Files [*.bch] In the File name type, Demo, then click on Save button. Now you can view
the Active Editor Window.
Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 143
T HE B ATCH S ETUP W INDOW
These tables are currently empty, except the Configuration Table from the Demo Batch file.
Each Tab is a separate Table/File, click on the Configuration Tab.

B ATCH U PLOADING T ABLES FROM T HE L3000 E


To Upload and view the Tables that are loaded in the L3000e, that will be saved in this Demo
Batch File (Demo.bch), left click the Up Batch button.

1. As you make this selection, you will see the Alpha/ Numeric Display on the Programmable
Logic Controller (L3000e) change with each Table. UL (Up load) and table name is being
transmitted to your PC.
2. You will receive a dialog window titled, Confirm. The compiled TESCODE is newer than the
source file, Replace? Click OK.
3. The next dialog window titled, Information. File Disassembled. Click OK.
4. Then a dialog window titled, Confirm. The compiled MACRO is newer than the source file,
Replace? Click OK.
5. Finally, a dialog window titled Information. File Disassembled. Click OK.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 144


P RINTING A T ABLE
To Print a Table, select File from the Task Bar, then File Print. This option will print the text
selected in the open, Active Editor Window. The Print feature is configured as LPT1 (Printer
Port) of your computer.

V IEWING T ABLES IN THE B ATCH E DITOR


This window of the Active Editor shows the uploaded TESCODE program.

This is the Active Editor where text editing of the program/table source text files can be viewed
or modified. WinBench™ allows you to open multiple Active Editor windows for ease of data
lookup and the transferring of text from one window to another. You can also load text from
3.5" Disks or via a Modem.

To select a table/file, just click on the TAB representing the program/table you want to open.
The Table/file appears and you scroll up or down with the scroll bar on the right of the Active
Editor window. Insert your cursor on the text you want to change, highlight the text, (Hold
down left mouse button and drag to highlight) and then type in the new information.

D OWNLOAD B ATCH T ABLES /F ILES


To send modified tables from your PC to the Programmable Logic Controller, Left click on the
Dn Batch button (Download Batch Files/Tables).

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 145


WinBench™ uses similar features from the Dn File (Download Single Table/File) option for
downloading multiple Table/files in Batches to the L3000e.

T HE A RCHIVE A RRAY T ABLES (O PTIONAL )


Archive Data Tools are an option that must be purchased with the Tesco L3000e. The L3000e
provides several functions for plotting data stored in the Archive Array table.

From the Task Bar, Select Data, click on Get Archive Directory.

The tables of Archive Array Data are listed in the directory. Make your selection, and Uploading
of the Archived Data Arrays that are stored in this L3000e, and the array status, will look like
this. You may select a starting time/date and the ending time/date or upload a specific time
range. This data is designed to import into Spreadsheets and Databases as a common tool for
your reports. For additional information on the Data Archiving Modules available for the LIQ5
and the L3000e consult the L3000e manual.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 146


O THER T ABLES
The Communication Programs include, Network Connection Table, Quiescent Telemetry, and
Polling Table, allowing Dialup features (Optional) for remotely retrieving data real time.
Calibration Programs with tables for Precalibration, Calibration and Filter Constant. To view or
edit these tables, select another TAB, just click on it. When you are finished editing, click the
Save File Button on the WinBench™ Task Bar, it will save the Active File Changes you have just
made.

Exit the Active Editor by clicking the X in the upper right corner.

V IEWING THE C ARD T ABLE ( L2000 O NLY )


From the Card Table, the main tab opens to reveal tabs for Digital Inputs, Digital Outputs,
Analog Inputs, and Analog Outputs. Thus showing the terminal wiring information on the
L3000e.

T RANSFERRING T ABLES
Examples of moving data, Tables from one Programmable Logic Controllers to another or from
your Personal Computer to a L3000e is as follows:

Note: Tables and Programs used on the LIQ5 and L3000e are compatible.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 147


C OPYING LIQ5 / L3000 E B ATCH FILES TO 3.5" DISK (*. BCH )
Making a copy of Tables from a existing L3000e, that you want to load into another L3000e.
Requires first, uploading the desired Batch Tables that are loaded in the source L3000e.

Left click the Up Batch button

This is the uploaded TESCODE™ program, disassembled and stored in your hard drive as;
C:\Program Files\TESCO\WinBench\Sample.SRC. You can now scroll down the Table (Locate
your cursor on the bar at the right side of this window, hold in the left mouse button and pull
the bar down.) and analyze the settings from the L3000e. You can also print a copy of this
Table.

S AVING THESE T ABLES INTO A B ATCH F ILE


1. The Save as dialog window appears, Save in: WinBench. Save as type: Batch Files [*.bch]

2. In the File name type, Your_File_Name, then click on Save button.

3. You will receive a dialog window titled, Confirm. The compiled TESCODE is newer than the
source file, Replace? Click OK.

4. The next dialog window titled, Information. File Disassembled. Click OK.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 148


5. Then a dialog window titled, Confirm. The compiled MACRO is newer than the source file,
Replace?. Click OK.

6. Finally, a dialog window titled Information. File Disassembled. Click OK.

C OPY T HE B ATCH F ILE TO DISK


1. From the Windows Explorer, C:\Program\TESCO\WinBench, highlight the batch files you just
uploaded. You will see several files in the WinBench directory, to select your uploaded batch
easily.

2. Click on the Modified bar on the top of the directory, this will rearrange the files by date and
time making it simple to select the new uploaded batch files.

3. Put your cursor on the top file you want to copy, and select it. Then hold down the Shift key
on the keyboard, while moving your cursor to the last file with the time and date the same, and
select it. All the new uploaded batch files are now selected (highlighted).

C OPYING A LIQ5 B ATCH TO L3000 E B ATCH

WARNING
Some configuration considerations for I/O counts and LED Tables may be required when
changing between types of L3000e’s. Again, the procedure for making copies of tables/file for
the LIQ5 is the same as shown above. The Import LIQ5 to L3000e button will assign the Active
Editor screen to show L3000e Tables.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 149


N ETWORK ING AND T ELEMETRY
WinBench ™ is a tool that is designed to operate over existing telemetry communication
channels for remote uploads and downloads. The TESCO, L3000e can be connected with other
PLC’s, L2000, LIQ5’s, LIQ4’s or SCADA systems over several communications type networks. The
network operates by transmitting messages in a language referred to as a Telemetry Protocol.
The physical number of components and configurations in a network is as varied as the types of
application requirements, like, transmission medium and distance, data rate, physical
constraints, cost factors just to list a few. Each L3000e has a unique address to identify it, in
order for units to communicate, they must be connected together in one or more networks.

A network is a group of L3000e’s connected together by a transmission media, which may


consist of: RS-232, RS-485, On-line modem, leased-line/buried cable, Dialup modem telephone,
Ethernet, spread spectrum radio, fiber optic or Digital Data Network. The Network Topology
might include; Broadcast, Point-to- Point, combinations of both or Tree Networking, and has
the ability to automatically switch to an alternate path. WinBench™ running on a Laptop
computer with Win95/98 or NT operating system, allows a simple method for connecting
directly to Tesco L3000e, L2000 and LIQ5’s maintenance/ telemetry ports to bypass your
network.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 150


RS-232 TO RS-485 B US

Select your Protocol


from the
Communication Setup
panel. WinBench™
must be configured to
The RS-232 line driver is available on the LIQ5, LIQ4 and the communicate with the
L3000e for transmitting data. drivers on your system.

The RS-485 line driver interface converter allows the RS-232 signal to
be transmitted over much longer distances, reduces electrical noise,
provides transient voltage protection and allows multiple (up to 64)
L3000e’s to be connected together for cascading data.

Sample Multipoint
Operation with 485 line
drivers, select the 485
Protocol from the
WinBench™
communications panel.

D IALUP M ODEM
If your system uses the optional Dialup modem
supplied from Tesco Controls, allowing
continuous communications with a LIQ2000,
LIQ5 or L3000e, you must setup the correct
configuration.

From the Communications


Setup panel, select the
Dialup Modem button,
then select the Default
button. The correct
Protocol will be selected
automatically.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 151


To use the Dialup Modem on your PC with WinBench™, select Setup
from the Task bar, Dialup Options, then Configure Dialup.

Select Default Settings to configure the modem string. Adjust the speaker volume.
Click, Use Active Phone Book Numbers. The Phone Book will appear with listings of
your system to choose from. This Phone Book will also appear from the Dialup
Options tab. WinBench™ can now use the Dialup modem.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 152


M ENUS O PTIONS
P ULL -D OWN M ENUS
To access the pull-down menu selections of the Task Bar across the top of the screen with the
keyboard, hold down the <Alt> key then type the first letter of the menu item that you wish to
access. Once the pull-down menu is selected, you may scroll through the options of that menu
by using the <Up> or <Down> arrow keys. Some of the functions available in the pull-down
menus will display a dialog box for the purpose of gathering further information to perform the
selected function. When a dialog box is being displayed, and the mouse is not being used, the
arrow keys will not be able to move the cursor to all the items available in the dialog box. In the
previously mentioned case, the arrow keys will only allow you to move inside the item that is
highlighted. To move to another item inside the dialog box, use the <Tab> key. Press the <Tab>
key until the item desired is highlighted. To toggle an option on or off, you must use the
<Space> bar.

M OUSE C ONTROL AND K EYBOARD


The WinBench™ user interface provides the capability of menu selections with the keyboard or
with the mouse. To access menu options with the mouse, move your cursor over the menu
item you wish to select, then click the left mouse button once. When choosing options in a
dialog box, left click on the desired option or options and the item will be selected, then left
click OK or Cancel to finish the transaction. A file may be selected from a list of files in a dialog
box by double clicking on the desired file name. Keyboard commands are shown in the dialog
boxes as a capital letter underlined, as in Ok.

C HANGING F ONT FOR A CTIVE E DITOR W INDOW


You can customize your Font on the Active Editor dialog window. From the Task bar select
Setup, then Change Font Editor, the dialog box appears with Font, Font Style, Size, Effects,
Color, and Script. Sample, displays your selections as you change them. Then select OK or
Cancel. Note this modification will appear the next time that you open WinBench™, and then
the Active Editor.

C HANGING S CREEN C OLORS FOR A CTIVE E DITOR W INDOW


You can also change the background color on the Active Editor dialog window. From the Task
bar select Setup then, Change Background Color, the dialog box appears with a pallet of Basic
colors or Custom colors to choose from, left click on your color. Then select OK or Cancel. Note
this change will appear the next time that you open WinBench™, and then the Active Editor.

S OFTWARE V ERSION I NFORMATION

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 153


When the Help option is chosen from the title bar, and About is selected, a dialog box will
appear displaying the current WinBench™ version information.

L EAVING W IN B ENC H ™
To Exit the WinBench™ you can select File and then select Exit or left click the X in the upper
right corner of the window.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 154


A PPENDIX A: S PECIFICATIONS

D IMENSIONS

Card Dimensions -- Standard 3U VME cards.

The following Dimensions apply to Tesco card cages.


See Appendix B for mounting dimensions.

5 Slot Cage W 7.15", H 5.27", D 8.2"


12 Slot Cage W 12.75", H 5.27", D 8.2"

All cards: not more than 7 oz. (198g) each.

Tesco 5 slot card cage, including backplane: 1lb 3.5oz. ( 552g )

Tesco 12 slot card cage, including backplane: 1lb 15oz. ( 878g )

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 1


P OWER R EQUIREM ENTS

*Total unregulated
+5 Volts +12 Volts
12 Volts

L3000 Processor Module Only. typical 0.4A 20uA 0.4A

High Density I/O Card and Terminal Unit. typical 0.05A .05A 0.1A

High Density I/O Card and Terminal Unit. max. 0.1A .35A 0.4A

LED Display option. typical 0.05A 0.2A 0.3A

LED Display option. max. 0.1A 2.3A 2.4A

* Total current required from 12V backup battery.

E NVIRONMENTAL

Environmental specifications apply to the entire L2000 product,


including the card cage, cards and terminal boards.

Operating Temperature 40o to 200oF ( -40o to 93oC ) Storage


Temperature -40o to 200oF ( -40o to 93oC ) Relative
Humidity 5% to 95% non-condensing

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 2


P ROCESSOR M ODU LE

CPU Texas Instruments OMAP 3730 1GHZ


Standard 3 full handshake RS-232 ports, max. baud 57,600.
Comm 10/100 Ethernet, 4 High Speed USB

Standard SRAM 2 Megabyte

Standard Flash 16 Gbytes


Firmware OS QNX Realtime operating system.
SRAM Battery Lithium. >10 year useful life.

Power Fail Detect Safe system shutdown upon loss of power.

Watchdog System is reset within 5 second of failure

Mode Indicators 8 LED’s

Location Reserved processor slot (far left slot) in TESCO


card cages. Will require 2 slots in other card cages.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 3


H IGH D ENSITY I/O C ARD

I/O Count by Type Analog Inputs 6


Analog Outputs 2
Digital Inputs 16
Digital Outputs 8

A NALOG I NPUTS
Resolution 12-bit
Type Differential or Single Ended
Modes Current or Voltage
Input Voltage Range (Voltage Mode) 0 to 5 V.
Input Current Range (Current Mode) 4 to 20mA.
Accuracy +/- 1 LSB
Linearity +/- 1 LSB
Input Impedance > 4MΩ
Common Mode Voltage 96V
Internal Scan Rate 10μs
Overvoltage protection MOVs, Transorb, Fuse,
Spark Gap

A NALOG O UTPUTS
Resolution 12-bit
Type Differential or Single Ended
Modes Current or Voltage
Common Mode Voltage 96V
Output Current Range (Current Mode) 4 to 20mA.
Accuracy +/- 1/2 LSB
Linearity +/- 1 LSB
Output Impedance > 120Ω
Overvoltage protection MOVs, Transorb,Fuse
Maximum Loop Impedance (Current Mode) 1kΩ
Output Capacitance .001μf

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 4


D IGITAL I NPUTS
Type Opto Isolated
Isolation Voltage 7500V
Input Sense Dry Contact

D IGITAL O UT PUTS :
Type Dry Contact
Current Rating 30 VDC 10A resistive load 7A inductive load
120 VAC 10A resistive load 7A inductive load
Horse Power Rating 120 VAC 1/6 Horse Power
Operate / Release Time 20ms max.
Frequency Response 1/2Hz
Life Expectancy Mechanical 50,000,000 operations or more.
Electrical 500,000 operations or more.

Location Any slot (except processor slot), address must correspond to slot.

H IGH D ENSITY I/O T ERMIN AL B LOCK

Loop Power Supply


DC-DC Converter. Will drive AIs and AOs.
Nominal Output Voltage 24 VDC
Max Output Current 161 mA

Wire Size 22 to 12 gauge (copper only)

External Power Voltage Ranges:


Analog loop 24 - 30 VDC
Digital Input 12 VDC

Fuse Ratings:
Individual AI / AO 1/4A
DI source / common 2A

Terminal Block Type Pull apart two piece

Mounting Standard DIN track mount

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 5


A PPENDIX B: D IMENSIONS /M OUNTING

L3000 E C ARD C AGES

5 Slot Depth, 5 and 12 Slot

12 Slot

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 1


D ISPLAYS
L ARGE D ISPLAY

S MALL D ISPLAY

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 2


H IGH D ENSITY I/O T ERMINAL B LOCK

Mounts Via Standard Plastic Rail

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 3


A PPENDIX C: S ERIAL P ORT I NTERFACE AND C ABLES
P IN N UMBERING
The following diagram shows the pin number assignment for the L3000e RS-232 ports.

COM1 RS-232 PORT PINOUT


The L3000e COM1 maintenance port is accessed via the RJ45 style connector in the faceplate of
the processor module.

Signal Pin #
nc 1
nc 2
nc 3
SG 4
RXD 5
TXD 6

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 1


COM2 / COM3 RS-232 PORT PINOUT
COM2 and COM3 on the L3000e, are RS-232 standard, full handshake, DTE ports.

L3000e
RJ45 Function DB9p DB25p
1 DSR 6 6
2 DCD 1 8
3 DTR 4 20
4 SG 5 7
5 RD 2 3
6 TD 3 2
7 CTS 8 5
8 RTS 7 4

COM1 / COM2 / COM3 N ULL M ODEM C ABLE PINOUT


When connecting two DTE devices together a special cable is required. This cable is commonly
known as a "null modem cable". This cable may be used to connect an L3000e to another
L3000e, a computer, or any other DTE device. Note that this cable defeats all handshaking, so
no hardware flow control is possible.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 2


S IGNAL D EFINIT IONS
Name Signal L3000e Description
DCD Data Carrier Detect Input Indicates a carrier signal is present on the line.
DCD Must be asserted for the L3000e to recieve.
DCD may be considered clear or busy for
transmitting according to DCD.BUSY setting in
config table.
RXD Recieve Data Input Incoming data.
TXD Transmit Data Output Outgoing data.
DTR Data Terminal Ready Output Indicates the L3000e online. DTR is always
asserted on the L3000e.
SG Signal Ground Common Reference/return for all signals. Required.
DSR Data Set Ready Input Indicates external device on this port is online.
Must be asserted for L3000e to send.
RTS Request To Send Output Indicates the L3000e is ready to send data.
CTS Clear To Send Input Indicates external device on this port is ready to
recieve data. Must be asserted for L3000e to
send.
RI Ring Indicator Input Indicates incoming ring detected on external
device.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 3


A PPENDIX D: T ROUBLESHOOTING
This appendix contains some information and tips that may help you isolate and resolve
problems. If you are not able to resolve the problem, call Tesco Controls and ask for Customer
Service for the L3000e product:

Tesco Controls, Inc: (916) 395-8800

E RROR D ISPLAY M ESSAGES


The following section applies to L3000e's with the optional display. If your L3000e is not
equipped with a display, please see the next section on troubleshooting without the display.

The following section lists a number of possible messages that you may see on the L3000e
alphanumeric display, describes the meaning of the message, and recommends corrective
action (if any).

BINARY INVALID SYMBOL


You have entered an incorrect TESCODE key sequence from the keyboard.

Action

Re-enter the key sequence as a proper TESCODE statement.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 1


CAL ERR
This message comes up in Calibration Mode if you have performed an incorrect calibration
where both calibration points are the same (you must choose two different points).

Action

Recalibrate the offending Analog Input/Output, using two different points for the calibration.
See Operation chapter, Calibration section.

CARD.ERR*
This message indicates an error was detected with one or more cards in the L3000e. This
message includes the number of the offending card. Numbering in the CARD.ERR message
starts at zero and is based on the cards address. For example if you see the message CARD.ERR
3, it is actually the forth card that has a problem. Note also this card should be in its
corresponding slot but it may not necessarily be.

* indicates a condition that will cause the error LED to light.

Action

Make sure all connectors are securely seated. Check and if necessary replace the offending
card.

CFAIL. PO R T . I D . AD R OR CF. PO R T . I D . AD R OR F. PO R T . I D . AD R
This message means that a communications failure has occurred. The different forms of this
message (CFAIL, CF, F) result from the fact that there may not be enough room to display the
full length message on the 8-character alphanumeric display - if so, a shorter version of the full
CFAIL message is used. The port specifies the communications port the failure occurred on (1
through 4). The id specifies the Network ID of the unit with which the L3000e was trying to
communicate. The adr specifies the Node Address of the unit the L3000e was trying to
communicate with.

Action

See the Communications Troubleshooting section which follows.

• indicates a condition that will cause the error LED to light.

CFG.ERR
When attempting to start Telemetry (on power-up or other reinitialization), the L3000e has
detected a problem between the Configuration and Network Connection Tables. Normally, any
errors in the Tables are caught when you download the table to the L3000e, however, since
there are some dependencies between the Network Connection and Configuration Tables, a

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 2


problem can occur if the Configuration table is changed after the Network Connection table has
already been downloaded. The problem is most likely one of the following:

• There are too many entries in the Network Connection Table for the size of the
transmission queue on a given port in the Configuration Table. In order to guarantee
proper reconnection after a communication failure, there must be at least 2 more
transmission queue slots defined for a port than there are Network Connection Table
entries that use that port as the primary port.
• A dial string is missing for a port configured for dialup modem communications.
• The protocol defined for the port in the Configuration Table and the Device Type specified
in the Network Connection Table for an entry that uses the port do not correspond
properly (not an allowed combination).

Action

To help locate the specific problem, you can download the Network Connection Table again
from the WinBench, which should give you a more specific error message.

DL.ERROR
When a program/configuration table is downloaded to the L3000e, if an error is found in the
table, the DL.ERROR message will appear on the L3000e display. If no error was detected,
DL.DONE is shown.

Action

If DL.ERROR appears, determine the cause of the error in the table that was downloaded
(normally this is shown in a message box in the WinBench), and download again.

INDEX.ERR
You have referenced a register that is out of range (doesn’t exist) on the L3000e. For instance,
EXAM LEVEL 999, if there is no LEVEL 999. This error can be triggered from the keyboard, or can
occur in a TESCODE Program. If it occurs in a program, the line number and register/index will
also be identified and the L3000e will go to Standby Mode.

Action

Re-enter the key sequence if a mistake was made from the keyboard, or correct the invalid line
of TESCODE if the problem is in a program. If you wish to increase the number of registers
allocated in the L3000e, change the appropriate field in the Configuration Table (see Control
Tables and Files chapter).

KEY ERR

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 3


You have entered an incorrect key sequence, or pressed a key that is not allowed in the current
state of operation.

Action

Re-enter the key sequence, or terminate the current state before you press the desired key
(usually by pressing EXIT one or more times).

• indicates a condition that will cause the error LED to light.

LOCKING
If this message appears briefly on the display, it means that the keyboard has not been used in
a while, and the L3000e is locking itself so that you have to put in your keyword again to unlock
it. This is a security feature to prevent someone from unlocking the L3000e and forgetting to
lock it again.

Action

No action required (not an error message). If you wish to adjust the time-out period, or disable
this feature, change the LOCK.TIME field in the Configuration Table (see Control Tables and Files
chapter).

MODE ERR
You have tried to make a mode transition that is not allowed. For instance, you cannot go to
Configuration Mode from Run Mode (you must first go to Standby Mode).

Action

Set the L3000e to Standby Mode first, then set the new desired mode.

PASS ERR
This message can appear if you try to change modes using a password/keyword that is not
configured in the L3000e. For instance, if you try to change to Run Mode using the keystrokes
89.3 ENTER, and there is no 89 keyword, then PASS ERR will appear.

Action

Try the mode change again with the proper keyword. To set up new keywords, see the Keyword
Management section of the Special Functions chapter.

POLL.ERR
When attempting to start Polling Telemetry (on power-up, changing to Run Mode, or re-
enabling Polling using the Telemetry Control Setpoint), the L3000e has detected a problem with
the Polling Table. If this message appears, Polling Telemetry will not start. Normally, any errors
in the Polling Table are caught when you download the table to the L3000e, however, since
Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 4
there are some dependencies between the Polling Table and some other tables, a problem can
occur if the Network Connection Table or configuration Table is changed after the Polling Table
has been downloaded. The problem is most likely one of the following:

• The Polling Table references an entry in the Network Connection Table that has since been
deleted.
• The Polling Table references register(s) that have since been removed from the system
(register count in the Configuration Table reduced).

Action

To locate the problem, you can download the Polling Table again from the WinBench, which
should give you a more specific error message.

PWR.FAIL
The voltage at the 12 volt input to the L3000e has dropped below 10 volts. This typically
happens for less than a second when the L3000e loses power, however it may also occur if the
L3000e is running on battery and the battery voltage drops below 10 volts.

Action

This error will clear itself when proper power is restored to the L3000e.

QUE FULL
This message can appear when the L3000e is trying to send out a remote control message (see
Remote Control section in Special Functions chapter). It indicates that the Remote Control
function was unable to put a message on the transmission queue after trying several times,
because the queue was full. This could happen if there is a great deal of communications
activity being originated on the same port that you are trying to run Remote Control on.

Action

You can simply try the operation again to see if it succeeds. If the QUE FULL message comes up
frequently, you may wish to increase the queue size for the port (see Configuration Table
section of the Control Tables and Files chapter).

QUIES.ERR
When attempting to start Quiescent Telemetry (on power-up, changing to Run Mode, or re-
enabling Quiescent using the Telemetry Control Setpoint), the L3000e has detected a problem
with the Quiescent Telemetry Table. If this message appears, Quiescent Telemetry will not
start. Normally, any errors in the Quiescent Table are caught when you download the table to
the L3000e, however, since there are some dependencies between the Quiescent Table and
some other tables, a problem can occur if the Network Connection Table or Configuration Table

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 5


is changed after the Quiescent Table has been downloaded. The problem is most likely one of
the following:

• The Quiescent Table references an entry in the Network Connection Table that has since
been deleted.
• The Quiescent Table references register(s) that have since been removed from the system
(register count in the Configuration Table reduced).

Action

To locate the problem, you can download the Quiescent Table again from the WinBench, which
should give you a more specific error message.

SET.CLOCK
When you turn the L3000e on, if this message appears, it indicates that the Real Time Clock has
not been set, and needs to be set.

Action

To set the RTC, press ENTER when the SET.CLOCK message is shown, and the L3000e will walk
you through setting the time and date.

UNARY OR INVALID OR SYMBOL


You have entered an incorrect TESCODE key sequence from the keyboard.

Action

Re-enter the key sequence as a proper TESCODE statement.

WP.FAIL*
When the L3000e is powered up, it checks to see that the RAM Write Protection circuitry is
functional by writing to a byte in the Write-Protected RAM area. If the test fails, the WP.FAIL
message appears, and the L3000e does not enter Run Mode.

Action

Contact TESCO for L3000e repair/replacement.

• indicates a condition that will cause the error LED to light.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 6


T ROUBLESHOOT ING W IT HOUT THE D ISPLAY O PTION
Although more difficult, troubleshooting the L3000e without a display installed is possible,
using the methods described below.

T H E E R RO R LED
The error LED on the L3000e Processor Module faceplate indicates a serious error condition has
occurred. The error messages marked with an asterisk (*) in the previous section indicate
conditions that will cause the error LED to come on. To clear the error LED cycle power to the
L3000e or use the reset jumper ( JP2 on the processor card ). If resetting the L3000e fails to
clear the error condition, you may try to NMI the unit. See Appendix E for more information on
the NMI and Reset jumper pins.

T H E S Y S TE M L O G S
The system logs contain information about the events that occurred at the L3000e. The
message Log contains warning error and other messages. The telemetry status log contains
communications related messages. To view the system logs, connect a PC, with a terminal
program running, to the maintenance port of the L3000e, and dump the log to the maintenance
port using the REPORTS function under the SPECIAL functions menu.

N OT E After performing an NMI no information will be available in the logs.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 7


C OMMUNICATIONS T ROUBLESHOOT ING
Communications problems usually result from one of the following conditions (with the most
common problems listed first):

• Wiring: the L3000e is not properly wired to the communications equipment/circuit (See
Appendix on Serial Port Interface Cables and Jumper Settings).
• Configuration: one or more of the tables in the L3000e (Configuration, Network
Connection, Polling, Quiescent) are not set up properly for the type of communications
desired (check baud rate, parity, protocol, etc. - see Control Tables and Files chapter).
• Communications Equipment Hardware: attached communications equipment (modem,
radio, etc.) may not be configured or adjusted properly, or may be malfunctioning (see
communications equipment documentation).
• L3000e Hardware: the L3000e itself may not be functioning properly (contact TESCO).

Attempt to isolate and correct the problem, using the list of likely problems shown above.
Double-check all wiring, table settings, jumpers and communications equipment setup. If this
does not resolve the problem, there are troubleshooting tools built in to the L3000e that may
help you isolate the problem.

M AI N T EN AN C E P O R T D E FA U LT S
If you are having problems communicating to the L3000e maintenance port, (COM1) it may be
due to an incorrect setting for this port stored in the config table, or it could be due to data
being redirected to this port interfering with communication. To solve this problem the L3000e
will reset the maintenance port to known values and turn off all output redirected to this port
each time the unit is powered up. On powerup the L3000e will set COM1 to 19,200 BPS, NO
parity, 8 data bits, 1 stop bit. Standard Out will also be set to NONE on powerup.

T R AN S MI T (XMT) AN D R E C EI V E (RCV) LED’ S


The L3000e has two LED’s (in the Mode LED group) that indicate communications activity. The
LED’s can be used to show activity for a specific port, or any combination of ports (the factory
default is all ports). The port(s) assigned to the LED’s may be changed in the Configuration
Table, with the XMT.RCV field. The XMT LED will flash briefly each time the L3000e sends a
Telemetry message. It will also flash to indicate characters being send out the Maintenance
Port, if any monitoring is being done to that port (more on monitoring to come). The RCV LED
flashes briefly once for each valid Telemetry message that the L3000e receives that is
addressed to it.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 8


T ELEMETRY M ONIT ORING TO A L PHANUMERIC D ISPLAY
The L3000e may be made to monitor Telemetry message activity to the alphanumeric display (if
installed), using the Telemetry Control Setpoint. When this feature is turned on, all message
activity that the L3000e sees is shown (not limited to messages addressed to it or messages on
a certain port). The Telemetry Control Setpoint may be defined in the Configuration Table
(default is SP 126). By placing a 2.0 in the Setpoint, activity is monitored to the display in the
form:

FROM.TO.TYPE

For instance, 2.3.7.65.ACK would mean that an ACK message was sent from unit 2.3 to unit
7.65. The first number in the unit address information is the Network ID, and the second
number is the Node Address. If there is not enough room to display all of the information, the
Network ID’s are omitted. The ACK refers to an Acknowledge message. The abbreviations that
are used for various messages are found below:

D A T A E X PR E S S P L US (L3000 E / L2000 / LIQ5) M E S S AG E S :


Abbreviation Type Code (hex) Message Name
MR 20 Multiple Register
RSD 30 Request Scalar Dump
RBD 31 Request Binary Dump
SD 40 Scalar Dump
BD 41 Binary Dump
ACK 80 Acknow ledge
NAK 81 Negative Acknow ledge
SC A0 Special Command
ROS A1 Request Operational Status
OS A2 Operational Status
RC A3 Request Clock
C A4 Clock
CFN A5 Communications Failure Notification
RSN A6 Request Serial Number/Version
SN A7 Serial Number/Version
RDT 90 Request Data Transfer
DT 91 Data Transfer
RAD B0 Request Archive Directory
AD B1 Archive Directory
RAT B2 Request Archive Transfer
AT B3 Archive Transfer

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 9


D A T A E X PR E S S (LIQ 4) M E S S A G E S :
Abbreviation Type Code (hex) Message Name
CFN 14 Communication Failure Notification
LD 8A Levels Dump
MD 83 Memory Dump
MRC 7 Memory Read Command
RLD 17 Request Levels Dump
RTD 18 Request Timers Dump
SL 11 Send Level
SPR 80 Status Poll Response
SSP 12 Send Status/Pump
ST 13 Send Timer
TD 8B Timers Dump
USC 9 Unit Special Command

MODBUS M E S S A G E S :
Abbreviation Type Code (hex) Message Name
ROS 1 Request Output Status
RIS 2 Request Input Status
ROR 3 Request Output Registers
RIR 4 Request Input Registers
FSC 5 Force Single Coil
PSR 6 Preset Single Register

DGH R E M O TE I/O M E S S AG E S :
Abbreviation Type Code (hex) Message Name
RD n/a Read Data
DI n/a Digital Input
DO n/a Digital Output
AO n/a Analog Output
ACK n/a Acknowledge

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 10


T ELEMETRY M ONIT ORING TO OTHER O UTPUT D EVIC ES
More detailed monitoring may be directed to an output device other than the alphanumeric
display. Monitoring output may be sent to the Maintenance Port (COM1) for display/capture by
an attached PC running terminal emulation software (such as ProComm or Telix). This type of
monitoring is controlled by the following fields in the Configuration Table:

M O N I T O R N E TW O RK T R AF F I C A D D RE S S E D TO U S (NET.US)
This field determines if Network/Telemetry messaging addressed to this unit is monitored.
Possible settings are NONE, or any combination of COM1, COM2, or COM3 to specify the
port(s) for which monitoring is to occur. Output generated is sent to the Standard Output
Device (defined by the STD.OUT setting). Below is a sample of message monitor output with
NET.US turned on for port 2:

M O N I T O R N E TW O RK T R AF F I C A D D RE S S E D TO A N Y U N I T (NET.ALL)
This field determines if Network/Telemetry messaging addressed to any unit is monitored.
Possible settings are NONE, or any combination of COM1, COM2, or COM3 to specify the
port(s) for which monitoring is to occur. Output generated is sent to the Standard Output
Device (defined by the STD.OUT setting).

M O N I T O R N E TW O RK R E TRI E S (NET.RETRY)
This field determines if Network/Telemetry retries (on BUSY, or NO ACK conditions) for this unit
are monitored. Possible settings are NONE, or any combination of COM1, COM2, or COM3 to
specify the port(s) for which monitoring is to occur. Output generated is sent to the Standard
Output Device (defined by the STD.OUT setting). Below is a sample of message monitor output
with NET.US and NET.RETRY turned on for COM2:

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 11


M O N I T O R N E TW O RK T R AF F I C , R A W M O D E (NET.RAW)
This field determines if Network/Telemetry messaging (for all units heard) is monitored, in raw
mode. This mode shows the raw, data bytes transmitted and received. Possible settings are
NONE, or any combination of COM1, COM2, or COM3 to specify the port(s) for which
monitoring is to occur. Output generated is sent to the Standard Output Device (defined by the
STD.OUT setting). Below is a sample of message monitor output with NET.RAW turned on for
COM2:

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 12


M O N I T O R N E TW O RK T R AN S M I T Q UE U E (NET.QUEUE)
This field determines if transmission queue activity is monitored. This mode shows each time a
message is added to or removed from the transmission queue. Possible settings are NONE, or
any combination of COM1, COM2, or COM3 to specify the port(s) for which monitoring is to
occur. Output generated is sent to the Standard Output Device (defined by the STD.OUT
setting).

S T AN D AR D O U T P U T D E VI CE (STD.OUT)
This field determines where information destined for the Standard Output Device will be sent.
Activity Monitoring information (See Activity Monitoring above) is sent to the Standard Output
Device. The Standard Output Device may be assigned one of the following values:

W HAT TO DO IF THE MEM LED IS S TUCK O N


Normally, write-protected memory should only be open for a relatively brief period of time. If
communications are lost while downloading a table or program to the L3000e, however, the
MEM LED may be left on (because the L3000e never received the message to close memory). If
this should happen, simply download again and the MEM LED should go off after the successful
completion of the download. You may also clear the MEM LED from the keyboard by storing a
value to any Setpoint (to be safe, examine the Setpoint and then store the same value to it).

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 13


H OW TO DO A C OMPLETE S YSTEM R ESET (NMI)
The NMI (Non-Maskable Interrupt) on the L3000e is a signal to the microprocessor that signals
the L3000e to clear all memory and set everything to factory default settings. Note that all
programming and data stored in the L3000e will be lost. This is useful if you want to completely
reset the L3000e and start from a clean system.

To NMI an L3000e:

• Make sure power is applied to the L3000e and all cards are in place.
• Locate the pushbutton at the bottom of the housing in the same hole as the battery wires
are entering the housing. This pushbutton will be off to the side of the hole. Use a
screwdriver to depress the pushbutton.

The NMI sequence will then proceed as follows:

• The first LED (SBY) is on to indicate the L3000e CPU is functioning.


• The second LED (CMD) blinks once for each 64 Kbytes block of EPROM as checksum test is
run. If fails, ROM.FAIL will be displayed, the ERR LED will be on, and the L3000e “locks up”
(contact TESCO).
• The third LED (RUN) blinks once for each 64 Kbytes block of RAM as the L3000e runs a RAM
test.

The following messages will be shown on the display, if so equipped.

• MEM.CHK shows as the L3000e determines how much RAM it has.


• MEM.INIT shows as the L3000e initializes its memory allocation system.
• CARD.INIT shows as the Card Table is initialized.
• LOG.INIT shows as the exception logging system is initialized.
• PROG.INIT shows as the TESCODE program storage area is initialized.
• CAL.INIT shows as the calibration system is initialized.
• REG.INIT shows as the register storage area is initialized.
• NET.INIT shows as the networking/telemetry system is initialized.
• ACCT.INIT shows as the user account system is initialized.
• CRC.INIT shows as the initial RAM CRC is computed and stored.
• The normal power up sequence is then performed (see Operation chapter).
• Finally, SET.CLOCK is displayed to remind you to set the LIQ 5 Real Time Clock (press ENTER,
and you will be prompted for each part of the time and date to set).

At this point the SBY LED will be on if all is well, or the ERR LED will be on if any test failed.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 14


A PPENDIX HDIO

H IGH D ENSITY I/O C ARD AND T ERMIN AL B LOCK

Dimensions
See Appendix A for all card dimensions.

J UMPERS / S WITCHES

The High Density I/O Terminal Block has twelve jumpers (JP1 - JP12).

JP1 selects between internal and external power source for the digital inputs. To use
internal power for the DI's, jumper between pins 1 and 2. To use external power for the
DI's, jumper between pins 2 and 3.

JP2 selects between internal and external for the analog power source. To select
internal analog power source, jumper between pins 1 and 2. To select external analog
power source, jumper between pins 2 and 3.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 1


JP3 selects between internal and external for the analog power return. To select
internal analog power return, jumper between pins 1 and 2. To select external analog
power return, jumper between pins 2 and 3.

In order to use Internal Power option on JP1, JP2 and JP3, the optional loop power
supply must be installed on the High Density I/O Terminal Block. The loop power
supply is the large square component in the upper left corner of the illustration above.

JP4 allows analog power return to be connected to signal ground.

JP5 - JP6 selects which power source is connected to the AO+ of the L2000. To select
the same source set by JP2, jumper between pins 1 and 2. To select a separate external
supply or allow the driven device to supply loop power, jumper between pins 2
and 3.

JP7 - JP12 allow the analog signal return to be connected to analog power return for
each analog input separately.

W IRING P OINTS

The following table shows the wire point assignment at the HDIO terminal block.

Poin t S ign al Poin t S ign al Poin t S ign al

1 Digital Input Power + 30 Analog I nput #3 - 59 D igital In put #9 Sour ce

2 Digital I nput Pow er - 31 Fr ame Gr ound 60 Digital I nput #10 Common

3 Fr ame Gr ound 32 Powe r 61 Digital I nput #10 Sour ce

4 Fr ame Gr ound 33 Analog Input #4 + 62 Digital In put #11 Common

5 Ana log Power + 34 Analog I nput #4 - 63 Digital I nput #11 Sour ce

6 Analog Pow er - 35 Fr ame Gr ound 64 Digital I nput #12 Common

7 Signa l Gr ound 36 Powe r 65 Digital I nput #12 Sour ce

8 Powe r 0 37 Analog Input #5 + 66 Digital I nput #13 Common

9 A nalog Output 0 38 Analog I nput #5 - 67 Digital I nput #13 Sour ce

10 Return 39 Fr ame Gr ound 68 Digital I nput #14 Common

11 Fr ame Gr ound 40 Digita l Input #0 Common 69 Digital I nput #14 Sour ce

12 Powe r 1 41 D igital Input #0 Sour ce 70 Digital I nput #15 Common

13 A nalog Output 1 42 Digita l Input #1 Common 71 Digital I nput #15 Sour ce

14 Return 43 D igital Input #1 Sour ce 72 Digital O utput #0

15 Fr ame Gr ound 44 Digita l Input #2 Common 73 Digital O utput #0

16 Powe r 45 D igital Input #2 Sour ce 74 Digital O utput #1

17 Analog I nput 0 + 46 Digita l Input #3 Common 75 Digital O utput #1

18 A nalog Input 0 - 47 D igital Input #3 Sour ce 76 Digital O utput #2

19 Fr ame Gr ound 48 Digita l Input #4 Common 77 Digital O utput #2

20 Powe r 49 D igital Input #4 Sour ce 78 Digital O utput #3

21 Analog I nput 1 + 50 Digita l Input #5 Common 79 Digital O utput #3

22 A nalog Input 1 - 51 D igital Input #5 Sour ce 80 Digital O utput #4

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 2


23 Fr ame Gr ound 52 Digita l Input #6 Common 81 Digital O utput #4

24 Powe r 53 D igital Input #6 Sour ce 82 Digital O utput #5

25 Analog I nput 2 + 54 Digita l Input #7 Common 83 Digital O utput #5

26 A nalog Input 2 - 55 D igital Input #7 Sour ce 84 Digital O utput #6

27 Fr ame Gr ound 56 Digita l Input #8 Common 85 Digital O utput #6

28 Powe r 57 D igital Input #8 Sour ce 86 Digital O utput #7

29 Analog Input #3 + 58 Digita l Input #9 Common 87 Digital O utput #7

W IRING E XAMPLES
The High Density I/O Terminal Block has integrated lightning/surge protection. In
order for this protection to work properly it is important that at least one of the
frame ground connectors (wire point 3 or 4) must be connected to a good earth ground
with a heavy gauge wire. This connection is important whether using internal of
external power.

When using an external power supply to power analog loops, the output voltage of the
supply should be 24 to 96 Volts DC.

When using an external power supply to power the digital inputs, the output voltage of
the supply should be 12 Volts DC.

A NALOG I NPUTS

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 3


A NALOG O UTPUTS

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 4


Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 5
D IGITAL I NPUTS

D IGITAL O UT PUTS

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 6


A PPENDIX HDAI

H IGH D ENSITY A NALOG I NPUT C ARD AND T ERMIN AL


B LOCK

Dimensions
1 5 .7 5 "

2 .9

T O P V IE W

1 .8

F R O N T V IE W

See Appendix A for all card dimensions.

Connectors

VME Bus
Connector

I/O Connector. (To


Terminal Unit)

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 1


J UMPERS / S WITCHES

The High Density Analog Input Terminal Block has twenty jumpers

(JP1 - JP20).

INT
1
1
2
2
3
EXT

JP1 - JP4 JP5 - JP20

JP1 through JP4 select between internal and external power source for the
analog loops. Although it is possible to select a different power source for the first
eight AIs than for the second eight, normally JP1 through JP4 should all be set to
internal, or all to external. To use internal power for the AIs, jumper between pins 1
and 2. To use power from an external power supply, jumper between pins 2 and 3.

JP5 through JP20 are open or closed type jumpers. These select whether the AI-
terminal is connected to power ground or not. These jumpers may be set differently, as
required, for each AI and the type of device it is connected to. See the wiring section in
this chapter for examples of when to use JP5 - JP20 open or closed.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 2


W IRING P OINTS

The following tables show the wire point assignment at the HDAI terminal block.

TB1

Wire Point Signal

1 External Loop Power Input +

2 External Loop Power Input -

3 Frame ground

4 Frame ground

TB2 TB3
Wire Point Signal Wire Point Signal
1 Loop Power Output 1 Loop Power Output
2 Analog Input #0 - 2 Analog Input #4 -
3 Analog Input #0 + 3 Analog Input #4 +
4 Frame Ground 4 Frame Ground
5 Loop Power Output 5 Loop Power Output
6 Analog Input #1 - 6 Analog Input #5 -
7 Analog Input #1 + 7 Analog Input #5 +
8 Frame Ground 8 Frame Ground
9 Loop Power Output 9 Loop Power Output
10 Analog Input #2 - 10 Analog Input #6 -
11 Analog Input #2 + 11 Analog Input #6 +
12 Frame Ground 12 Frame Ground
13 Loop Power Output 13 Loop Power Output
14 Analog Input #3 - 14 Analog Input #7 -
15 Analog Input #3 + 15 Analog Input #7 +
16 Frame Ground 16 Frame Ground

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 3


The following tables show the wire point assignment at the HDAI terminal block.

TB4 TB5
Wire Point Signal Wire Point Signal

1 Loop Power Output 1 Loop Power Output

2 Analog Input #8 - 2 Analog Input #12 -

3 Analog Input #8 + 3 Analog Input #12 +

4 Frame Ground 4 Frame Ground

5 Loop Power Output 5 Loop Power Output

6 Analog Input #9 - 6 Analog Input #13 -

7 Analog Input #9 + 7 Analog Input #13 +

8 Frame Ground 8 Frame Ground

9 Loop Power Output 9 Loop Power Output

10 Analog Input #10 - 10 Analog Input #14 -

11 Analog Input #10 + 11 Analog Input #14 +

12 Frame Ground 12 Frame Ground

13 Loop Power Output 13 Loop Power Output

14 Analog Input #11 - 14 Analog Input #15 -

15 Analog Input #11 + 15 Analog Input #15 +

16 Frame Ground 16 Frame Ground

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 4


W IRING E XAMPLES

The High Density Analog Input Terminal Block has integrated lightning/surge
protection. In order for this protection to work properly it is important that at least
one of the frame ground connectors on TB1 must be connected to a good earth ground
with a heavy gauge wire. This connection is important whether using internal of
external power.

When using an external power supply for any supported configuration, the output
voltage should be 24 to 30 Volts DC.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 5


Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 6
A PPENDIX HDDI

H IGH D ENSITY D IGITAL I NPUT C ARD AND T ERMIN AL


B LOCKS

Dimensions
See Appendix A for all card dimensions.

8 "

2 .9

DC Terminal Block

T O P V IE W

1 .8

F R O N T V IE W

8 "

2 .9
HP 3 07 0 HP 3 07 0

AC Terminal Block
WAR N N
I G!
120 VA C PRESENT

T O P V IE W

1 .8

F R O N T V IE W

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 1


C ONNECTORS

The High Density Digital Input Card requires the use of two terminal blocks, each
with wire points for sixteen digital inputs, in order to use all 32 DIs. Two types of
terminal block are available also. The DC terminal block uses 12 volts DC to detect a
contact closure, while the AC terminal block uses 120 volts AC.

VME Bus
Connector

DI 0 - 15 Connector. (To Terminal Unit) DI16 - 31 Connector. (To Terminal Unit)

J UMPERS / S WITCHES

The High Density Digital Input Terminal Blocks have one jumper (JP1).

INT
1

3
EXT

JP1 selects between internal and external power source for the digital inputs. To use
internal power for the DIs, jumper between pins 1 and 2. To use power from an
external power supply for the DIs, jumper between pins 2 and 3.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 2


W IRING P OINTS - DC T ERMIN AL B LO CKS

The following tables show the wire point assignment at the HDDI DC terminal block.

TB1 TB2
Wire Point Signal Wire Point Signal

1 Digital Input #0 Common 17 Digital Input #8 Common

2 Digital Input #0 Source 18 Digital Input #8 Source

3 Digital Input #1 Common 19 Digital Input #9 Common

4 Digital Input #1 Source 20 Digital Input #9 Source

5 Digital Input #2 Common 21 Digital Input #10 Common

6 Digital Input #2 Source 22 Digital Input #10 Source

7 Digital Input #3 Common 23 Digital Input #11 Common

8 Digital Input #3 Source 24 Digital Input #11 Source

9 Digital Input #4 Common 25 Digital Input #12 Common

10 Digital Input #4 Source 26 Digital Input #12 Source

11 Digital Input #5 Common 27 Digital Input #13 Common

12 Digital Input #5 Source 28 Digital Input #13 Source

13 Digital Input #6 Common 29 Digital Input #14 Common

14 Digital Input #6 Source 30 Digital Input #14 Source

15 Digital Input #7 Common 31 Digital Input #15 Common

16 Digital Input #7 Source 32 Digital Input #15 Source

TB3

Wire Point Signal

33 +12 VDC Input

34 Power supply ground

35 Frame Ground

See Appendix E for information on setting the card address switch.

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 3


W IRING P OINTS - AC T ERMIN AL B LO CKS
The following tables show the wire point assignment at the HDDI AC terminal block.

TB1 TB2

Wire Point Signal Wire Point Signal

1 Digital Input #0 17 Digital Input #8

2 Hot (120VAC Output) 18 Hot (120VAC Output)

3 Digital Input #1 19 Digital Input #9

4 Hot (120VAC Output) 20 Hot (120VAC Output)

5 Digital Input #2 21 Digital Input #10

6 Hot (120VAC Output) 22 Hot (120VAC Output)

7 Digital Input #3 23 Digital Input #11

8 Hot (120VAC Output) 24 Hot (120VAC Output)

9 Digital Input #4 25 Digital Input #12

10 Hot (120VAC Output) 26 Hot (120VAC Output)

11 Digital Input #5 27 Digital Input #13

12 Hot (120VAC Output) 28 Hot (120VAC Output)

13 Digital Input #6 29 Digital Input #14

14 Hot (120VAC Output) 30 Hot (120VAC Output)

15 Digital Input #7 31 Digital Input #15

16 Hot (120VAC Output) 32 Hot (120VAC Output)

TB3 TB4

Wire Point Signal Wire Point Signal


33 +12 VDC Input 36 Hot (120 VAC) Input
34 Power supply ground
37 Neutral Input
35 Frame Ground

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 4


W IRING E XAMPLES

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 5


A PPENDIX HDDO
H IGH D ENSITY D IGITAL O UTPUT C ARD AND T ERMIN AL B LOCK

Dimensions

See Appendix A for all card dimensions.

1 5 .5 "

2 .9

TO P V IE W

2 .5

F R O N T V IE W

Connectors

VME Bus
Connector

DO 16 - 31 Connector. (To DO 0 - 15 Connector. (To


Terminal Unit) Terminal Unit)

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 1


J UMPERS / S WITCHES

The High Density Digital Output Terminal Block has one jumper (JP1).

INT
1

3
EXT

JP1 selects between internal and external power source for the digital outputs. To
use internal power for the DOs, jumper between pins 1 and 2. To use power from an
external power supply for the DOs, jumper between pins 2 and 3.

W IRING P OINTS

The following tables show the wire point assignment at the HDDO terminal block.
TB1 TB2
Wire Point Signal Wire Point Signal

1 Digital Output #0 17 Digital Output #8

2 Digital Output #0 18 Digital Output #8

3 Digital Output #1 19 Digital Output #9

4 Digital Output #1 20 Digital Output #9

5 Digital Output #2 21 Digital Output #10

6 Digital Output #2 22 Digital Output #10

7 Digital Output #3 23 Digital Output #11

8 Digital Output #3 24 Digital Output #11

9 Digital Output #4 25 Digital Output #12

10 Digital Output #4 26 Digital Output #12

11 Digital Output #5 27 Digital Output #13

12 Digital Output #5 28 Digital Output #13

13 Digital Output #6 29 Digital Output #14

14 Digital Output #6 30 Digital Output #14

15 Digital Output #7 31 Digital Output #15

16 Digital Output #7 32 Digital Output #15

TB3
Wire Point Signal

33 +12 VDC Input

34 Power supply ground

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 2


W IRING E XAMPLES

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 3


END OF OPERATION AND MAINTENANCE MANUAL

Tesco Controls, Inc. 916.395.8800 9-25-2013 L3000e Page 4

You might also like