Professional Documents
Culture Documents
L3000 E-Manual
L3000 E-Manual
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
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
WARNING__________________________________________________________________ 30
Analog Inputs _________________________________________________________________________ 30
Analog Outputs _______________________________________________________________________ 31
Digital Inputs _________________________________________________________________________ 32
Digital Outputs ________________________________________________________________________ 33
Backup System Battery Test Procedure ____________________________________________________ 34
WARNING__________________________________________________________________ 34
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
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
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.
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
F I G . 1.1 – K EY BO AR DS
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.
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:
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:
Full Graphic Editor Tools optimized for creating and editing source programs
Documentation Tools
Archive Tools
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.
4) Some menu options take you into “sub-menus” of additional options. Select the desired sub-
option(s) as in steps 1) and 2).
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.
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:
3) Press ENTER
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).
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:
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.
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.
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.
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.
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.
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
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.
SETPOINT Setpoint
TMR/CTR Timer/Counter
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
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).
In the filter table there is also an option to reset an AO to zero when entering Standby Mode.
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...)
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)
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!
Test Mode may also be entered directly from the 32-key keyboard, if the L3000e is in Command
Mode, using the following keystrokes:
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!
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).
• 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:
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.
This entry enables or disables the use of a Status input to acknowledge alarms.
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:
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.
The associated LED will remain flashing until ALARM ACK is generated. The Common Alarm
will remain flashing.
The associated LED will no longer flash, but will be ON solid. The Common Alarm will go
OFF.
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.
The associated Alarm LED will remain flashing until ALARM ACK is generated. The Common
Alarm will remain flashing with the physical output active.
The associated Alarm LED will no longer flash, but will be ON solid. The Common Alarm will
go OFF.
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.
The associated LED will remain flashing until ALARM ACK is generated. The Common Alarm
will remain flashing with the physical output active.
The associated LED will no longer flash, but will be ON solid. The Common Alarm will go
OFF.
The associated Alarm LED will turn OFF. The Common Alarm will go OFF.
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.
First HMS timer holds the current time of day in 24 hour HH.MM.SS format
TIME.AO holds the time of day in 24 hour Hours Timer format (hours and
fractions of hours)
N O TE : You can’t write to the TIME.AO to set the time of day (write to the first HMS Timer
instead).
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.
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:
• 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)
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
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:
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:
A NALOG O UTPUTS
Below is a simplified block diagram of an L3000e Analog Output:
D IGITAL I NPUTS
Below is a simplified block diagram of an L3000e Digital Input:
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.
E XAMINING P ROGRAM
The TESCODE program may be examined from the keyboard by doing the following:
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.
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.
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.
• 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.
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.
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:
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
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
ACTION T55 ON AND SP101 STORE T55 :turn Pulse DO ON for delay
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.
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.
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
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
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.
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:
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.
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.
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:
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.
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
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.
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.
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
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.
:— 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
:— 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
The Macro keys accept multiple TESCODE lines and are configured as follows:
TESCODE lines from 1000 and above are used for subroutines for any Macro Key as in:
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.
;the keyboard LOCK timeout will terminate the MACRO if waiting on keyboard input
100- ACTION EXAM “ENTER FLOW GPM” AND KYBD STORE AO10
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
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
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
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
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.
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.
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.
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.
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.
• 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.
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
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.
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.
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).
V A LU E E F FE CT
0 Normal Operation
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.
T A B LE D E SCR I P T I ON
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
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.
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.
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
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
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.
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
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.
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.
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.
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
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.
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.
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:
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.
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).
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.
NONE No Logging
VERBOS Verbose Messages
INFO Information Messages
WARN Warning Messages
ERROR Error Messages
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.
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 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
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.
NONE Null
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.
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.
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.
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
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
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
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.
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
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.
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.
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
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.
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.
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.
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.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.
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
The Network Connection Table is an ASCII file, consisting of a series of entries of the following
format:
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.
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.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.
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"
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"
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):
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>
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:
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.
: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
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
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.
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:
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:
.
.
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:
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:
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.
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.
BEGIN
REG=T40
PREC=3
TAGNAME=”BS-1234"
DESCRIPTION=”BACKSPIN DELAY”
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:
The following figure shows the numbering system used to identify LED’s for purposes of the LED
Table.
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
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:
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.
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.
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).
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.
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.
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:
If the above archive was set up with a min/max sample every hour, the archive configuration
would be as follows:
The archive would contain average values at a 5 minute rate and min/max value at an hourly
rate.
To archive only average values into the archive array, the following archive array configuration
would be defined:
MEMORY USAGE
With only average values archived, the memory usage would be as follows:
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.
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:
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.
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.
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.
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
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
F I E LD D E SC R I P T I ON
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
R E P OR T D E SC R I P T I ON
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.
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.
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).
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.
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
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.
Below is a table showing the privileges that can be assigned (allowed) by keyword:
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
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.
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).
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.
L3000e Maintenance Port is the COM1 RJ45 connector found in the front of the L3000e
faceplate.
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.
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.
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.
I NSTALLATION
Setup Instructions:
1. Start MS Windows\WinNT
2. Insert CD
3. Run SETUP
TM
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.
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
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 .
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.
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
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
Filter Constant Table .FLT ASCII list of Analog Input Filter Constants
Macro Table Source File .MAC ASCII specifies action to be executed when
Macro Keys are pressed
Options and Configurations on this screen outline the setup for the basic operation. Changes to
be made by Service Personnel only.
Setpoints for 127 settings allow you to use this simple matrix and then click Update to activate
the changes.
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.
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.
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.
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.
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.
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.
Exit the Active Editor by clicking the X in the upper right corner.
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.
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.
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.
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).
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.
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.
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.
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.
D IMENSIONS
*Total unregulated
+5 Volts +12 Volts
12 Volts
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
E NVIRONMENTAL
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
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.
Fuse Ratings:
Individual AI / AO 1/4A
DI source / common 2A
12 Slot
S MALL D ISPLAY
Signal Pin #
nc 1
nc 2
nc 3
SG 4
RXD 5
TXD 6
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
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).
Action
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.
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
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
• 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
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).
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
• 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.
Action
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
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.
• 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.
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:
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
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:
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:
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.
At this point the SBY LED will be on if all is well, or the ERR LED will be on if any test failed.
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.
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.
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.
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
D IGITAL O UT PUTS
Dimensions
1 5 .7 5 "
2 .9
T O P V IE W
1 .8
F R O N T V IE W
Connectors
VME Bus
Connector
The High Density Analog Input Terminal Block has twenty jumpers
(JP1 - JP20).
INT
1
1
2
2
3
EXT
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.
The following tables show the wire point assignment at the HDAI terminal block.
TB1
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
TB4 TB5
Wire Point Signal Wire Point Signal
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.
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
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
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.
The following tables show the wire point assignment at the HDDI DC terminal block.
TB1 TB2
Wire Point Signal Wire Point Signal
TB3
35 Frame Ground
TB1 TB2
TB3 TB4
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
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
TB3
Wire Point Signal