Toshiba Network Card T2 Series User Manual

UG-TS02∗∗∗-E022  
PROGRAMMABLE CONTROLLERS  
PROSEC T2-Series  
USERS MANUAL  
Modbus Module −  
TOSHIBA CORPORATION  
 
Safety Precautions  
This application guide is prepared for users of Toshiba programmable controller PROSEC  
T2-Series and EX100 Series (hereafter called T2).  
Read this guide and your PLC's manual thoroughly to use the PLC system safely.  
Hazard Classifications  
In this guide, the following two hazard classifications are used to explain the safety  
precautions.  
Indicates a potentially hazardous situation which, if not avoided,  
could result in death or serious injury.  
!
WARNING  
Indicates a potentially hazardous situation which, if not avoided,  
may result in minor or moderate injury. It may also be used to  
alert against unsafe practices.  
!
CAUTION  
Even if a precaution is classified as CAUTION, it may cause serious results  
depending on the situation. Observe all the safety precautions described on this  
guide.  
Safety Precautions  
!
CAUTION  
Read the Safety Precautions described in your PLC's User's Manual before  
using the PLC.  
Carefully design a fail-safe system in order to avoid an unsafe situation caused  
by PLC failure. When the PLC detects an error in its self-diagnostics, the PLC  
goes into the error mode. In the error mode, all the PLC outputs turn OFF and  
the analog outputs go to 0 (zero).  
Page iii  
 
About This Guide  
This guide describes how to setup and use the Toshiba EX10-MML11 Modbus module. When  
used in a Modbus network, the EX10-MML11 module allows any Modbus master to write  
to/read from the registers in an EX100 or T2 PLC using standard Modbus RTU protocol.  
Page iv  
 
Contents  
Important Information................................................................................................................ ii  
Safety Precautions................................................................................................................... iii  
About This Guide..................................................................................................................... iv  
Contents ...................................................................................................................................v  
1. Overview..............................................................................................................................1  
2. System Configuration...........................................................................................................2  
3. External Features and Switch Settings ................................................................................4  
4. Specifications.......................................................................................................................5  
5. Modbus Module Operation....................................................................................................6  
5.1. Modbus Commands ......................................................................................................6  
5.2. Modbus Data Types and T2 Register Mapping.............................................................7  
5.3. Restricted Registers......................................................................................................8  
6. Modbus Module Setup..........................................................................................................9  
6.1. Modbus Module DIP Switch Settings ............................................................................9  
6.2. Wiring Connection to the Modbus Module...................................................................14  
7. CPU Setup for the Modbus Module ...................................................................................15  
8. Trouble Shooting ...............................................................................................................16  
9. Additional References........................................................................................................17  
Page v  
 
 
1. Overview  
The Modbus module (ML11) is used to connect T2E, T2N, or EX100 PLCs to a Modbus  
Master. The addition of the EX10-MML11 (MODBUS Module) allows the T2E, T2N or EX100  
PLC to communicate via standard MODBUS RTU protocol. This allows quick and easy  
access to the PLC registers by a standard MODBUS Master.  
Using the ML11 Modbus module any Modbus Master can read the status of registers in the  
PLC and write to registers in the PLC. This allows the Modbus Master to know the status of  
inputs to the PLC (both digital and analog) and to control the outputs of the PLC (also both  
digital and analog).  
The ML11 Modbus module cannot be a Modbus master, only a modbus slave. It has one  
RS485 port for connection to the Modbus master. The preferred location of the EX10-MML11  
is next to the CPU. However, the module may be located in any slot to the right of the CPU.  
The CPU module can be any of the following:  
EX10-MPU11  
EX10-MPU12A  
TPU215—S  
TPU224--S  
EX100 CPU, now obsolete  
EX100 CPU, now obsolete  
T2 CPU now obsolete  
T2 CPU, now obsolete  
TPU234E-S  
TPU215N-S  
TPU235N-S  
TPU245N-S  
T2E CPU (replaces all obsolete CPUs)  
T2N CPU, basic  
T2N CPU, with Ethernet  
T2N CPU, with Ethernet and Tosline S20  
The ML11 Modbus module is also used to connect a T2 or EX100 PLC into the Toshiba  
ECBUS. The ECBUS allows the PLCs to share data with Toshiba’s EC300 series loop  
controllers. The ECBUS is a LAN (local area network) which allows multiple EC300s and  
T2/EX100 PLCs to share data. For more information on the ECBUS, please refer to ECBUS  
Transmission Interface Manual, see Additional References.  
Page 1  
 
