If you have comments or questions concerning the operation of the ML–Trim, please
call us. A member of our Technical Support Staff will be happy to assist you. Ask for
Technical Support: (763) 424-7800 or 1-800-342-4411
Table 3-35ASCII to Binary ...................................................................... 3-66
Table 3-36Binary to Monitor Parameters ................................................ 3-67
viii
Introduction
Introducing the ML–Trim
Examples of ML–Trim Applications
1 - 1
1 - 2
INTRODUCING THE ML–TRIM
The ML–Trim is a highly accurate, digital, motor controller. It has advanced embedded
software that is capable of solving a great variety of speed control tasks. It operates as
either a stand-alone control of a single motor (Master mode) or as a part of a complex
multi-drive system (Follower mode).
The ML–Trim is ideal for motor control applications where your present open loop or
rudimentary closed loop operations are inaccurate or where there is inadequate load
regulation. The ML–Trim adds accurate digital control to virtually any AC, DC, Servo,
Flux Vector or Clutch drives. The ML–Trim is also at the forefront in digitally accurate
Follower applications. See Figure 1-1 and Figure 1-2 for examples of Master and
Follower applications.
The ML–Trim is unique among its competition because the ML–Trim has preprogramed
software that integrates with your system with little effort from you. The ML–Trim will
also allow you to enter data that is unique to your system's specific needs (e.g.,
maximum RPMs, setpoints, acceleration/deceleration ramp rates). Using Control
Parameters (CPs), this data is entered through either the ML–Trim's integrated keypad
or though a host computer via the RS485 Serial Communications port. In addition to
the Control Parameters that allow you to customize for your systems specific needs, the
ML–Trim's Monitor Parameters (MPs) allow you to monitor your system's performance.
The ML–Trim's multiple scaling formats allow you to enter the setpoints and monitor
speed in the Engineering Units (e.g., RPMs, gallons per hour, feet per minute) that are
unique to your system. Among the ML–Trim's advanced capabilities is the flexibility to
preset up to four setpoint entries.
Integrating the ML–Trim's applied intelligence with your system puts precise speeds
and perfect synchronization at your fingertips, quickly, easily and cost effectively.
1 - 3
EXAMPLES OF ML–TRIM
APPLICATIONS
Figure 1-1 is an example of a Master mode of operation for a pump application. The
scaling format allows the operator to enter a setpoint in Engineering Units of gallons per
minute. The ML–Trim compares the sensor shaft feedback to the scaled setpoint and
calculates any speed error. When the ML–Trim finds speed error, the control algorithm
adjusts the Speed Command Out to the motor drive and reduces the error to zero.
Speed
Command
Out
ontrex
C
Motor DriveML–Trim
Contrex
CODE
SELECT
POINT
TACH
SET
89
7
456
23
1
0
–
ENTER
CLEAR
.
1 - 4
Motor
Sensor
Pump
Feedback Frequency
Figure 1-1 ML–Trim Master Mode
Figure 1-2 is an example of the Follower mode of operation in a pump application. The
scaling format allows the operator to enter the setpoint as a ratio of ingredient B to
ingredient A. The ML–Trim compares the setpoint ratio to the Follower sensor shaft
feedback and Lead sensor shaft feedback to calculate any speed error. When the
ML–Trim finds speed error, the control algorithm adjusts the Speed Command Out to
the motor drive and reduces the error to zero.
Lead
Speed
Lead Motor
Command
Out
ontrex
C
Motor DriveML–Trim
Sensor
Pump
Contrex
8 9
7
CODE
SELECT
4 5 6
SET
POINT
2 3
1
TACH
.
0
–
ENTER
CLEAR
Feedback Frequency
Ingredient A
Final Product
Follower
Follower Motor
Lead Frequency
Contrex
8 9
7
CODE
SELECT
4 5 6
SET
POINT
2 3
1
TACH
.
0
–
ENTER
CLEAR
C
ontrex
Speed
Command
Out
Motor DriveML–Trim
Feedback Frequency
Sensor
Pump
Ingredient B
Figure 1-2 ML–Trim Follower Mode
1 - 5
—NOTES—
1 - 6
Installation / Setup
Mounting
Wiring
Inputs
Outputs
Serial Communications
Calibration
Motor Drive Setup
ML–Trim Calibration
2 - 1
Contrex
,
,
CUTOUT
(
3.65" .03"
6.00"
(
DOOR PANEL
Contrex
89
7
CODE
SELECT
456
SET
POINT
TACH
1
–
CLEAR
23
0
ENTER
.
)
3.60"
CUTOUT
(
3.65" .03"
3.60"
*
4.00"
*
From the rear of the door panel to the back of the connectors
4.00"
2 - 2
Figure 2-1 ML–Trim Cutout Dimensions and Mounting Guide
MOUNTING
This section contains instructions for mounting the ML–Trim in the door panel of a
NEMA Industrial Electrical enclosure. The ML–Trim is packaged in a compact 1/4 DIN
Vertical Instrument Enclosure that mounts easily in the door of your Industrial Electrical
Enclosure. The Electrical Enclosure must have an IP54 rating or higher to comply with
CE installations.
To mount the ML–Trim:
1) The NEMA Industrial Electrical Enclosure that will house the ML–Trim must
conform to the following environmental conditions:
NOTE: Allow adequate spacing between the ML–Trim and other equipment
to provide for proper heat convection. Placing the ML–Trim too close to
adjacent equipment could cause the interior ambient temperature to exceed
55 degrees C. Spacing requirements depend on air flow and enclosure
construction.
2) The dimensions for the door panel cutout are 3.65"+ .03" x 3.65 +.03"
(see Figure 2-1). Allow two inches of clearance on all sides of the cutout for
mounting clamp attachments, wire routing and heat convection.
3) Insert the ML–Trim through the door panel cutout until the gasket and bezel
are flush with the door panel (see Figure 2-1).
4) Slide the mounting clamps into the slots that are located on the top and
bottom of the ML–Trim. Tighten the mounting screws until the ML–Trim is
mounted securely in the NEMA Electrical Enclosure. Do not overtighten.
2 - 3
*
Use 115 VAC with ML-Trim model # 3200-1931
Use 230 VAC with ML-Trim model # 3200-1932
L1
*
Neut or L2
GND/PE
RS485 Serial
Communications
5V_DI
COM
LEAD_FQ
FDBK_FQ
COM
RUN
JOG
COM
R–STOP
F–STOP
COM
MST / FOL
SETPT
COM
V_DO
DRV_EN
ALARM
COM
USE COPPER WIRE ONLY. SELECT WIRE SIZE
ACCORDING TO AMPACITY FOR 60/75 C WIRE ONLY.
TIGHTEN J3 TERMINALS TO 5 LB-INS.
J1J4
J3
T / R +
T / R –
COM_AUX
RS485
COMM
AUX
PWR
L1
NEUT
GND
PE
AC
POWER
INC
MAX_SPD
SPD
CMD
DRV_SIG
DRV_COM
AC POWER
115 VAC
0.1 AMPS
50 / 60 HZ
I / O
PWR
FREQ
INPUTS
DIGITAL
INPUTS
J5
DIGITAL
OUTPUTS
5V
COM_AUX
J2
Run
Jog
R-Stop
F-Stop
Master/
Follower
Setpoint
Select
Lead
Frequency
Sensor
Feedback
Frequency
Sensor
+5VDC External
DC Power
Supply
+5V COM
+5V
SIG
COM
+5V
SIG
COM
50V
MAX
+V
COM
R1
R2
External
DC Power
Supply
TD/RD+
TD/RD–
COM
Motor Drive
SIG
COM
1
2
3
1
2
1
2
3
1
2
123456789
101112131415161718
Fuses
1A
250V
2 - 4
Figure 2-2 ML–Trim General Wiring
WIRING
This section contains the input, output and serial communications wiring information for
the ML–Trim. Please read this section prior to wiring the ML–Trim to ensure that you
make the appropriate wiring decisions.
NOTE: The installation of this motor control must conform to area and local electrical
codes. See
National Fire Protection Association, or
Use local codes as applicable.
Use a minimum wire gauge of 18 AWG.
Use shielded cable to minimize equipment malfunctions from electrical noise.
Keep the AC power wiring (J3) physically separated from all other wiring on the
ML–Trim. Failure to do so could result in additional electrical noise and cause
the ML–Trim to malfunction.
A hand operated supply disconnect device must be installed in the final application. The primary disconnect device must meet EN requirements.
Inductive coils on relay, contactors, solenoids that are on the same AC power
line or housed in the same enclosure should be suppressed with an RC network across the coil. For the best results, use resistance (r) values of 50 ohms
and capacitance (c) values of 0.1 microfarads.
The National Electrical Code
The Canadian Electrical Code
(NEC,) Article 430 published by the
(CEC).
Install an AC line filter or isolation transformer to reduce excessive EMI noise,
such as line notches or spikes, on the AC power line.
DANGER
Hazardous voltages.
Can cause severe injury, death or
damage to the equipment.
The ML–Trim should only be
installed by a qualified
electrician.
2 - 5
–NOTES—
2 - 6
INPUTS
NOTE: The installation of this motor control must conform to area and local electrical
codes. See
National Fire Protection Association, or
Use local codes as applicable.
I/O Power (J5 pins 1, 2)
The National Electrical Code
The Canadian Electrical Code
(NEC,) Article 430 published by the
(CEC).
For isolated operations, the
Frequency Inputs (J5 pins 3, 4, 5),
the Digital Inputs (J5 pins 6-14 ) and
the Digital Outputs (J5 pins 15-18)
require an external source of
+5VDC power.
CAUTION: The ML-Trim is
shipped from the factory nonisolated with J4 and J5 jumpers.
You must remove the J4 and J5
jumpers before you connect the
External Power supply or you can
damage the equipment. Do not
exceed +5VDC on the I/O Power
Input.
Use the Auxiliary Power Output
(J4 pins 1, 2) to supply power to
non-isolated operations. The
ML-Trim is shipped from the factory
with the wiring defaulted to the nonisolated operation.
+5VDC MAXIMUM
1
2
J5
* Do not connect the External Power Supply
Common to Earth Ground.
+5V
COM
+5VDC
External
Power
Supply
Figure 2-3 I/O Power / Isolated
1
2
J4
+5V
COM_AUX
*
1
2
J5
Figure 2-4 I/O Power / Non-Isolated
2 - 7
AC Power (J3 pins 1, 2, 3)
The ML–Trim model #3200-1931
operates on 115 VAC + 15%, 0.1
Amp., 50/60 Hz. The ML–Trim model
#3200-1932 operates on 230 VAC
+ 15%, 0.1 Amp., 50/60 Hz.
* Fuse L1 for 115VAC applications. Fuse L1 and L2 for
230VAC applications. Use
1 Amp 250V normal blow
fuses.
L1
Neutral or L2
GND/PE
*
*
Figure 2-5 Input Power
1
2
3
J3
Lead Frequency (J5 pins 3, 5)
The Lead Frequency is a pulse train
input that the ML–Trim uses to
determine the speed of the lead
motor. For signal level specifications,
refer to
ML–Trim Specifications,
2 - 8
References: Appendix A
page A-1
3
,
5
J5
Signal
Common
Figure 2-6 Lead Frequency
Feedback Frequency
(J5 pins 4, 5)
The Feedback Frequency is a pulse
train input that the ML–Trim uses to
determine the speed of the follower
motor. For signal level specifications
refer to
ML–Trim Specifications,
References: Appendix A
page A-1.
If the Feedback Frequency is lost,
the ML-Trim will command a 100% Speed Out
and the motor will run at 100% capacity.
This can cause severe injury, death or
equipment damage.
,
Figure 2-7 Feedback Frequency
DANGER
4
5
J5
Signal
Common
Run (J5 pins 6, 8)
When the Run input (J5 pin 6) is
momentarily shorted to common, the
ML–Trim enters Run. As a
momentary input, Run is internally
latched and does not need to be
maintained by an operator device.
NOTE: Close the R–Stop and F–Stop
inputs prior to entering Run.
If you are only using one of
the Stop inputs, wire short the
other Stop input to common
or the ML–Trim will not enter
“Run”.
RUN
6
8
J5
Figure 2-8 Run
2 - 9
Jog (J5 pins 7, 8)
Jog is a maintained input. When Jog
is closed, the ML–Trim sends a
Speed Command Out signal to the
drive at the selected jog speed. As a
maintained input, Jog is only active
when the operator device is closed.
JOG
7
8
NOTE: Close the R–Stop and
F–Stop inputs and open the
Run input, prior to entering
Jog. If you are only using
one of the Stop inputs, wire
short the other Stop input to
common or the ML–Trim will
not enter Jog.
R–Stop (J5 pins 9, 11)
R–Stop is a momentary input. When
it is opened, the ML–Trim ramps to a
zero Speed Command Out at the
specified deceleration rate. As a
momentary input, R–Stop is internally
latched and does not need to be
maintained by an operator device.
J5
Figure 2-9 Jog
9
11
R-STOP
J5
2 - 10
Figure 2-10 R–Stop
F-Stop (J5 pins 10, 11)
F-Stop is a momentary input. When
it is open, the ML–Trim stops
immediately (zero RPM) and ignores
the specified deceleration rate. As a
momentary input, F-Stop is internally
latched and does not need to be
maintained by an operator device.
F-STOP
10
11
J5
Figure 2-11 F–Stop
Master or Follower
(J5 pins 12, 14)
This input determines the ML–Trim's
mode of operation and resulting
scaling formula that the control
algorithm uses. The ML–Trim is in
Master mode when the circuit is
open, and Follower mode if the circuit
is shorted to the common.
12
14
J5
MASTER
FOLLOWER
Figure 2-12 Master / Follower
2 - 11
Setpoint Select (J5 pins 13, 14)
The Master and Follower setpoints
are determined by the Setpoint Select
input combined with the Master/
Follower Input. For access to Master
Control Parameters 1 and 2 and
Follower Control Parameters 3 and 4,
refer to the chart below.
CONTROL
13
14
J5
PARAMETER 1 OR 3
CONTROL
PARAMETER 2 OR 4
Figure 2-13 Setpoint Select
Setpoint Select / Closed Setpoint Select / Open
Master/Follower
Input Open
Master/Follower
Input Closed
Master Control Parameter 1Master Control Parameter 2
Follower Control Parameter 3
Follower Control Parameter 4
2 - 12
OUTPUTS
NOTE: The installation of this motor control must conform to area and local electrical
codes. See
National Fire Protection Association, or
Use local codes as applicable.
Speed Command Out
(J2 pins 1, 2)
The National Electrical Code
The Canadian Electrical Code
(NEC,) Article 430 published by the
(CEC).
Speed Command Out is an isolated
analog output signal that is sent to
the motor drive to control the speed
of the motor. Wire the Speed
SIGNAL INPUT
*
DRIVE COMMON
Speed Command Out
Isolated Common
1
2
Command Out into the Speed Signal
Input of the drive. If the motor drive
has a potentiometer speed control,
remove the potentiometer
connections and wire the Speed
Command Output to the
MOTOR DRIVE
Do not connect the Drive Isolated Common to other
*
Logic Commons
J2
potentiometer wiper input. The
ML–Trim's isolated common should
Figure 2-14 Speed Command Out
always be connected to the drive
common.
Drive Enable (J5 pin 16)
The Drive Enable output is activated (driven low) when the ML–Trim is signaling a
nonzero speed command to the motor drive, as defined by Drive Enable Logic (CP-74)
The Drive Enable output is driven high (relay deactivated) after Power Up and during
R–Stop and F–Stop. See Figure 2-15. Refer to
Output,
page 3-37 for details.
Operations: Logic Control, Logic
NOTE: This is an open-collector relay driver. For specification details, see
Appendix A
-
ML–Trim Specifications,
page A-1. Use an external DC power
supply to power the relays. Free-wheeling diodes are incorporated internally in
the ML–Trim and do not need to be added externally.
References:
2 - 13
Alarm (J5 pin 17)
By entering alarm Control Parameters, you can establish circumstances under which
the ML–Trim will alert you to potential operating problems. The alarm can be wired to
activate a warning light, a warning sound, or to shut down the system under specified
conditions. Alarm Format (CP-10) determines which alarm conditions will activate the
Alarm output, using the values that are entered in Low Alarm (CP-12), High Alarm
(CP-13), Ramped Error (CP-14) and Scaled Error (CP-15). See Figure 2-15. Refer to
Operations: Logic Control, Logic Output,
NOTE: This is an open-collector relay driver. Use an external DC power supply to
power the relays. Free-wheeling diodes are incorporated internally in the
ML–Trim and do not need to be added externally.
page 3-37 for details.
+V_DO
Drive Enable
Alarm
Common
15
16
17
18
J5
R1
R2
+
EXTERNAL
DC
POWER
SUPPLY
(50V Max)
–
Figure 2-15 Drive Enable and Alarm Outputs
Auxiliary DC Power (J4 pin 1, 2)
The 5 volt output (J4 pin 1) is a DC regulated output that can be used to power
encoders or other auxiliary equipment that is used in conjunction with the ML–Trim. If
this output is used, it will nullify optical isolation.
WARNING
Do not exceed
the maximum current output of
150 mA for +5 VDC.
2 - 14
Exceeding the maximum
current output
can damage the ML–Trim.
SERIAL COMMUNICATIONS
NOTE: The installation of this motor control must conform to area and local electrical
codes. See
National Fire Protection Association, or
Use local codes as applicable.
The Serial Communications interface on the ML–Trim complies with EIA Standard
RS–485-A for balanced line transmissions. This interface allows the host computer to
perform remote computer parameter entry, status or performance monitoring, and
remote control of the ML–Trim. See
information on using Serial Communications. The ML-Trim is designed to use with an
isolated RS232 to RS485 converter.
Figure 2-16 illustrates a multidrop installation of the Serial Communications link and
Figure 2-17 illustrates the Serial Communications connections.
The National Electrical Code
The Canadian Electrical Code
Operations: Serial Communications,
(NEC,) Article 430 published by the
(CEC).
page 3-49 for
Contrex
8 9
7
CODE
SELECT
4 5 6
SET
POINT
2 3
1
TACH
.
0
–
ENTER
CLEAR
Isolated
RS232 to RS485
Converter
Contrex
8 9
7
CODE
SELECT
4 5 6
SET
POINT
2 3
1
TACH
.
0
–
ENTER
CLEAR
Figure 2-16 ML–Trim Multidrop Installation
Contrex
CODE
SELECT
SET
POINT
TACH
7
4 5 6
1
–
CLEAR
Contrex
8 9
2 3
0
ENTER
Contrex
8 9
7
CODE
SELECT
4 5 6
SET
POINT
2 3
1
TACH
.
0
–
ENTER
CLEAR
Contrex
.
8 9
7
CODE
SELECT
4 5 6
SET
POINT
2 3
1
TACH
.
0
–
ENTER
CLEAR
8 9
7
CODE
SELECT
4 5 6
SET
POINT
2 3
1
TACH
.
0
–
ENTER
CLEAR
2 - 15
Isolated
RS232 to RS485
Converter
TXD/ TXD/
COM RXD RXD
— +
1. Shield only at one end of the cable.
2. If you need to terminate the communication line, then terminate
it at the unit which is the furthest away from the converter. A 100
ohm, 1/2 Watt resistor will usually terminate successfully. Refer
to EIA Standard RS485A, for more information.
J1
1
2
3
J1
2
1
2
3
1
ML–Trim #1
T/R+
T/R–
COM
ML–Trim #2
T/R+
T/R–
COM
2 - 16
Figure 2-17 ML–Trim Serial Communications Connections
CALIBRATION
Calibration matches the Speed Command analog output of the ML–Trim with the
analog input of the motor drive. Calibration is accomplished in two steps. The first step
is to set up the motor drive. The second step is to calibrate the ML–Trim to the motor
drive so that the speed is adjusted to the maximum operating speed. The ML–Trim
must be properly installed prior to calibration. Refer to
page 2-3, and
Installation/Setup; Wiring
, page 2-5.
DANGER
Hazardous voltages.
Installation/Setup; Mounting,
Can cause severe
injury, death or
damage
to the equipment.
Make adjustments with caution.
2 - 17
MOTOR DRIVE SET UP
1) Put the ML–Trim in “R–Stop” by opening the R–Stop input (J5 pins 9, 11).
Refer to
2) Set the drive's Acceleration and Deceleration potentiometers to their fastest
rates (minimum ramp time). The goal is to make the drive as responsive as
possible, which allows the ML–Trim to control the speed changes.
3) If the drive has a Maximum Speed (Span) Potentiometer, set it to the highest
setting at which the motor drive is capable of running. The maximum speed
at which you want the system to operate will be controlled by the ML–Trim.
4) If the drive has a Zero Speed Potentiometer, adjust it to eliminate any motor
creep.
5) If the drive has an IR Compensation Potentiometer, set it at minimum.
Installation/Setup: Wiring, Inputs, R–Stop,
page 2-10.
2 - 18
6) Each motor drive has settings that are unique to its particular model. Adjust
any remaining drive settings according to the manufacturer's
recommendations.
ML–TRIM CALIBRATION
1) Make sure that the ML–Trim is still in “R–Stop”. If the ML–Trim is not in
“R-Stop”, then put it in “R–Stop” by opening the R–Stop Logic input
(J5 pins 9, 11). Refer to
2) Enter the resolution (PPRs) of the feedback sensor in the PPR Feedback
Control Parameter (CP-31) by entering the following on the keypad:
Press “Code Select”
Enter “31” (PPR Feedback)
Press “Enter”
Enter the Pulses Per Revolution (PPR) of the feedback sensor
Press “Enter”
The Tach for the Direct mode is now scaled.
3) Set the ML–Trim's Maximum Speed Potentiometer (located on the rear) as far
counter clockwise as it will turn. This is the minimum speed setting.
4) Enable the ML–Trim's Direct mode by entering the following on the keypad:
Press “Code Select”
Enter “61” (Direct Enable)
Press “Enter”
Enter “1”
Press “Enter”
Installation/Setup: Wiring, Inputs, R–Stop,
page 2-10.
5) Put the ML–Trim into “Run” by deactivating (shorting) the R–Stop input
(J5 pins 9, 11) and the F–Stop input (J5 pins 10, 11) and then activating
(shorting) the Run input (J5 pins 6, 8). Although the motor is now in “Run”, it
will have zero speed until you adjust the Direct Setpoint (in the next step).
6) Gradually set the ML–Trim's Direct Setpoint to 90% by entering the following
on the keypad:
Press “Code Select”
Enter “6” (Direct Setpoint)
Press “Enter”
Enter “10”
Press “Enter”
Enter “20”
Press “Enter”
2 - 19
Continue to gradually increase these increments by ten until you reach “90”.
Since there are no acceleration/deceleration ramps in Direct mode, a
sudden increase to “90” could cause damage in some systems.
7) Turn the ML–Trim's Maximum Speed Potentiometer clockwise until the drive
motor's RPMs are at the maximum operating speed at which you want the
system to operate. The maximum operating speed is the same speed that
you will enter in Max RPM Feedback (CP-34) to scale for the Master mode
of operation (Refer to
Operation: Control Parameters. Master Mode,
page 3-9). Check the speed (RPMs) by pressing the “Tach” key. If the
lowest setting on the ML–Trim's Maximum Speed Potentiometer still
exceeds the maximum speed at which you want the system to operate, then
adjust the Maximum Speed (Span) Potentiometer on the motor drive until
the desired speed is reached.
8) Put the Direct Setpoint back to 0% by entering the following on the keypad:
Press “Code Select”
Enter “6” (Direct Setpoint)
Press “Enter”
Enter “0”
Press “Enter”
9) Disable the ML–Trim's Direct mode by entering the following on the keypad:
2 - 20
Press “Code Select”
Enter “61” (Direct Enable)
Press “Enter”
Enter “0”
Press “Enter”
10) Put the ML–Trim in “R–Stop” by opening the R–Stop input (J5 pins 9, 11).
Refer to
Installation/Setup: Wiring, Inputs, R–Stop,
page 2-10.
Operation
Keypad Operation
Keypad Lockout
Control Parameters (CP)
Direct Mode
Master Mode
Follower Mode
Inverse Master Mode
Inverse Follower Mode
Acceleration/Deceleration
Tuning
Alarms
Jog
Logic Control
Logic Inputs
Logic Outputs
Monitor Parameters (MP)
Input Monitoring
Output Monitoring
Performance Monitoring
Status Monitoring
Serial Communications
Using Serial Communications
Communications Software Design
3 - 1
3 - 2
KEYPAD OPERATION
The front panel of the ML–Trim is an easy to use keypad that gives you direct access
to the Parameters (Control Parameters and Monitor Parameters) by entering the
Parameter Code. You can also use the keypad to change the value of a Control
Parameter. The keypad has keys for Code Select, Enter, Clear, and Scroll Up/Down.
It also has numeric keys and two dedicated keys: Setpoint and Tach. The LED display
is the above the keys. Figure 3-1 displays the location of the keys and LED display on
the keypad. Table 3-1 demonstrates basic keypad entry.
The keypad functions as follows:
Code Select KeyPress this key prior to entering a Parameter Code (either a
Control Parameter or a Monitor Parameter).
Numeric KeysUse the numeric keys to enter a Parameter Code for either a
Control Parameter (CP) or a Monitor Parameter (MP) or to
enter a value for a Control Parameter. Use the Enter key after
each entry. Use the Clear key to delete your entry.
Dedicated KeysThe Setpoint key and the Tach key are shortcut keys. The
Setpoint key accesses the active setpoint variable directly and
the Tach key accesses the tach variable directly (rather than
manually entering the Code Parameter).
Scroll Up/Down KeysThese keys will change the active setpoint value, even if that
setpoint is not displayed in the LED Display. Each time you
press the scroll up key , the active setpoint will increase by one
increment. Each time you press the scroll down key, the active
setpoint value will decrease by one increment. It will also
automatically scroll through the increments or decrements if
you hold the key down.
LED DisplayThe two digit Parameter Code is displayed on the left LED
Display. The Parameter Code's value is displayed on the right
LED display. This value can be up to four digits.
3 - 3
Table 3-1 Basic Keypad Entry
To Enter a Parameter Code:
To Enter a Parameter Value:
(For Control Parameters only - Monitor
Parameters can not be changed
manually)
To Use the Tach Key:
To Use the Setpoint Key:
To Use the Up/Down
Scroll Keys:
Parameter Code
(2 digits)
Press “Code Select”.
Enter a Parameter Code (For a Control Parameter or Monitor Parameter).
Press “Enter” (within 15 seconds).
The Parameter Code and it's current value are displayed on the LED display.
The Parameter Code decimal point is illuminated.
Follow the steps to enter a Parameter Code.
Enter a new value (Use the numeric keys) .
Press “Enter” (within 15 seconds).
The Parameter Code decimal point turns “Off”.
Press “Tach’.
The scaled Engineering Unit Feedback is displayed.
Press “Setpoint”.
The active setpoint and its value are displayed.
Press the “Up” scroll key to increase the active setpoint value.
Press the “Down” scroll key to decrease the active setpoint value.
Parameter Value
(up to 4 digits)
Led
Display
Code Select
Key
Dedicated
Keys
Up/Down
Scroll Keys
3 - 4
Numeric
Keys
Enter
Key
Clear
Key
Figure 3-1 The ML–Trim Front Panel
KEYPAD LOCKOUT
Keypad Lockout (CP-98) displays the present status of the keypad lockout. When the
keypad is locked, then “LOC” is displayed:
Code
When the Keypad is unlocked, then “ULOC” is displayed:
Code
To lock out the keypad, enter a numerical “password” between “1” and “9999” in
Keypad Lockout (CP-98), then press the “enter” key. This numerical password will flash
briefly on the screen, then the screen will display “LOC”. To unlock the keypad, enter
the same numerical password in Keypad Lockout (CP-98). The number will flash briefly
on the screen and then the screen will display “ULOC”. Control Parameters and
Monitor Parameters may be monitored during lockout, however, Control Parameters
can not be changed during lockout. The Clear/7 procedure will default Keypad Lockout
(CP-98) to “ULOC” (unlocked).
Locked
Unlocked
CAUTION:
Make certain that you record your password in the space provided on page 3-6, as your
password becomes transparent once you have entered it. If you forget your password,
you can use the Clear/7 procedure to revert back to the default “ULOC” (unlocked).
Please note, however, that the Clear/7 procedure will revert all of the Control
Parameters back to their original default values and you will lose any changes that you
have made to the Control Parameters. Therefore, make certain that you have recorded
all Control Parameter changes in the space provided in Appendix D before you use the
Clear/7 procedure. Refer to
instructions on the Clear/7 procedure. If you are uncertain how to enter a Control
Parameter, review the
Troubleshooting: Troubleshooting
Operations: Keypad
section, page 3-3.
, page 4-11 for
3 - 5
Record your numeric Keypad Lockout password here:
Please read the “CAUTION” statement on Page 3-5
3 - 6
CONTROL PARAMETERS
Parameters are divided into two classifications; Control Parameters (CP) and Monitor
Parameters (MP). The numbered code that represents the Parameter is the Parameter
Code. The operational data is the Parameter's value.
Control Parameter 05=50 (default)
Parameters =
Monitor Parameter 40=200
(arbitrary)
Parameter CodeParameter Value
This section is about Control Parameters. Monitor Parameters are explained in
Operation: Monitor Parameters,
The ML–Trim comes factory pre-loaded with a complete set of default Control
Parameters values. The majority of these default settings are suitable for most
applications and do not require modification.
Control Parameters allow you to enter data that is unique to your system (e.g., encoder
resolution, Lead to Follower ratios) and modify the ML–Trim for your specific needs
(e.g., maximum RPMs, setpoints, acceleration/deceleration ramp rates) by entering a
parameter value.
The ML–Trim is designed to execute either the Direct mode of operation, the Master
(stand-alone) mode of operation or the Follower mode of operation. The values that
you enter in the relevant Control Parameters, as well as the manner in which you wire
and calibrate your ML–Trim, determine which of the modes of operation your ML–Trim
is set up for. The mode of operation that you use is determined by your systems
operational requirements.
page 3-39.
The following subsections demonstrate how to enter Control Parameters for the Direct
mode, Master (stand-alone) mode or the Follower mode of operation. In addition,
Control Parameters for speed change, stability, warning methods and fast forward are
addressed in the subsections on Acceleration/Deceleration, Tuning, Alarms, and Jog.
3 - 7
Direct Mode
In the Direct mode of operation, the Speed Command output from the ML–Trim that is
connected to the motor drive can be set directly. Direct mode is an open-loop mode of
operation. Scaling, Acceleration/Deceleration, and closed loop compensation (PID)
software are not involved in the Direct mode. The Direct mode is used in conjunction
with the Run and Stop controls.
Caution: To avoid damage to your system, the ML –Trim must be calibrated and the
motor drive set up before you enter the Direct Control Parameters. Refer to
Installation/Setup: Calibration,
The Direct Setpoint (CP-06) is entered as a percentage of the ML–Trim's calibrated full
scale Speed Command output. To enable or disable Direct mode, use the Direct
Enable (CP-61).
The factory default Control Parameters for the Direct mode are found in Table 3-2. To
modify the default parameters, refer to Table 3-3. If you are uncertain how to enter a
Control Parameter, review the
Table 3-2 Default Direct Mode Control Parameters
Operations: Keypad
page 2-17.
section, page 3-3.
3 - 8
CPParameter NameParameter Value
CP-06Direct Setpoint0
CP-61Direct Enable0
Table 3-3 Entering Direct Mode Control Parameters
CPParameter NameParameter Value
CP-06Direct Setpoint
Enter the percentage of the calibrated
full scale Speed Command output at
which you want your system to operate.
CP-61Direct Enable
Enter “1” to enable the Direct Mode.
Enter “0” to disable the Direct Mode.
Master Mode
The Master, or stand-alone mode of operation, is a single motor operation. In this
simple mode of operation, the entire process is controlled by a single motor and one
ML–Trim.
Caution: To avoid damage to your system, the ML –Trim must be calibrated and the
motor drive set up before you enter the Master Control Parameters. Refer to
Installation/Setup: Calibration,
The ML–Trim allows you to control your system in Master Engineering Units
(e.g., RPMs, gallons per hour, feet per minute). The Master Engineering Units at which
you want the system to operate, are entered into the two available Master Setpoints
(CP-01 and CP-02). However, before the ML–Trim can determine how to operate at
those setpoints, you must enter Scaling Control Parameters into the ML–Trim. Scaling
is a convenient method for translating the relationship of the motor RPMs into Master
Engineering Units. The Scaling Control Parameters give the ML–Trim the following
information:
Max RPM Feedback (CP-34)
Measured at the sensor shaft, this number is the maximum RPMs at
which you want your system to operate. This number is identical to the
maximum operating speed that you set in step 7 of the calibration
procedure on page 2-20.
page 2-17.
PPR Feedback (CP-31)
The number of gear teeth or number of encoder lines on the feedback
sensor per one revolution (pulses per revolution).
Master Engineering Units (CP-20)
The actual value of the Master Engineering Units if the system were to
operate at the maximum RPMs that you entered in Max RPM Feedback
(CP-34).
The factory default Control Parameters for Scaling are found in Table 3-4. To modify
the default parameters, refer to Table 3-5. If you are uncertain how to enter a Control
Parameter, review the
entry follows Table 3-5.
Operations: Keypad
section, page 3-3. Information on setpoint
3 - 9
Table 3-4 Default Master Scaling Control Parameters
CPParameter NameParameter Value
CP-34Max RPM Feedback2000
CP-31PPR Feedback60
CP-20Master Engineering Units2000
Table 3-5 Entering Master Scaling Control Parameters
CPParameter NameParameter Value
CP-34Max RPM Feedback
Enter the maximum desired RPMs,
measured at the sensor shaft.
CP-31PPR Feedback
Enter the number of gear teeth or
encoder lines on the sensor per one
revolution (pulses per revolution).
CP-20Master Engineering Units
Enter the Master Engineering Units
value if the system were to operate at
the maximum desired RPMs entered in
CP-34.
Now that your scaling has been established, you can enter a value for Master
Setpoints 1 and 2. The value that you enter for a setpoint is the Engineering Units
(E.U.s) that you want to operate your system at.
The factory default Control Parameters for Master Setpoint 1 and 2 are set at “0”. To
modify these default parameters, refer to Table 3-6. You can toggle between the two
setpoints, if you have wired the Setpoint Select accordingly. Setpoint Select (located
at J5 pins 13, 14), determines which of the two setpoints is active (refer to
Select
the
on page 2-12). If you are uncertain how to enter a Control Parameter, review
Operations: Keypad
section, page 3-3.
Setpoint
3 - 10
Table 3-6 Entering Master Setpoint Control Parameters
CPParameter NameParameter Value
CP-01Master Setpoint 1
Enter the Master Engineering Units
value that you want your system to
operate at when Setpoint 1 is active.
CP-02Master Setpoint 2
Enter the Master Engineering Units
value that you want your system to
operate at when Setpoint 2 is active.
An example of the Master mode of operation is demonstrated on the following page.
3 - 11
Master Mode Example
The following example demonstrates how scaling and setpoint Control Parameters are
entered for a typical Master mode of operation:
A pump delivers 15 gallons/minute when the motor runs at a maximum
RPM of 1725. The motor shaft is equipped with a 30 tooth Ring kit.
The Master Engineering Units are gallons per minute. Master Setpoint
1 will be setup to pump 10 gallons per minute when it is the active
setpoint. Master Setpoint 2 will be setup to pump 5 gallons per minute
when it is the active setpoint.
Table 3-7 shows the scaling Control Parameters that would be entered in the ML–Trim
for this example.
After the Scaling and the Master Setpoints for your system have been entered, you can
enter the Acceleration/Deceleration Control Parameters for the Master mode. The
Acceleration/Deceleration Control Parameters are identical for both the Master and the
Follower modes of operations. Acceleration/Deceleration is discussed in
Control Parameters, Acceleration/Deceleration,
The following section demonstrates how to enter Control Parameters for the Follower
mode of operation.
3 - 12
page 3-26.
Operation:
Follower Mode
The Follower mode of operation is the most frequently used mode of operation. It is a
multi-motor operation in which the entire process can be controlled by any number of
motors and ML–Trims.
Caution: To avoid damage to your system, the ML –Trim must be calibrated and the
motor drive set up before you enter the Follower Control Parameters. Refer
to
Installation/Setup: Calibration,
The ML–Trim allows you to control your system in Follower Engineering Units
(e.g., Follower to Lead ratio or percentage of RPMs, gallons per minute, feet per
minute). The Follower Engineering Units that you want the system to operate at are
entered into the two available Follower Setpoints (CP-03 and CP-04). However, before
the ML–Trim can determine how to operate at these setpoints, you must enter Scaling
Control Parameters into the ML–Trim. Scaling is a convenient method for translating
the relationship of the Lead and Follower motor RPMs into Follower Engineering Units.
Scaling Control Parameters give the ML–Trim the following information:
Max RPM Lead (CP-33)
Measured at the Lead sensor shaft, this number is the maximum RPMs
at which the Lead will operate in your system.
Max RPM Feedback (CP-34)
Measured at the sensor shaft, this number is the maximum RPMs at
which you want the follower to operate when the Lead is operating at its
maximum RPMs. This number is identical to the maximum operating
speed that you set in step 7 of the calibration procedure on page 2-20.
page 2-17
PPR Lead (CP-30)
The number of gear teeth or number of encoder lines on the Lead
sensor per revolution (pulses per revolution).
PPR Feedback (CP-31)
The number of gear teeth or number of encoder lines on the Follower
feedback sensor per revolution.
Follower Engineering Units (CP-21)
Enter a number that will represent the setpoint Engineering Units when
the Lead and Follower are operating at their maximum RPMs. This
number is usually either the ratio of Max RPM Feedback (CP-34) to
Max RPM Lead (CP-33) or the ratio of Follower to Lead Engineering
Units at maximum desired RPM. When this number is also entered as
a setpoint (CP-03 or CP-04), the Follower will operate at maximum
desired RPM when the Lead is at maximum desired RPM.
3 - 13
The factory default Control Parameters for Scaling are found on Table 3-8. To modify
these default parameters, refer to Table 3-9. If you are uncertain how to enter a Control
Parameter, review the
Table 3-8 Default Follower Scaling Control Parameters
Table 3-9 Entering Follower Scaling Control Parameters
3 - 14
CPParameter NameParameter Value
CP-33Max RPM Lead.
Enter the maximum operating RPM of
the Lead motor, measured at the Lead
CP-34Max RPM Feedback
sensor shaft (pulses per revolution).
Enter the maximum desired RPM of the
Follower motor, measured at the
Follower feedback sensor shaft.
CP-33PPR Lead
Enter the number of gear teeth or
encoder lines on the Lead sensor.
CP-31PPR Feedback
Enter the number of gear teeth or
encoder lines on the Follower
feedback sensor.
CP-21Follower Engineering Units
Enter the Engineering Units value if the
Lead (CP-33) is operating at maximum
RPM and the Follower (CP-34) is
operating at maximum RPM.
With your scaling established, you can enter values for Follower Setpoints 1 and 2
(CP-03, CP-04). The value that you enter for a setpoint is the ratio of the Follower
E.U.s at which you want to operate the system, divided by the E.U.s that the Lead is
operating at.
Follower E.U. desired
Setpoint =
________________________________
Lead E.U. operation
You can toggle between the two setpoints, if you have wired the Setpoint Select
accordingly. Setpoint Select (located at J5 pins 13, 14), determines which of the two
setpoints is active (refer to
Setpoint Select
on page 2-12). The factory preset, default
Follower Setpoints 1 and 2 (CP-03 and CP-04) are set at “0”. To modify these default
parameters, refer to Table 3-10.
Table 3-10 Entering Follower Setpoint Control Parameters
CPParameter NameParameter Value
CP-03Follower Setpoint 1
Divide the Follower E.U. that you want,
by the Lead E.U. that the Lead is
operating at, and enter that value.
CP-04Follower Setpoint 2
Divide the Follower E.U. that you want,
by the Lead E.U. that the Lead is
operating at, and enter that value.
Examples of the Follower mode of operation are demonstrated on the following pages.
3 - 15
Follower Mode Examples A and B
Example A demonstrates how scaling and setpoint Control Parameters are entered for
a typical Follower mode of operation that uses a ratio setpoint:
The Lead pump delivers 10 gallons/minute when the motor is running at
a maximum RPM of 1725. The Lead sensor shaft is equipped with a 60
tooth Ring kit. The Follower pump delivers 30 gallons/minute when the
motor is running at a maximum RPM of 1800. The Follower sensor
shaft is equipped with a 30 tooth Ring kit. Follower Setpoint 1 will be
set so that when the Lead pump delivers 5 gallons/minute, the Follower
pump will deliver 15 gallons/minute. Follower Setpoint 2 will be set so
that when the Lead pump delivers 5 gallons/minute, the Follower pump
will deliver 22.5 gallons/minute.
Table 3-11 shows the Control Parameters that would be entered in the ML–Trim for
Example A.
To find the ratio for the Follower Engineering Units (CP-21) for Example A:
Follower E.U. (CP-21) =
30 gal / minThe Follower Engineering Units when the Follower is operating
10 gal / minThe Lead Engineering Units when the Lead is
3.00Follower Engineering Units (CP-21) as a ratio of Follower to
To find Follower Setpoint 1 (CP-03) for Example A:
Follower E.U. desired15
Setpoint 1 =
________________________________
Lead E.U. operation5
=
15 gal/minThe Follower Engineering Units (gallon per minute) at which
you want the Follower to operate - do not confuse this with the
full capacity gal/min that the Follower is capable of pumping.
Divided by
5 gal/minThe Lead Engineering Units that the Lead is operating at - do
not confuse this with the full capacity that the Lead is capable
of operating at.
Equals
3.00Follower Setpoint 1 (CP-03) value.
To find Follower Setpoint 2 (CP-04) for Example A:
___
=3
Setpoint 2 =
22.5 gal/minThe Follower Engineering Units (gallon per minute) at which
5 gal/minThe Lead Engineering Units (gallon per minute) that the Lead is
4.50Follower Setpoint 2 (CP-04) value.
Follower E.U. desired22.5
________________________________
Lead E.U. operation5
=
you want the Follower to operate - do not confuse this with the
full capacity gal/min that the Follower is capable of pumping.
Divided by
operating at - do not confuse this with the full capacity that the
Lead is capable of pumping.
Equals
___
=4.50
3 - 17
Table 3-11 Follower Mode Control Parameters Example A
CPParameter NameParameter Value
CP-33Max RPM Lead1725
CP-34Max RPM Feedback1800
CP-30PPR Lead60
CP-31PPR Feedback30
CP-21Follower E.U.3.00
CP-03Follower Setpoint 13.00
CP-04Follower Setpoint 24.50
The ML–Trim will adjust and monitor the speed of the Follower motor to achieve the
desired gallons/minute. This completes the scaling and setpoint information for
Example A. Example B is discussed in the following section.
3 - 18
Example B demonstrates how scaling and setpoint Control Parameters are entered for
a typical Follower mode of operation that uses a setpoint based on a percentage
setpoint:
The Lead pump delivers 20 gallons/minute of ingredient A. The Lead
motor's is running at a maximum RPM of 1800 and the Lead sensor
shaft is equipped with a 60 tooth Ring kit. The Follower pump delivers
10 gallons/minute of ingredient B. The Follower motor is running at a
maximum RPM of 1800 and the Follower sensor shaft is equipped with
a 60 tooth Ring kit. Follower Setpoint 1 will be set so that when the
Lead pump delivers 20 gallons/minute of ingredient A, the Follower will
deliver 10 gallons/minute of ingredient B. Setpoint 2 will be set so when
the Lead pump delivers 10 gallons/minute of ingredient A, the Follower
pump will delivers 7 gallons/minute of ingredient B.
Table 3-12 shows the Control Parameters that would be entered in the ML–Trim for
Example B.
To find the ratio for the Follower Engineering Units (CP-21) for Example B:
Follower E.U. (CP-21) =
10 gal/minThe Follower Engineering Units when the Follower is operating
Divided by
20 gal/minThe Lead Engineering Units when the Lead is operating at
Multiplied by 100 (%) equals
50Follower Engineering Units (CP-21) as a percent of Follower to
To find Follower Setpoint 1 (CP-03) for Example B:
Follower E.U. desired
Setpoint 1 =
________________________________
Lead E.U. operation
x100 (%)
10 gal/minThe Follower Engineering Units (gallons/minute of ingredient B)
at which you want the Follower to operate - do not confuse this
with the full capacity that the Follower is capable of pumping.
Divided by
20 gal/minThe Lead Engineering Units (gallons/minute of ingredient A)
that the Lead is operating at - do not confuse this with the full
capacity that the Lead is capable of operating at.
Multiplied by 100 (%) Equals
50Follower Setpoint 1 (CP-03) value.
To find Follower Setpoint 2 (CP-04) for Example B:
Setpoint 2 =
3 - 20
Follower E.U. desired
________________________________
Lead E.U. operation
x100 (%)
7 gal/minThe Follower Engineering Units (gallons/minute of ingredient B)
at which you want the Follower to operate - do not confuse this
with the full capacity that the Follower is capable of pumping.
Divided by
10 gal/minThe Lead Engineering Units (gallons/minute of ingredient A)
that the Lead is operating at - do not confuse this with the full
capacity that the Lead is capable of operating at.
Multiplied by 100(%) Equals
70Follower Setpoint 2 (CP-04) value.
Table 3-12 Follower Mode Control Parameters Example B
CPParameter NameParameter Value
CP-33Max RPM Lead1800
CP-34Max RPM Feedback1800
CP-30PPR Lead60
CP-31PPR Feedback30
CP-21Follower E.U.50
CP-03Follower Setpoint 150
CP-04Follower Setpoint 270
The ML–Trim will adjust and monitor the speed of the motors to achieve the desired
gallons/minute. That completes the scaling and setpoint information for Example B.
After the Control Parameters for the Scaling and for the Follower setpoint have been
entered, you can enter the Control Parameters for the Acceleration/Deceleration of the
Follower mode. The Control Parameters for Acceleration/Deceleration are identical for
both the Master and the Follower modes of operations. Acceleration/Deceleration is
discussed in
Operation: Control Parameters, Acceleration/Deceleration,
page 3-26.
3 - 21
Inverse Master Mode
The Inverse Master Mode is a variation of the Master Mode. The Inverse Master Mode
has an inverted setpoint. If you increase the value of the setpoint (CP-01 or CP-02),
then the motor speed will decrease. Inverse Mode setpoints generally use engineering
units of time.
With the Inverse Scaling (CP-62) set to “2”, enter values in the Master Setpoints
(CP-01 and CP-02) that represent the E.U. at which you want the system to operate.
The higher the setpoint value; the slower the motor speed. Inversely, the lower the
setpoint value; the higher the motor speed.
The ML–Trim comes factory pre-loaded with the default Control Parameters for the
standard Master Mode. These default settings are not suitable for Inverse applications
and require modification. The factory default Control Parameters for the standard
Master Mode are found in Table 3-13. To modify these default parameters, refer to
Table 3-14. If you are uncertain how to enter a Control Parameter, review the
Operations: Keypad
CPParameter NameParameter Value
section, page 3-3.
Table 3-13 Default Inverse Master Control Parameters
3 - 22
CP-62Inverse Scaling1 (Standard Scaling)
CP-20Master E.U.2000
Table 3-14 Entering Inverse Master Control Parameters
CPParameter NameParameter Value
CP-62Inverse ScalingEnter “2” for Inverse Scaling.
CP-20Master E.U.
Enter the minimum Master Engineering
Units value if the system were to operate
at the maximum RPMs entered in (CP-34).
Inverse Master Mode Example
The Inverse Master Mode Example demonstrates how scaling and setpoint Control
Parameters are entered for a typical Inverse Master mode of operation:
It takes 10 seconds to move a product through a heat treat oven when
the conveyor motor is running at 1500 RPM. The conveyor motor shaft
is equipped with a 60 tooth ring kit. Set Master Setpoint 1 (CP-01) so
that the product is in the oven for 20 seconds. Set Master Setpoint 2
(CP-02) so that the product is in the oven for 15 seconds.
Table 3-15 shows the scaling Control Parameters that would be entered in the ML–Trim
for this example.
Table 3-15 Inverse Master Mode Control Parameters Example
CPParameter NameParameter Value
CP-62Inverse Scaling2
CP-31PPR Feedback60
CP-34Max RPM Feedback1500
CP-20Master E.U.10.0
CP-01Master Setpoint 120.0
CP-02Master Setpoint 215.0
After the Scaling and the Master Setpoints for your system have been entered, you can
enter the Acceleration/Deceleration Control Parameters for the Inverse Master mode.
The Acceleration/Deceleration Control Parameters are identical for both the Inverse
Master and the Inverse Follower modes of operations. Acceleration/Deceleration is
discussed in
The following section demonstrates how to enter Control Parameters for the Inverse
Follower mode of operation.
Operation: Control Parameters, Acceleration/Deceleration,
page 3-26.
3 - 23
Inverse Follower Mode
The Inverse Follower Mode is a variation of the Follower Mode. The Inverse Follower
Mode has an inverted setpoint. If you increase the value of the setpoint (CP-03 or
CP-04), then the ratio of Follower speed to Lead speed will decrease.
With the Inverse Scaling (CP-62) set to “2”, enter values in the Follower Setpoints
(CP-03 and CP-04) that represent the E.U. at which you want the system to operate.
The higher the setpoint value; the lower the Follower to Lead ratio speed.
The ML–Trim comes factory pre-loaded with the default Control Parameters for the
standard Follower Mode. These default settings are not suitable for Inverse
applications and require modification. The factory default Control Parameters for the
standard Follower Mode are found in Table 3-16. To modify these default parameters,
refer to Table 3-17. If you are uncertain how to enter a Control Parameter, review the
Operations: Keypad
Table 3-16 Default Inverse Follower Control Parameters
CPParameter NameParameter Value
CP-62Inverse Scaling1 (Standard Scaling)
section, page 3-3.
3 - 24
CP-21Follower E.U.1.000
Table 3-17 Entering Inverse Follower Control Parameters
CPParameter NameParameter Value
CP-62Inverse ScalingEnter “2” for Inverse Scaling.
CP-21Follower E.U.
Enter the minimum Engineering
Units if the system were to operate
at the Max RPM Lead (CP-33) and the
Max RPM Feedback (CP-34).
Inverse Follower Mode Example
The Inverse Follower Mode Example demonstrates how the scaling and setpoint
Control Parameters are entered for a typical Inverse Follower mode of operation:
In a wire machine twisiting application, the Follower twists the wire as the Lead
pulls the wire. When the Follower is at the maximum revolutions per minute of
1800 RPM and the Lead is at the maximum revolutions per minute of 2000
RPM, then the twist length (lay) is at its minimum of 2.0 inches. The Follower
motor uses a 1200 PPR encoder and the Lead motor shaft is equipped with a
60 tooth ring kit. Follower Setpoint 1 is setup for the minimum twist lay of 2.0
inches. Follower Setpoint 2 is setup for a twist lay of 5.0 inches.
Table 3-18 shows the scaling Control Parameters that would be entered in the ML–Trim
for this example.
Table 3-18 Inverse Follower Mode Control Parameters Example
After the Scaling and the Follower Setpoints for your system have been entered, you
can enter the Acceleration/Deceleration Control Parameters for the Inverse Follower
mode. The Acceleration/Deceleration Control Parameters are identical for both the
Inverse Master and the Inverse Follower modes of operations. Acceleration/
Deceleration is discussed in the following section.
3 - 25
Acceleration/Deceleration
Acceleration/Deceleration (CP-16 and CP-17) control the rate of speed change in
response to setpoint changes. These parameters apply to both the Master and
Follower modes of operation.
The ML–Trim comes factory pre-loaded with default Control Parameters for
Acceleration/Deceleration. Generally, these default settings are suitable for most
applications and do not require modification. The factory default Control Parameters for
Timing are found in Table 3-19. To modify these default parameters, refer to
Table 3-20. If you are uncertain how to enter a Control Parameter, review the
Operations: Keypad
Table 3-19 Default Master or Follower Acceleration/Deceleration Control
CPParameter NameParameter Value
CP-16Acceleration Time5.0
CP-17Deceleration Time5.0
section, page 3-3.
Parameters
Table 3-20 Entering Master or Follower Acceleration/Deceleration Control
Parameters
CPParameter NameParameter Value
CP-16Acceleration Time
Enter the desired number of seconds to
increase the motor speed from 0 to 2000
RPMs.
CP-17Deceleration Time
Enter the desired number of seconds to
decrease the motor speed from 2000 to 0
RPMs.
After the Control Parameters for Acceleration/Deceleration have been entered, you can
enter the Control Parameters for Tuning either the Master or the Follower mode. The
tuning Control Parameters are identical for both the Master and the Follower modes of
operations. Tuning is discussed in the following section.
3 - 26
Tuning
If your system is unstable, or the speed error is unacceptable, tuning stabilizes speed
error differences between the setpoint and feedback. You can achieve a stable system
using conservative tuning Control Parameter values, however the speed error may be
unacceptable. On the other hand, aggressive tuning Control Parameter values may
cause the system to become unstable. The goal is to reduce the speed error to the
level that you want, yet maintain the system's stability.
To achieve an acceptable level of speed error, adjust the Gain (CP-65) until the system
stabilizes. In systems that require greater accuracy, it may be necessary to adjust the
Integral (CP-66) to reduce any remaining speed error. In systems with low inertia, the
speed error will be reduced more quickly if you enter low values in CP-66. An entry that
is too low, however, can create instability or overshoot the setpoint before reaching the
correct value. Generally, use larger entries for CP-66 on systems with a large inertia.
Sometimes performance can be improved in systems with a large inertia by lowering
the Derivative (CP-67).
The ML–Trim comes factory pre-loaded with default Control Parameters for Tuning.
These default settings are suitable for most applications and do not require
modification. The factory preset, default tuning Control Parameters are found in Table
3-21. To modify these default parameters, refer to Table 3-22. If you are uncertain how
to enter a Control Parameter, review the
Operations: Keypad
section, page 3-3.
Table 3-21 Default Master or Follower Tuning Control Parameters
CPParameter NameParameter Value
CP-65Gain (Proportional)9000
CP-66Integral2000
CP-67Derivative9000
3 - 27
Table 3-22 Entering Master / Follower Tuning Control Parameters
CPParameter NameParameter Value
CP-65Gain (Proportional)
CP-66Integral
CP-67Derivative
With Integral (CP-66) set to “0” , reduce
the Gain (CP-65) until the system becomes
unstable, then increase it slightly until the
system stabilizes. Reduced values will
increase Gain. To verify the stability of the
speed changes, you can access Tach
through either the Tach key or the Monitor
Parameter for Tach (MP-40).
While switching between the high and low
setpoints, decrease the Integral's default
value of “2000” until the speed error is
reduced within an acceptable time frame.
To verify the stability of the speed changes,
you can access Tach through either the
tach key or the Monitor Parameter for Tach
(MP-40).
The Derivative should not be adjusted in
most systems. However, sometimes in the
larger inertia systems you can improve
performance by lowering the Derivative
term to the point of instability and then
increasing it incrementally until the system
stabilizes.
After the Control Parameters for Tuning have been entered, you can enter the Control
Parameters for the Alarms for either the Master or the Follower mode. Alarms are
discussed in the following section.
3 - 28
Alarms
The Control Parameters for Alarms are identical for both the Master and the Follower
modes of operations. By entering values in the Control Parameters for the Alarms
(CP-12, CP-13, CP-14, CP-15), you can establish circumstances under which the
ML–Trim will alert you to potential operating problems. The Alarm Format (CP-10) can
be set to activate at any combination of low speed, high speed, ramped error or scaled
error conditions. The alarm output can be wired to activate a warning light, a warning
sound, or to shut down the system under specified conditions.
The ML–Trim comes factory pre-loaded with default Control Parameters for Alarms.
These default parameter values are set for widely generic conditions that generally will
not activate the alarm. This allows you to either operate your system unfettered by the
alarm or design your own alarm conditions that are unique to your system. The factory
default Control Parameters for the Alarms are found in Table 3-23. To modify these
default parameters, refer to Table 3-24. If you are uncertain how to enter a Control
Parameter, review the
CPParameter NameParameter Value
Operations: Keypad
Table 3-23 Default Alarms Control Parameters
section, page 3-3.
CP-10Alarm Format15
CP-12Low Alarm0
CP-13High Alarm2000
CP-14Ramped Error Alarm2000
CP-15Scaled Error Alarm2000
3 - 29
Table 3-24 Entering Alarms Control Parameters
CPParameter NameParameter Value
CP-10Alarm Format
CP-12Low Alarm
CP-13High Alarm
CP-14Ramped Error Alarm
CP-15Scaled Error Alarm
This Control Parameter determines the
circumstances under which the ML–Trim
will alert you to potential operating problems.
The alarm can be wired to activate a
warning light, a warning sound, or to shut
down the system under specified
conditions. Alarm Format (CP-10)
determines which alarm conditions will
activate the Alarm output, using the values
that are entered in Low Alarm (CP-12),
High Alarm (CP-13), Ramped Error Alarm
(CP-14) and Scaled Error Alarm (CP-15).
Enter the RPMs at or below which you want
the Alarm output to activate.
Enter the RPMs at or above which you want
the Alarm output to activate.
Enter the RPM Deviation between the
Ramped Reference and the feedback that will
activate the Alarm output.
Enter the RPM Deviation between the Scaled
Reference and the feedback that will activate
the Alarm output.
3 - 30
Jog
Jog increases the RPMs at the acceleration rate that you specified in Acceleration Time
(CP-16) until the Jog Setpoint (CP-05) is achieved. When Jog is terminated, there is no
Deceleration Time (CP-17); the drive comes to an immediate stop. The factory default
Control Parameter for Jog is found in Table 3-25. To modify this default parameter,
refer to Table 3-26. If you are uncertain how to enter a Control Parameter, review the
Operations: Keypad
CPParameter NameParameter Value
CP-05Jog Setpoint50
CPParameter NameParameter Value
section, page 3-3.
Table 3-25 Default Jog Control Parameters
Table 3-26 Entering Jog Control Parameters
CP-05Jog Setpoint
Enter the RPM at which you want your
system to operate when it is in Jog.
For information on the Jog Logic Input, refer to
page 3-36.
Logic Control: Logic Inputs, Jog,
3 - 31
—NOTES—
3 - 32
LOGIC CONTROL
This section addresses the four digital inputs and one digital output that control the
ML–Trim's operating state.
The four digital inputs are F–Stop, R–Stop, Run and Jog. When the ML–Trim is
powered up, it defaults to R–Stop. If either Run or Jog have been hardwired, the
ML–Trim will operate in either Run or Jog instead of R–Stop. Run is hardwired by
shorting Run, R–Stop and F–Stop to common. Jog is hardwired by shorting Jog,
R–Stop, and F–Stop to common.
The motor drive is activated by the Drive Enable digital output. The sections that follow
demonstrate how to use the digital inputs and the Drive Enable output.
Caution
Do not use the AC line power
to start or stop the system.
Use the Digital Inputs to start or stop
the system.
3 - 33
Logic Inputs
F–Stop has priority over the other operating states. F–Stop brings the ML–Trim's
Speed Command output to an immediate Zero.
To activate F–Stop:
• Open the F–Stop Input. (F–Stop is latched and does not need to be
maintained to remain active.)
F-STOP
10
11
J5
Open Momentarily
F-STOP
COMMON
R–Stop has the second highest operating priority. R–Stop decelerates the Speed
Command output to Zero, using the Deceleration Time (CP-17).
To activate R–Stop:
• Short the F–Stop input to common.
• Open the R–Stop input. (R–Stop is latched and does not need to be
maintained to remain active.)
R-STOP
9
R-STOP
3 - 34
F-STOP
Open Momentarily
10
11
J5
F-STOP
COMMON
Run has the third highest operating priority. Run ramps to the scaled setpoint speed,
using the Acceleration Time (CP-16). Run can be activated when the ML–Trim is in
R–Stop or F–Stop, however Run cannot be activated when the ML–Trim is in Jog.
To activate Run:
• Short the F–Stop and R–Stop inputs to common.
• Open the Jog input.
• Short the Run input to common. (Run is latched and does not need to be
maintained to remain active.)
RUN
JOG
R-STOP
F-STOP
Close Momentarily
10
11
J5
6
7
8
9
RUN
JOG
COMMON
R-STOP
F-STOP
COMMON
3 - 35
Jog has the least operating priority. Jog ramps to the Jog Setpoint (CP-05), using the
Acceleration Time (CP-16). When Jog is terminated, the ML–Trim brings the Speed
Command output to an immediate Zero. Unlike the other inputs, Jog is not latched and
must be sustained to remain active.
To activate Jog:
• Short the F–Stop and R–Stop inputs to common.
• Open the Run input.
• Short the Jog input to common. (Jog must be sustained to remain active).
RUN
JOG
R-STOP
F-STOP
Maintain Closed
10
11
J5
6
7
8
9
RUN
JOG
COMMON
R-STOP
F-STOP
COMMON
3 - 36
Logic Output
Drive Enable activates the motor drive based on the Ramped Reference (MP-46) and
the feedback. The Ramped Reference (MP-46) is the calculated setpoint that is output
from the Acceleration/Deceleration routine.
Drive Enable Logic (CP-74) determines which conditions of the Ramped Reference
(MP-46) and feedback will control the Drive Enable output. The factory defaults for
Drive Enable Logic (CP-74) is found in Table 3-27. To modify this default parameter,
refer to Table 3-28. If you are uncertain how to enter a Control Parameter, review the
Operations: Keypad
Table 3-27 Default Drive Enable Logic Control Parameter
CPParameter Name Parameter Value
CP-74Drive Enable Logic 0
Table 3-28 Entering Drive Enable Logic Control Parameter
section, page 3-3.
CPParameter NameParameter Value
CP-74Drive Enable LogicEnter “0” in CP-74 to deactivate the Drive Enable
output (output high) when the Ramped Reference is
zero, and activate the Drive Enable output (output low)
when the Ramped Reference is not zero.
Enter “1” in CP-74 to deactivate the Drive Enable
output when both the Ramped Reference and the
feedback are zero, and activate the Drive Enable
output when the Ramped Reference is not zero.
3 - 37
—NOTES—
3 - 38
MONITOR PARAMETERS
Parameters are divided into two classifications; Control Parameters (CP) and Monitor
Parameters (MP). The numbered code that represents the Parameter is the Parameter
Code. The operational data is the Parameter's value.
Control Parameter 05=50 (default)
Parameters =
Monitor Parameter 40=200
(arbitrary)
Parameter CodeParameter Value
This section is about Monitor Parameters. Control Parameters are explained in
Operation: Control Parameters,
The ML–Trim has a number of Monitor Parameters (MPs) that monitor the performance
of the ML–Trim and your system, troubleshoot for problems, and confirm the wiring and
tuning. MPs can be accessed at any time during the ML–Trim's operation, including
during Run, Jog, R–Stop and F–Stop.
Note:Monitor Parameters are status indicators only - you can not directly affect a MP.
There are four categories of Monitor Parameters:
Input Monitoring.
Output Monitoring.
Performance Monitoring.
Status Monitoring.
In the subsections that follow, the Monitor Parameters are listed according to these
categories.
page 3-7.
3 - 39
Input Monitoring
These MPs monitor the ML–Trim's inputs.
MP-41 LEAD FREQUENCY
The Lead Frequency (MP-41) displays the frequency of the Lead Frequency Input
(J5 pin 3) in units of hertz (pulses per second). The Lead Frequency (MP-41) is not
averaged or filtered; it is the ten millisecond frequency calculation prior to the display
update. Because the Lead Frequency (MP-41) is not averaged or filtered and because
of sensor irregularities, it may appear less stable than Tach (MP-40).
Numbers that are larger than 9999 are displayed with two decimal places. For
example, 10,000 hertz is displayed like the figure below in MP-43.
MP-43 FEEDBACK FREQUENCY
The Feedback Frequency (MP-43) displays the frequency of the Feedback Frequency
input (J5 pin 4) in units of hertz (pulses per second). The Feedback Frequency
(MP-43) is not averaged or filtered; it is the ten millisecond frequency calculation prior
to the display update. Because the Feedback Frequency (MP-43) is not averaged or
filtered and because of sensor irregularities, it may appear less stable than Tach
(MP-40).
Numbers that are larger than 9999 are displayed with two decimal places. For
example, 10,000 hertz is displayed as follows:
Two Decimal Places
3 - 40
MP-54 LOGIC INPUTS - GROUP A
The Logic Inputs A displays the status of the Run, Jog, R–Stop and F–Stop digital
inputs. The number “1” indicates an open, or logic high level. The number “0” indicates
a closed, or logic low level (shorted to common). In the example below, “Jog” is the
open or logic high level.
Code
R–Stop (J5 Pin 9)
F–Stop (J5 Pin 10)
Run (J5 Pin 6)
Jog (J5 Pin 7)
MP-55 LOGIC INPUTS - GROUP B
The Logic Inputs B displays the status of the Master/Follower and Setpoint Select
digital inputs. The number “1” indicates an open, or logic high level. The number “0”
indicates a closed, or logic low level (shorted to common). In the example below,
“Setpoint Select” is the open or logic high level.
Code
Not Used
Not Used
Master or Follower (J5 Pin 12)
Setpoint Select (J5 Pin 13)
3 - 41
Output Monitoring
These MPs monitor the ML–Trim's outputs.
MP-47 SPEED COMMAND OUT
The Speed Command Out (MP-47) displays the level of calibrated full scale analog
output to the motor drive (J2 pin 1). The Speed Command Out (MP 47) is displayed as
a percentage; 100 represents 100% of the calibrated full scale analog output.
MP-56 LOGIC OUTPUTS
The Logic Outputs (MP-56) displays the status of the Drive Enable and the Alarm digital
outputs. The number “1” indicates an inactive or de-energized (logic high) level. The
number “0” indicates an active or energized (logic low) level. In the example below,
“Alarm” is the inactive or de-energized (logic high) level.
3 - 42
Code
Drive Enable (J5 Pin 16)
Alarm (J5 Pin 17)
Not Used
Not Used
Performance Monitoring
Performance Monitor Parameters monitor the performance of the ML–Trim and your
system. Figure 3-2 is a block diagram of the internal control structure of the ML–Trim
and the Performance Monitor Parameters.
Feedforward
PID Compensation
Routine
Trim
Output
(MP-48)
+
+
+
Speed Command
Out (MP-47)
Lead
Frequency
(MP-41)
Feedback
Frequency
(MP-43)
Active
Scaling
(MP-50)
Master
Follower
Scaled
Reference
(MP-45)
Accel /
Decel
Feedback
Scaling
+
Ramped
Reference
(MP-46)
Deviation
(MP-44)
+
–
Tach
(MP-40)
Figure 3-2 ML–Trim Internal Structure
MP-40 TACH
Tach (MP-40) is the feedback displayed in scaled Engineering Units or RPM. In the
Master mode, Tach (MP-40) will display the feedback in Master Engineering Units
(CP-20). In the Follower mode, Tach (MP-40) will display either the E.U.s/Time or the
feedback to Lead ratio in Follower Engineering Units (CP-21), depending on the value
in Display Mode Follower (CP-64). In Jog or the Direct mode, Tach (MP-40) will display
the feedback in RPMs. The feedback is read by the ML–Trim every ten milliseconds.
The readings are summed, then averaged for one second before the Tach is displayed.
MP-44 DEVIATION (ERROR)
Deviation (MP-44) displays the difference between the Ramped Reference (MP-46) and
the Feedback Frequency (MP-43) measured in units of hertz (pulses per second).
Deviation (MP-44) is not averaged or filtered; it is the ten millisecond frequency
calculation prior to the display update.
3 - 43
MP-45 SCALED REFERENCE
The Scaled Reference (MP-45) is the scaled setpoint number converted to hertz. It is
the calculated value that is input to the Acceleration/Deceleration routine. This
parameter may display numbers that are larger than 9999. These larger values are
displayed with two decimal places. For example, 10,000 hertz is displayed as “10.00.”.
MP-46 RAMPED REFERENCE
The Ramped Reference (MP-46) is the calculated output of the Acceleration/
Deceleration routine in hertz. It is the setpoint input to the PID compensation routine.
This parameter may display numbers that are larger than 9999. These larger values
are displayed with two decimal places. For example, 10,000 hertz is displayed as
“10.00.”.
MP-47 SPEED COMMAND OUTPUT
The Speed Command Output (MP-47) displays the level of calibrated full scale analog
output to the motor (J2 pin 1). Speed Command Output is displayed as a percentage;
100 represents 100% of the calibrated full scale analog output.
MP-48 TRIM OUTPUT
The Trim Output (MP-48) is the calculated output of the PID Compensation routine.
The Trim Output (MP-48) added to the Feedforward equals the Speed Command
Output (MP-47). The Trim Output is represented in DAC (Digital-to-Analog Converter)
bits where 4096 equals 100% output, 2048 equals 50% output, etc.
3 - 44
Status Monitoring
These MPs monitor the status of the ML–Trim's modes of operation and operating
states.
MP-50 ACTIVE SCALING MODE
The digit that displays a number “1” is the Active Scaling Mode (MP-50). In the
example below, “Master Mode” is the active Scaling mode.
Code
Follower Mode
Inverse
MP-51 KEYPAD ERROR
If a Control Parameter entry has been rejected, Keypad Errors (MP-51) will ascertain
the reason that it was rejected. The digit that displays a number “1” is the error. In the
example below, “Above Maximum Allowed Value” is the error.
Code
Above Maximum Allowed Value
Below Minimum Allowed Value
Entry Timeout or Keypad Lockout
Direct Mode
Master Mode
Invalid Code Parameter
3 - 45
MP-52 ALARM STATUS
The digit that displays a number “1” is the active Alarm. In the example below, “High
Speed Alarm ” is the active alarm.
Code
Ramped Error
Scaled Error
Low Speed Alarm
High Speed Alarm
MP-53 CONTROL STATE
The digit that displays a number “1” is the active control state of the ML–Trim. In the
example below, “Run” is the active control state.
Code
Jog
Run
R-Stop
F-Stop
3 - 46
MP-57 EEPROM STATUS
The Control Parameters are stored in the EEPROM memory chip. EEPROM Status (MP-57)
displays the status of the EEPROM memory chip. The number “0” indicates no failure. The
number “1” indicates a write verify error. In the event of an error, call Technical Support at (612)
424-7800 or 1-800-342-4411.
MP-59 FREQUENCY OVER FLOW COUNTER
The Frequency Over Flow Counter (MP-59) is a counter that increments each time the frequency
input to the ML–Trim causes an overflow. To reset the counter to “0”, press the Clear key.
3 - 47
—NOTES—
3 - 48
SERIAL COMMUNICATIONS
The ML–Trim can interface with a host computer through a RS485 Serial
Communications Interface. This interface allows the host computer to perform remote
Control Parameter entry, status or performance monitoring, and remote control of the
ML–Trim. Refer to
If you are using the M-Host software, your communications network is user ready and
does not require any software programming. M–Host software is available through your
distributor. If you are designing your own software, refer to
Design,
establish a link through the Serial Communications Interface.
page 3-52, in this section. Once the software is installed, you are ready to
Using Serial Communications,
page 3-50, in this section.
Communications Software
3 - 49
Using Serial Communications
This section describes how to use the Serial Communications. Before you can apply
this section, The ML–Trim must be interfaced with a host computer through a RS485
Serial Communications Interface. The host computer must have the M-Host software
or its equivalent installed.
The ML–Trim comes factory pre-loaded with default Control Parameters for Serial
Communications Setup. These Control Parameters physically set up the ML–Trim to
accommodate the RS485 Serial Communications Interface. Generally, the default
settings are suitable for most applications and do not require modification. The factory
default Control Parameters for Serial Communications Setup are found in Appendix D.
These default parameters can be modified, using the Serial Communications Interface.
CP-70 DEVICE ADDRESS
The ML–Trim has a physical address which can be set from 1 to 32. Each individual
ML–Trim on a multidrop RS485 communications link needs a unique Device Address.
The address “00” will be globally accepted by all of the ML–Trims on a communications
link, however, they will not send a response message back to the host computer when
this global address is used.
CP-71 BAUD RATE
There are six different baud rates (data rates) for the ML–Trim. Enter the number, for
the required function, as listed below.
The ML–Trim uses three different character formats. Enter the number for the required
format, as listed below.
1 = 8 Data Bits, No Parity, One Stop Bit
2 = 7 Data Bits, Even Parity, One Stop Bit
3 = 8 Data Bits, No Parity, Two Stop Bits
CP-73 CONTROL MASK
The Serial Communications can control some of the digital input functions. Enter the
number for the required functions, as listed below.
0 = F–Stop only
1 = F–Stop, Run, R–Stop
2 = F–Stop, Master/Follower, Setpoint Select
3 = All of the Above
MP-58 SERIAL COMMUNICATIONS ERROR
Serial Communications Error identifies errors in the last transmitted message that was
sent to the ML–Trim by the host computer. The mode that displays a number “1”
indicates the error. In the example below, “Invalid Parameter Code” is the error.
Code
Structure Error (Parity,Framing,No ETX, No STX)
Invalid Parameter Code
Invalid Parameter Data or Out of Data Min-Max Range
Control Mask Error
3 - 51
Communications Software Design
The ML–Trim Serial Communications Interface uses a polling technique to establish a
link with the host computer. With the exception of Keypad Lockout (CP-98), all of the
Control Parameters and Monitor Parameters that are accessible through the ML–Trim's
front panel keypad are also accessible through the Serial Communications Interface.
The host computer sends a twelve character record to the ML–Trim to establish the link
and the ML–Trim responds with either a conformation or an error message. Once the
ML–Trim responds, the host computer can send additional transmissions.
All of the ML–Trim's messages use the USA Standard Code for Information Interchange
(ASCII). The host computer sends three types of messages;
Parameter Send - To change CPs.
Control Command Send - To control operating states.
Data Inquiry - To monitor CPs and MPs.
These three message types, their character level descriptions in binary and ASCII, as
well as the ML–Trim's response record, are outlined in the sections that follow.
3 - 52
Parameter Send
Use the Parameter Send to change any of the ML–Trim's Control Parameters.
Table 3-29 Parameter Send - Host Transmission
Character # 123456789101112
DESCSTX10s1sTYPE10s1s1000s 100s10s1sFORMETX
ASCIISTX0-90-930-90-90-90-90-90-90-8ETX
DEV # DEV # MSGPAR # PAR # DATA DAT A DATA DATADATA
The following is a description of the Parameter Send-Host Transmission Characters.
Character 1 - STX:
This is the first character in the character string. None of the other characters will
be recognized without this character prefix. Always use the ASCII “STX” character;
it enables the ML–Trim's receive buffer.
Characters 2, 3 - Device #:
These characters are the access address of the ML–Trim. This number identifies
individual ML–Trims on a multidrop system. The ML–Trim will accept data only if
this number matches the ML–Trim's address (CP-70), with the exception of a “00”
address. The “00” address is universally accepted by all of the ML–Trims that are
on the RS485 Serial Communications Interface.
Character 4 - Message Type:
This character should always be “3”.
3 - 53
Character 5, 6 - Parameter Number:
These characters identify the Control Parameter that you want to change
(i.e., “16” = CP-16).
Characters 7 through 10 - DATA:
These characters transmit the new value for a Control Parameter that you want to
change. The Data must be within the range specified in Appendix D.
Character 11 - Data Format:
Character 11 indicates the decimal location and polarity of the data that was
transmitted in characters 7 through 10. Use the following codes to indicate decimal
location and polarity:
Codes “0 ” through “7” are valid for CP-20 and CP-21. All other Code Parameters
have either fixed or derived decimal locations and must use Code “0”. Code “8”
does not apply to the parameter send.
Character 12 - ETX:
Always use the ASCII “ETX” character to terminate the character string.
Example of Parameter Send:
A new Acceleration Time of 52.3 seconds is sent to the ML–Trim at address 4.
ASCII character string: “STX0431605230ETX”
Note: The character string has no spaces between the integers.
3 - 55
Table 3-30 Parameter Send - ML–Trim Response
Character # 123456789101112
DESCSTX10s1sCODE10s1s1000s 100s10s1sFORMETX
ASCIISTX0-90-9 @-DEL0-90-90-90-90-90-90-8ETX
DEV # DEV # ERROR PAR # PAR # DATA DAT A DATA DATADATA
The following is a description of the Parameter Send-ML–Trim Response Characters.
Character 1 - STX:
This is the first character in the character string.
Characters 2, 3 - Device #:
This is the two character access address for the ML–Trim.
Character 4 - Error Code:
If there are errors in the transmission that the ML–Trim receives from the host
computer, the Error Code will display them. Use Table 3-35 (page 3-66) to convert
the ASCII code to binary. The binary code can be decoded as follows:
3 - 56
Bit 7Always “0”.
Bit 6Always “1”.
Bit 51 = Data was out of minimum/maximum range.
Bit 41 = Checksum or Decimal Point Error, Invalid Parameter Code.
Bit 31 = Receive buffer filled before “ETX” received or Message Format Error.
Bit 21 = Invalid Parameter Data.
Bit 11 = Parity Error.
Bit 01 = Always “0”
Note:The ML–Trim will only accept data if there are no errors. The ASCII
error code “@” (Binary code “1000000”) indicates that the Host Transmission
contains no errors.
Characters 5,6 - Parameter Number:
The Control Parameter code is sent back to the host computer from the ML–Trim.
Characters 7 through 10 - DATA:
The Control Parameter data is sent back to the host computer from the ML–Trim.
Character 11 - Data Format:
The Data Format character is sent back to the host computer from the ML–Trim.
Character 12 - ETX:
The return message is always terminated with the ASCII “ETX” character.
3 - 57
Control Command Send
The Control Command Send allows the host computer to control the operating
functions of the ML–Trim that are associated with the digital inputs (Run, Stop,
Setpoint Select and Master/Follower).
Table 3-31 Control Command Send - Host Transmission
Character # 123456789101112
DESCSTX10s1sTYPE10s1s1000s 100s10s1sFORMETX
ASCIISTX0-90-9100000-10-90ETX
DEV # DEV # MSGPAR # PAR # DATA DAT A DATA DATADATA
The following is a description of the Control Command Send - Host Transmission.
Character 1 - STX:
This is the first character in the character string. None of the other characters will
be recognized without this character prefix. Always use the ASCII “STX” character;
it enables the ML–Trims receive buffer.
Characters 2, 3 - Device #:
These characters are the access address of the ML–Trim. This number identifies
individual ML–Trims on a mutltidrop system. The ML–Trim will accept data only if
this number matches the ML–Trim's address (CP-70), with the exception of a “00”
address. The “00” address is universally accepted by all ML–Trims that are on the
RS485 Serial Communications Interface.
Character 4 - Message Type:
This character should always be “1”.
3 - 58
Characters 5,6 - Parameter Number:
These characters should always be “0”.
Characters 7 through 8 - DATA:
These characters should always be “0”.
Characters 9,10- DATA:
01F–Stop
02R–Stop
03Run
04Enable Master Mode
05Enable Follower Mode
06Not in Use
07Not in Use
08Not in Use
09Not in Use
10Enable Setpoint 1/3
11Enable Setpoint 2/4
12Not in Use
13Not in Use
14Not in Use
15Not in Use
Character 11 - Data Format:
This character should always be “0”.
Character 12 - ETX:
Always use the ASCII “ETX” character to terminate the character string.
3 - 59
Table 3-32 Control Command Send - ML–Trim Response
Character # 123456789101112
DESCSTX10s1sCODE10s1s1000s 100s10s1sFORMETX
ASCIISTX0-90-9 @-DEL00000-90-90ETX
DEV # DEV # ERROR PAR # PAR # DATA DAT A DATA DATADATA
The following is a description of the Control Command Send-ML–Trim Response
Characters.
Character 1 - STX:
This is the first character in the character string.
Characters 2, 3 - Device #:
This is the two character access address for the ML–Trim.
Character 4 - Error Code:
3 - 60
If there are errors in the transmission that the ML–Trim receives from the host
computer, the Error Code will display them. Use Table 3-35 (page 3-66) to convert
the ASCII code to binary. The binary code can be decoded as follows:
Bit 7Always “0”.
Bit 6Always “1”.
Bit 51 = Data was out of minimum/maximum range.
Bit 41 = Checksum or Decimal Point Error, Invalid Parameter Code.
Bit 31 = Receive buffer filled before “ETX” received or Message Format Error.
Bit 21 = Invalid Parameter Data.
Bit 11 = Parity Error.
Bit 01 = Always “0”
Note:The ML–Trim will only accept data if there are no errors. The ASCII
error code “@” (Binary code “1000000”) indicates that the Host Transmission
contains no errors.
Characters 5,6 - Parameter Number:
These characters will always be “0”.
Characters 7 through 10 - DATA:
These characters will always be “0”.
Character 11 - Data Format:
This character will always be “0”.
Character 12 - ETX:
The return message is always terminated with the ASCII “ETX” character.
3 - 61
Data Inquiry
Use the Data Inquiry to request the current value for Parameters (i.e., Control
Parameters or Monitor Parameters).
Table 3-33 Data Inquiry - Host Transmission
Character # 123456789101112
DESCSTX10s1sTYPE10s1s1000s 100s10s1sFORMETX
ASCIISTX0-90-920-90-900000ETX
DEV # DEV # MSGPAR # PAR # DATA DAT A DATA DATADATA
The following is a description of the Data Inquiry - Host Transmission Characters.
Character 1 - STX:
This is the first character in the character string. None of the other characters will
be recognized without this character prefix. Always use the ASCII “STX” character;
it enables the ML–Trims receive buffer.
Characters 2, 3 - Device #:
These characters are the access address of the ML–Trim. This number identifies
individual ML–Trims on a mutltidrop system. The ML–Trim will accept data only if
this number matches the ML–Trim's address (CP-70), with the exception of a “00”
address. The “00” address is universally accepted by all ML–Trims that are on the
RS485 Serial Communications Interface.
Character 4 - Message Type:
This character should always be “2”.
3 - 62
Characters 5,6 - Parameter Number:
This is the Control Parameter code (i.e., enter “16” for CP–16).
Characters 7 through 10 - DATA:
These characters should always be “0”.
Character 11 - Data Format:
This character should always be “0”.
Character 12 - ETX:
Always use the ASCII “ETX” character to terminate the character string.
3 - 63
Table 3-34 Data Inquiry - ML–Trim Response
Character # 123456789101112
DESCSTX10s1sCODE10s1s1000s 100s10s1sFORMETX
ASCIISTX0-90-9 @-DEL0-90-90-90-90-90-90-8ETX
DEV # DEV # ERROR PAR # PAR # DATA DAT A DATA DATADATA
The following is a description of the Data Inquiry-ML–Trim Response Characters.
Character 1 - STX:
This is the first character in the character string.
Characters 2, 3 Device #:
This is the two character access address for the ML–Trim.
Character 4 -Error Code:
3 - 64
If there are errors in the transmission that the ML–Trim receives from the host
computer, the Error Code will display them. Use Table 3-35 (page 3-66) to convert
the ASCII code to binary. The binary code can be decoded as follows:
Bit 7Always “0”.
Bit 6Always “1”.
Bit 51 = Data was out of minimum/maximum range.
Bit 41 = Checksum or Decimal Point Error, Invalid Parameter Code.
Bit 31 = Receive buffer filled before “ETX” received or Message Format Error.
Bit 21 = Invalid Parameter Data.
Bit 11 = Parity Error.
Bit 01 = Always “0”
Note:The ML–Trim will only accept data if there are no errors. The ASCII
error code “@” (Binary code “1000000”) indicates that the Host Transmission
contains no errors.
Characters 5,6 - Parameter Number:
The Control Parameter code is sent back to the host computer from the ML–Trim.
Characters 7 through 10 - DATA:
The Control Parameter data that was requested is sent back to the host computer
from the ML–Trim.
For an interpretation of the MP-50 through MP-56, and CP-73 data, refer to
Table 3-36 (page 3-67). For the ASCII to binary conversion, refer to Table 3-35
(page 3-66).
Character 11 - Data Format:
Character 11 indicates the decimal location and polarity of the data that was
transmitted in characters 7 through 10.
Use the following codes to indicate decimal location and polarity:
Codes “0” through “7” are valid for CP-20 and CP-21. Code “8” is valid for MP-41
MP-43, MP-45 and MP-46. All other Code Parameters have either fixed or derived
decimal locations and must use Code “0”. For codes 9, :, and ; multiply characters
7 through 10 by ten.
Character 12 - ETX:
The return message is always terminated with the ASCII “ETX” character.