Communication Aspects of IEC 61499 Architecture 55-11
Provisions.of.the.compliance.prole.were.implemented,.for.example,.in.FBDK.[2].as.the.pairs.of.
PUBLISH_n/SUBSCRIBE_n.and.CLIENT_n_m/SERVER_n_m.FBs..e.PUBLISH/SUBSCRIBE.com-
munication
.is.implemented.using.services.of.the.universal.datagram.protocol.(UDP)..e.communica-
tion
.is.essentially.unreliable.and.multicast..e.CLIENT/SERVER.communication.is.implemented.via.
the.transfer.control.protocol.(TCP)..It.is.point-to-point.and.reliable.
Using
.this.library.of.communication.FBs,.a.user.can.develop.distributed.applications.communi-
cating
.via.local.networks.(Ethernet).and.even.via.the.Internet..The.specifics.of.the.implementation.
imply.the.addressing.schema..The.communication.FBs.have.input.parameter.IDs,.which.are.set.as.
follows.
e
.PUBLISH/SUBSCRIBE.communication.pattern.assumes.that.there.could.be.many.subscribers.
for.one.(or.even.several).publisher(s).as.illustrated.in.Figure.55.9..is.communication.pattern.is.imple-
mented
.in.FBDK.using.the.multicast.services.of.the.UDP.
e
.PUBLISH.block.has.to.have.an.ID.that.follows.the.rules.for.Internet.multicast.addresses..In.gen-
eral,
.an.Internet.address.consists.of.four.numbers.in.the.interval.0-255;.for.example,.124.11.2.1..(e.
multicast.addresses.are.in.the.interval.224.0.0.0.through.239.255.255.255,.but.the.range.of.addresses.
between.224.0.0.0.and.224.0.0.255,.inclusive,.is.reserved.for.system.purposes.).In.the.example,.the.ID.of.
the.PUBLISHER.(located.in.Device.1).is.225.0.0.1:1204.(where.225.0.0.1.is.an.IP.address.for.that.multi-
cast
.group.and.1204.is.a.unique.port.number.selected.in.Device.1)..e.ID.of.the.publisher.completely.
identies.the.multicast.group.
Any
.SUBSCRIBE.block.located.in.a.device.on.the.same.network.segment.as.the.PUBLISH.can.receive.
the.published.data.if.it.has.the.same.ID.as.the.PUBLISH..e.published.data.will.be.received.by.both.
subscribers.located.in.Device.2.and.Device.3.
e
.CLIENT_SERVER.communication.is.point-to-point.(i.e.,.only.one.client.can.send.and.receive.
data.to/from.one.server)..e.addressing.is.illustrated.in.Figure.55.10..e.SERVER,.which.is.located.
in.Device.2,.has.ID.that.refers.to.the.address.of.the.host.device.(localhost).and.adds.there.a.unique.(for.
that.device).port.number..e.CLIENT,.located.in.Device.1,.has.an.ID.that.is.composed.of.two.parts:.IP.
address.of.the.server’s.device.and.the.same.port.number.as.used.in.the.SERVER’s.ID.
INIT(+)
INIT(+)
INITO(+)
REQ(+)
CNF(+)
IND(+)
RSP(+)
SD_1, ..., SD_m
RD_1, ..., RD_m
INITO(+)
~
~
PARAMS
PARAMS
normal_service_establishment
normal_data_transfer
SUBSCRIBERPUBLISHER
FIGURE 55.8 Communication.establishment.and.normal.data.transfer.sequence.
© 2011 by Taylor and Francis Group, LLC