2. System Configuration  
From 1 to 32 T2E or T2N PLCs can be connected to a Modbus master using the Modbus  
module.  
1 to 1 Configuration  
Modbus Master  
1. Higher Level PLC  
2. Distributed Control System  
3. Computer with SCADA or  
HMI Program  
RS485  
T2E PLC  
I/O Modules  
Modbus Module  
T2 Minimum  
Configuration  
T2E CPU  
Power Supply  
Page 2  
 
1 to N Configuration  
Modbus Master  
1. Higher Level PLC  
2. Distributed Control System  
3. Computer with SCADA or  
HMI Program  
RS485  
T2 Maximum Configuration  
1 Main Unit  
3 Exp. Units  
Up to 32 Stations  
For high-speed data transfer, one of  
Toshiba’s Tosline Data Highway  
modules is recommended.  
Page 3  
 
3. External Features and Switch Settings  
Page 4  
 
4. Specifications  
ITEM  
SPECIFICATION  
TERMINAL BLOCK  
INTERFACE  
COMMUNICATION STYLE  
SIGNAL CONFIGURATION  
SYNCHRONIZATION  
NETWORK TOPOLOGY  
COMMUNICATION SPEED  
TRANSMISSION DISTANCE  
COMMUNICATION MODE  
DATA LENGTH  
HALF-DUPLEX  
TXA/RXA TXB/RXB  
START-STOP  
PARTY LINE (MULTIDROP)  
300, 600, 1200, 2400, 4800, 9600, 19200 bps  
1 KM MAX  
RTU MODE  
8 BITS  
STOP BITS  
1 BIT  
PARITY  
STATION NUMBER  
ERROR CHECK  
EVEN, ODD, NONE  
1 TO 31 (DO NOT SELECT 0 OR 32)  
PARITY CRC  
NUMBER OF CHANNELS  
1 CHANNEL  
Page 5  
 
5. Modbus Module Operation  
5.1. Modbus Commands  
When a MODBUS command is used, the Modbus module translates it to the  
corresponding T2 register access protocol.  
MODBUS FUNCTION CODE  
01 Read Coil Status  
T2 COMMAND  
DR Read Device/Register  
DR Read Device/Register  
DR Read Device/Register  
DR Read Device/register  
DW Write Device Register  
DW Write Device/Register  
**** Not Supported by EX10-MML11  
DW Write Device/register  
DW Write Device/register  
02 Read Input Status  
03 Read Holding Register  
04 Read Input Register  
05 Force Single Coil  
06 Force Single Register  
08 Loop Back Diagnostic test  
15 Force Multiple Coils  
16 Preset Multiple Registers  
For more information on the Modbus protocol, please refer to the Modbus Protocol Reference  
Guide, see Additional References.  
For more information on the T2 register access protocol, please refer to the Computer Link  
Function Operation Manual, see Additional References.  
Page 6  
 
5.2. Modbus Data Types and T2 Register Mapping  
This table shows how the different Modbus data types are mapped into T2 registers. In other  
words, a Modbus master would reference the following Modbus register ranges to access the  
corresponding T2 PLC registers.  
For example, Modbus Holding Register 4352 will map to T2 register D000, and Input Register  
0000 will map to XW00.  
Data Type  
Attribute  
Modbus No. Offset  
Reg/Device  
Address (T2)  
Coils  
Read/Write 0****  
0000 to 0511  
0512 to 4095  
4096 to 5112  
7936 to 8447  
0000 to 0511  
0512 to 4095  
Y
Y000 to Y31F  
Y320 to Y63F  
R000 to R63F  
Z000 to Z31F  
X000 to X31F  
X320 to X63F  
R
Z
X
Input  
Status  
Read only  
Read only  
1****  
3****  
Input  
0000 to 0063  
XW  
XW00 to XW63  
Register  
Holding  
Registers  
Read/Write 4****  
0000 to 0063  
0768 to 0831  
1280 to 1311  
3328 to 3455  
3840 to 3967  
4352 to 5887  
YW  
RW  
ZW  
T
C
D
YW00 to YW63  
RW00 to RW63  
ZW00 to ZW31  
T000 to T127  
C000 to C095  
D000 to D1405  
Page 7  
 
