EasyManua.ls Logo

Toshiba nv Series - Application as a Gate on Timer with Alarm

Toshiba nv Series
49 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 3 Counter function of the PI918
6F8C1370
16
3.1.3. Application as a gate on timer with alarm
Thepulsewidth(ONTIME)ofthesignalappliedtothegateinputis
measuredusinginternalreferencepulses. Apulsewidthoveracertain
periodcanbedetectedbasedonachangeintheinterruptstatusby
settinganalarmvalue.
Condition
Parameter
setting
EP AL SP SV
0 1 0 0
External
input
Pulseinput Gateinput
Notrequired
Connectionofpulsestobe
measured. Gatebatch
permissionsettingisnot
available.(GEN=‘0’)
Operation
(1) Theonpulsewidthofthegateinputismeasured. Aninversionof
theinterruptstatusbitoccurswhenthecountreachesthealarm
value. Foralarmvaluesof8001htoFFFFh,nointerruptcondition
occurs. Foranalarmvalueof8000h(32768),aninterruptoccurs
at"0"count.
(2) Thecountervalueistransferredtotheholdregisterwhenthegate
inputconditionincludingcommandchangesfromONtoOFF.
Figure 3.1.3. Example of gate on timer with alarm operation
Gateinput
(Measuredpulse)
Internal
referencepulse
Countvalue
Alarmvalue(1to32768)
Interruptstatus
Command
Holdvalue
A
B
C
A
B
C
t
A
t
B
t
C
ONONON
0
0
(32767)
Gatepulsewidthtx=Holdvalue
÷
Internalreferencepulse(Hz)
(Inversion)

Other manuals for Toshiba nv Series

Related product manuals