2 rmc register map (softplc), Rmc register map (softplc) -176 – Delta RMC101 User Manual
Page 426
RMC100 and RMCWin User Manual
5-176
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:
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:
• PLC Command: From this drop-down list, select PLC-5 READ to read values from the RMC, or
PLC-5 WRITE
to write values to the RMC.
• My Table Address: Enter the address of the first SoftPLC register to read RMC registers into, or
to write to RMC registers from.
• Size in Elements: Enter the number of RMC registers to read or write in this field.
• Channel: Set this to the Ethernet channel number. On the SoftPLC, the channel numbers are
configurable using ONEPRO. Before adding the MSG block you will need to exit SoftPLC, run
ONECNFIG and add a TCP/IP channel with the IP address of the RMC. Then enter the channel
number you added into this parameter.
• Station: This parameter is used only by DH+ and is not used for Ethernet communication.
• Peer's Mem Address: Enter the address of the first RMC register to read or write in this field.
See the RMC Register Map (Allen-Bradley) for help on addresses.
5.2.6.9.2 RMC Register Map (SoftPLC)
Tip:
RMCWin's Address Tool provides an easy way to identify addresses in the RMC. Simply open the
Address Tool and then move the cursor to any field in RMCWin that represents an RMC Register, and
the Address Tool will display the address in the address format of your choice. See Address Tool for
details.
The SoftPLC Ethernet register map is identical to the register map for Allen-Bradley Ethernet.
See RMC Register Map (Allen-Bradley).