- 157 -
sta_cyc Start cyclic handler operation ista_cyc Start cyclic handler operation (handler only)
[
[[
[
C
C
L
La
an
ng
gu
ua
ag
ge
e
A
AP
PI
I
]
]]
]
ER ercd = sta_cyc( ID cycid );
ER ercd = ista_cyc( ID cycid );
z
z
P
Pa
ar
ra
am
me
et
te
er
rs
s
ID cycid ID number of the cyclic handler to be operated
z
z
R
Re
et
tu
ur
rn
n
P
Pa
ar
ra
am
me
et
te
er
rs
s
ER ercd Terminated normally (E_OK)
[
[[
[
A
As
ss
se
em
mb
bl
ly
y
l
la
an
ng
gu
ua
ag
ge
e
A
AP
PI
I
]
]]
]
.include mr100.inc
sta_cyc CYCNO
ista_cyc CYCNO
z
z
P
Pa
ar
ra
am
me
et
te
er
rs
s
CYCNO ID number of the cyclic handler to be operated
z
z
R
Re
eg
gi
is
st
te
er
r
c
co
on
nt
te
en
nt
ts
s
a
af
ft
te
er
r
s
se
er
rv
vi
ic
ce
e
c
ca
al
ll
l
i
is
s
i
is
ss
su
ue
ed
d
Register name Content after service call is issued
R0 Error code
R2 ID number of the cyclic handler to be operated
[
[[
[
E
Er
rr
ro
or
r
c
co
od
de
e
]
]]
]
None
[
[[
[
F
Fu
un
nc
ct
ti
io
on
na
al
l
d
de
es
sc
cr
ri
ip
pt
ti
io
on
n
]
]]
]
This service call places the cyclic handler indicated by cycid into an operational state. If the cyclic handler attribute of
TA_PHS is not specified, the cyclic handler is started every time the activate cycle elapses, start with the time at which this
service call was invoked.
If while TA_PHS is not specified this service call is issued to a cyclic handler already in an operational state, it sets the time
at which the cyclic handler is to start next.
If while TA_PHS is specified this service call is issued to a cyclic handler already in an operational state, it does not set the
startup time.
If this service call is to be issued from task context, use sta_cyc; if issued from non-task context, use ista_cyc.