The leader in industrial automation and control solutions

Introduction

All Maple Systems HMI+PLCs (HMCs) programmed with MAPware7000 are compatible with Modbus TCP/IP Master (Client) Ethernet. Configure your Controller and HMI+PLC (HMC) with the following parameters to establish reliable communication.

Applies to: MAPware7000

Overview

Maple Systems HMI + PLCs (HMC) communicate with any device that uses the Modbus TCP/IP protocol. The HMC uses the Modbus TCP/IP Master (Client) protocol driver to allow the Maple HMC to act as the master in a single master, single slave or multiple slave format.

For more information on adding tags and using Modbus data in logic, see Tech Note 7016 – Modbus
Communication in MAPware-7000.

HMI+PLC Settings

This document lists the communications settings that must be configured in MAPware7000. These settings can be found in the Network Configuration folder for the selected project in the Project Information window:

Project/tree settings in MAPware7000

Right-click the Com3 (Ethernet) port and click Add… to display the Node Information dialog box:

MAPware7000 Node Information Window settings for Modbus TCP IP protocol

Adding Tags

PLC tags are added to the project in the tag folder after configuring the device. Select the Tags folder from the Project Information Window. Right click in the tag list and select Add… from the context menu. Select the Node Name at the top of the Add Tag dialog to specify the target device, enter a name for the tag and select the register/coil type to match what is in your controller and an address for the register. Click the Add button to save the tag to the tag list

Add Tag window in the Project Information window in MAPware7000 using the Modbus TCP IP protocol

For more information on adding tags and using Modbus data in logic, see Tech Note 7016 – Modbus
Communication in MAPware-7000.

NOTE:

The Options column lists MAPware7000 options; your PLC may not support every option.

The PLC Specific Settings button that appears after configuring the protocol allows the programmer access to settings used when retrieving two consecutive Modbus addresses as a 32-bit register.

NameRecommended SettingsOptionsImportant Notes
PortEthernet
ProtocolModbus/TCP Master
(Client)
Select the appropriate protocol for your PLC
ModelModbus
Ethernet PLC: IP Addressxxx.xxx.xxx.xxxIP address assigned to the Modbus Slave device
Ethernet PLC: PLC Port502Port number used for
Modbus connections (502 is the standard Modbus port)
Node Information: NameMaximum of 15 charactersProvide a meaningful
description to the port
Node Information: Address10 to 255
Node Information:
Interframe Delay
0 to 3000 msecMinimum time delay
between commands sent to the PLC
Node Information: Retry Count0 to 5The maximum attempts by the HMC to resend an unanswered command
Node Information: Response Time Out10 to 6000 msecThe time that must pass before the HMC
reattempts to send an
unanswered command to the PLC

Connected Device Settings

  • The Modbus port on the slave device must be set to TCP slave mode in order to properly communicate with the HMC Master.
  • The Modbus slave device must be configured with an IP address that is addressable by the HMC.

PLC Addressing

The following table lists the PLC memory ranges that are accessible on the HMC Series. Please note your PLC memory range may be smaller or larger than that supported by the PLC. The following addresses can be displayed in 8, 16 or 32 bit formatting and/or single bit format as designated.

PLC Address TypesAddress Range Modbus AddressWrite access
Coils (0x)bbbbb: 1-65536000001-065536Read/Write
Input Coils (1x)bbbbb: 1-65536100001-165536Read only
Input Registers (3x)bbbbb: 1-65536300001-365536Read only
Holding Registers (4x)bbbbb: 1-65536400001-465536Read/Write

Important Memory Considerations

If your slave device memory range is smaller than the range supported by the Maple HMC it is possible to configure the unit to monitor slave memory addresses that are not available. Because this can cause unpredictable results, when you configure the Master Device, ensure that all selected slave memory addresses are valid for your slave device.

Do not configure the Master Device to write to any PLC memory address that should only be written to by the PLC.

Wiring Diagram

The Maple HMC Ethernet port connects directly to the Modbus TCP/IP Ethernet port on the Modbus slave.

WARNING If your communications cable is not wired exactly as shown in our cable assembly instructions, damage to the HMC or loss of communications can result.

Ethernet Port (all models)

  1. Fully compliant with IEEE 802.3 / 802.3u standards.
  2. 10/100Mbps support.
  3. Connector used: Standard shielded RJ-45 female jack with in-built speed and link activity indication LEDs.
  4. Default IP Address: 192.168.0.254
  5. Default Subnet Activity Mask: 255.255.255.0
Pin NumberSignal
1TX+
2TX-
3RX+
4NC
5NC
6RX-
7NC
8NC