MODBUS TCP Master Driver



Similar documents
MODBUS TCP Master Driver

Ethernet Gateway for SIMATIC MPI/ PROFIBUS Driver

KV-10_80RW/TW CPU Direct Driver

APNT#1168 Modbus - Establishing Communications Hints

1 Application Description System Topology Hardware and Software Requirements... 3

32 Transferring Projects and Data

MBP_MSTR: Modbus Plus Master 12

How To Set Up A Modbus Cda On A Pc Or Maca (Powerline) With A Powerline (Powergen) And A Powergen (Powerbee) (Powernet) (Operating System) (Control Microsci

LOGO! LOGO! App V.10. LOGO! app 1. Making basic settings and establishing a connection to LOGO! Using the device overview 3. Creating controls 4

Using the AnyBus -X Gateway to Communicate between a DVT camera and a Profibus Master

20 Using Scripts. (Programming without Parts) 20-1

Modbus and ION Technology

Mitsubishi Electric Q Series PLC Ladder Monitor. Operation Manual

1 Application Description Objective Goals... 3

Service & Support. How can you establish a connection between an S PLC and SIMATIC NET OPC? S PLC, SIMATIC NET OPC.

Alarm Message C B A. Alarm Message's scroll direction. Scroll the currently triggered Alarms on all screens. C B A. Display alarms.

FC5A Modbus Communication Training

Practice Fusion API Client Installation Guide for Windows

Ethernet/IP Explicit Messaging Using Unity Software

7-1. This chapter explains how to set and use Event Log Overview Event Log Management Creating a New Event Log...

Adding a Modbus TCP Device to the Network. Setting Up Your Network

TECHNICAL NOTE TNOI34

DTAP3000 DTSX3000 Control Visualization Software LAS2.0 Data Conversion Guide

General Precautions The user must operate each product according to the performance specifications described in the operation manuals.

7.7 Ethernet Communication (AFPX-COM5)

RcWare SoftPLC Modbus server mapping editor User manual

ENTBUS PLUS SOFTWARE FOR ENERGY MONITORING AND RECORDING INSTALLATION AND OPERATING MANUAL

Back-up Server DOC-OEMSPP-S/2014-BUS-EN-10/12/13

Operating Instructions

eztcp Technical Document Modbus/TCP of eztcp Caution: Specifications of this document may be changed without prior notice for improvement.

Ethernet Module Manual

OCS Training Workshop LAB14. Setup

Using Ladder Logic Instructions to Communicate with an Ethernet IP Nexus Unit

Easy! Smooth! GP/ST-3500 Series->GP4000 Series Replacement Guidebook

Modbus TCP Master/Slave Driver for DeltaV Virtual I/O Module

PROFIBUS / MODBUS GATEWAY Application Note for Communication between Premium CPU & XPS-MC Safety Controllers


FINS Gateway For OMRON PLCs

USER GUIDE. Ethernet Configuration Guide (Lantronix) P/N: Rev 6

TSX ETY 110 Module 8

Flexi Soft Ethernet IP: Implicit Messaging with a Omron PLC

The Answer to the 14 Most Frequently Asked Modbus Questions

28 Simply Confirming Onsite

TSX ETZ Configuration of your computer for TSX ETZ direct connection by serial link. Eng V1.0

Configuring Omron CJ2H PLC s with Ethernet/IP for use with Acromag Ethernet/IP Remote I/O

Configuring Allen-Brandly ControlLogix PLC with Moxa MGate 5105-MB-EIP. 1 Application Description Objective Goals...

IGSS. Interactive Graphical SCADA System. Quick Start Guide

Configuration of Kepware OPC Server in PanelMate Configuration Editor

QuickPanel Control DeviceNet Master Communications Card (IC754DVNM01) Quick Start Guide. Thursday September 20, 2007

Changing Your Cameleon Server IP

Since the explanations use actual screen shots, potentially complicated setting screens are made easy!

Citrix EdgeSight for Load Testing User s Guide. Citrx EdgeSight for Load Testing 2.7

Additional Setup Instructions for Modbus: RTU, ASCII, TCP, Omni & Enron

IX Support Tool Setting Manual

Features Reference. About Unified Communication System. Before Using This Machine. Starting a Meeting. What You Can Do During the Meeting

TECHNICAL NOTE TNOI32

MFC7840W Windows Network Connection Repair Instructions

Backup Server DOC-OEMSPP-S/6-BUS-EN

Motion Control Products Application note Connecting CP600 to motion products via Modbus TCP

Siemens AG. SIMATIC S7 Ethernet 04/

CONTROLLER INFORMATION SHEET

ScanWin Installation and Windows 7-64 bit operating system

EtherNet/IP Scanner Configuration for the Moxa MGate 5105-MB-EIP

How to Program a Commander or Scout to Connect to Pilot Software

BECKHOFF. Application Notes. BC9000: Getting Started Guide. For additional documentation, please visit.

S7 for Windows S7-300/400

C-more Remote Access, Data Log, FTP File Transfer, and Tutorial

Modicon M340 Peripheral Remote I/O Adapter BMX PRA 0100 User Manual

APNT#1184 WAN or Internet Access to GP-Pro EX. Introduction

H0/H2/H4 -ECOM100 DHCP & HTML Configuration. H0/H2/H4--ECOM100 DHCP Disabling DHCP and Assigning a Static IP Address Using HTML Configuration

SOFTWARE MANUAL UNIOPC

xlogic App from Easy Electronic-Overview

Connecting your Omega/BetaPAT PLUS to a PC via a USB

ICC. NetLink Version Info INDUSTRIAL CONTROL COMMUNICATIONS, INC.

STEP 7 MICRO/WIN TUTORIAL. Step-1: How to open Step 7 Micro/WIN

13 Reading Device/PLC from Database

How to Obtain an OPC License--5. Creating a System Code 5 Entering an Authorization Code 6. Getting Started with SNMP Editor--7

OPERATION MANUAL. MV-410RGB Layout Editor. Version 2.1- higher

Introduction. - Please be sure to read and understand Precautions and Introductions in CX-Simulator Operation Manual and

MODBUS. Table Of Contents

How to read this guide

1 Serial RS232 to Ethernet Adapter Installation Guide

The following shows the symbols used in this Quick start guide with descriptions and examples. Symbol Description Example. Select [Project] [New].

Operating Instructions

Global Monitoring + Support

Ethernet Interface Manual Thermal / Label Printer. Rev Metapace T-1. Metapace T-2 Metapace L-1 Metapace L-2

2011, The McGraw-Hill Companies, Inc. Chapter 5

Modbus and ION Technology

Setting up VPN Access for Remote Diagnostics Support

Having Fun with QNAP and your Home Automation

The goal is to program the PLC and HMI to count with the following behaviors:

How to use KEPServerEX OPC Server (Kepware) with iologik 4000 (Modbus TCP/IP NA-4010 and Modbus Serial NA-4020/NA-4021)

PC Transfer Tool Operation Manual

Modbus RTU Communications RX/WX and MRX/MWX

CP500 CONTROL PANELS. CP500 Soft: First Step with AC500 series on Ethernet. Step8. ABB Entrelec 1SBC159100M0202_Ch8 En

Installation Manual. PLCSQL link

CONTROL MICROSYSTEMS DNP3. User and Reference Manual

DeviceNet Motor Control

Schneider OS-Loader usage via Ethernet or USB.

User Manual. Protocol Converter PC-E, Serial to Ethernet (RS232/485 Modbus RTU to Modbus TCP/IP)

Transcription:

Schneider Electric SA MODBUS TCP Master Driver 1 System Configuration... 3 2 External Devices Selection... 6 3 Communication Settings... 7 4 Setup Items...18 5 Supported Devices... 24 6 Device Code and Address Code... 28 7 Error Messages... 29 1

Introduction This manual describes how to connect the Display and the External Device (target PLC). In this manual, the connection procedure is described in the sections identified below: 1 System Configuration This section lists the types of External Devices and SIO that you can connect. "1 System Configuration" (page 3) 2 External Devices Selection Select the model (series) of the External Device and its connection method. "2 External Devices Selection" (page 6) 3 Communication Settings This section shows setting examples for communicating between the Display and the External Device. "3 Communication Settings" (page 7) 4 Setup Items This section describes communication setup items on the Display. Set the Display's communication settings in GP Pro-EX or in offline mode. "4 Setup Items" (page 18) Operation GP-Pro EX Device/PLC Connection Manual 2

1 System Configuration 1.1 Schneider Electric SA External Devices The following table lists system configurations for connecting Schneider Electric SA External Devices and the Display. Driver CPU Link I/F SIO Type Setting Example Premium TSX P57 103M TSX P57 153M TSX P57 203M TSX P57 253M TSX P57 303M TSX P57 353M TSX P57 453M TSX ETY 4102 TSX ETY 4103 TSX ETY 5102 TSX ETY 5103 TSX WMY 100 M Setting Example 1 (page 7) TSX P57 2623M TSX P57 2823M TSX P57 3623M TSX P57 4823M ------ Ethernet (Modbus TCP) Setting Example 2 (page 9) Quantum 140 CPU 113 02 140 CPU 113 03 140 CPU 434 12A 140 CPU 534 14A 140 NOE 771 00 140 NOE 771 10 140 NWM 100 00 Setting Example 3 (page 11) 140 CPU 651 50 140 CPU 651 60 ------ Setting Example 4 (page 13) Connection Configuration 1:1 Connection Display HUB External Device 1:n Connection Display HUB External Device Maximum 16 units External Device GP-Pro EX Device/PLC Connection Manual 3

n:1 Connection(PremiumSeries) *1 *2 Maximum 4 units Display Display External Device HUB *1 You can connect max 1 unit of TSXP571**/TSXP572**, max 3 units of TSXP573**, max 4 units of TSXP574**. *2 Number of connecting units is the unit number when connecting the Display only. Number of connecting Display will be limited by the number of other External Devices which is connected by Ethernet. n:1 Connection(Quantum Series) Muximum 32 units *1 Display Display External Device HUB *1 Number of connecting units is the unit number when connecting the Display only. Number of connecting Display will be limited by the number of other External Devices which is connected by Ethernet. GP-Pro EX Device/PLC Connection Manual 4

1.2 YOKOGAWA Electric Corporation External Devices The following table lists system configurations for connecting YOKOGAWA Electric Corp. External Devices and the Display. Driver CPU Link I/F SIO Type Setting Example FCN FCJ NFCP100-S00 NFJT100-S100 Network interface on CPU Control network interface on the controller Ethernet (Modbus TCP) Setting Example 5 (page 15) Setting Example 5 (page 15) Connection Configuration 1:1 Connection Display HUB External Device 1:n Connection Display HUB External Device Maximum 16 units External Device n:1 Connection Maximum 4 units *1 Display Display External Device HUB *1 Number of connecting units is the unit number when connecting the Display only. Number of connecting Display will be limited by the number of other External Devices which is connected by Ethernet. GP-Pro EX Device/PLC Connection Manual 5

2 External Devices Selection Select the External Device to be connected to the Display. Setup Items Number of Devices/ PLCs Manufacturer Series Port Use System Area Setup Description Enter an integer from 1 to 4 to define the number of Devices/PLCs to connect to the display. Select the manufacturer of the External Device to connect. Select "Schneider Electric SA". Select the External Device model (series) and the connection method. Select "MODBUS TCP Master". In System configuration, make sure the External Device you are connecting is supported by "MODBUS TCP Master". "1 System Configuration" (page 3) Select the Display port to connect to the External Device. Check this option to synchronize the system data area of the Display and the device (memory) of the External Device. When synchronized, you can use the External Device s ladder program to switch the display or display the window on the Display. Cf. GP-Pro EX Reference Manual "LS Area (Direct Access Method Area)" This feature can also be set in GP-Pro EX or in the Display's offline mode. Cf. GP-Pro EX Reference Manual "System Settings [Display Unit] - [System Area] Settings Guide" Cf. Maintenance/Troubleshooting Guide "Main Unit - System Area Settings" GP-Pro EX Device/PLC Connection Manual 6

3 Communication Settings This section provides examples of communication settings recommended by Pro-face for the Display and the External Device. When you use the External Device, use GP-Pro EX and the ladder software to set as below. 3.1 Setting Example 1 Settings of GP-Pro EX Communication Settings To display the setup screen, from the [Project] menu, point to [System Settings] and select [Device/PLC]. GP-Pro EX Device/PLC Connection Manual 7

Device Setting To display the [Individual Device Settings] dialog box, from [Device-Specific Settings] in the [Device/PLC] window, select the external device and click [Settings]. To connect multiple External Devices, from [Device-Specific Settings] in the [Device/PLC] window, click [Add Device] to add another External Device. [Equipment Configuration]Tab [Max Query] tab Notes Check with the network administrator about the IP address. Do not duplicate IP addresses. Set IP address on the External Device for IP address in Device-specific settings. You need to set the IP address of the Display in its offline mode. External Device Settings Use the ladder software "PL7 PRO" for communication settings. Execute "Hardware Configuration" from "Configuration" in "Application Browser" of "PL7 PRO" to display the "Configuration" dialog box. Double-click the empty slot to display the "Add Module" dialog box. Select "Communication" in the "Family" field. Then select "Link Unit" display in the "Module" field to display the screen for setting. Setup Items IP address configuration IP address Ethernet configuration Configured (Fixed) Optional Ethernet II (Fixed) Setup Description Notes Check with the network administrator about the IP address. Do not duplicate IP addresses. Please refer to the manual of the ladder software for details on other settings. GP-Pro EX Device/PLC Connection Manual 8

3.2 Setting Example 2 Settings of GP-Pro EX Communication Settings To display the setup screen, from the [Project] menu, point to [System Settings] and select [Device/PLC]. Device Setting To display the [Individual Device Settings] dialog box, from [Device-Specific Settings] in the [Device/PLC] window, select the external device and click [Settings]. To connect multiple External Devices, from [Device-Specific Settings] in the [Device/PLC] window, click [Add Device] to add another External Device. [Equipment Configuration]Tab [Max Query] tab GP-Pro EX Device/PLC Connection Manual 9

Notes Check with the network administrator about the IP address. Do not duplicate IP addresses. Set the IP address of the External Device under [Individual Device Settings]. You need to set the IP address of the Display in its offline mode. External Device Settings Use the ladder software "PL7 PRO" for communication settings. For setting, go to "Configuration" in "Application Browser" of "PL7 PRO", "Hardware Configuration", and "ETY PORT" in this order. Setup Items IP address configuration IP address Ethernet configuration Configured (Fixed) Optional Ethernet II (Fixed) Setup Description Notes Check with the network administrator about the IP address. Do not duplicate IP addresses. Please refer to the manual of the ladder software for details on other settings. GP-Pro EX Device/PLC Connection Manual 10

3.3 Setting Example 3 Settings of GP-Pro EX Communication Settings To display the setup screen, from the [Project] menu, point to [System Settings] and select [Device/PLC].. Device Setting To display the [Individual Device Settings] dialog box, from [Device-Specific Settings] in the [Device/PLC] window, select the external device and click [Settings]. To connect multiple External Devices, from [Device-Specific Settings] in the [Device/PLC] window, click [Add Device] to add another External Device. [Equipment Configuration] tab [Max Query] tab GP-Pro EX Device/PLC Connection Manual 11

Notes Check with the network administrator about the IP address. Do not duplicate IP addresses. Set the IP address of the External Device under [Individual Device Settings]. You need to set the IP address of the Display in its offline mode. External Device Settings Use the ladder software "Concept" for communication settings. After selecting PLC for the Quantum Series in "PLC Selection" of "Concept", select "Select Extensions" from "Config Extension". Set the number of Link Unit connected to "TCP/IP Ethernet" in the "Select Extensions" dialog box displayed next. Then, select "Ethernet /I/O Scanner" in "Config Extensions" and perform setting in the "Ethernet /I/O Scanner" dialog box. Setup Items Ethernet configuration Internet Address Frame Type Specify IP Address (Fixed) Optional Ethernet II (Fixed) Setup Description Notes Check with the network administrator about the IP address. Do not duplicate IP addresses. Please refer to the manual of the ladder software for details on other settings. GP-Pro EX Device/PLC Connection Manual 12

3.4 Setting Example 4 Settings of GP-Pro EX Communication Settings To display the setup screen, from the [Project] menu, point to [System Settings] and select [Device/PLC]. Device Setting To display the [Individual Device Settings] dialog box, from [Device-Specific Settings] in the [Device/PLC] window, select the external device and click [Settings]. To connect multiple External Devices, from [Device-Specific Settings] in the [Device/PLC] window, click [Add Device] to add another External Device. [Equipment Configuration] tab [Max Query] tab GP-Pro EX Device/PLC Connection Manual 13

Notes Check with the network administrator about the IP address. Do not duplicate IP addresses. Set the IP address of the External Device under [Individual Device Settings]. You need to set the IP address of the Display in its offline mode. External Device Settings Use the ladder software "Unity Pro XL" for communication settings. Startup "Unity Pro XL". Select "New Project" and specify CPU (Quantum Series, 140 CPU 651 *0). Go to "Communication" in "Project Browser", and right-click on "Network" to select "New Network...". Then the Add Network window is displayed. Set "List of available Networks" in the "Add Network" window to "Ethernet". Put the optional name in "Change Name" and press OK. Check that the name you put in "Change Name" is displayed under "Network", "Communication" of "Project Browser". Double-click the displayed name to display the "(Your optional name) window" for setting. Setup Items IP address configuration IP address Ethernet configuration Configured (Fixed) Optional Ethernet II (Fixed) Setup Description Notes Check with the network administrator about the IP address. Do not duplicate IP addresses. Please refer to the manual of the ladder software for details on other settings. GP-Pro EX Device/PLC Connection Manual 14

3.5 Setting Example 5 Settings of GP-Pro EX Communication Settings To display the setup screen, from the [Project] menu, point to [System Settings] and select [Device/PLC].. Device Setting To display the [Individual Device Settings] dialog box, from [Device-Specific Settings] in the [Device/PLC] window, select the external device and click [Settings]. To connect multiple External Devices, from [Device-Specific Settings] in the [Device/PLC] window, click [Add Device] to add another External Device. [Equipment Configuration] tab [Max Query] tab GP-Pro EX Device/PLC Connection Manual 15

Notes Check with the network administrator about the IP address. Do not duplicate IP addresses. Set the IP address of the External Device under [Individual Device Settings]. You need to set the IP address of the Display in its offline mode. External Device Settings Use the ladder software (Logic Designer) for communication settings. Refer to your External Device manual for details. 1 Start up the ladder software. 2 To start the MODBUS communication (RTU mode) slave function, create the control logic. For the example of control logic, refer to "Control Logic Example". Control Logic Example (page 16) 3 Select [Rebuild Project] from the [Build] menu. 4 Double-click [Target Setting] in the project tree Window to display the [Target] dialog box. 5 Enter "192.168.0.1" in [Host Name/IP Address]. 6 Click [OK]. 7 Download the communication settings to the External Device. 8 Reboot the External Device. Control Logic Example To connect the Display to the External Device, the control logic is required. The control logic example is shown below. SD_CMDBSE_BS_OPEN SD_CMDBSE_BS_OPEN TRUE REQ VALID TCP_VALID UNIT#5 TIMEOUT ERROR TCP_ERROR UNIT#20 DELAY STATUS TCP_STARUS ' YOKOGAWA ' ' STARDOM ' ' R1. 80. 01 ' VENDOR PRODUCT REVISION OPTION COIL COIL COIL COIL DSCI DSCI DSCI DSCI IREG IREG IREG IREG HREG HREG HREG HREG ESTS ESTS ESTS ESTS TCP_COMERR COMERR COMERR TCP_COMERR GP-Pro EX Device/PLC Connection Manual 16

Notes Check with the network administrator about the IP address. Do not duplicate IP addresses. Please refer to the manual of the ladder software for details on other settings. GP-Pro EX Device/PLC Connection Manual 17

4 Setup Items Set up the Display's communication settings in GP Pro-EX or in the Display's offline mode. The setting of each parameter must match that of the External Device. "3 Communication Settings" (page 7) You need to set the IP address of the Display in its offline mode. Cf. Maintenance/Troubleshooting Guide "Ethernet Settings" 4.1 Setup Items in GP-Pro EX Communication Settings To display the setup screen, from the [Project] menu, point to [System Settings] and select [Device/PLC]. Setup Items Timeout Retry Wait To Send Setup Description Use an integer from 1 to 127 to enter the time (s) for which the Display waits for the response from the External Device. In case of no response from the External Device, use an integer from 0 to 255 to enter how many times the Display retransmits the command. Use an integer from 0 to 255 to enter standby time (ms) for the Display from receiving packets to transmitting the next commands. Refer to the GP-Pro EX Reference Manual for Indirect Device. Cf. GP-Pro EX Reference Manual "Changing the Device/PLC at Runtime (Indirect Device)" GP-Pro EX Device/PLC Connection Manual 18

Device Setting To display the [Individual Device Settings] dialog box, from [Device-Specific Settings] in the [Device/PLC] window, select the external device and click [Settings]. To connect multiple External Devices, from [Device-Specific Settings] in the [Device/PLC] window, click [Add Device] to add another External Device. [Equipment Configuration]Tab IP Address Port No. Unit ID Setup Items Bit manipulation (set/ reset) to Holding Register Other bits in this word IEC61131 Syntax Double Word word order Low Security Level Set IP address of the External Device. Setup Description Check with the network administrator about the IP address. Do not duplicate IP addresses. Use an integer from "1 to 65535" to enter the port No. of the External Device. Use an integer from 1 to 247 to enter the unit ID of the External Device. Select how other bits in the same word are handled when you manipulate bits in the holding register, from "Clear" or "Do not clear". Check this item when you use the IEC61131 grammar for variables. If you check this item, select the address mode from [0-based] or [1-based]. Select the order of checking double word data from "Low word first" or "High word first". Check this option to decrease the format check level. GP-Pro EX Device/PLC Connection Manual 19

[Max Query] tab Coil Setup Items Setup Description Set the number of max data for device [coil] that can be read for one communication, using 16 to 2000 bits. Read Coil Write Discrete Input If you check [Single Bit Manipulation in Coil/Discrete Input], set the max query using 1 to 2000. Set the number of max data for device [coil] that can be written for one communication, using 1 to 800 bits. Set the number of max data for device [discrete input] that can be read for one communication, using 16 to 2000 bits. Read Input Register Read Holding Register Read Holding Register Write Single Bit manipulation to Coil/Discrete Input If you check [Single Bit Manipulation in Coil/Discrete Input], set the max query using 1 to 2000. Set the number of max data for device [input register] that can be read for one communication, using 1 to 125 words. Set the number of max data for device [holding register] that can be read for one communication, using 1 to 125 words. Set the number of max data for device [holding register] that can be written for one communication, using 1 to 100 words. Check this option to read or write the coil or discrete input in bit units. GP-Pro EX Device/PLC Connection Manual 20

4.2 Setup Items in Offline Mode Refer to the Maintenance/Troubleshooting manual for information on how to enter offline mode or about the operation. Cf. Maintenance/Troubleshooting Guide "Offline Mode" The number of the setup items to be displayed for 1 page in the offline mode depends on the Display in use. Please refer to the Reference manual for details. Communication Settings To display the setting screen, touch [Device/PLC Settings] from [Peripheral Equipment Settings] in offline mode. Touch the External Device you want to set from the list that appears. Setup Items Timeout Retry Wait To Send Setup Description Use an integer from 1 to 127 to enter the time (s) for which the Display waits for the response from the External Device. In case of no response from the External Device, use an integer from 0 to 255 to enter how many times the Display retransmits the command. Use an integer from 0 to 255 to enter standby time (ms) for the Display from receiving packets to transmitting the next commands. GP-Pro EX Device/PLC Connection Manual 21

Device Setting To display the setting screen, touch [Device/PLC Settings] from [Peripheral Equipment Settings]. Touch the External Device you want to set from the displayed list, and touch [Device]. (1/2) Setup Items Device/PLC Name IP Address Port No. Unit ID Bit manipulation to HR IEC61131 Syntax Double Word word order Low Security Level Setup Description Select the External Device to set. Device/PLC name is the title of the External Device set with GP-Pro EX.(Initial value [PLC1]) Set IP address of the External Device. Check with the network administrator about the IP address. Do not duplicate IP addresses. Use an integer from "1 to 65535" to enter the port No. of the External Device. Use an integer from 1 to 247 to enter the unit ID of the External Device. Indicates how other bits in the same word are handled when you manipulate bits in the holding register, by "Rest of bits in word are cleared" or "Rest of bits in word are not cleared".(not available to set in offline mode.) Indicates the usage status of the currently set IEC61131 syntax by ON/OFF. (Not available to set in offline mode.) Indicates the currently set order of storing double word data displaying "Low word first" or "High word first". (Not available to set in offline mode.) Indicates whether the format check level is decreased by ON/OFF. If decreased, ON is displayed. (Not available to set in offline mode.) GP-Pro EX Device/PLC Connection Manual 22

(2/2) Setup Items Device/PLC Name Read Coil Write Coil Read Discrete Input Read Input Register Read Holding Register Write Holding Register Single Bit manipulation Setup Description Select the External Device to set. Device/PLC name is the title of the External Device set with GP-Pro EX.(Initial value [PLC1]) Displays the number of max data for device [coil] that can be read for one communication.(not available to set in offline mode.) Displays the number of max data for device [coil] that can be written for one communication.(not available to set in offline mode.) Displays the number of max data for device [discrete input] that can be read for one communication.(not available to set in offline mode.) Set the number of max data for device [input register] that can be read for one communication, using 1 to 125 words. Set the number of max data for device [holding register] that can be read for one communication, using 1 to 125 words. Set the number of max data for device [holding register] that can be written for one communication, using 1 to 100 words. Indicates whether to read or write the coil or discrete input in bit units by displaying ON/ OFF. If ON is displayed, you can read or write in bit units. (Not available to set in offline mode.) GP-Pro EX Device/PLC Connection Manual 23

5 Supported Devices The following table shows the range of supported device addresses. Please note that the actual supported range of the devices varies depending on the External Device to be used. Please check the actual range in the manual of your External Device. Premium/Quantum Series : This address can be specified as system data area. Device Bit Address Word address Coil 000001-065536 000001-065521 32 bits Remarks Discrete Input 100001-165536 100001-165521 *2 Input Register ------ 300001-365536 Holding Register 400001,0-465536,15 *3 400001-465536 *1 You can set the data storing order in word unit of 32-bit data in the Device Setting dialog box. *2 Write disabled. *3 An access method at the time of Bit Set varies depending on the [Rest of the bits in this word] setting of [Device Setting]. - Clear... - Do not clear...400001,00-465536,15 *1 or *2 GP-Pro EX Device/PLC Connection Manual 24

FCN/FCJ Series : This address can be specified as system data area. Device Bit Address Word address Coil 000001-009984 000001-009969 32 bits Remarks *2 Discrete Input 100001-109984 100001-109969 *2 *3 Input Register 300001.00-309999.15 300001-309999 or *3 Holding Register 400001.00-409999.15 *4 400001-409999 *1 You can set the data storing order in word unit of 32-bit data in the Device Setting dialog box. *2 The device access range of the External Device is specified as 1 to 9999, that of the Display, however, as up to 9984, since the Display device is accessible in 16-bit units. *3 Write disabled. *4 An access method at the time of Bit Set varies depending on the [Rest of the bits in this word] setting of [Device Setting]. - Clear... - Do not clear...400001,00-409999,15 *1 GP-Pro EX Device/PLC Connection Manual 25

Supported Function Codes The supported function code list is shown below. Function Code (Hex) FC01(0x01) FC02(0x02) FC03(0x03) FC04(0x04) FC05(0x05) FC06(0x06) FC15(0x0F) FC16(0x10) Description Read the ON/OFF status of the slave coil (0X). Read the ON/OFF status of the slave discrete input (1X). Read the description of the slave holding register (4X). Read the description of the slave input register (3X). Change (Write) the slave coil (0X) status to either ON or OFF. Change (write) the description of the slave holding register (4X). Change (Write) the slave consecutive multiple coils (0X) status to either ON or OFF. Change (write) the descriptions of the slave consecutive multiple holding registers (4X). FC15/FC16 are used for writing. FC05/FC06 are used for the External Devices that do not support the function codes mentioned on the left. IEC61131Syntax Address Description The following table shows the equivalence between IEC61131 syntax and MODBUS syntax address descriptions. Device Format Coil 000001+i Discrete Input 100001+i Input Register (Word) Input Register (Word bit) Holding Register (Word) Holding Register (Word bit) 300001+i 300001+i,j 400001+i 400001+i,j MODBUS Syntax Range i = 0 to 65535 i = 0 to 65535 i = 0 to 65535 i = 0 to 65535 j = 0 to 15 i = 0 to 65535 i = 0 to 65535 j = 0 to 15 First element Format 000001 %Mi Range i = 0 to 65535 IEC61131 Syntax 0 start 1 start First element %M00000 Range i = 1 to 65536 100001 - - - - - 300001 - - - - - 300001,0 0 400001 %MWi 400001,0 0 - - - - - %Mwi:X j i = 0 to 65535 %MW00000 i = 0 to 65535 j=0 to 15 %MW00000: X00 First element %M00001 i = 1 to 65536 %MW00001 i = 1 to 65535 j=0 to 15 %MW00001 :X00 The addresses 100000 and 300000 cannot be accessed using IEC61131 syntax. If you apply IEC61131 syntax to a project that has a discrete input or input register already set, the addresses become "-Undefined-". GP-Pro EX Device/PLC Connection Manual 26

For system data area, refer to the GP-Pro EX Reference Manual. Cf. GP-Pro EX Reference Manual "LS Area (Direct Access Method Area)" Refer to the precautions on manual notation for icons in the table. "Manual Symbols and Terminology" GP-Pro EX Device/PLC Connection Manual 27

6 Device Code and Address Code Use device code and address code when you set "Device Type & Address" for the address type of the data display or other devices. Premium/Quantum Series Device Device Name Device Code (HEX) Address Code Coil 0 0080 Discrete Input 1 0081 Value of (word address - 1) divided by 16 Value of (word address - 1) divided by 16 Input Register 3 0001 Value of (word address - 1) Holding Register 4 0000 Value of (word address - 1) FCN/FCJ Series Device Device Name Device Code (HEX) Address Code Coil 0 0080 Discrete Input 1 0081 Value of (word address - 1) divided by 16 Value of (word address - 1) divided by 16 Input Register 3 0001 Value of (word address - 1) Holding Register 4 0000 Value of (word address - 1) GP-Pro EX Device/PLC Connection Manual 28

7 Error Messages Error messages are displayed on the screen of the Display as follows: "No. : Device Name: Error Message(Error Occurrence Area)". Each description is shown below. Item No. Device Name Error Message Error Occurrence Area Error No. Description Name of the External Device where an error has occurred. Device/PLC name is the title of the External Device set with GP-Pro EX.(Initial value [PLC1]) Displays messages related to an error that has occurred. Displays the IP address or device address of the External Device where an error has occurred, or error codes received from the External Device. IP addresses are displayed as "IP address (Decimal): MAC address (Hex)". Device addresses are displayed as "Address: Device address". Received error codes are displayed as "Decimal [Hex]". Display Examples of Error Messages "RHAA035: PLC1: Error has been responded for device write command (Error Code: 2[02H])" Refer to your External Device manual for details on received error codes. Refer to "Display-related errors" in "Maintenance/Troubleshooting Guide" for details on the error messages common to the driver. GP-Pro EX Device/PLC Connection Manual 29

GP-Pro EX Device/PLC Connection Manual 30 MODBUS TCP Master Driver