EasyManua.ls Logo

Toshiba nv Series - Page 31

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
12
Thefollowingcounterscanbespecifiedforeachchannelbyusingthe
pointparametersettingsofthePI918.
However,somefunctionsareaffectedbythemoduleparameters
(commonfunction).
Table 3. PI918 counter function list
Fig. 2-2 Basic operation flow
Whenturningonthepower,thetype1controllerexecutesthesystem
initializationatfirst,andthenoperationmodeprocessingifnoerror
occursduringinitialization.Aftertheoperationmodeprocessing,scan
processingisexecutediftheconditionstorunintheRUNmodeare
established.Scanprocessingistheprocessingtoexecuteuser
programsthatarethefunctionofthetype1controllermainunit.Ifthe
conditionstorunintheRUNmodearenotestablished,thesystem
statusbecomestheHALTmodewhereprogramsaredisabledtorun.
Theperipheralsupportprocessingistoaccepttherequestsfrom
nV-Toolandcomputerlinkandtoprocesstheresponsetothem.This
processisexecutedintheintervalbetweeneachscanprocessing.
Theselfdiagnosisprocessingisexecutedindividuallyineachprocess.
Fig.2-2showstheselfdiagnosisprocessingexecutedintheinterval
betweeneachscanprocessing.
Thischapterdescribesthecontentsofsysteminitializationprocessing,
operationmodeprocessing,scanprocessingandperipheralsupport
processing.TheselfdiagnosisprocessingisdescribedinChapter6RAS
Functions.
Table 3. PI918 counter function list
Point parameter Counter function
EP AL SP SV Counter type Application example
0 0 0 0 Universalcounter Programmableinterruptoccurrencetimer
0 0 0 1 Slavecounter Interruptcyclecounter
0 0 1 0 Speedcounter Selfdiagnosiscounter
0 0 1 1 - -
0 1 0 0 Universalcounter Gateonpulsewidthmeasurementwithalarm
0 1 0 1 Slavecounter Interruptcyclecounterwithalarm
0 1 1 0 Speedcounter Selfdiagnosiscounterwithalarm
0 1 1 1 - -
1 0 0 0 Universalcounter Autoresetuniversalcounter
1 0 0 1 Slavecounter Speedratiomeasurement
1 0 1 0 Speedcounter Speedcounter
1 0 1 1 - -
1 1 0 0 Universalcounter Universalcounterwithalarm
1 1 0 1 Slavecounter Speedratiomeasurementwithalarm
1 1 1 0 Speedcounter Speedcounterwithalarm
1 1 1 1 - -
(Note1)ThecombinationofSP=‘1’andAL=‘1’isinvalid.
(Note2)Inslavesetting,thepreviouschannelisthemaster,soitisinvalidinCH1.
Counterbasicoperationotherthantheslavefunction(SV=’0’)
Parameter
Counter operation
Gate,
command
AL SP
0 0
Thecounterisresetandaninterruptoccurseachtimethecount
reachesthealarmvalue.
Required
0 1
Thecountvalueistransferredtotheholdregisterandresetin
eachspeedcountercycle. Aninterruptoccursatthetimewhen
anyoverflowoccurs.
Not
required
1 0
Aninterruptoccurswhenthecountvaluereachesthealarmvalue.
Thecountiscontinued.
Required
1 1
Thecountvalueistransferredtotheholdregisterandresetin
eachspeedcountercycle. Aninterruptoccursifthealarmvalue
isexceeded. Aninterruptoccursatthetimewhenanyoverflow
occurs.
Not
required

Other manuals for Toshiba nv Series

Related product manuals