Modbus – T2 Address mapping Example:  
Input module  
(XW000)  
Output Module  
(YW001)  
In this example, the T2 is being used  
As a Modbus Remote Terminal Unit  
slave. A Modbus master can access  
The I/O or data registers in the T2.  
See the following table for a Modbus to  
T2 address mapping example.  
T2E CPU  
Modbus Module  
Modbus Address  
30000  
T2 Address  
T2 Data Type  
Input Register  
Output Register  
Data Register  
XW000  
YW001  
D0000  
40001  
44352  
Note: When dealing with I/O registers, make sure that the Modbus master is attempting to  
access only the I/O points that physically exist in the T2 system. For example, Holding  
Register 0 (40000) does not exist in the above example because there is no YW000 in the T2  
system. In the above system, only have Holding Register 1 (40001) exists.  
5.3. Restricted Registers  
Registers D1406 to D1535 are reserved for “raw” data transmission with the EC300 loop  
controllers on the ECBUS network. These registers are not available when the EX10-MML11  
is used as a Modbus slave module. Do not use these registers.  
Page 8  
 
6. Modbus Module Setup  
The Toshiba Modbus module has been used reliably as a Modbus slave for several years.  
First it was used on Toshiba’s EX100 Series PLCs and now on the T2 Series PLCs. Before it  
can function as intended however, all the DIP switches must be properly set and all wiring  
connections must be correct.  
6.1. Modbus Module DIP Switch Settings  
The following items are setup by DIP switches on the Modbus module:  
Station number  
Transmission rate (Baud rate)  
Parity  
Station Number:  
The station numbers identify the controllers and must be different from each other in  
the network. If the EX10-MML11 address is less than 15, then set the third switch  
(HAD) to the "off" position. If the EX10-MML11 address is higher than 16, set the  
switch to the "on" position. Using the "STATION" dial switch (numbered in  
hexadecimal) carefully set the station number. Do not set the dial switch to 0 with the  
HAD switch off.  
Page 9  
 
Transmission Rate (Baud Rate):  
Select the combination of the three switches "BR2", "BR1", and "BRO" for the desired  
communication speed. These are the 4th, 5th, and the 6th switches.  
Baud Rate  
19200  
9600  
BR2  
BR1  
BR0  
ON  
ON  
ON  
ON  
ON  
OFF  
ON  
ON  
OFF  
OFF  
ON  
4800  
ON  
OFF  
ON  
2400  
OFF  
OFF  
OFF  
OFF  
1200  
ON  
OFF  
ON  
600  
OFF  
OFF  
300  
OFF  
RESERVED  
Page 10  
 
Parity Check:  
Select the parity check as odd, even or none. Use switches 7 and 8 to set the parity.  
PARITY  
NONE  
ODD  
PEN (7)  
OFF  
ON  
EVN (8)  
----  
OFF  
ON  
ON  
EVEN  
ASY and DLY switches:  
The ASY and DLY switches are not used on the EX10-MML11, and should be set to  
the “Off” position.  
Page 11  
 
Example Configuration Settings:  
This section shows how to set the card up for network station address 2, 9600 baud,  
and no parity.  
1)  
2)  
“ASY and DLY”  
Set these to the Off position.  
"Station Address"  
Set the Station number on the rotary switch to 2.  
Set the HAD switch to OFF because our address is less than 16.  
3)  
"Communication speed"  
For 9600 baud, the following settings are required.  
BR2 is on  
BR1 is on  
BR0 is off  
Page 12  
 
4)  
"Parity check"  
For No Parity, the following settings are required.  
PEN is off.  
EVN is off.  
OFF  
ON  
ASY  
DLY  
HAD  
BR2  
BR1  
BR0  
PEN  
EVN  
Switch settings for 9600 baud, no parity, and address less than 16.  
Page 13  
 
6.2. Wiring Connection to the Modbus Module  
Sometimes it is necessary to convert from the standard RS485 to RS232 for connection to a  
Personal Computer. The wiring between the Modbus module and the converter must be set  
as follows:  
RS485 Converter  
Modbus Module  
TXA  
RXA  
TXB  
RXB  
SG  
RXA  
TXA  
RXB  
TXB  
SG  
Note: Different RS485 converters have different connections. For example, when one  
commonly available converter is used, TXA connects to RXB, TXB connects to RXA, etc.  
Please refer to the converter manufacturer’s instructions.  
Page 14  
 
