beautypg.com

Lpbkexampleslcmsgfilesyncrs500 - slc plc – Comtrol UP DeviceMaster User Guide User Manual

Page 118

background image

118 -

Chapter 5. Programming the PLC

DeviceMaster UP EtherNet/IP User Guide: 2000424 Rev. L

lpbkExampleSlcMsgFileSyncRS500 - SLC PLC

5.4.3.4. lpbkExampleSlcMsgFileSyncRS500 - SLC PLC

This example program demonstrates a loop-back RSLogix 500 PLC program using SLC Typed messages in
the Write-to-File-Synced receive method. This program initializes the produced receive and transmit sequence
numbers as well as the consumed receive sequence number at startup and then loops data via a loop-back
plug on the serial port. The data is transmitted via SLC Typed Write data messages and received
automatically via a write to file message from the DeviceMaster UP. The consumed receive sequence number
is updated to match the produced receive sequence number and sent to the DeviceMaster UP to complete the
synchronization process. All sequence numbers are incremented with each message.

The following files apply:

lpbkExampleSlcMsgFileSyncRS500.SLC – ladder logic in ASCII form

lpbkExampleSlcMsgFileSyncRS500.SY5 – symbol definitions for RSLogix 500 Version 5.xx.xx.

lpbkExampleSlcMsgFileSyncRS500.SY6 – symbol definitions for RSLogix 500 Version 6.xx.xx.

5.4.3.5. LPBKEXAMPLESLCMSGFILERS500_MICROLGX - MicroLogix PLC

This example program demonstrates a loop-back RSLogix 500 PLC program using SLC Typed messages in
the Write-to-File receive method. This program initializes the produced receive and transmit data sequence
numbers at startup and then loops data via a loop-back plug on the serial port. The data is transmitted via
SLC Typed Write data messages and received automatically via a write to file message from the
DeviceMaster UP. The sequence numbers are incremented with each message.

The following file applies: LPBKEXAMPLESLCMSGFILERS500_MICROLGX.RSS , a MicroLogix PLC
example program.

5.4.3.6. LPBKEXAMPLESLCMSGPOLLRS500_MICROLGX - MicroLogix PLC

This example program demonstrates an RSLogix 500 loopback PLC program using the SLC Typed messages
in the Polling receive method. This program initializes receive and transmit produced data sequence numbers
at startup on the DeviceMaster UP and then loops data through a loopback plug on the serial port. The SLC
Typed Write data messages transmit the data, the SLC Typed Read Data messages receive the data and the
sequence numbers are incremented.

The following file applies: LPBKEXAMPLESLCMSGPOLLRS500_MICROLGX.RSS, a MicroLogix PLC
example program.