MS332 Manual Rev F Install
MS332 Manual Rev F Install
952 930-0100
6111 Blue Circle Dr. 800 328-6170
Minnetonka, MN 55343-9108 USA (fax) 952 930-0130
http://www.electro-sensors.com
3) Set-up Section
a) Master Mode Set-up Procedure………………………………………Set-up Sect. p. 1
b) Ratio-Follower Mode Set-up Procedure……………………………...Set-up Sect. p. 6
c) Index-Follower Mode Set-up Procedure……………………………..Set-up Sect. p. 12
d) Switch Inputs Set-up Procedure……………………………………...Set-up Sect. p. 18
e) NPN Outputs Set-up Procedure……………………………………...Set-up Sect. p. 18
4) Reference Section
a) Hardware Illustrations…………………………………………………….Ref. Sect. p. 1
Rear-View
Top-View
Block-View
b) Display……………………………………………………………………Ref. Sect. p. 4
Status LED’s
Display Window
Display Var (05.00)
c) Keypad……………………………………………………………………Ref. Sect. p. 6
Keys
Keypad Level Zero
Keypad Menus
Menu Access
d) Switch Inputs…………………………………………………………….Ref. Sect. p. 27
Terminal Connections
Device Compatibility
Functions
Switch Input Vars (07.00 to 07.06)
e) Scrolling………………………………………………………….……...Ref. Sect. p. 31
Scroll Vars (07.07 to 07.10)
Set-point Scroll
Advance/Retard Scroll
5) Specifications Section
a) Functional…………………………………………………..….....……..Spec. Sect. p. 1
b) Operational………………………………………………...……………Spec. Sect. p. 1
c) Electrical…………………………………………………...……..…….Spec. Sect. p. 2
d) Environmental…………………………………………………….…….Spec. Sect. p. 3
e) Mechanical…………………………………………...…………………Spec. Sect. p. 3
6) Appendix Section
a) Front-panel ERR led .........…………………….…………………..Appendix Sect. p. 1
b) Mnemonics-Glossary………………………………………………Appendix Sect. p. 2
Display Window Messages
Acronyms and Abbreviations
c) User Records…………………………………………….…………Appendix Sect. p. 5
User Program Variable Record
Analog Output Calibration Record
DIP Switch Settings Record
Keypad Security Variable Record
d) MS332 Rear-View (repeated here for easy reference)………….………..Appendix Sect. p. 9
Master Mode
Description:
Input hardware:
- Master mode uses a single quadrature-output incremental feedback encoder on the controlled shaft.
Operation:
- Master mode controls motor speed, causing the feedback encoder to rotate at the precise set-point speed.
- When using a bidirectional drive and motor, forward and reverse Master mode operation may be achieved by
utilizing the Reverse Switch Input Function.
Master mode utilizes only one encoder (connected to the MS332 feedback encoder channel inputs) as shown in the
following diagram:
MASTER MODE CONTROLLED APPLICATION
MS332 IN
MASTER
MODE QUADRATURE
RUN/STOP RUN
TACH PROG STOP
SET
ERR
ENCODER
M
SPD
Control Theory:
Closed-loop pulse-counting algorithm:
- The feedback encoder speed is controlled by forcing the number of feedback encoder pulses received (in time T)
equal to the expected number determined by the master set-point and certain other variables.
- Since the MS332 time-base is controlled by an accurate, precise crystal-based clock, the speed does not
significantly drift over time or vary with environmental conditions.
- Var01.00 (Process Max Feedback Encoder RPM) sets the maximum feedback encoder RPM for the process. This
is the maximum steady state feedback encoder RPM at which the process runs (not accounting for overspeed
needed to close the loop at maximum set-point). It is the expected nominal feedback encoder RPM for Master
Mode when the set-point is maximum.
- Var01.01 (Process Max Feedback Encoder RPM in User Units) configures the user units of feedback encoder
RPM for Master Mode set-points, speed set-point scroll steps, feedback encoder velocity display and npn-output
speed threshold parameters. Set Var01.01 to Var01.00's value converted to user units. To use RPM user units, set
Var01.01 equal to Var01.00.
- During operation, the set-point may be set to any value from 0 to Var01.01.
Ratio-Follower mode utilizes one lead encoder and one feedback encoder (connected to the MS332 lead and
feedback encoder channel inputs) as shown in the following diagram:
M
MASTER
CONTROLLED
PROCESS
MS332 IN
RATIO - FOLLOWER QUADRATURE
MODE ENCODER
RUN/STOP
QUADRATURE
SWITCH
ENCODER
M RATIO -
VARIABLE
SPEED FOLLOWER
GROUND C ANALOG DRIVE CONTROLLED
OUTPUT PROCESS
Control Theory:
Closed-loop pulse-meshing algorithm:
- The feedback (follower) encoder speed is controlled by forcing the number of feedback encoder pulses received
(in time T) equal to the expected number determined by the lead encoder pulses received (in time T), the ratio
set-point and certain other variables. With this pulse-meshing algorithm the feedback encoder follows the lead
encoder as though mechanically geared, with zero slippage over time.
- Var01.03 (Process Max Lead Encoder RPM) must be set to the maximum expected lead encoder RPM of the lead
process.
- Var01.00 (Process Max Feedback Encoder RPM) sets the maximum feedback encoder RPM for the follower
process. This is the maximum steady state follower process feedback encoder RPM (not accounting for overspeed
to close the loop at maximum set-point). It is the expected nominal feedback encoder RPM when the lead encoder
is running at process maximum RPM (Var01.03) and the Ratio-Follower set-point is maximum.
- Var01.04 ([Process Max Feedback Encoder RPM / Process Max Lead Encoder RPM] in User Units) configures
the user units of the feedback/lead encoder RPM ratio for Ratio-Follower set-points, feedback/lead encoder
velocity ratio display and npn-output velocity ratio threshold parameters. Set Var01.04 to (Var01.00 / Var01.03)
converted to user units. To use "unitless" RPM ratio user units, set Var01.04 equal to Var01.00 / Var01.03.
- During operation, the Ratio Follower set-point may be set to any value from 0 to Var01.04.
The connections to the MS332 lead and feedback encoder inputs, and lead and feedback index inputs are as shown
in the following diagram:
INDEX - FOLLOWER CONTROLLED APPLICATION
LEAD ENCODER SIGNAL
M
MASTER
MS332 IN CONTROLLED
INDEX-FOLLOWER PROCESS QUADRATURE
RUN/STOP MODE ENCODER
SWITCH
QUADRATURE
M ENCODER
VARIABLE INDEX -
GROUND C SPEED FOLLOWER
DRIVE CONTROLLED
ANALOG
PROCESS
OUTPUT
CLOSED -
INDEX DEVICE
LOOP /
FEEDBACK INDEX PULSE SIGNAL
OPEN -
LOOP
SWITCH FOLLOWER FEEDBACK ENCODER SIGNAL
Control Theory:
Index Phasing:
- Index phase corrections position the effective feedback index pulses relative to the effective lead index pulses
according to the Index Phase set-point. In this way, a periodic feedback-process event may be precisely phased to
precede, coincide with, or follow a periodic lead-process event by a desired number of feedback encoder pulses.
Index phase corrections occur immediately after each effective feedback index pulse.
RPM Ratio:
- Between index phase corrections, feedback encoder speed is controlled by forcing the number of feedback
encoder pulses received (in time T) equal to the expected number determined by the lead encoder pulses received
(in time T) and certain user variables (see formula below). No pulses are gained or lost between index phase
corrections: the cumulative error is zero. Therefore if either index pulse source were to fail, index phase
corrections would cease but the follower-to-lead phase relationship would not change.
- This closed-loop pulse-meshing algorithm is similar to that of Ratio-Follower mode. However, unlike
Ratio-Follower mode, the RPM ratio derives from a feedback to lead index pulse matching ratio
(Var01.10/Var01.11) and not from the set-point. The Index-Follower mode feedback/lead RPM ratio formula is
shown here:
FbRPM / LdRPM = (FbPPI / LdPPI) * (Var01.05 / Var01.02) * (Var01.10 / Var01.11)
The basic connections necessary for Jog mode (including an optional feedback encoder) are as shown in the
following diagram:
JOG MODE CONTROL
MS332 IN
RUN/STOP JOG
SWITCH MODE QUADRATURE
ENCODER
M
VARIABLE
SPEED CONTROLLED
GROUND C PROCESS
ANALOG DRIVE
OUTPUT
JOG MODE
SELECT
SWITCH FEEDBACK ENCODER SIGNAL
Control Theory:
Open-loop analog output formula:
- The Jog mode analog output voltage obeys the following formula:
Vout = [V(90% DAC) - V(0% DAC)] * [(Jog set-point RPM) / (Var01.00)] + V(0% DAC)
Jog set-point:
- The Jog mode set-point should always be entered in feedback encoder RPM units.
Panel-Cutout Dimensions:
Panel-Cutout Thru-Hole Dimensions (in inches)
Installation:
- Remove the (2) Standard Mounting Brackets from MS332.
- Slide MS332 (rear-terminals first) into the control panel cut-out.
- Replace the Standard Mounting Brackets and tighten screws (do not overtighten).
CONTROL PANEL,
CABINET DOOR,
ETC.
INSERTING STANDARD
MOUNTING BRACKETS
REMOVING STANDARD
MOUNTING BRACKETS
0.900 0.650
End flange on
near side of 2.500
End flange
bracket
protrudes up and
out of page 0.650
0.089
0.700
Side flange
protrudes up and
MS332 is out of page
inserted Holes are
through 0.190 dia
5.400 this cutout
4.200
in bracket,
terminal-strip-end
first
Side flange on
far side of
bracket
3.700
0.900
REMOVING STANDARD
MOUNTING BRACKETS
ALLOW A MINIMUM 1.5 INCHES
CLEARANCE ON ALL SIDES
MS332
TYPICAL ENCODER AND INDEX DEVICE WIRING
TB4
Ground C 1 LEAD ENCODER
CABLE
+12 Vdc (C) 2
Ld Ch A 3
Ld Ch B 4
Ld index 5 INDEX DEVICE
M
MASTER
CONTROLLED
TB4 PROCESS
FEEDBACK
ENCODER Quadrature
Ground C 6 Encoder
CABLE
+12 Vdc (C) 7
Fdbk Ch A 8
Quadrature
Fdbk Ch B 9 M Encoder
Fdbk index 10 INDEX -
FOLLOWER
CONTROLLED
PROCESS
FEEDBACK INDEX CABLE
INDEX DEVICE
Notes: This diagram shows proper wiring of signals, devices, d.c. power, commons and cable-shields for all types
of MS332 signal inputs and outputs. No specific MS332 Operating Mode or external device configuration
is intentionally suggested. For a given application, the actual devices utilized depend on both the selected
MS332 Operating Mode and the specific needs of the application.
2) Use separate cables for separate sensors. Don't run signals from multiple sensors/sources through a shared
multi-conductor cable. Each sensor/source should run its signal(s) through a dedicated cable. See the wiring
diagram on the previous page.
3) Never use signal cable with unused conductors. Unused conductors can induce noise onto the signal
conductors. Always use a shielded cable with the correct number of conductors.
4) Physically separate signal cables from power cables. Do not bundle signal and power cables together or
route them through the same conduit or wire trays. Power wiring includes any AC or DC with current greater
than 1 amp or voltage greater than 24 volts, such as 115 VAC, 230 VAC, 460 VAC, armatures, fields, and
ignition wires.
5) Do not run signal cables near high magnetic or electrostatic generators. This includes motors, fans, power-
switching devices, contactors and ignitors. Aluminum shielded cable does not stop magnetic noise and braided
shielded cable only partially reduces magnetic noise. Neither can stop all noise or eliminate the need for good
signal routing. Do not run signal cables (encoders, prox sensors, analog sensor or control signals, etc.) along a
motor case or in the same conduit as motor power.
6) Properly connect the input power earth ground. Use a proper earth ground. Earth ground is used by internal
noise rejection circuitry.
7) Use a series resistor-capacitor type noise supressor across the coils of contactors, solenoids and relays
sharing AC power with, or in the same enclosure (panel) as the controller. These devices greatly reduce
conducted noise on the power line. They are available in two terminal packages.
8) When stepping power down from a higher AC voltage, use a line filter at the transformer secondary.
9) Tighten the terminal plug screws to 2.2 lb-in (0.25 N-m) torque for all wired terminals.
Set-up Procedure:
1) Motor-Drive adjustment settings:
- Adjust the drive settings to match the motor according to the drive instructions.
- Set the maximum motor-drive speed to approximately 10% higher than your process maximum speed. This
provides some over-speed capability to the MS332 so it can close the loop at your process maximum speed.
- Set the acceleration/deceleration settings to the minimum time settings (fastest).
These adjustments minimize limitations imposed on the control loop by the drive, thereby allowing the MS332
more control.
2) Electrical connections:
Note: Do not apply power to the MS332 yet.
Connect all necessary components for Master Mode Operation. (See ‘Description of Operating Modes Section
\Master Mode’ for a block diagram showing basic necessary components). For details about terminal
connections and terminal strips, see the following:
- See ‘Reference Section \Hardware Illustrations’ for a general Rear-View diagram, showing the MS332
terminal strips and the individual pin-outs.
- See ‘Reference Section \Encoder-Index Inputs, Power Supply Outputs \Terminal Connections’ for a further
detailed diagram, showing the Encoder connections.
- See ‘Reference Section \Switch Inputs \Terminal Connections’ for a further detailed diagram, showing the
connections available for the Run/Stop switch.
- See ‘Reference Section \Analog Output \Terminal Connections’ for a further detailed diagram, showing the
Analog Output connections.
- See ‘Physical Installation Section \Wiring’ for details on proper wiring, shielding, grounding, etc.
– Aux 0 pull-down
– Aux 1 pull-down
– Aux 0 pull-up
– Aux 1 pull-up
Switch
Purpose
< ON : OFF >
| | | | | | | | | | | | | | | |
1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8
----------------------pull-ups---------------------- ---------------------pull-downs---------------------
(Rear-Terminal-Strip
(Front-Panel
end of MS332)
end of MS332)
6) Encoder Test:
To avoid wasted set-up time, it is important to verify that the Feedback encoder channel A and B (quadrature)
lines are not improperly ordered (reversed).
a) Feedback Encoder A/B channel test
- Enter 2 into Var05.00 (display Feedback encoder frequency in Hz).
- With the MS332 Run/Stop switch OPEN (Stop), rotate the Feedback Encoder shaft in the forward
direction (relative to the process) while observing the MS332 display.
- The display should show a positive value. If the display shows a negative value, swap the Feedback
Encoder channel A and B wires at TB4 - 8 and TB4 - 9.
8) Operational Variables:
a) Var03.00 - PID Tuning-Proportional Gain
Enter the default value of 32 for an initial value. Adjustments can be made later in step 9.
b) Var03.01 - PID Tuning-Integral Time Constant
Enter the default value of 2.0s for an initial value. Adjustments can be made later if needed.
c) Var03.02 - PID Tuning-Derivative Gain
Enter the default value of 0 to disable derivative compensation.
See ‘Reference Section \Operational Variables \PID Compensation’ for details on PID Vars.
Now set-points between 0 and 90.0 GPH may be used and the display will read in units of GPH.
Set-up Procedure:
1) Follower Motor-Drive adjustment settings:
- Adjust the drive settings to match the motor according to the drive instructions.
- Set the follower motor-drive's maximum motor speed to approximately 10% higher than your process
maximum speed. This provides some over-speed capability to the MS332 so it can close the loop at your
process maximum follower speed.
- Set the acceleration/deceleration settings to the minimum time settings (fastest).
These adjustments minimize limitations imposed on the control loop by the drive, thereby allowing the MS332
more control.
2) Electrical connections:
Note: Do not apply power to the MS332 yet.
Connect all necessary components for Ratio-Follower Mode Operation. (See ‘Description of Operating Modes
Section \Ratio-Follower Mode’ for a block diagram showing basic necessary components). For details about
terminal connections and terminal strips, see the following:
- See ‘Reference Section \Hardware Illustrations’ for a general Rear-View diagram, showing the MS332
terminal strips and the individual pin-outs.
- See ‘Reference Section \Encoder-Index Inputs, Power Supply Outputs \Terminal Connections’ for a further
detailed diagram, showing the Encoder connections.
- See ‘Reference Section \Switch Inputs \Terminal Connections’ for a further detailed diagram, showing the
connections available for the Run/Stop switch.
- See ‘Reference Section \Analog Output \Terminal Connections’ for a further detailed diagram, showing the
Analog Output connections.
- See ‘Physical Installation Section \Wiring’ for details on proper wiring, shielding, grounding, etc.
– Aux 0 pull-down
– Aux 1 pull-down
– Aux 0 pull-up
– Aux 1 pull-up
Switch
Purpose
< ON : OFF >
| | | | | | | | | | | | | | | |
1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8
----------------------pull-ups---------------------- ---------------------pull-downs---------------------
(Rear-Terminal-Strip
(Front-Panel
end of MS332)
end of MS332)
Enter the [Process Max Feedback Encoder RPM / Process Max Lead Encoder RPM] in User Units into
Var01.04.
d) Var01.02 - Feedback (follower) Encoder PPR
Enter the feedback encoder's pulses per revolution value into Var01.02.
e) Var01.00 – Process Maximum Feedback (follower) Encoder RPM
Generally speaking, this value must be calculated from known information. The feedback encoder will turn
at the Process Maximum Feedback Encoder RPM when the lead encoder is running at its Process
Maximum Lead Encoder RPM (Var01.03's value) and the ratio set-point is set to its maximum (Var01.04's
value).
Enter the process maximum feedback encoder RPM into Var01.00.
Note: See example at end of this Ratio-Follower mode set-up section.
8) Operational Variables:
a) Var03.00 - PID Tuning-Proportional Gain
Enter the default value of 32 for an initial value. Adjustments will be made later in step 9.
b) Var03.01 - PID Tuning-Integral Time Constant
Enter the default value of 2.0s for an initial value. Adjustments will be made later in step 9.
c) Var03.02 - PID Tuning-Derivative Gain
Enter the default value of 0 to disable derivative compensation.
d) Var03.04 – Zero Lead Speed PID Control
Enter the code to select desired zero lead speed PID operation. The factory-default is code 0.
See ‘Reference Section \Operational Variables \PID Compensation’ for details on PID Vars.
The Encoder PPRs, Max set-point value, and Max RPMs are set as follows for this example:
Var01.05 - Lead Encoder PPR
Enter 60 (lead encoder PPR) into Var01.05.
Var01.03 – Process Maximum Lead Encoder RPM
We must convert the wastewater maximum flow of 800 L/min into lead RPM:
(800 L/min)*(1 shaft revolution / 0.5 L) = 1600 RPM.
Enter 1600 into Var01.03.
Note that this value is less than the lead motor's rated max of 1800 RPM.
Var01.04 - Max Ratio Set-point Value in User Units
We want to program the flow ratio in units of mL neutralizer per L wastewater, so we enter the required
maximum of 12.0 mL neutralizer per L wastewater.
Enter 12.0 into Var01.04.
Var01.02 - Feedback (follower) Encoder PPR
Enter 60 (feedback encoder PPR) into Var01.02.
Var01.00 – Process Maximum Feedback Encoder RPM
This value must be calculated from known information. The feedback encoder will rotate at its process
maximum RPM when the lead encoder rotates at its process maximum lead RPM and the set-point is at its
maximum.
Process Max Feedback Encoder RPM =
(800 L wastewater / min) * (12.0 mL neutralizer / L wastewater) * (1 follower rev / 10 mL neutralizer)
= 960 follower rev / min.
Enter 960 into Var01.00.
Note that this value is less than the follower motor's rated max of 1800 RPM.
Var01.01 – Maximum Master Mode Set-point Value in User Units
Enter the same value into Var01.01 that was entered into Var01.00.
Now any setpoint value between 0.0 and 12.0 may be entered to set the follower pump's mL neutralizer per L
wastewater dispensing ratio.
Set-up Procedure:
1) Follower Motor-Drive adjustment settings:
- Adjust the drive settings to match the motor according to the drive instructions.
- Set the follower motor-drive's maximum motor speed to approximately 10% higher than your process
maximum speed. This provides some over-speed capability to the MS332 so it can close the loop at your
process maximum follower speed.
- Set the acceleration/deceleration settings to the minimum time settings (fastest).
These adjustments minimize limitations imposed on the control loop by the drive, thereby allowing the MS332
more control.
2) Electrical connections:
Note: Do not apply power to the MS332 yet.
Connect all necessary components for Index-Follower Mode Operation. Connect a small wire from the rear-
panel TB3-3 (Switch Input 1) to TB3-5 (Ground C). This will serve as a closed switch to the Closed-
loop/Open-loop Switch Input Function (more on this in step 7). (See ‘Description of Operating Modes Section
\Index-Follower Mode’ for a block diagram showing basic necessary components).
For details about terminal connections and terminal strips, see the following:
- See ‘Reference Section \Hardware Illustrations’ for a general Rear-View diagram, showing the MS332
terminal strips and the individual pin-outs.
- See ‘Reference Section \Encoder-Index Inputs, Power Supply Outputs \Terminal Connections’ for a further
detailed diagram, showing the Encoder/Index connections.
- See ‘Reference Section \Switch Inputs \Terminal Connections’ for a further detailed diagram, showing the
connections available for the Run/Stop switch and the Closed-loop/Open-loop switch.
- See ‘Reference Section \Analog Output \Terminal Connections’ for a further detailed diagram, showing the
Analog Output connections.
- See ‘Physical Installation Section \Wiring’ for details on proper wiring, shielding, grounding, etc.
– Aux 0 pull-down
– Aux 1 pull-down
– Aux 0 pull-up
– Aux 1 pull-up
Switch
Purpose
< ON : OFF >
OFF OFF
Switch
Position * * * * * * * * * * * *
ON ON
| | | | | | | | | | | | | | | |
1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8
----------------------pull-ups---------------------- ---------------------pull-downs---------------------
(Rear-Terminal-Strip
(Front-Panel
end of MS332)
end of MS332)
6) Encoder Test:
To avoid wasted set-up time, it is important to verify that both the Feedback and Lead encoder channel A and B
(quadrature) lines are not improperly ordered (reversed).
a) Feedback Encoder A/B channel test
- Enter 2 into Var05.00 (display Feedback encoder frequency in Hz).
- With the MS332 Run/Stop switch OPEN (Stop), rotate the Feedback Encoder shaft in the forward
direction (relative to the process) while observing the MS332 display.
- The display should show a positive value. If the display shows a negative value, swap the Feedback
Encoder channel A and B wires at TB4 - 8 and TB4 - 9.
b) Lead Encoder A/B channel test
- Enter 3 into Var05.00 (display Lead encoder frequency in Hz).
- With the MS332 Run/Stop switch OPEN (Stop), rotate the Lead Encoder shaft in the forward direction
(relative to the process) while observing the MS332 display.
- The display should show a positive value. If the display shows a negative value, swap the Lead Encoder
channel A and B wires at TB4 - 3 and TB4 - 4.
8) Operational Variables:
a) Var03.00 - PID Tuning-Proportional Gain
Enter the default value of 32 for an initial value. Adjustments will be made later in step 9.
b) Var03.01 - PID Tuning-Integral Time Constant
Enter the default value of 2.0s for an initial value. Adjustments will be made later in step 9.
c) Var03.02 - PID Tuning-Derivative Gain
Enter the default value of 0 to disable derivative compensation.
d) Var03.04 – Zero Lead Speed PID Control
Enter the code to select desired zero lead speed PID operation. The factory-default is code 0.
See ‘Reference Section \Operational Variables \PID Compensation’ for details on PID Vars.
e) Var07.00- Switch Input 1 Function Assignment Variable
Enter code 8 to assign the Closed-loop/Open-loop Switch Input Function to Switch Input 1.
f) Var07.12 - Open-loop Configuration
Enter 2 to configure the Closed-loop/Open-loop Switch Input Function to open only the index loop.
Note: The Closed-loop/Open-loop Switch Input Function is used here to temporarily disable index correction
during set-up (PID adjustments) and troubleshooting. This switch input assignment and configuration, along
with the closed-switch wire installed back in step 2 disables index correction.
g) Var07.13 - Master/Follower Mode Select
Enter 0 for follower mode operation.
h) Var01.06 - Follower Mode Configuration
Enter 1, for Index-Follower mode.
9) PID Proportional Gain and Integral Time adjustments (index phase correction disabled):
a) Var05.00 - Display Selection
Enter code 5 to choose closed-loop follower error.
b) Run the lead encoder at the process maximum value (Var01.03 RPM).
c) Close the Run/Stop switch (with the lead running). Observe the follower behavior at the top of the
acceleration ramp and while it runs steady-state.
- If the feedback (follower) encoder response is unstable (large, erratic displayed error, motor
jerking/oscillating), try reducing Var03.00's value (proportional gain). If the feedback (follower) encoder
response is sluggish (large, slow-changing displayed error), try increasing Var03.00's value.
- If the Var03.00 changes don't significantly improve the feedback (follower) encoder response, or if they
get to a point of diminishing-return, try adjusting Var03.01 (integral time constant). Higher Var03.01
values will improve loop-stability, lower Var03.01 values will increase loop-responsiveness.
- Generally speaking, it is desirable to have Var03.00 as large as possible and Var03.01 as small as
possible - this will result in the tightest, most responsive following. However if Var03.00 is set too high
and/or Var03.01 is set too low, the follower loop will become unstable. Open the Run/Stop switch.
Repeat (c) several times.
Notes:
- Higher Proportional Gain (Var03.00) values make proportional compensation more aggressive (up to a
certain max value, then causing loop instability above that value).
- Lower Integral Time Constant (Var03.01) values make integral compensation more aggressive (down to
a certain min value, then causing loop instability below that value).
- With the PID properly adjusted, the displayed following error should drive towards zero at an acceptable
rate (determined by Var03.01) after the ramp. After that, the following error should stay zero (or small
and centered around zero).
2) Wire your switch (or compatible device) between the selected Switch Input pin and Ground C (on TB3).
- See ‘Reference Section \Switch Inputs \Terminal Connections’ for a further detailed diagram, showing the
connection(s) available for the Switch Inputs.
- See ‘Reference Section \Switch Inputs \Device Compatibility’ for what devices can be connected to the
Switch Inputs.
3) Enter the desired switch input Function Code into the selected switch input's Function Assignment Variable
(Var07.00->Var07.06).
- See ‘Reference Section \Switch Inputs \Functions’ for a description of the Switch Input Functions.
- See ‘Reference Section \Switch Inputs \Function Assignment Variables’ for the table showing which
Function Code corresponds to which Switch Input Function.
- See ‘Reference Section \Switch Inputs \Function Assignment Variables’ for the table showing which
Function Assignment Variable Var07.00 through Var07.06 corresponds to which Switch Input.
2) Wire your device between the selected NPN Output pin (collector) and the positive (+) side of an isolated DC
power-supply referenced to Ground C (on TB3).
- Note: The internal +12C supply located on TB4 can be used.
- See ‘Reference Section \NPN Outputs \Terminal Connections’ for a further detailed diagram, showing the
connection(s) available for the NPN Outputs.
- See ‘Reference Section \NPN Outputs \Device Compatibility’ for what devices can be connected to the NPN
Outputs.
3) Enter the desired NPN Output Function Code into the selected NPN Output's Function Assignment Variable
(Var04.00->Var04.03).
- See ‘Reference Section \NPN Outputs \Functions’ for the table describing the NPN Output Functions.
- See ‘Reference Section \NPN Outputs \Function Variables’ for the table showing which Function Code
corresponds to which NPN Output Function.
- See ‘Reference Section \NPN Outputs \Function Variables’ for the table showing which Function Assignment
Variable Var04.00 through Var04.03 corresponds to which NPN Output.
4) If the selected NPN Output function requires a parameter value, enter it into the selected NPN Output's
Function Parameter Variable (Var04.04->Var04.07).
- See ‘Reference Section \NPN Outputs \Function Variables’ for the table showing which Function Parameter
Variable Var04.04 through Var04.07 corresponds to which NPN Output.
- See ‘Reference Section \NPN Outputs \Function Variables’ for the table showing the type and units of the
Function Parameter used by the corresponding NPN Output Function.
TB 1 TB 3 TB 4
(optional) Analog Input 1 (+)
1 1 Switch Input 0 (Run/Stop)
Ground C
Analog Output 1
5 5 Ground C
Lead Index
Ground A 6 6 Ground C
Switch Input 3
(optional) Analog Output 2 7 7 + 12 Vdc (C) Encoder/Index Pwr
Switch Input 4
10 Vdc Ref (+) 8 8 Ground C
Feedback Chan A
Ground C
Top-View (Showing location of both DIP Switch banks on the MS332 package. The eight DIP Switches in each
bank are also identified in this diagram):
– Aux 0 pull-down
– Aux 1 pull-down
– Aux 0 pull-up
– Aux 1 pull-up
Switch
Purpose
< ON : OFF >
Switch | | | | | | | | | | | | | | | |
Number 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8
----------------------pull-ups---------------------- ---------------------pull-downs---------------------
(Rear-Terminal-Strip
(Front-Panel
end of MS332)
end of MS332)
Block-View (Diagram showing MS332 I/O blocks, terminals and signal commons):
TB4 - 16 RX + TX + TB4 - 14
Com Port
RX - (Modbus/RS485) TX - TB4 - 15
TB4 - 17
TB4 - 18 Ground B Ground B TB4 - 18
Analog Inputs
TB1 - 1 Analog Input 1 (+)
+ 10 Vdc Ref
(See Note 2)
(See Notes
1 and 3)
Output
TB1 - 2 Analog Input 1 (-) 10 Vdc Ref (+) TB1 - 8
Aux Freq
TB4 - 11 Aux Input 0
Outputs
Note 3)
Inputs
Analog
(See
Ground A TB1 - 6
TB4 - 12 Ground C
Analog Output 2 TB1 - 7
TB4 - 13 Aux Input 1
(See Note 3)
Outputs
Lead Channel B
NPN Output 2 TB3 - 16
TB4 - 5 Lead Index NPN
NPN Output 3 TB3 - 17
Feedback Encoder
Ground C TB3 - 18
and Index Ports
TB4 - 6 Ground C
TB4 - 7 +12Vdc (C) Encoder/Index Pwr
TB4 - 8 Feedback Channel A
TB4 - 9 Feedback Channel B Display
TB4 - 10 Feedback Index
Window and
TB3 - 1 Switch Input 0 (Run/Stop) Status LED’s
TB3 - 2 Ground C
TB3 - 3 Switch Input 1
TB3 - 4 Switch Input 2
Switch Inputs
TB3 - 5 Ground C
TB3 - 6 Switch Input 3
TB3 - 7 Switch Input 4
TB3 - 8 Ground C
TB3 - 9 Switch Input 5
TB3 - 10 Switch Input 6
TB3 - 11 Ground C
TB3 - 12 Switch Input 7
KEYPAD
Note 3: Not all I/O shown here in this Block-View diagram are available on
the standard MS332. (Certain I/O are optional).
Display Window
Status LED’s:
The meanings of the Status LED’s and their various combinations are indicated in the following table:
TACH PROG RUN SET ERR Meaning
/STOP SPD
ON OFF X OFF X Display shows real-time display information (according to Var05.00)
OFF ON X OFF X Display shows Change Variable Menu information.
X X ON X X Selected operating mode is running (Run/Stop switch closed, Fast
Stop switch [if assigned] open).
OFF O FF X ON X Display shows Change Set-Point Menu, Set-Point scroll or
Advance/Retard scroll info.
X X X X ON Indicates an error condition. (See ‘Appendix Sect. \ERR led Errors’).
ON ON ON ON OFF Display shows Diagnostics Menu information.
OFF ON OFF ON X Display shows Keypad Security Menu information.
Note: X indicates "don't care"; the LED can be ON or OFF.
Display Window:
The Display Window shows real-time information as selected by Var05.00, when at Keypad Level Zero.
(See ‘Reference Section \Keypad’ for details on Keypad Level Zero).
Keypad
Keys:
The VAR key is used to access the Change Variable Menu. Press the “VAR” key to enter the Change
Variable Menu. Press again to exit the Change Variable Menu.
The SETPT key is used to access the Change Set-point Menu. Press the “SETPT” key to enter the Change
Set-point Menu. Press again to exit the Change Set-point Menu.
The DIAG key is used to access the Diagnostic Menu. Press the “DIAG” key to enter the Diagnostic
Menu. Press again to exit the Diagnostic Menu. Note: Holding this key pressed while AC power is
applied to the MS332 resets all variables to their factory default values – much the same as the Factory
Default Reset Utility (see Diagnostic Menu).
The Decimal Point “.” key is used to access the Keypad Security Menu. Press the “.” key to enter the
Keypad Security Menu. Press again to exit the Keypad Security Menu. This key is also used to change a
variable or set-point’s decimal point position while in the Change Variable or Change Set-point Menus.
The ENTER key is used to access/save a selected security/program variable, set-point or diagnostic/utility,
while in the Keypad Security, Change Variable, Change Set-point, or Diagnostic Menus.
The RIGHT and LEFT ARROW keys select which digit to edit on the display while in the
Change Variable, Change Set-point and Keypad Security Menus. These keys are also used in a
few places of the Diagnostic Menu. When running closed-loop without index correction and not in one of
the four menus, these keys are used to Advance/Retard the feedback encoder (RIGHT arrow advances,
LEFT arrow retards).
The UP and DOWN ARROW keys are used to increase or decrease the value of the flashing
(selected) display digit while in the Change Variable, Change Set-point and Keypad Security
Menus. These keys are also used in many places of the Diagnostic Menu. When not in one of the four
menus, these keys are used to increase/decrease the mode-determined active set-point: the Master mode
speed, the Ratio-Follower mode speed ratio, the Index-Follower mode phase, or the Jog mode speed.
Valid Keys:
- Press key to enter level one of the Change Variable Menu.
(See the Change Variable Menu).
- Press key to enter level one of the Change Set-point Menu.
(See the Change Set-point Menu).
- Press key to enter level one of the Diagnostic Menu.
(See the Diagnostic Menu).
Note: The Run/Stop switch must be open and the DAC must be at
zero before the Diagnostic Menu can be accessed. (If the DAC is
ramping to zero, then the Diagnostic Menu cannot be entered until the
DAC reaches zero). Pressing while the Run/Stop switch is closed
- or even while the Run/Stop switch is open and the DAC is still not
zero - results in no action other than lighting the ERR (error) led.
Invalid Keys: (Note: Any invalid keys are shaded in the keypad diagram to
the left).
- Pressing the key results in no action other than lighting the ERR
(error) led.
* Note: Here at Keypad Level Zero, the active set-point may be changed by Scrolling with the and keys;
and the feedback encoder may be Advance/Retard Scrolled using the and keys. These changes
take effect immediately and without pressing the key.
Change Variable Menu: Follow these steps to access the Change Variable Menu:
Level One - Select variable: Use this level to select which user program variable to change. This is the first level
of the Change Variable Menu.
Note: Enter level one by pressing while at level zero. (See level zero above).
LED’s / Display Window:
- PROG led lit.
- Display Window initially shows the last variable changed, with the right-
most digit flashing. (Ex. Showing “Pr 01.00” for Var01.00).
Valid Keys:
To select desired variable:
- Press or to change the flashing (selected) digit.
- Press or to select which digit to change.
- When the desired variable is displayed, press to confirm and enter
level two of the Change Variable Menu.
OR
Press to exit from Change Variable Menu and return to level zero.
Invalid Keys:
- Pressing , or results in no action other than lighting the
ERR (error) led.
Level Two - Change variable value: Use this level to change the value of the selected variable. This is the second
level of the Change Variable Menu.
LED’s / Display Window:
- PROG led remains lit.
- Display Window shows the selected variable’s value, with the right-most
digit flashing. (Ex. Showing “1000” for a Var01.00 value of 1000 RPM).
Valid Keys:
To change variable value:
- Press or to change the flashing (selected) digit.
- Press or to select which digit to change.
- Press to change the decimal point position.
- When the desired new value is displayed, press to save the new
variable value and to return to level one.
OR
Press to exit from Change Variable Menu and return to level zero
(without saving any changes).
Invalid Keys:
- Pressing or results in no action other than lighting the ERR
(error) led.
Change Set-point Menu: Follow these steps to access the Change Set-point Menu.
Note: The Change Set-point Menu is used to change any set-point. However, the active set-point can also be
Scrolled. (See both ‘Reference Section \Operational Variables \Active Set-point Selection’ and ‘Reference
Section \Switch Inputs \Functions’ for details on active set-point selection. See ‘Reference Section
\Scrolling’ for details on the Scroll feature).
Level One - Select set-point: Use this level to select which set-point to change. This is the first level of the
Change Set-point Menu.
Note: Enter level one by pressing while at level zero. (See level zero above).
LED’s / Display Window:
- SET SPD led lit.
- Display Window initially shows the active set-point, with the right-most
digit flashing. (Ex. Showing “SP 02” for master mode speed setpt 2).
Valid Keys:
To select desired set-point:
- Press or to change the flashing (selected) digit.
- Press or to select which digit to change.
- When the desired set-point is displayed, press to confirm and enter
level two of the Change Set-point Menu.
OR
Press to exit from Change Set-point Menu and return to level zero.
Invalid Keys:
- Pressing , or results in no action other than lighting the
ERR (error) led.
Level Two - Change set-point value: Use this level to change the value of the selected set-point. This is the
second level of the Change Set-point Menu.
LED’s / Display Window:
- SET SPD led remains lit.
- Display Window shows the selected set-point’s value, with the right-most
digit flashing. (Ex. Showing “100.0” for a master mode speed setpt value
of 100.0 feet/min).
Valid Keys:
To change set-point value:
- Press or to change the flashing (selected) digit.
- Press or to select which digit to change.
- Press to change the decimal point position.
- When the desired new value is displayed, press to save the new set-
point value and to return to level one.
OR
Press to exit from Change Set-point Menu and return to level zero
(without saving any changes).
Invalid Keys:
- Pressing or results in no action other than lighting the ERR
(error) led.
Valid Keys:
To select diagnostic:
- Press or to select which diagnostic/utility to perform. Choose
from SInPu, nPnou, Anou, KEYPAd, dISP, FACdEF, PPlLrn, or UErrEU.
Note: The eight diagnostics/utilities are abbreviated in the Display
Window in this manner:
- “SInPu” for Switch Inputs diagnostic.
- “nPnou” for NPN Outputs diagnostic.
- “Anou” for Analog Output Calibration utility.
- “KEYPAd” for Keypad diagnostic.
- “dISP” for Display Window diagnostic.
- “FACdEF” for Factory Defaults Reset utility.
- “PPlLrn” for Encoder Pulses Per Index Learn utility.
- “UErrEU” for Product-Version-Revision diagnostic.
(See the remaining pages here in ‘Diagnostic Menu’ for the
descriptions of each individual diagnostic/utility).
Invalid Keys:
- Pressing , , , or results in no action other than
lighting the ERR (error) led.
Valid Keys:
To select which group of inputs to observe:
- Press or to select between “In 3210”, “In 7654”, etc.
(Note: The standard MS332 has only the two groups).
- When the desired group of inputs is displayed, press to confirm and
enter level three of the Switch Inputs diagnostic.
OR
Press to exit the Diagnostic Menu and return to level zero.
Invalid Keys:
- Pressing , , , or results in no action other than
lighting the ERR (error) led.
Level Three – Observe Switch Input statuses: Use this level to display the status of each Switch Input in the
selected group. This is used to observe whether the Switch Inputs are OFF or ON (open or closed). This is on the
third level of the Diagnostic Menu.
LED’s / Display Window:
- All of the status led’s are lit except for the ERR led.
- Display Window shows the status of each Switch Input in the selected
group:
A switch input is ON if the status is a “1”. (The switch is closed
connecting the input to Ground C).
Valid Keys:
- Press to return to level two.
OR
Press to exit the Diagnostic Menu and return to level zero.
Invalid Keys:
- Pressing , , , , , or results in no action
other than lighting the ERR (error) led.
Valid Keys:
To select which group of outputs to test:
- Press or to select “ou 3210”, etc.
(Note: The standard MS332 has only the one group).
- Press to confirm and enter level three of the NPN Outputs diagnostic.
OR
Press to exit the Diagnostic Menu and return to level zero.
Invalid Keys:
- Pressing , , , or results in no action other than
lighting the ERR (error) led.
Level Three – Test NPN Output statuses: Use this level to test and display the status of each NPN Output in the
selected group. This is used to temporarily (only for the duration of this diagnostic) control the state of each NPN
Output for the purpose of testing. This is on the third level of the Diagnostic Menu.
LED’s / Display Window:
- All of the status led’s are lit except for the ERR led.
- Display Window initially shows all the NPN Outputs in the selected group
are OFF, with the right-most digit flashing.
When an Output is OFF then the status is a “0”.
When an Output is ON then the status is a “1”.
Valid Keys:
To test an NPN Output:
- Press or to select which individual output to test from the group.
- Press or to toggle ON/OFF the selected (flashing) output.
- Press to save (only for the duration of the diagnostic) the status of each
NPN Output in the group and return to level two.
OR
Press to exit the Diagnostic Menu and return to level zero (without
saving the temporary statuses of the NPN Outputs).
Invalid Keys:
- Pressing , or results in no action other than lighting the ERR
(error) led.
Level Two – Select Analog Output calibration characteristic: Use this level to select from among Pc dAC,
oFFSET, and SCALE. This is on the second level of the Diagnostic Menu.
Note: Enter level two by selecting “Anou” in the display window from level one of the Diagnostic Menu. (See
Keypad Menus \Diagnostics Menu \ Level One for a discussion of level one).
LED’s / Display Window:
- All of the status led’s are lit except for the ERR led.
- Display Window initially shows the last-changed Analog Output
characteristic, with all the display characters flashing.
(Ex. Showing “Pc dAC” for temporary Percent of DAC code).
Valid Keys:
To select which Analog Output characteristic to adjust:
- Press or to select Pc dAC, oFFSET or SCALE.
- When the desired selection is displayed, press to confirm and enter
level three of the Analog Output Calibration Utility.
OR
Press to exit the Diagnostic Menu and return to level zero.
Invalid Keys:
- Pressing , , , or results in no action other than
lighting the ERR (error) led.
Notes on Feedback Encoder Reverse Operation:
Operating in the Reverse (or opposite) direction requires using a bidirectional motor/drive.
See ‘Reference Section \Analog Output’ for related information on Drive Compatibility.
See ‘Reference Section \NPN Outputs’ for related information on the Contactor Reverse NPN Output
Function.
Valid Keys:
To change the selected Analog Output calibration setting:
- Press or to scroll the selected setting up or down. Note that Pc
dAC is the only selection whose numerical setting is displayed. The
oFFSET and SCALE selections display real-time feedback encoder RPM
measurements so the immediate effect of calibration settings and
adjustments may be observed.
- When the desired adjustment is achieved, press to save the new setting
and return to level two. OR
Press to exit the Diagnostic Menu and return to level zero.
Note: Level three changes to Pc dAC, oFFSET and SCALE settings
take immediate effect at the Analog Output but remain temporary (for
the duration of this utility) until is pressed to store the new setting.
The effect of pressing for any one of the three selections is
described below:
- Pc dAC is stored, remaining in effect for the duration of the Analog
Output Calibration utility. This gives the user control over the DAC
for the purpose of setting SCALE.
- oFFSET is stored in non-volatile memory and remains in permanent
effect at the Analog Output until it is deliberately changed again.
- SCALE is stored in non-volatile memory and remains in permanent
effect at the Analog Output until it is deliberately changed again.
(The oFFSET and SCALE values together comprise the Analog Output
calibration).
Invalid Keys:
- Pressing , , , or results in no action other than
lighting the ERR led.
Valid Keys:
Press the desired key to test it:
(If the key is working properly, then the respective mnemonic is displayed in
the Display Window).
Valid Keys:
To test the Display Window for the digits 0 through 9:
- Press to increment the Display Window digits:
“111111”, “222222”, “333333”, etc., is displayed when the key is repeatedly
pressed.
- Press to decrement the Display Window digits:
“999999”, “888888”, “777777”, etc., is displayed when the key is repeatedly
pressed.
Note: The decimal point position of each digit is tested when the
number 0 is tested. The digits all flash with zeros but the decimal
points are displayed without flashing.
Invalid Keys:
- Pressing , , , , or results in no action other than
lighting the ERR (error) led.
Note: Enter level two by selecting “FACdEF” in the display window while at level one of the Diagnostic Menu.
(See level one above).
LED’s / Display Window:
- All of the status led’s are lit except for the ERR led.
- Display Window shows the mnemonic “SUrE_n” or “SUrE_y”, with the
right-most digit flashing. (The initial display mnemonic upon entering level
two is “SUrE_n”).
Valid Keys:
Press the following keys to confirm:
- Press or to toggle between “SUrE_n” or “SUrE_y”.
- Press while “SUrE_y” is displayed to proceed to level three and reset.
Note: Pressing while “SUrE_n” is displayed results in no action
other than lighting the ERR led.
OR
Press to exit the Diagnostic Menu and return to level zero.
Invalid Keys:
- Pressing , , , or results in no action other than
lighting the ERR (error) led.
Level Three – EXECUTE RESET: This level resets all the variables to their factory defaults. Pressing in
level two while “SUrE_y” is displayed advances the menu to level three and commences reset.
Two mnemonics are displayed in level three:
- First, the mnemonic “PrOCES” is displayed (flashing) while the variables are resetting.
Note: “PrOCES” is displayed for only a very brief time (since reset only takes a second or so).
- Then, the mnemonic “dOnE” is displayed, indicating the variables have been reset to their factory default values
and the utility has finished executing.
Valid Keys:
Note: Any key pressed while “ProCES” is flashing will be ignored.
When “dOnE” is displayed, these two keys are valid:
- Press to return to level two.
OR
Press to exit the Diagnostic Menu and return to level zero.
Invalid Keys:
- Pressing , , , , , or results in no action
other than lighting the ERR (error) led.
Level Two - Select PPI learn operation: Use this level to select one of three PPI learn operations. The operations
and their mnemonics are described below. This is on the second level of the Diagnostic Menu.
Note: Enter level two by selecting “PPlLrn” in the display window while at level one of the Diagnostic Menu.
(See Keypad Menus \Diagnostics Menu \Level One for a discussion of level one).
LED’s / Display Window:
- All of the status led’s are lit except for the ERR led.
- Display Window initially shows the PPI Learn Operation last selected, with
all the digits flashing.
(Ex. Showing “FbLrn” for the Feedback Learn operation).
Valid Keys:
To select Index Learn Operation:
- Press or to select LdLrn, FbLrn or FbSPd.
- When the desired selection is displayed, press to confirm and enter
level three of the Encoder Pulse Per Index Learn utility.
Note: Pressing while LdLrn or FbLrn is displayed automatically
begins the PPI learn process in level three.
OR
Press to exit the Diagnostic Menu and return to level zero.
Invalid Keys:
- Pressing , , , or results in no action other than
lighting the ERR (error) led.
Valid Keys:
If FbSPd is selected:
- Press or to scroll the feedback motor (and encoder) speed.
- When the desired RPM is reached, press to temporarily save the DAC
code (for the duration of this utility) and return to level two.
OR
Press to exit the Diagnostic Menu and return to level zero.
Invalid Keys:
- Pressing , , , or results in no action other than
lighting the ERR (error) led.
Valid Keys:
- Press to exit the Diagnostic Menu and return to level zero.
Invalid Keys:
- Pressing , , , , , , or results in no
action other than lighting the ERR (error) led.
The allowed SECdEF digit values and their effects are as follows:
Digit value Effect on corresponding keypad feature when keypad is locked
1 Disabled
0 Enabled
Note: Each SECdEF digit will accept a 1 or a 0 only. The left-most digit is unused and must be 0.
Note: When the keypad is unlocked, each of the three keypad security variables may be observed and changed in
the Keypad Security Menu. The effects of keypad-lock on the security variables are as follows:
Keypad security variable: Effect of keypad-lock:
PASIn None (always observable and changeable).
PASdEF May not be observed or changed.
SECdEF May be observed but not changed.
Unlocking:
1) Enter the password code into PASIn. An unlocked keypad can be verified by observing PASdEF's value.
Locking:
1) Enter a number other than the password code into PASIn. A locked keypad can be verified by attempting to
observe PASdEF's value.
Leaving the keypad unlocked is simlar to removing the lock from a door: Anyone can put on a new lock (change
PASdEF), and unless the individual is thoughtful enough to leave the new key in the new lock (enter PASdEF's new
value into PASIn), you are locked out!
Assuming the selective keypad security is disabled, the Diagnostic Menu can be entered only if the Run/Stop Switch
is open and the DAC is at zero. Therefore, no real-time control operations occur while in the Diagnostic Menu.
Terminal Connections:
--------------------------------------------------- Switch Inputs ------------------------------------------------------
Switch Input 0 Ground Switch Switch Ground Switch Switch Ground Switch Switch Ground Switch
(Run/Stop) C Input 1 Input 2 C Input 3 Input 4 C Input 5 Input 6 C Input 7
TB3 - 1 TB3 - 2 TB3 - 3 TB3 - 4 TB3 - 5 TB3 - 6 TB3 - 7 TB3 - 8 TB3 - 9 TB3 -10 TB3 -11 TB3 -12
(Top Edge)
TB 3
MS332 Rear-View
See ‘Reference Section \Hardware Illustrations \Rear-View’ for a complete diagram showing the details of terminal
strip TB3 (containing the Switch Inputs) on the back of the MS332 package.
Device Compatibility:
MS332
Switch Input
Compatible Devices
+ 12 Vdc (C)
NPN relay switch
(open-
collector) 4.7 K
Switch Input
Ground C
Reverse Function:
Selects the feedback encoder’s reverse (or opposite) direction when the assigned Switch Input is closed. The
feedback encoder then runs in the reverse (or opposite) direction when the Run/Stop switch is closed:
If the assigned Then the Jog or Master mode Then the Follower mode (Ratio or Index)
Switch Input is: direction is: direction is:
Open Forward (Chan A leads Chan B) Same as lead encoder direction
Closed Reverse (Chan A lags Chan B) Opposite of lead encoder direction
Notes:
1) The Reverse function requires using a bidirectional motor/drive. See ‘Reference Section \Analog Output’,
and ‘Reference Section \NPN Outputs \Contactor Reverse Function’ for related information.
2) If the Reverse function is not assigned to a Switch Input, then the direction is always Forward in Jog or
Master modes, and Same as lead encoder direction in the Follower modes.
3) If the Reverse function-assigned Switch Input changes state while the feedback encoder is running, then the
feedback encoder speed ramps through zero to the same speed in the opposite direction.
The Switch Input Functions and their corresponding Codes are shown in this table:
Switch Input Function Function Code
Run/Stop None (permanently assigned to Switch Input 0)
Unused Switch Input 0
Jog mode 1
Set-point Scroll-down 2
Set-point Scroll-up 3
Active Set-point select 0 or 1 4
Active Set-point select 0 or 2 5
Advance 6
Retard 7
Closed-loop or Open-loop select 8
Follower mode or Master mode select 9
Active Ramp Pair select 0 or 1 10
Fast Stop 11
Reverse 12
Note: Each function code (except code 0) can be assigned to only one Switch Input at a time. If you attempt to
assign a function code that is already assigned to another Switch Input, the front-panel ERR led lights up and
your code is not accepted. To proceed with the change, the desired function code must first be un-assigned
from the other Switch Input.
Note: The statuses of the Switch Inputs 0 through 7 can be displayed on the Display Window.
(See ‘Reference Section \Display \Display Window Variable’ for details).
When Scroll is accessed, the display window changes from displaying real-time information (as selected by
Var05.00) to the scrollable quantity’s value. This quantity then begins to periodically increase or decrease by the
appropriate mode-determined scroll step. For the first 2 seconds of scroll the quantity is ‘stepped’ once per 250
msec. After the first 2 seconds the quantity is ‘stepped’ once per 20 msec. The quantity continues to scroll for as
long as Scroll is accessed or until it reaches its limit. When Scroll is de-accessed, the display window reverts back
to real-time information (as selected by Var05.00).
Scroll Variables:
Variable 07.07 – Master Speed Scroll Step – Enter the desired scroll step for scrolling the active Master mode
speed set-point. (Var07.07 values must be entered in the same units as Var01.01).
Variable 07.08 – Ratio-Follower Speed Ratio Scroll Step – Enter the desired scroll step for scrolling the active
Ratio-Follower mode ratio set-point. (Var07.08 values must be entered in the same units as Var01.04).
Variable 07.09 – Phase Scroll Step – Enter the desired scroll step for scrolling either the current phase-offset or the
active Index-Follower mode phase set-point. (Var07.09 values must be entered in units of feedback encoder pulses).
Variable 07.10 – Jog Speed Scroll Step – Enter the desired scroll step for scrolling the Jog mode speed set-point.
(Var07.10 values must be entered in units of RPM).
Set-point Scroll:
Set-point Scroll-up/down changes only the active set-point (i.e. the selected set-point from the current operating
mode): Master mode Speed, Ratio-Follower mode Ratio, Index-Follower mode Phase, or Jog mode Speed.
2) From a remote switch; by remotely closing a Switch Input that has the Set-point Scroll-up or Set-point Scroll-
down Switch Input function assigned to it.
Advance/Retard Scroll:
Use Advance to speed up - and Retard to slow down - the feedback encoder when running closed-loop without index
phase correction.
2) From a remote switch; by remotely closing a Switch Input that has the Advance Scroll or Retard Scroll Switch
Input function assigned to it.
When either Advance/Retard Scroll is accessed, the current *phase-offset is displayed (expressed in feedback
pulses) and is then scrolled up or down in Phase Scroll Step (Var07.09) increments. As the phase-offset changes,
the feedback motor speed increases or decreases accordingly, effecting the displayed phase-offset.
Advance/Retard Scroll is enabled for Master, Ratio-Follower, or Index-Follower modes if both of the following
requirements are met (Advance/Retard Scroll is never enabled for Jog mode):
1) The feedback encoder loop is closed (applies to all three modes).
2) The feedback index loop is open (applies to Index-Follower mode only).
The conditions for meeting these requirements are listed in the rows of this table:
Operating Var01.06 Code Any Var07.00->.06 Open-loop switch: Var07.12 Code
Mode (Fol Mod Config) Code 8 (Open-loop)? (Open-loop Config)
Master --- No --- ---
Master --- Yes Open ---
Master --- Yes Closed 0 or 2 (enable encoder loop)
Follower 0: (NoIndex) No --- ---
Follower 0: (NoIndex) Yes Open ---
Follower 0: (NoIndex) Yes Closed 0 or 2 (enable encoder loop)
*Note: The term “phase-offset” is not to be confused with the term “Phase Set-point”.
- Phase Set-point: In Index-Follower mode (with index loop closed), the absolute position of the feedback
encoder relative to the lead encoder is measured and corrected per the active Phase Set-point each time
the selected pair (lead and feedback) of index pulses is received. In between such index pulse pairs, the
phase from the previous correction is maintained. In Index-Follower mode (with index loop closed)
there is no phase-offset or Advance/Retard Scroll feature: phase changes in this mode are accomplished
by changing the active phase set-point. (Advance/Retard Scroll has no effect on Phase Set-points and is
not enabled in Index-Follower mode unless the feedback index loop is open).
- Phase-offset: In Master and Ratio-Follower modes (i.e., closed-loop modes without index phase
correction), the position of the feedback encoder is dictated solely by its starting position, phase-offset,
Master speed set-point or Follower (ratio set-point)*(lead speed), and time. The phase-offset may be
changed only through the Advance/Retard mechanism. Unlike Phase Set-points, the phase-offset
defaults to zero at power-up and mode changes.
See ‘Reference Section \Keypad \Keypad Level Zero’ for details on keypad level zero.
See ‘Reference Section \Switch Inputs’ for details on assigning and using any of the Scroll Switch Input Functions.
See ‘Reference Section \Operational Variables \Active Set-point Selection’ for details on the active set-point.
See ‘Reference Section \Operational Variables \Set-points and Set-point Units’ for information on changing any
(active or non-active) set-point.
TB 4
(Top Edge)
MS332 Rear-View
See ‘Reference Section \Hardware Illustrations \Rear-View’ for a diagram showing the details of terminal strip TB4
(containing the encoder/index signal and power terminals) on the back of the MS332 package.
DIP Switches:
This diagram shows the Pull-up and Pull-down DIP Switches for the Encoders and Indexes. (View looking down on
top of the MS332 package, with the front-panel on left). There are two banks of switches. (See ‘Reference Section
\Hardware Illustrations \Top-View’ for a diagram showing the location of the DIP Switches on the MS332 package).
– FDBK Encoder ChA pull-down
– Aux 0 pull-down
– Aux 1 pull-down
– Aux 0 pull-up
– Aux 1 pull-up
Switch
Purpose
< ON : OFF >
Switch
Position
Switch | | | | | | | | | | | | | | | |
Number 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8
----------------------pull-ups---------------------- ---------------------pull-downs---------------------
CMOS
From Encoder, Index Logic
100 K
or Aux device
Ground C
Encoder Variables:
Variable 01.00 – Process Maximum Feedback Encoder RPM –
- (For Master mode). Enter the feedback encoder RPM corresponding to Var01.01 (Process Max Feedback
Encoder RPM in User Units).
- (For Ratio-Follower mode). Enter the feedback encoder RPM corresponding to Var01.03 (Process Maximum
Lead Encoder RPM) and Var01.04 ([Process Max Feedback Encoder RPM / Process Max Lead Encoder RPM] in
User Units). This is the expected feedback encoder RPM when the lead encoder is running at the process max and
the set-point is max.
- (For Index-Follower mode). Enter the feedback encoder RPM corresponding to Var01.03 (Process Maximum
Lead Encoder RPM). This can be calculated from the formula:
Var01.00 value = (Var01.03) * (Var01.07/Var01.02) * (Var01.05/Var01.08) * (Var01.10/Var01.11)
Variable 01.02 – Feedback Encoder PPR - Enter the feedback encoder’s Pulses Per Revolution value.
Variable 01.04 – [Process Max Feedback Encoder RPM / Process Max Lead Encoder RPM] in User Units –
See ‘Reference Section \Operational Variables \Set-points and Set-point Units’ for details on Var01.04.
Variable 01.05 – Lead Encoder PPR - (Ratio-Follower and Index-Follower modes). Enter the lead encoder’s
Pulses Per Revolution value.
Variable 01.06 – Follower Mode Configuration – (Ratio-Follower and Index-Follower modes). The user must
select the Follower mode (Ratio or Index) needed for their application. Select from the table:
Var01.06 CODE Selected Follower mode
0 Ratio-Follower mode
1 Index-Follower mode
Variable 01.07 - Feedback PPI – (Index-Follower mode). Enter the number of Feedback Encoder Pulses per
Feedback Index Pulse.
Variable 01.08 - Lead PPI - (Index-Follower mode). Enter the number of Lead Encoder Pulses per Lead Index
Pulse.
Variable 01.12 - No-Feedback Response Configuration (Master, Ratio-Follower and Index-Follower modes).
Variable 01.12 configures the MS332's response to a failed (or otherwise unresponsive) feedback encoder.
Var01.12 CODE Response to No-Feedback condition
0 Let Position Error grow to max, remain closed-loop
1 Clear Position Error, run open-loop
Variable 01.10 – Feedback Index Pulses per Match – Enter the number of feedback index pulses to be matched
with Var01.11, the number of Lead Index Pulses per Match.
Variable 01.11 – Lead Index Pulses per Match - Enter the number of lead index pulses to be matched with
Var01.10, the number of Feedback Index Pulses per Match.
Note: See ‘Description of Operating Modes Section \Index-Follower Mode’ for a more complete description of the
usage and effect of PPI measurement and averaging, and of index matching.
Terminal Connections:
-Analog Output-
Unused Unused Unused Unused Analog Ground Unused Unused Unused
Output 1 A
TB1 - 1 TB1 - 2 TB1 - 3 TB1 - 4 TB1 - 5 TB1 - 6 TB1 - 7 TB1 - 8 TB1 - 9
(Bottom Edge)
TB 1
MS332 Rear-View
See ‘Reference Section \Hardware Illustrations \Rear-View’ for a complete diagram showing the details of terminal
strip TB1 (containing the Analog Output) on the back of the MS332 package.
Calibration Variables:
The OFFSET and SCALE volts are adjusted with the OFFSET and SCALE calibration variables. The MS332 has
no pots: all calibration is done from the keypad.
OFFSET:
The OFFSET variable adjusts the OFFSET volts. This sets the Analog Output voltage component that is
insensitive to the DAC code. The OFFSET volts are the Analog Output volts when DAC code is zero. Offset
adjustment is sometimes called "Zero" adjustment.
SCALE:
The SCALE variable adjusts the SCALE volts. This sets the Analog Output voltage sensitivity to nonzero DAC
codes. Scale adjustment is sometimes called "Span" adjustment.
Drive Compatibility:
Non-Contactor Reversing Drive: This type of drive uses an analog speed reference where voltage controls both
speed and direction (+ Vdc = Fwd; – Vdc = Rev). By default, the MS332 is programmed for this type of drive. In
this case, the MS332 Analog Output has a possible bipolar range from the OFFSET voltage to –11.0 and +11.0 Vdc.
Contactor Reversing Drive: This type of drive uses an analog speed reference where a positive voltage controls
the speed and a contactor input determines direction of rotation. The MS332 may be programmed for this type of
drive by assigning the Contactor Reverse Function to one of the NPN Outputs. The state of the Contactor Reverse
function-assigned NPN Output sets the encoder/motor direction (NPN Output OFF = Fwd; ON = Rev). In this case,
the MS332 Analog Output is restricted to a possible unipolar range from the OFFSET voltage to +11.0 Vdc.
See ‘Ref. Section \Keypad \Keypad Menus \Diagnostic Menu’ for details on the Analog Output Calibration Utility.
See ‘Reference Section \NPN Outputs’ for details on assigning/using the Contactor Reverse NPN Output Function.
See ‘Reference Section \Switch Inputs’ for related information about the Reverse Switch Input Function.
Open-loop Configuration:
Variable 07.12 defines the effect of open-loop when a Closed-loop/Open-loop function-assigned Switch Input is
closed. Enter the code to select desired configuration:
Var07.12 Open-loop Effect:
CODE Ignore (cut) Feedback Encoder Pulses Ignore (cut) Feedback Index Pulses
0 No No
1 Yes No
2 No Yes
3 Yes Yes
Note: See ‘Reference Section \Switch Inputs \Functions’ for details on the Closed-loop/Open-loop Switch Input
Function.
Variable 07.14 - Phase Change Release Time – Enter the time over which the phase difference error is introduced
into the PID. The allowed range for Var07.14 values is 0.01->100.0 (in seconds).
Note: The Phase Change Release Time is not the same as Var03.01 (Integral Time Constant):
- Var07.14 (Phase Change Release Time) sets the time over which an externally-determined phase difference
error is smoothly introduced into the PID.
- Var03.01 (Integral Time Constant) determines the PID's phase difference error correction rate.
*Note: In this context, phase changes refers to changes apart from the corrections made in the normal course of
maintaining correct speed and phase. Similarly, externally-determined phase difference error refers to
mechanisms of determining error apart from the normal cumulative mechanism based on encoder quadrature
phases. The closed-loop PID performs its normal phase error measurements and corrections 1024 times per
second.
Variable 06.14 – Ratio-Follower Mode Active Set-point Select – Enter the corresponding code to select the active
Ratio-Follower mode speed ratio set-point:
Var06.14 CODE Ratio-Follower Mode Active Set-point
0 Speed Ratio setpt 0
1 Speed Ratio setpt 1
2 Speed Ratio setpt 2
3 Speed Ratio setpt 3
Variable 06.15 – Index-Follower Mode Active Set-point Select – Enter the corresponding code to select the active
Index-Follower mode phase set-point:
Var06.15 CODE Index-Follower Mode Active Set-point
0 Phase setpt 0
1 Phase setpt 1
2 Phase setpt 2
3 Phase setpt 3
Note: Vars 06.13, 06.14 and 06.15 are overridden (have no effect) when the Active Set-point Select Switch Input
Function(s) are assigned to Switch Inputs. See ‘Reference Section \Switch Inputs’ for details on this method.
Set-point Units: Master mode speed set-points are in units set by Var01.01. Ratio-Follower mode speed ratio set-
points are in units set by Var01.04. Index-Follower mode phase set-points are in units of Feedback Encoder Pulses.
Jog speed set-point is in units of RPM.
Variable 01.01 - Process Max Feedback Encoder RPM in User Units – This variable configures the units in
which speed set-points are entered and sets the max speed set-point value. Set-points may be entered in (your) user
units or entered as RPM user units. In either case, the set-point value may range from 0 to the Var01.01 value:
- To configure for set-points given in non-RPM user units, set Var01.01 to the maximum process output value in
(your) user units. See ‘Set-up Section \Master Mode \Setting up Var01.00, Var01.01 for non-RPM User Units’
for an example.
- To configure for set-points given in RPM user units, set Var01.01 equal to the Process Max Feedback Encoder
RPM (same numerical value as Var01.00).
Note: Var01.01 sets the units for Master mode speed set-points, Master mode speed scroll step, certain NPN Output
alarm thresholds, as well as the decimal point position of the Feedback Encoder Speed In User Units display
option (Var05.00 option code 0).
Index-Follower Phase Set-point Units: Index-Follower mode phase set-points set the position/phase relationship
between each effective feedback index pulse and each effective lead index pulse. Index-Follower mode phase set-
points must be entered in units of Feedback (follower) Encoder Pulses.
Note: See ‘Description of Operating Modes Section \Index-Follower Mode’ for a more complete description of
index phase set-points, index phasing and effective index pulses.
Note: The time values entered into Var02.00 - Var02.04 define ramp rates of RPM change per second (slopes).
The time the feedback encoder speed spends ramping depends on the initial (pre-ramp) RPM, the ramp rate
and the final (post-ramp) RPM. Speed changes less than the maximum 0 RPM to Var01.00 ramp-up or
Var01.00 to 0 RPM ramp-down spend less time ramping but still ramp at the same rate as these maximum
speed changes.
PID Compensation:
Each of the MS332’s closed-loop control modes utilize PID compensation to help achieve and maintain precise,
accurate speed and phase control. The MS332 control-loop reads the encoders, recalculates the PID terms and
writes the Analog Output DAC 1024 times per second. Four user programmable PID variables are provided for
tuning the closed-loop system. When adjusting these variables, it is best to test the dynamic performance (start/stop,
load changes, set-point changes) in addition to the steady-state performance (running at set-point, constant load) of
the system. MS332 PID compensation and the four PID variables are described in the following:
Terminal Connections:
-------------------------NPN Outputs---------------------------
NPN Output NPN NPN NPN NPN Ground
Protection Cathode Output 0 Output 1 Output 2 Output 3 C
TB3 -13 TB3 -14 TB3 -15 TB3 -16 TB3 -17 TB3 -18
(Bottom Edge)
TB 3
MS332 Rear-View
See ‘Reference Section \Hardware Illustrations \Rear-View’ for a complete diagram showing the details of terminal
strip TB3 (containing the NPN Outputs) on the back of the MS332 package.
Device Compatibility:
Driving relays and other inductive loads:
MS332
Ground C
Ground C
Function Parameter Variables 04.04 -> 04.07: Each NPN Output has a Function Parameter Variable for entering
a…. Threshold, Setpoint Deviation or Fraction (for threshold-type functions) or an option code (OpCode) for
selecting function options.
The Variables 04.00 -> 04.07 correspond to the NPN Outputs as shown in this table:
NPN Output Function Assignment Variable Function Parameter Variable
0 Var04.00 Var04.04
1 Var04.01 Var04.05
2 Var04.02 Var04.06
3 Var04.03 Var04.07
To assign a certain NPN function to a certain NPN Output:
- First find the desired function, active operating mode, and function input from the table below.
- Enter the corresponding function code into the NPN Output’s Function Assignment Variable.
- Enter a desired value (in the indicated units) into the NPN Output’s Function Parameter Variable.
To un-assign an NPN function from a certain NPN Output:
- Enter code 0 into the NPN Output’s Function Assignment Variable.
The NPN Output Functions and their corresponding Codes are shown in this table:
NPN Function Active Operating Function Function Function Parameter Type and Units
Mode Input Code
None (unused) ------------------------ ---------------- 0 -----------------------------------
High Alarm Master Feedback RPM 1 Threshold in Var01.01 Feedback Units
High Alarm Ratio-Follower Feedback RPM 2 Threshold in Var01.01 Feedback Units
High Alarm Ratio-Follower Follower ratio 3 Threshold in Var01.04 Follower Units
High Alarm Master & Ratio-Fol. Feedback RPM 4 Threshold in Var01.01 Feedback Units
Low Alarm Master Feedback RPM 5 Threshold in Var01.01 Feedback Units
Low Alarm Ratio-Follower Feedback RPM 6 Threshold in Var01.01 Feedback Units
Low Alarm Ratio-Follower Follower ratio 7 Threshold in Var01.04 Follower Units
Low Alarm Master & Ratio-Fol. Feedback RPM 8 Threshold in Var01.01 Feedback Units
Deviation Alarm Master Feedback RPM 9 SetpointDev in Var01.01 Feedback Units
Deviation Alarm Ratio-Follower Follower ratio 10 SetpointDev in Var01.04 Follower Units
Zero Speed Master Feedback RPM 11 Fraction of Var01.00 (ex: 1%, enter 0.01)
Zero Speed Ratio-Follower Feedback RPM 12 Fraction of Var01.00 (ex: 1%, enter 0.01)
Zero Speed Master & Ratio-Fol. Feedback RPM 13 Fraction of Var01.00 (ex: 1%, enter 0.01)
Contactor Reverse Master, Ratio-Fol., Reverse Switch, and/or 14 Uses no parameter
Index-Fol., Jog Lead Encoder direction
Drive Enable Master, Run/Stop Switch, 15 Unitless OpCode (select per NPN Output
Ratio-Follower, and Dac turn-OFF requirement):
Index-Follower, 1: OFF when Run/Stop switch open.
Jog 2: OFF when Run/Stop open and Dac = 0.
Index Sync Index-Follower | Index Phase Error | 16 Threshold in Feedback Encoder Pulses
Encoder Position Master, Closed-loop 17 Threshold in Feedback Encoder Pulses
Error Alarm Ratio-Follower, Position/Phase Error
Index-Follower
Note: Each function code (except code 0) can be assigned to only one NPN Output at a time. If you attempt to
assign a function code that is already assigned to another NPN Output, the front-panel ERR led lights up and
your code is not accepted. To proceed with the change, the desired function code must first be un-assigned
from the other NPN Output.
Hysteresis is entered in units of %, so the allowed range of Var04.08 is 0 -> 100. The %Hysteresis is always applied
to the threshold.
The %Hysteresis applies to all active threshold-type NPN Output functions (all NPN Output functions except for the
Contactor Reverse Function and the Drive Enable Function). See the table in the NPN Outputs \Functions
discussion for a mathematical description of each function with hysteresis.
Note: The statuses of the NPN Outputs 0 through 3 can be displayed on the Display Window.
(See ‘Reference Section \Display \Display Window Variable’ for details).
TB 4
(Bottom Edge)
MS332 Rear-View
See ‘Reference Section \Hardware Illustrations \Rear-View’ for a complete diagram showing the details of
terminal strip TB4 (containing the Serial Communication Ports) on the back of the MS332 package.
TX +
TX
TX -
TX Enable
+ 5 Vdc internal
RX +
RX
RX -
Ground B
Ground B
Switch Inputs, Front Panel Keypad: Modbus Discrete Input (1XXXX) mapping
Switch Input Modbus Address Description Range
0 11000 Switch Input 0 (Run/Stop) 0: OFF, 1: ON
1 11001 Switch Input 1 0: OFF, 1: ON
2 11002 Switch Input 2 0: OFF, 1: ON
3 11003 Switch Input 3 0: OFF, 1: ON
4 11004 Switch Input 4 0: OFF, 1: ON
5 11005 Switch Input 5 0: OFF, 1: ON
6 11006 Switch Input 6 0: OFF, 1: ON
7 11007 Switch Input 7 0: OFF, 1: ON
Keypad Key
11024 Variable Menu Key 0: OFF, 1: ON
11025 Up Key 0: OFF, 1: ON
11026 Setpoint Menu Key 0: OFF, 1: ON
11027 Left Key 0: OFF, 1: ON
11028 Enter Key 0: OFF, 1: ON
11029 Right Key 0: OFF, 1: ON
11030 Decimal Point Key 0: OFF, 1: ON
11031 Down Key 0: OFF, 1: ON
11032 Diagnostics Menu Key 0: OFF, 1: ON
Notes:
- Each Display Value Input Register address includes the corresponding User Var 05.00 Display Selection code
(XX in address 31XX0 is the selection code 0->15).
- Each User Variable Holding Register address includes the Class Var code of that User Variable (address
4XXX0 accesses User Var 0X.XX).
Data Types:
User Variables and Display Values
The Data Type for accessing User Variables and Display Values is selectable.
16-bit signed integer, 16-bit unsigned integer, 32-bit signed integer and 32-bit IEEE floating-point data types are
supported.
Integer types allow writing whole numbers (numbers with no fractional part) only. When real numbers (numbers
with a fractional part) are read using an integer type, only the whole number part is returned (the fractional part is
truncated).
IEEE floating-point allows reading and writing both whole numbers and real numbers.
Although IEEE floating-point is the most versatile data type for MS332 serial communications, it is usually
unecessary because most applications don't require User Variable and Set-Point values with fractional resolution.
Since the Master and Slave data types must match, only those data types supported by both Master and Slave may be
used.
See ‘Addendum - Accessing User Vars and Display Values’ at the end of this section for a complete discussion of
issues related to accessing MS332 data using the various Data Types.
Connect an unused MS332 Switch-Input to Ground C either through a closed switch or a wire.
This Switch-Input will enable Jog Mode selection for calibrating the Analog Output.
Example: Connect TB3 pin 7 (Switch-Input 4) to TB3 pin 8 (Ground C).
Offset adjustment
1) Slowly increase the Aout Offset by incrementing the Var09.00 (address 49000) value until the motor creeps
forward (if not already doing so).
2) Next, slowly decrease the Aout Offset by decrementing the value in Var09.00 (address 49000) by increments of
1 until it stops.
This sets the Analog Output base voltage (0 Dac) just below the voltage at which the motor creeps forward.
Scale adjustment
1) Set the Jog Speed set-point equal to your Process Maximum Feedback Encoder RPM by setting Var06.12
(address 46120) equal to Var01.00 (address 41000). The motor should turn.
2) Monitor Display Value 0 (address 31000). This is the real-time feedback encoder RPM.
3) Slowly adjust the Aout Scale (Var09.01 / address 49010) until the real-time feedback encoder RPM is equal (or
as close as possible) to the Jog Speed set-point.
If the displayed RPM is higher than setpoint, reduce Aout Scale (Var09.01 / address 49010).
If the displayed RPM is lower than setpoint, increase Aout Scale (Var09.01 / address 49010).
This sets the Analog Output's voltage-output / DAC-input sensitivity.
Addendum: Accessing User Vars and Display Values (function codes, data
types and addressing)
MS332 - Modbus Master compatibility
Significant flexibility is built into the MS332 Serial Communications for compatibility with virtually all Modbus
RTU Masters.
One example is the MS332's ability to communicate using various 16-bit and 32-bit data types.
Although the Modbus standard is oriented towards 16-bit "registers" and does not explicitly support any data type,
widely used Modbus adaptations exist for supporting 32-bit types.
The following explains in detail how the MS332 utilizes these adaptations for supporting both 16-bit and 32-bit data
types.
Background
1) Although the MS332 User Variables and Display Values are stored internally using 32-bit floating-point format,
many (in most cases all) of them can be represented in 16-bit integer format because...
a) In most cases these values don't have a fractional part (nonzero value to the right of the decimal point).
b) In most cases, these values fall within the range -32768 -> 32767 (the range of 16-bit integers).
2) To provide both data-type flexibility and compatibility with various Modbus Masters, the data type for
accessing User Vars and Display Values using Serial Communications is selectable. The available data types
are 32-bit float, 32-bit long-int, 16-bit int and 16-bit unsigned int.
3) Modbus data is addressed in 16-bit increments, not by the more common 8-bit (byte) increments. For example,
address 41000 (holding register 1000) and address 41001 (holding register 1001) access separate 16-bit data
with no overlap.
4) The Modbus address of each MS332 User Var (4XXX0) or Display Value (3XXX0) refers to:
a) One 16-bit half for 32-bit data types.
b) The entire value for 16-bit data types.
The next higher address from each User Var (4XXX1) or Display Value (3XXX1) refers to:
c) The other 16-bit half for 32-bit data types.
d) Nothing (Illegal Data Address) for 16-bit data types.
Note: Var08.04 selects the data type (32 bit long int or float, 16-bit int or unsigned int) and the ordering of 16-
bit halves of 32-bit data types.
Function codes 03, 04 and 16 are also supported for accessing single User Vars and Display Values using 16-bit data
types as follows:
Access 1 register at 4XXX0 or 3XXX0.
User Vars All 16-bits at 4XXX0 (1 query-response cycle).
Display Values All 16-bits at 3XXX0 (1 query-response cycle).
Function code 06 (Preset Single Register) is also supported for writing User Variables using 16-bit data types as
follows:
One function code 06 write to address 4XXX0 (one query-response cycle).
Functional
Encoder/Index Inputs:
2 ports (Lead and Feedback/Follower), each receiving 2 quadrature incremental encoder signals (A, B) and
one index pulse signal.
Switch Inputs:
8 switch inputs (1 dedicated Run/Stop, 7 user-programmable).
12 user-assignable switch input functions.
Keypad:
9 button, tactile.
6 user-selectable lockout options.
Analog Output:
1 dedicated motor-drive control analog, configurable for Bipolar input (± volts) and Contactor
Reversing (+ volts with contactor-reverse input) type motor-drives.
NPN Transistor Outputs:
4 user-programmable open-collector NPN outputs.
8 user-assignable NPN output functions (Alarm, Annunciator and Control functions).
Display:
6 character, 7-segment alphanumeric LED display for real-time, menu and error information.
16 user-selectable real-time display options.
5 discrete annunciator LEDs.
Encoder/Index Power Supply:
+12Vdc, 300mA for powering incremental encoders and event/index sensors.
Serial Communications Interface Port:
Modbus RTU protocol.
1 Balanced EIA-485 tri-state driver.
1 Balanced EIA-485 receiver.
Operational
Accuracy: Master mode maximum speed set-point error:
0.004% (0°C)
0.002% (25°C)
0.010% (70°C)
Follower mode cumulative error:
Zero (0 - 70°C)
Processor: 16MHz, 32 bit
PID loop update rate: 1024 per second (977 µS)
NPN Output update rate: 51.2 per second (19.5 mS)
Switch Input read rate: 51.2 per second (19.5 mS)
Keypad read rate: 51.2 per second (19.5 mS)
Display update rate: 2.56 updates per second (391 mS)
Environmental
Temperature: 0 - 70 C
Humidity: 0 - 90% Non-Condensing
Mechanical
Terminal Plug screw torque: 2.2 lb-in (0.25 N-m)
Enclosure material: ABS Plastic 94V-0
Keypad: Polycarbonate tactile switch pad, chemical resistant, splash-proof
Weight: 2 .2 Lb (1.0 Kg)
Dimensions:
Top-View of MS332
Front-View of MS332
Invalid Keypress:
Invalid keypresses are those not supported at a given Keypad menu and level. An invalid keypress results in no
action other than lighting the front-panel ERR led.
See ‘Reference Section \Keypad \Keypad Level Zero and Keypad Menus’ for details on when keys are valid/invalid
for each menu and level.
Example: When in keypad level one of the Change Set-point Menu, pressing the VAR key is invalid and results
in no action other than lighting the ERR led.
Acronyms-abbreviations:
Accel Acceleration (as in acceleration ramps).
Advance Increase (add to) the feedback encoder phase-offset by a certain number of pulses, using the
Advance/Retard feature.
Algorithm A mathematical routine.
Aux Auxiliary (as in optional Aux 0 and Aux 1 inputs).
Bipolar Analog voltage signal capable of positive and negative voltage relative to its base (or offset)
voltage.
Cathode Cathode-end of the NPN Output protection diode.
ChA, Chan A Quadrature encoder Channel A.
Chan Encoder channel
ChB, Chan B Quadrature encoder Channel B.
Closed-loop Method of control where process output measurements (feedback) are used to control the process
output.
Config Configuration (as in Open-loop Configuration).
DAC Digital-to-Analog Converter (used in Analog Output circuitry).
De-accesses To no longer access (as in de-accessing a Switch Input function).
Decel Deceleration (as in deceleration ramps).
DIAG Diagnostic mode, or Diagnostic key on MS332 keypad.
DIP Switches Dual-inline-package switches (as in Encoder/Index Pull-up and Pull-down DIP Switches).
Encoder pulses Pulses received from an encoder, or ring kit.
ENTER Enter key on MS332 keypad.
ERR Error (as in the front-panel ERR led).
Fast Stop A Switch Input function for quickly stopping the feedback encoder/motor (not an emergency
stop).
Fb, Fdbk Feedback (as in feedback encoder, or feedback signal/pulses).
FbPPI Feedback encoder Pulses Per Index pulse (Index-Follower mode).
FbRPM Feedback encoder RPM.
Feedback 1) Pulses from the encoder or index sensor at the MS332-controlled process.
2) Term sometimes used in place of the term ‘follower’; (as in ‘feedback encoder’ - meaning the
same as ‘follower encoder’).
FOL MOD Follower mode (as in Follower Mode Configuration variable).
Follower An MS332-controlled process that tracks (or follows) an independent (lead or Master) process.
Ratio-Follower An MS332 follower mode where the follower encoder rotates at a setpoint ratio of lead encoder
rpm (i.e. electronic gearing).
Index-Follower An MS332 follower mode where follower index pulses are positioned (or phased) relative to lead
index pulses according to a phase setpoint.
Funct Function (as in NPN Output or Switch Input functions).
Gnd Circuit common (as in the encoder/index/switch-input/npn-output circuit common, GndC).
I/O Input/Output (as in the I/O Connection Block View Diagram).
Index pulses Pulses received from an encoder (Z output), proximity sensor, etc. in Index-Follower mode.
Ld, Lead Pulses from the encoder or index sensor at the independent process (Follower mode).
LdPPI Lead encoder Pulses Per Index pulse (Index-Follower mode).
LdRPM Lead encoder RPM.
LED Light-emitting-diode (as in status indicator LED’s).
Var Description Range (units- if any) Comments Ref. Sect. Default Your
page # value value
01.00 Process Max Feedback Encoder RPM 1.0000->99999. Rev per minute 32 1750.
01.01 Process Max Feedback Encoder RPM 0.0001->99999. Sets units for Feedback speed display, Master 38 1750.
in User Units mode set-points, etc.
01.02 Feedback Encoder PPR 1->8192 Pulses per rev 32 60.
01.03 Process Max Lead Encoder RPM 1.0000->99999. Rev per minute 33 1750.
01.04 (Proc. Max Feedback Enc. RPM / 0.0001->99999. Sets units for feedback/lead speed ratio 39 1.000
Proc. Max Lead Enc. RPM) display, Ratio-Follower mode set-points, etc.
in User Units
01.05 Lead Encoder PPR 1->8192 Pulses per rev 33 60.
01.06 Follower Mode Configuration 0, 1 0: Ratio-Follower mode 33 0.
1: Index-Follower mode
01.07 Feedback PPI 0->99999 Pulses per index 33 60.
01.08 Lead PPI 0->99999 Pulses per index 33 60.
01.09 Pulses per Index Measurement and 0->32 0: Uses Var01.07 and Var01.08 Pulse per 33 0.
(bA02.XX)
02.03 Decel Ramp 1 0.1->3600.0 sec 40 1.0
02.04 Fast Stop Decel Ramp 0.1->3600.0 sec 40 0.5
02.05 Active Ramp Pair Select 0, 1 0: enables Ramp Pair 0 41 1.
1: enables Ramp Pair 1
(032601)
03.02 PID Derivative Gain 0 -> 100 0 disables derivative 43 0.
03.03 PID Derivative Sample Period 0.001->1.000 sec 43 0.01
03.04 Zero Lead Speed PID Control 0->4 See Reference Section for Selection Codes 43 0
Var Description Range (units- if any) Comments Ref. Sect. Default Your
page # value value
04.00 NPN Output 0 function assign 0->17 See Reference Section for Function Codes 46 0.
04.01 NPN Output 1 function assign 0->17 See Reference Section for Function Codes 46 0.
04.02 NPN Output 2 function assign 0->17 See Reference Section for Function Codes 46 0.
04.03 NPN Output 3 function assign 0->17 See Reference Section for Function Codes 46 0.
04.04 NPN Output 0 function parameter .00000->99999 46 0.
04.05 NPN Output 1 function parameter .00000->99999 46 0.
04.06 NPN Output 2 function parameter .00000->99999 46 0.
04.07 NPN Output 3 function parameter .00000->99999 46 0.
04.08 NPN Output %Hysteresis 0->100 % 47 1.
05.00 Display Selection 0->15 See Reference Section for Display Codes 4 0.
05.01 Display Update Time unimplemented
(bA02.XX)
06.13 Master Mode 0->3 0: speed setpt 0 37 0.
Active Set-point Select 1: speed setpt 1
2: speed setpt 2
3: speed setpt 3
06.14 Ratio-Follower Mode 0->3 0: speed ratio setpt 0 37 0.
Active Set-point Select 1: speed ratio setpt 1
2: speed ratio setpt 2
(032601)
3: speed ratio setpt 3
06.15 Index-Follower Mode 0->3 0: phase setpt 0 37 0.
Active Set-point Select 1: phase setpt 1
2: phase setpt 2
3: phase setpt 3
Var Description Range (units- if any) Comments Ref. Sect. Default Your
page # value value
07.00 Switch Input 1 function assign 0->12 See Reference Section for Function Codes 28 0.
07.01 Switch Input 2 function assign 0->12 See Reference Section for Function Codes 28 0.
07.02 Switch Input 3 function assign 0->12 See Reference Section for Function Codes 28 0.
07.03 Switch Input 4 function assign 0->12 See Reference Section for Function Codes 28 0.
07.04 Switch Input 5 function assign 0->12 See Reference Section for Function Codes 28 0.
07.05 Switch Input 6 function assign 0->12 See Reference Section for Function Codes 28 0.
07.06 Switch Input 7 function assign 0->12 See Reference Section for Function Codes 28 0.
07.07 Master Speed Scroll Step 0->100 in Var01.01 units 29 1.
07.08 Ratio-Follower Speed Ratio Scroll Step 0->100 in Var01.04 units 29 1.
07.09 Phase Scroll Step 0->100 in Fb encoder pulses 29 1.
07.10 Jog Speed Scroll Step 0->100 Rev per minute 29 1.
07.11 Jog Mode Ramp Configuration 0->3 0: disable ramps 35 3.
1: enable Accel ramp only
2: enable Decel ramp only
3: enable Accel and Decel ramps
07.12 Open-loop Configuration 0->3 0: enable Fb encoder and Fb index feedback. 35 3.
(bA02.XX)
08.02 Serial Comm. Parity Select 0->2 See Reference Section for Selection Codes 49 0
08.03 Serial Comm. Mode Select 0, 1 0: ASCII (unimplemented) 49 1
1: RTU
08.04 Serial Comm. Data Type Select 0->5 See Reference Section for Selection Codes 49 4
(032601)
User Records (cont.):
Analog Output Calibration Record:
Record your Calibrated Analog Output Voltage when the Pc dAC is 000.0: _____________ Vdc
Record your Calibrated Analog Output Voltage when the Pc dAC is 090.0: _____________ Vdc
– Aux 0 pull-down
– Aux 1 pull-down
– Aux 0 pull-up
– Aux 1 pull-up
Switch
Purpose
< ON : OFF >
Switch
Position
Switch | | | | | | | | | | | | | | | |
Number 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8
----------------------pull-ups---------------------- ---------------------pull-downs---------------------
TB 1 TB 3 TB 4
Ground C