7. CPU Setup for the Modbus Module  
Two lines of ladder logic are necessary to configure a T2 CPU for use with the Modbus  
module.  
1 Communications Priority: To insure uninterrupted communications between the CPU  
and the Modbus module, the communications priority bit S0158 must be set ON.  
2. Initialization: To initialize the Modbus module, write the initialization parameter into  
data register D1470. Register D1470 must be set to H5555 (21845 Decimal) before the  
Modbus module will start communicating.  
When using the Modbus module, the above logic should be placed in Block 1, Rung 1 and  
Rung 2 of the PLC program.  
Page 15  
 
8. Trouble Shooting  
The communication status LEDs can be used to verify correct operation of the Modbus  
module. During normal operation, the LED indicators flash as follows:  
RXD LED: Flashes when the Modbus master sends a message to the EX10  
-MML11. On a multi slave network, this can also flash when when the  
master polls other slaves, or when other slaves respond to the master. In  
general, it indicates activity on the network.  
TXD LED: Flashes when that specific EX10-MML11 responds to the master.  
This LED is only relevant to the module on which it is being viewed,  
regardless of how many slaves are on the network. It indicates that the  
module has received a message that is uniquely addressed to it, and the  
EX10-MML11 is responding. This LED is usually on longer than the RXD  
LED because the responses have more data than the requests.  
If the LED indicators are not flashing, check the following:  
1) Wiring connections  
2) Resistance at terminals  
3) Baud rate setting  
4) Station Number  
5) HAD Switch  
6) Parity selection  
7) Modbus master is using standard Modbus RTU format  
If the LED indicators are on solid:  
The polarity has been reversed on the network wiring. For example, the “A” terminals  
are wired to the “B” lines, the “+” terminals are wired to the “-“ lines, etc. Correct the  
connections to the EX10-MML11.  
Page 16  
 
9. Additional References  
Toshiba Corporation, Instruction Manual - EC300 Series Controller – ECBUS Transmission  
Interface Module – ML11. 6F8A0613 4th ed. Feb 1995. Tokyo, Japan.  
Toshiba Corporation, Computer Link Function Operation Manual. UM-TS03-E008, 3rd ed.  
Aug. 1977. Tokyo, Japan.  
Gould Modicon, Modbus Protocol Reference Guide. PI-MBUS-300 Rev B. Jan 1985.  
Andover, MA.  
Page 17  
 
TOSHIBA  
TOSHIBA INTERNATIONAL (EUROPE) LTD.  
TOSHIBA INTERNATIONAL  
1 Roundwood Avenue  
CORPORATION PTY. LTD.  
Unit 1, 9 Orion Road Lane Cove  
N.S.W. 2066, AUSTRALIA  
Tel: 02-428-2077 Telex: AA25192  
Stockley Park, Uxbridge  
Middlesex UB11 1AR, UNITED KINGDOM  
Tel: 081 848 4466 Fax: 081 848 4969  
TOSHIBA INTERNATIONAL CORPORATION  
Industrial Equipment Division  
13131 West Little York Road  
TOSHIBA CORPORATION  
Industrial Equipment Department  
1-1, Shibaura 1-chome, Minato-ku  
Tokyo 105, JAPAN  
Houston, TX. 77041 U.S.A.  
Tel: 713-466-0277 Fax: 713-466-8773  
Tel: 03-3457-4900 Cable: Toshiba Tokyo  
TOSHIBA do BRASIL, S.A.  
Estrade dos Alvarengas 5500  
Sao Bernardo do Campo  
Sao Paulo 0985-5500, Brazil  
Tel: 55-11-7689-7199  
Toshiba Asia Pacific PTE. LTD  
200 Cantonment Rd. #12-01  
Southpoint, 089763 Singpore  
Ph: 65-324-1048  
Fax: 65-324-5286  
Fax: 55-11-7689-7189  
Page 2  
 

Taylor Computer Hardware CONROE1333 DVI H User Manual
Teac DVD Recorder DV W28S V User Manual
Toastmaster Kitchen Grill 288 User Manual
Transcend Information Camera Accessories CF 266X User Manual
Triarch Indoor Furnishings 31061 User Manual
Troy Bilt Snow Blower Two Stage Snow Thrower User Manual
Tunturi Automobile Alarm F30R User Manual
United States Stove Furnace 1537Q User Manual
Vornado Wheelchair AC300 User Manual
Wacom Graphics Tablet PTK 540WL User Manual