Trigger commands – sd, mt, ga, te, tr, tl, sa – Flintec LDU 68.2 User Manual
Page 25
LDU 68.1 & 68.2 Technical Manual, Rev. 12 January 2010
Page 25 of 28
8.12. Trigger Commands – SD, MT, GA, TE, TR, TL, SA
Note:
All changes to the trigger commands have to be stored in the EEPROM using the WP command. See
chapter 8.11
8.12.1. SD
Start Delay Time
This command defines a time delay between the trigger and the start of the measurement.
Setting range: 0 ms to 500 ms.
Master (PC / SPS) sends
Slave (LDU XX.X) responds
Meaning
SD
S+00100
Request: SD = 100 ms
SD 200
OK
Setup: SD = 200 ms
Default setting: SD = 0 ms; time plot of a typical checkweigher cycle see below
8.12.2. MT Measuring Time
This command defines the measuring time for the averaged measurement result.
Setting range: 0 ms to 500 ms.
Master (PC / SPS) sends
Slave (LDU XX.X) responds
Meaning
MT
M+00100
Request: MT = 100 ms
MT 500
OK
Setup: SD = 200 ms
Note:
The setting MT = 0 disables the trigger function and the averaging.
Default setting: MT = 0 ms [= trigger function disabled]; time plot of a typical checkweigher cycle see below
8.12.3. GA Get Triggered Average Value
This command reads the measurement result of a measurement cycle. The measurement value has been
averaged according the defined measuring time.
Master (PC / SPS) sends
Slave (LDU XX.X) responds
Meaning
GA
A+01.100
Request: GA = 1100 g
Note:
For preventing errors during the read out of the data the register GA has stored the value 99999 at the
beginning of the measurement cycle. The measurement result can only be read after the defined measuring
time MT has been elapsed and before a new measurement cycle has been started.
8.12.4. TE
Trigger Edge
This command defines the trigger edge. Allowed settings are “0” for falling edge and “1” for rising edge. This
command can only be used in conjunction with a hardware trigger on the digital input channel 0.
Master (PC / SPS) sends
Slave (LDU XX.X) responds
Meaning
TE
E+001
Request: TE = 1 (rising edge)
TE 0
OK
Setup: TE = 0 (falling edge)
Default setting: TE = 0 [= falling edge]; time plot of a typical checkweigher cycle see below
8.12.5. TR
Software Trigger
This command starts a measurement cycle. Its execution can be compared to a hardware trigger on the digital
input channel 0.
Master (PC / SPS) sends
Slave (LDU XX.X) responds
Meaning
TR
OK
Trigger event