
238
D320 PLC User's Manual
Example 2 – D320 Master on D50 Network
One of the special features of the UDCP Mode is the ability to act as a Master on a network of Cutler-
Hammer D50, D300 and/or D320 PLC slaves. Using the Binary mode of communications, in
conjunction with the Automatic CRC generation, the second port on the D320 can be programmed to
transmit and receive messages to a network of PLC’s using the D50/D300/D320 standard program
loader port protocol.
The following program illustrates this technique. In the program, a single word of data is continuously
transmitted from the D320 master PLC to a single D50 slave node. The message to perform this
“Write Word(s)” function is created using the open protocol information available in Appendix A. The
protocol information is also available in the D50 Hardware Manual, catalog number D50SA122.
Ladder Program
F1.0
F11.13
F11.15
F12.8
M0.0
M0.1
S
S
S
R
R
LET
D=K0
S=0
Rung 1:
This rung initializes the
port and communications
program by:
F11.13 - Set Binary Mode
F11.15 - Enable CRC
F12.8 - UDCP Mode
Internal contacts M0.0 and
M0.1 and internal word K0
are used for proper
sequencing of the Query
and Response messages.
Rung 2:
The Receive Flag F11.4 is
continuously checked for
an incoming message. If
detected, Subroutine 10 is
called to process the message.
F11.4
CALL
SL=10
F11.5
S
Содержание D320 PLC
Страница 1: ...D320 PLC User s Manual...
Страница 18: ...6 D320 PLC User s Manual...
Страница 28: ...16 D320 PLC User s Manual...
Страница 34: ...22 D320 PLC User s Manual...
Страница 78: ...66 D320 PLC User s Manual...
Страница 176: ...164 D320 PLC User s Manual...
Страница 210: ...198 D320 PLC User s Manual...
Страница 258: ...246 D320 PLC User s Manual...