Communication Aspects of IEC 61499 Architecture 55-5
LOGIC. .is.block.contains.the.control.logic.of.the.system..Given.the.current.operation.mode.(as.
a.number.at.the.MODE.data.input),.it.produces.a.new.combination.of.four.values.at.the.
LED0.….LED3.data.outputs.upon.the.input.event.REQ
LEDS
. .Interface.to.the.LEDs..Upon.receiving.the.REQ.input.event.refreshes.the.LEDs.with.the.
values.of.the.LED0.….LED3.data.inputs
Besides,
.there.are.three.more.service.FBs:
START
. .Emits.an.event.at.its.COLD.event.output.upon.physical.restart.of.the.device.executing.
this.application
RS_GATE
. .Trigger,.emitting.events.corresponding.to.START.and.STOP.commands.of.the.start/stop.
switch
PERIODIC
. .Upon.activation.by.the.start.event.generates.events.periodically.with.the.frequency.deter-
mined
.by.its.DT.data.input..In.our.application,.this.event.is.connected.to.the.LOGIC.FB.
causing.the.next.lights.pattern.generation
e
.IEC.61499.FBs.are.great.for.fast.prototyping.and.simulation..us,.in.order.to.test.the.control.
logic,.the.developer.can.substitute.interfaces.to.physical.peripherals.by.instances.of.FB.types.that.emulate.
those.peripherals.using.human–machine.interface.elements,.as.illustrated.in.Figure.55.3..As.long.as.
the.interfaces.of.two.FB.types.are.the.same,.this.operation.is.very.simple.and.preserves.the.structure.of.
interblock.connections.
us,
.the.RUNSTOP.FB.is.now.implemented.using.the.RADIO_BOOL.FB.type.that.creates.and.
listens.to.the.radio.button.element.with.two.values:.RUN.and.STOP..As.a.result.of.the.FB-type.substitu-
tion,
.the.application.logic.can.be.initially.tested.without.having.the.peripherals.connected..e.reverse.
substitution.will.produce.the.fully.deployable.application.
Controller
COLD INITO
CNF
IND
EO0
EO1
QO
QI
EI
G
LABEL1
LABEL0
IN
OUT
WARM
STOP
“RUN”
INIT
REQ
INIT INITO
REQ
START
STOP
E_CYCLE
LOGIC
LEDS
LEDS4
LIGHTS
MODE
SWITCH3
“ALL, CHASE_UP, CHASE_DOWN”
1
INIT INITO
CNF
CR
NEW
REQ
MODE
INIT
REQ
LED2
LED1
LED0
C0
C1
LED3
INITO
CNF
INIT INITO
IND
QO
OUT
I
QI
CHOICES
REQ
LED3
LED2
LED1
LED0
BITN
LED3
ALL
CHS_UP
CHS_DOWN
LED2 LED1 LED0
DT
EO
IND
KNOB
1
QI QO
OUT
W
TYPE
“TIME”
t#250ms
IVAL
“STOP”
E_RESTART
E_SWITCH
RS_GATE
DT
PERIODIC
SWITCH2
START STOP
TIME
MODE
FIGURE 55.2 FB.diagram.shows.the.distribution.of. functionalities.between.blocks. and.event.and. data.ow.
between.them.
© 2011 by Taylor and Francis Group, LLC