Beruflich Dokumente
Kultur Dokumente
1 System Configuration....................................................................................................... 3
2 Selection of External Device ............................................................................................ 5
3 Example of Communication Setting ................................................................................. 6
4 Setup Items ...................................................................................................................... 8
5 Supported Device........................................................................................................... 14
6 Device Code and Address Code.................................................................................... 16
7 Error Messages.............................................................................................................. 17
1
MODBUS PLUS Driver
Introduction
This manual describes how to connect the Display and the External Device (target PLC).
In this manual, the connection procedure will be described by following the sections below:
1 System Configuration
) "1 System Configuration" (page 3)
This section shows the types of External
Devices which can be connected and SIO
type.
4 Setup Items
) "4 Setup Items" (page 8)
This section describes communication
setup items on the Display.
Set the communication settings of the
Display with GP-Pro EX or in off-line
Operation
1 System Configuration
The following shows the system configuration where the External Device of Schneider and the Display are
connected.
Setting
Series CPU Link I/F SIO Type
Example
TSX 37 21 101
TSX 37 22 101
Micro Modbus Plus port
TSX 37 21 001
TSX 37 22 001
984-125
Modicon 984 Modbus Plus port
984-785
*1 To use this driver in WinGP, you need to install a TSX C USB MBP driver version 1.33.01 or later on the
Display where WinGP is used.
You can check the version of the TSX C USB MBP driver via the configuration tool of the USB Modbus Plus
adapter.
For information on how to get the driver module, please contact the dealer where you purchased the USB
Modbus Plus adapter.
Connection Configuration
Connection Image
TSX C
USB MBP
The following shows examples of communication settings of the Display and the External Device, which is
recommended by Digital Electronics Corp.
Device Setting
To display the setting screen, click ([Setting]) of External Device you want to set from [Device-Specific
Settings] of [Device/PLC Settings]. To connect multiple External Devices, click from [Device-Specific
Settings] of [Device/PLC Settings] to add another External Device.
4 Setup Items
Set the communication settings of the Display with GP-Pro Ex or in off-line mode of the Display.
The setting of each parameter must be identical to that of the External Device.
)"3 Example of Communication Setting" (page 6)
4.1 Setup Items in GP-Pro EX
Communication Settings
To display the setting screen, select [Device/PLC Settings] from [System setting window] in workspace.
Device Setting
To display the setting screen, click ([Setting]) of External Device you want to set from [Device-Specific
Settings] of [Device/PLC Settings].
To connect multiple External Devices, click from [Device-Specific Settings] of [Device/PLC Settings] to
add another External Device.
Coil Set the maximum number of data for device [Coil] that can be written per
Write communication, from 1 to 800 bits.
Discrete Input Set the maximum number of data for device [Discrete Input] that can be read per
Read communication, from 16 to 2000 bits.
Input Register Set the maximum number of data for device [Input Register] that can be read per
Read communication, from 1 to 125 words.
Holding Register Set the maximum number of data for device [Holding Register] that can be read per
Read communication, from 1 to 125 words.
Holding Register Set the maximum number of data for device [Holding Register] that can be written per
Write communication, from 1 to 100 words.
• Please refer to the Maintenance/Troubleshooting manual for more information on how to enter
off-line mode or about the operation.
Communication Settings
To display the setting screen, touch [Device/PLC Settings] from [Peripheral Equipment Settings] in off-line mode.
Touch the External Device you want to set from the displayed list.
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 Settings].
(Page 1/2)
(Page 2/2)
5 Supported Device
The following table shows the range of supported device addresses. Note that the actually supported range varies
depending on the External Device to be used. Please check the actual range in the manual of your External
Device.
32
Device Bit Address Word Address Remarks
bits
*1 High and low relationship of the stored data is specified by the [Double Word word order] setting of [Device
Setting].
"4.1 Setup Items in GP-Pro EX" (page 8)
*2 Write disable
*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
Device Setting
The following table shows the equivalence between IEC61131 syntax and MODBUS syntax address descriptions.
IEC61131 Syntax
MODBUS Syntax
0-based 1-based
Device
First Format First First
Format Range Range Range
element element element
i = 0 to i = 0 to i = 1 to
Coil 000001+i 000001 %Mi %M00000 %M00001
65535 65535 65536
i = 0 to
Discrete Input 100001+i 100001 - - - - -
65535
Input Register i = 0 to
300001+i 300001 - - - - -
(Word) 65535
i = 0 to
Input Register
300001+i,j 65535 300001,00 - - - - -
(Word bit)
j = 0 to 15
Holding Register i = 0 to i = 0 to i = 1 to
400001+i 400001 %MWi %MW00000 %MW00001
(Word) 65535 65535 65536
i = 0 to i = 0 to i = 1 to
Holding Register %MW00000 %MW00001
400001+i,j 65535 400001,00 %Mwi:Xj 65535 65536
(Word bit) :X00 :X00
j = 0 to 15 j = 0 to 15 j = 0 to 15
Global Data global01+i i = 0 to 31 global01 global01+i i = 0 to 31 global01 i = 0 to 31 global01
• 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-".
• Please refer to the GP-Pro EX Reference Manual for system data area.
Cf. GP-Pro EX Reference Manual "Appendix 1.4 LS Area (only for direct access
method)"
• Please refer to the precautions on manual notation for icons in the table.
Use device code and address code when you select "Device Type & Address" for the address type in data displays.
Device Code
Device Device Name Address Code
(HEX)
7 Error Messages
Error messages are displayed on the screen of Display as follows: "No.: Device Name: Error Message (Error
Occurrence Area)". Each description is shown below.
Item Description
No. Error No.
Name of External Device where an error has occurs. Name of External Device is a title of
Device Name
External Device set with GP-Pro EX. (Initial value [PLC1])
Error Message Displays messages related to the error that has occurred.
Displays IP address or device address of External Device where error occurs, or error codes
received from External Device.
• Please refer to the manual of the External Device for more details on received error codes.
• Please refer to "When an error is displayed (Error Code List)" in "Maintenance/
Troubleshooting manual" for more details on the error messages common to the driver.