User guide

GEL100340
wfix
Descripition
It writes the Fixed Word
Area @WA) used
for
DeviceNet communications. This block writes
len
words from
FWA[ind]
to
lXA[ind+len-l]
with
dl,
d2 and d3 values.
It
also checks the
timeouts(tmo)
and
writes the
appropiated value to rl, r2 and
r3.
Input ports
Executed
always
alwavs
Description
1st value to write to
FWA
2nd value to write to
FTVA
d3
iud
len
tUl0
int
int
int
int
always
always
always
always
3rd value to write to
FWA
index of the 1st word
to
write
number of words to write
number of cycles after which the
rl, rl
and
r3
output is set to 2.
wo303
Output ports
Name
rl
r2
r3
Type
Description
int
communication status:
int
int
if 0 the block has found
FWA[ind]
non-timed-out since
previous execution
if 1 the block has found
FWA[iud]
timed-out since previous
, execution, but not for more than
tmo
cycles
‘if 2 the block has found FWA[ind] timed-out for tmo cycles
communication status:
if 0 the block has found
FWA[ind+l]
non-timed-out since
previous execution
if 1 the block has found
FWA[ind+l]
timed-out since previous
execution, but not for more than tmo cycles
if 2 the block has found
FWA[ind+l]
timed-out for tmo
cycles
1
communication status:
if 0 the block has found
FWA[iud+2]
non-timed-out since
previous execution
if 1 the block has found FWA[ind+2] timed-out since previous
execution, but not for more than
tmo cycles
if 2 the block has found
FWA[ind+2]
timed-out for tmo
cycles
xv0304
156