Messages - PLC 1 & PLC 2 Class Notes

advertisement
Messages

asynchronously reads or writes a block of
data to
another module on a network.
 Controller communication done using local or
remote messages.
 local messaging is accessible without a separate
device acting as a bridge.
 Remote messages use a remote network, where
devices are accessible by passing or routing
through a device to another network.
Message Elements

The message file uses 24 different elements
to control several aspects of the message.
Some elements are:
–
–
–
–
–
Address (Bridge and Node)
Type
Channel and Target #
Time Out information
Other Control Parameters
PLC5 Message
Communication Labs
1. PLC5 to PLC5 on the same network
(Local)
2. PLC5 to PLC5 on different networks
(Remote)
3. SoftLogix 5800 to PLC5 (MSG
Instruction)
4. SoftLogix 5800 to SoftLogix 5800
(Produced/Consumed tags).
Communication with Non- AB
Controllers
Omron
and Siemens PLC cannot send data
directly
protocols used to transmit data via Ethernet
is different
It can be done by using a PC with software
that translates protocols
example is RSView32 or Studio with 2 OPC
Server or a 3rd party hardware Gateway.
(Anybus-X)
DH+ Networking
DH+
is a token ring network with a
maximum of 63 nodes .(octal)
a device that has the token sends the
data and gives the token to the next
highest node on the network
Cable is Belden (Blue Hose) with 1
twisted and shielded pair of conductors,
daisy chaining the processors together.
each device needs to have a unique
address on that network
PLC5 to PLC5 on the same
network
In the PLC5Settings
you can use a MG
file as a control address
 You have to configure whether
you want to read from another
processor or write to one.
we only have 1 port on the PLC
5/11
In the box with the control bits,
the
Continuous Run bit is set to one.

Settings
local or remote is selected. Remote
is used when sending a message
between different networks
Concerns
Should
never directly control IO over a
communication network.
Danger
of that is that if the network fails,
you have no control over the outputs
anymore and it will remain in it’s last state.
DHRIO Card Routing Table:
DHRIO card with the 2 channels it
has. Those channels are
electrically completely separate
Each of the channels has to have a
DH+ node address. In the
classroom Channel A is 70 and
channel B is 71.
network has to have an address. In
the case of a network we call that a
Link ID
Selecting network type and
node address switches
DHRIO Front View
PLC5 to PLC5 on a remote
network
SofLogix 5800 to PLC5
I/O Configuration
Message Configuration
Setting Path
Produce and Consume a
Tag
Produce tag
Consume tag
Consume tag
Download