Using the SoftPLC with the RMC Ethernet Module

SoftPLC is a PC-based control solution that tightly emulates the PLC-5. Therefore, one who knows how to use the RMC from a PLC-5 should easily be able to get the SoftPLC to communicate with the RMC.

As with the Allen-Bradley PLC-5, the SoftPLC uses the MeSsaGe (MSG) block. This block takes a number of parameters, which are briefly described below. For a complete description of the parameters, refer to Allen-Bradley's Instruction Set Reference Manual.

SoftPLC can read or write from registers in compatible remote devices such as another SoftPLC, PLC-5, or the RMC. The RMC has 248 integer files (N7 and N8-N255) with 256 elements each (0-255) that are accessible over the Ethernet from the SoftPLC. See the RMC Register Map (Allen-Bradley) for details on those registers and their addresses.

If you need help setting up your network, either consult your network administrator, or for simple stand-alone networks, see Setting up a Stand-alone TCP/IP Control Network.

Using the MSG Block:

It is beyond the scope of this document to attempt to fully document the MSG block, which itself evolves over time. However, some general guidelines will be given here. TOPDOC—the SoftPLC programming software—displays the MSG block as follows:

image\ebx_627454618.gif

The only parameter in this block is the CTRL block address, which should be an MG-file. To edit this parameter, select the MSG block with TOPDOC and press ALT+Z. This expands the block to show the following options:

 


Copyright (c) 1997-2015 by Delta Computer Systems, Inc.