17
MPS4232
Section 3: Operation
The external hardware trigger voltage is input through pins
4 & 5 of the power connector. The MPS accepts a trigger
voltage that is between +5 and +15Vdc at 6.5mA. A wiring
diagram for the power/serial/trigger cable can be found in
Secon 4: Hardware.
MPS4200 has several opons for external triggering which is
controlled by the variable: TRIG. The external trigger can be
used in one of three ways:
1. Hardware Frame Trigger
2. Soware Frame Trigger
3. Hardware Scan Trigger
Opons 1 & 2: the “Frame Trigger” opons allow an external
trigger to release a single frame of data per pulse sensed
by the MPS. This means for each trigger pulse (or soware
command) the MPS will return a single frame of data. The
rate of which the data is output is based on this external
pulse rate.
For opmal external frame triggering, the internal rate of
the MPS should be set ≥25% higher than the external trigger
rate. If a hardware trigger is being used, it must adhere to
the MPS’s trigger voltage requirement. A duty cycle of 50%
is recommended, and the “low” voltage must be as close to
0Vdc as possible.
The soware frame trigger is a command sent to the MPS
that will release a one frame of data per command received.
The trigger can be one of two commands; either a TRIG
command or a <tab> character (9 Hex or Control I). This
works similar to external hardware triggering.
If me stamps are important when external frame triggering,
it is recommended that the MPS’s internal rate be set to at
least 2 mes that of the external rate (or the max scan rate
of the module). This will provide the best resoluon for the
frame me stamps.
To congure the MPS4200 to scan with an external frame
trigger (hardware or soware):
1. Set the variable TRIG to 1
2. Set the RATE variable to a rate at least 25% or faster
than the intended external trigger rate
3. Set the MPS into “scan” mode by sending the
command: SCAN
4. Supply a trigger; either hardware trigger pulse or a
soware trigger. For each trigger pulse, the MPS will
output a single frame of data to the congured des-
naon
Opon 3: the “ Hardware Scan Trigger” opon allows for
a SCAN to be iniated using an external voltage. When
the MPS senses that the trigger input level is “high”
(5Vdc≤voltage≤15Vdc), the MPS will enter scan mode where
it will scan and connuously collect data based on its set
internal rate. The MPS will connue to scan at this rate unl
any of the following condions are met:
• The trigger input level is switched to “low” (<5Vdc)
• The FPS variable is met (frames output = FPS)
• The scan is manually stopped by the user (soware
command or powering o the unit)
To congure the MPS4200 to scan with an external scan
trigger:
1. Set the variable TRIG to 2
2. Set the RATE variable to the desired data collecon
rate
3. Supply a “high” voltage (5Vdc<voltage<15Vdc). The
MPS will collect and output data at the dened rate
unl the trigger input voltage is lowered below the
5Vdc trigger threshold level.
When TRIG is set to 3, the scan-on-startup feature is enabled.
This commands the MPS to start scanning aer the power up
sequence has completed. The data output and desnaon
for this feature must be set as FTP or UDP.
In the event that the FTP server is not ready to handle a
connecon from the MPS4200, the MPS will aempt to
connect unl it succeeds, a STOP command is received
from the serial connecon, or a STOP is received from the
Ethernet connecon. Once scanning is started, data output
connues unl a STOP is received, as described above.
Simply removing power from the MPS will stop the sending
of data. Normally this will cause the FTP server to begin a
me out period waing for data. Aer the me out period,
the FTP server should close the connecon, ush any
unsaved data to disk and close the le. The me out period
of the FTP server is usually congurable. FTP servers may
vary in their operaon so check your FTP server manual for
sengs.
For UDP output, the MPS will output data to the UDP cong-
ured desnaon unl a STOP command is received from the
serial or Ethernet connecon, the FPS variable has been met,
or the MPS is powered down.
The default method of ASCII data collecon and transfer is
congured using the default Telnet server (port 23) using a