Configuring slc/plc-5/micrologix plcs – Comtrol UP DeviceMaster Quick Start User Manual

Page 22

Advertising
background image

22 - Configuring Read/Write Devices

DeviceMaster UP EtherNet/IP Quick Start: 2000478 Rev. D

Configuring Read/Write Devices

Configuring SLC/PLC-5/MicroLogix PLCs

1.

Create a Data File to send the transmit
data. It will have the form of:

Integer - Produced Sequence
Number

Integer - Length of data field in
bytes.

Integer[] - Data field array large
enough to hold all data to transmit
(two bytes or characters per
integer).

2.

Open the TX Data file.

3.

Set the second integer to the length of
data to transmit in bytes.

4.

Input the data to transmit starting at
the third integer. It can be entered from
left to right in each integer, MS Byte
First, or from right to left which is LS
Byte First.

For operating in the MS Byte First mode, you must set the (PLC-5/SLC) Rx MS Byte First and (PLC-5/SLC)
Tx MS Byte First
settings on the corresponding serial or socket port on the DeviceMaster UP embedded
web page.

5.

Optionally, increment the transmit sequence number in the first TX Data File integer with each message
you transmit.

6.

Create a transmit message of either PLC5 or SLC (500CPU) Write. For MicroLogix, use SLC (500CPU)
Write
.

7.

Set up a control message block of the appropriate length.

8.

Add the message to your ladder logic.

Advertising