WorldFip 34-9
. 3.. The.length.of.the.macrocycle.can.induce.a.memory.size.problem,.since.the.table.parameters.
must.be.stored.in.the.BA..For.instance,.if.the.scanning.periodicities.of.variables.E.and.F.were,.
respectively,.5.and.7.ms,.the.length.of.the.macrocycle.would.be.420.microcycles.instead.of.
just12.microcycles.
Both
.the.communication.jitter.and.memory.size.problems.have.been.addressed.in.the.literature..In.[1],.
the.authors.discuss.dierent.methodologies.to.reduce.the.BAT.size,.without.penalising.the.communica-
tion
.jitter..e.idea.is.very.simple,.and.it.basically.consists.on.reducing.some.of.the.scan.periodicities.in.
order.to.have.a.harmonic.pattern..e.problem.of.table.size.has.also.been.addressed.in.other.works.[2,3],.
however,.in.a.dierent.perspective..In.the.referred.work,.the.authors.discuss.an.online.scheduler.(instead.
of.storing.the.schedule.in.the.BA’s.memory),.which.is.not.directly.applicable.to.the.WorldFIP.case.
It
. is. also. worth. mentioning. that. Figure. 34.7. represents. a. macrocycle. composed. of.synchronous.
microcycles,.that.is,.for.the.specic.example,.each.microcycle.starts.exactly.1.ms.aer.the.previous.one..
Within.a.microcycle,.the.spare.time.can.be.used.by.the.BA.to.process.aperiodic.requests.for.buer.
transfers,.message.transfers,.and.padding.identiers..A.WorldFIP.BA.can.also.manage.asynchronous.
microcycles,.not.transmit.padding.identiers..In.such.case,.a.new.microcycle.starts.as.soon.as.the.peri-
odic
.trac.is.performed.and.there.are.no.pending.aperiodic.buer.transfers.or.message.transfers..Initial.
periodicities.are.not.respected.since.identiers.may.be.more.frequently.scanned.
34.5.4 WorldFIP aperiodic Buffer transfers
e.BA.handles.aperiodic.buer.transfers.only.aer.processing.the.periodic.trac.in.a.microcycle..e.
portion.of.the.microcycle.reserved.for.the.periodic.buer.exchanges.is.denoted.as.the.periodic window.of.
the.microcycle..e.time.le.aer.the.periodic.window.until.the.end.of.the.microcycle.is.denoted.as.the.
aperiodic window.of.the.microcycle..e.aperiodic.buer.transfers.take.place.in.three.stages:
. 1.. When.processing.the.BAT.schedule,.the.BA.broadcasts.an.ID_DAT.frame.concerning.a.periodic.
variable,.say.identier.X..e.producer.of.variable.X.responds.with.a.RP_DAT.and.sets.an.ape-
riodicrequest.bit.in.the.control.eld.of.its.response.frame..e.BA.stores.variable.X.in.a.queue.of.
requests.for.variable.transfers..Two.priority.levels.can.be.set.when.the.request.for.aperiodic.transfer.
is.made:.urgent.or.normal..e.BA.has.two.queues,.one.for.each.priority.level.
. 2.. In.the.aperiodic.window,.the.BA.uses.an.identication.request.frame.(ID_RQ).to.ask.the.pro-
ducerof.the.identier.X.to.transmit.its.list.of.pending.aperiodic.requests..e.producer.of.X.
responds.with.a.RP_RQ.frame.(list.of.identiers)..is.list.of.identiers.is.placed.in.another.BA’s.
queue,.the.ongoing aperiodic queue.
Macrocycle
Microcycle
A
1 2 3 4 5 6 7 8 9 10 11 12 13
T (ms)
B
C
D
E
F
RP_DAT(32 µs)
t
r
(20 µs)
FIGURE 34.7 Schedule.for.the.periodic.transfers.of.Table.34.2.
© 2011 by Taylor and Francis Group, LLC