SAFETY PRECAUTIONS (Read these precautions before use.) Before using this product, please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety in order to handle the product correctly. This manual classifies the safety precautions into two categories: [ WARNING] and [ CAUTION].
Page 4
Failure to do so may cause electric shock or damage to the product. ● Use the product within the generic environment specifications described in LE7-40GU APPLICATION MANUAL (SH-081822ENG). Never use the product in areas with excessive dust, oily smoke,...
Page 5
[WIRING PRECAUTIONS] WARNING ● Make sure to cut off all phases of the power supply externally before attempting installation or wiring work. Failure to do so may cause electric shock or damage to the product. ● Make sure to properly wire to the terminal block (Spring clamp type) in accordance with the following precautions.
Page 6
CAUTION ● The tension controller is a precision instrument. During transportation, avoid impacts larger than those specified in the general specifications described in LE7-40GU APPLICATION MANUAL (SH- 081822ENG) by using dedicated packaging boxes and shock-absorbing palettes. Failure to do so may cause failures in the tension controller.
• Since the examples indicated by this manual, technical bulletin, catalog, etc. are used as a reference, please use it after confirming the function and safety of the equipment and system. Mitsubishi Electric will accept no responsibility for actual use of the product based on these illustrative examples.
When connecting to one master station ............17 When connecting one master station and multiple LE7-40GU (slave stations)......17 Communication Setting .
Page 9
Station Number command ..............43 Continuous setting/continuous monitoring.
How to handle, install and set the tension controller LE7-40GU <SH-081822ENG> LE7-40GU INSTRUCTION MANUAL (Communication) How to wire and set the communication for the tension controller LE7-40GU <SH-081834ENG> (this manual) LE7-DCA INSTRUCTION MANUAL How to handle and install the reel diameter calculation option LE7-DCA <IB-0800570>...
Designer 3 and Data Transfer Tool) USB connection LE7-40GU can be connected to a PC via USB. Screen data can be written to LE7-40GU from GT Designer 3 (GOT2000) and Data Transfer Tool (for GT Works 3). LE7-40GU Install USB driver...
Connection Cable Connection Cable MODBUS/TCP (slave) LE7-40GU can be operated as a slave station for MODBUS/TCP communication. LE7-40GU (as a slave station) can perform data monitoring and parameter writing from up to four master stations. MODBUS/TCP LE7-40GU master equipment Connection Cable...
N:N Network LE7-40GU can be operated as a local station for FX PLC N:N network communication. Data monitoring and parameter writing from a master station FX PLC for up to seven local stations (LE7-40GU units) can be carried out. N:N Network master station...
COMMUNICATION WITH A PERSONAL COMPUTER (GT DESIGNER3, DATA TRANSFER TOOL) Data is transferred between the personal computer (GT Designer3, Data Transfer Tool) and LE7-40GU. For details on data transfer, refer to the following. <GT Designer3 (GOT2000)> GT Designer3 (GOT2000) Screen Design Manual <Data Transfer Tool (for GT Works3)>...
Help of Windows. If the USB cable is removed or the LE7-40GU is reset or powered off/on, the communication may not be recovered from an error. In this case, perform either of the following operations.
GT Designer3 (GOT2000) Data Transfer Tool (for GT Works3) Ethernet port Ethernet cable *1 Obtain Data Transfer Tool (for GT Works3) from your local Mitsubishi Electric representative. Communication specifications The communication specifications of the Ethernet communication are as follows. Item...
CC-LINK IE FIELD NETWORK BASIC COMMUNICATION Since LE7-40GU supports the slave function of CC-Link IE Field Network Basic communication which is an open FA network, it can communicate with various CC-Link IE field network Basic master stations. Precautions • Since CC-Link IE Field Network Basic uses port No. [61451] as a device detection port, when port No. [61451] is used for another communication function, CC-Link IE Field Network Basic connection cannot be used.
Page 14 COMMUNICATION WITH A PERSONAL COMPUTER (GT DESIGNER3, DATA TRANSFER TOOL) Select "CC-Link IEF Basic" on the "Ethernet communication selection" screen of the LE7-40GU screen. If you want to change the IP address of LE7-40GU (default: 192.168.3.18), change it on the "IP address setting" screen of LE7-40GU.
Page 21
GOT IP Address 192.168.3.18 (optional) Transfer the "Screen package data for CC-Link IEF Basic" to LE7-40GU with GT Designer3 (GOT2000) For more information on data transfer, refer to the following. Page 14 COMMUNICATION WITH A PERSONAL COMPUTER (GT DESIGNER3, DATA TRANSFER TOOL) Select "CC-Link IEF Basic"...
Link data configuration LE7-40GU uses "1" for the number of occupied stations because the contents of the allocated link data does not change even if the number of occupied stations of the CC-Link IE Field Network Basic slave station is changed.
Page 23
Device No. Signal name Signal name ON (data value=1) OFF (data value=0) RY27 RY28 RY29 RY2A RY2B Link tension monitor digit 10/1 Link tension monitor digit 10 Link tension monitor digit 1 RY2C RY2D...
System use area Remote register Remote register uses 12 points for both RWw and RWr. The remaining area becomes non-functioning and cannot be used. CC-Link IE Field Network Basic master stationLE7-40GU Device No. Signal name RWw n Continuous settings 1...
Read the data of the devices of continuous monitors 1 to 16 Access by request command For any access to data in LE7-40GU from the master station, data can be read and written by handshake between the "request command execution (RY2F)" flag and the "request command completion (RX2F)" flag.
The numerical value of each parameter corresponding to the request code is treated as real number data without a decimal point. In addition, the minimum and maximum values are determined for LE7-40GU, and when a value exceeding this data is written, it is automatically rewritten to the minimum or maximum value.
Page 27
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H024(36) Span target tension Setting Tension full scale N/10 N H025(37) Left manual zero calibration Setting -999 N/10 N H026(38) Right manual zero calibration Setting -999 N/10 N ...
Page 28
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H057(87) MEAS/RMN length calculation switch Setting LE7-DCA 0 (measurement length), 1 (remaining length) H058(88) Material thickness unit Setting LE7-DCA 0 (1), 1 (0.1) H059(89) Maximum line acceleration Setting LE7-DCA m/min/sec...
Page 29
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H087(135) Acceleration/deceleration torque setting Setting LE7-DCA 1000 H088(136) Gain 1 Setting H089(137) Gain 2 Setting H08A(138) Internal taper ratio Setting H08B(139) External linear line taper ratio Setting H08C(140) New reel preset...
Page 30
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H0B9(185) Mechanical loss function selection Setting LE7-DCA 0 (fixed mechanical loss), 1 (high function mechanical loss) H0BA(186) Stall automatic calculation gain Setting LE7-DCA H0BB(187) New reel preset AUTO calculation gain Setting LE7-DCA ...
Page 31
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H0EB(235) Alarm display Monitor H0EC(236) Network alarm device No. Monitor H0ED(237) Main unit ROM version Monitor H0EE(238) Network adapter ROM version Monitor LE7-CCL ...
Page 32
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H117(279) H118(280) H119(281) H11A(282) ...
Page 33
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H14B(331) H14C(332) H14D(333) H14E(334) ...
Page 34
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H17F(383) H180(384) Open-loop control base torque Setting LE7-DCA 1000 H181(385) Direct taper ratio Setting 1000 H182(386) Link tension monitor filter Setting ...
Reference Program A basic example program (GX Works3) for CC-Link IE Field Network Basic communication is described. System configuration MELSEC iQ-R LE7-40GU Connection Cable Settings ■Own node settings ■CC-Link IEF Basic setting To use or not use CC-Link IEF Basic setting: Enable...
Page 36
Refresh settings ■External device configuration Setting is unnecessary. Program example 3 CC-LINK IE FIELD NETWORK BASIC COMMUNICATION 3.3 Reference Program...
Page 37
3 CC-LINK IE FIELD NETWORK BASIC COMMUNICATION 3.3 Reference Program...
Page 38
3 CC-LINK IE FIELD NETWORK BASIC COMMUNICATION 3.3 Reference Program...
Page 39
3 CC-LINK IE FIELD NETWORK BASIC COMMUNICATION 3.3 Reference Program...
Page 40
3 CC-LINK IE FIELD NETWORK BASIC COMMUNICATION 3.3 Reference Program...
Page 41
Using method of ladder Required data is stored to D100 to D133, and each function is executed in X20 to X24. List of used devices (The allocation is an example.) Device name Classification Allocation function D100 to D106 Setting Request command + request code/data Device set to use the request command setting 1 to 4 D110 to D113...
Use cables, connectors, and hubs that satisfy the IEEE 802.3 10BASE-T/100BASE-TX/1000BASE-T standard. *2 When connecting LE7-40GU to 10 BASE (- T/2/5) compliant equipment, use it in a network environment where 10 Mbps/100 Mbps can be mixed using a switching hub.
Page 14 COMMUNICATION WITH A PERSONAL COMPUTER (GT DESIGNER3, DATA TRANSFER TOOL) Select "SLMP" on the "Ethernet communication selection" screen of the LE7-40GU screen. If you want to change the IP address of LE7-40GU (default: 192.168.3.18), change it on the "IP address setting" screen of the LE7-40GU screen.
Page 44
Port No. 49152 Communication Transfer the "Screen package data for SLMP communication" to LE7-40GU with GT Designer3 (GOT2000). For more information on data transfer, refer to the following. Page 14 COMMUNICATION WITH A PERSONAL COMPUTER (GT DESIGNER3, DATA TRANSFER TOOL) Select "SLMP"...
Dn+9 Settings command 1 execution result *1 Dn switches according to the LE7-40GU SLMP station No. setting. (Station No. 1: D 110, Station No. 2: D 120 ··· Station No. 7: D 170) Station Number command Determine the station No. of the LE7-40GU to be accessed by the station No. command of the SLMP equipment D device (D 106).
Access by request command For any access to data in LE7-40GU from the SLMP equipment, data can be read and written by handshake between the "request command execution" flag and the "request command completion" flag. Double word data from the SLMP equipment is used for this access.
The numerical value of each parameter corresponding to the request code is treated as real number data without a decimal point. In addition, the minimum and maximum values are determined for LE7-40GU, and when a value exceeding this data is written, it is automatically rewritten to the minimum or maximum value.
Page 48
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H02C(44) H02D(45) H02E(46) H02F(47) ...
Page 49
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H05D(93) Run/Stop judgment selection Setting LE7-DCA 0 (contact + internal), 1 (contact), 2 (internal) H05E(94) Run judgment speed Setting LE7-DCA Stop judgment m/min speed H05F(95) Stop judgment speed Setting LE7-DCA Run judgment...
Page 50
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H08F(143) H090(144) Broken line taper corner 1 Setting 2000 mm H091(145) Broken line taper ratio 1 Setting H092(146) Broken line taper corner 2 Setting 2000 mm...
Page 51
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H0BF(191) H0C0(192) Load model Setting H0C1(193) Rated current Setting H0C2(194) Maximum torque correction Setting H0C3(195) Nonlinear correction 0 Setting 1000 H0C4(196)
Page 52
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H0F0(240) Contact input 1 function selection Setting 0 (no function), 1 (run/stop), 2 (control output OFF/ON), 3 (stall memory), 4 H0F1(241) Contact input 2 function selection Setting (inching ON/OFF), 5 (constant tension ON/ H0F2(242)
Page 53
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H11C(284) H11D(285) H11E(286) H11F(287) ...
Page 54
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H150(336) H151(337) H152(338) H153(339) ...
Page 55
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H184(388) Reel diameter input Setting 2000 mm H185(389) H186(390) H187(391) ...
Reference Program A basic example program (GX Works3) for SLMP communication is described. System configuration MELSEC iQ-R LE7-40GU Connection Cable Connection Cable Parameter settings ■Own node settings ■CC-Link IEF Basic setting To use or not use CC-Link IEF Basic setting: Disable ■External device configuration...
Page 57
Program example 4 SLMP COMMUNICATION 4.3 Reference Program...
Page 58
4 SLMP COMMUNICATION 4.3 Reference Program...
Page 59
4 SLMP COMMUNICATION 4.3 Reference Program...
Page 60
4 SLMP COMMUNICATION 4.3 Reference Program...
Page 61
4 SLMP COMMUNICATION 4.3 Reference Program...
Page 62
Ladder Operation Operation is changed depending on the sequence No. When the PLC is started, the sequence No. 1 is set, and the station No. command is changed as the following table (station No. 1). When the station No. response (station No. 2) and the station No.
*1 Connect with MODBUS/TCP master equipment via a hub. Use cables, connectors, and hubs that satisfy the IEEE 802.3 10BASE-T/100BASE-TX/1000BASE-T standard. *2 When connecting LE7-40GU to 10BASE (-T/2/5) compliant equipment, please use it in a network environment where 10 Mbps/100 Mbps can be mixed using a switching hub.
Page 14 COMMUNICATION WITH A PERSONAL COMPUTER (GT DESIGNER3, DATA TRANSFER TOOL) Select "MODBUS/TCP" on the "Ethernet communication selection" screen of the LE7-40GU screen. If you want to change the IP address of LE7-40GU (default: 192.168.3.18), change it on the "IP address setting" screen of the LE7-40GU screen.
Page 65
GOT IP Address 192.168.3.18 (optional) Transfer the "Screen package data for MODBUS/TCP" to LE7-40GU with GT Designer3 (GOT2000). For more information on data transfer, refer to the following. Page 14 COMMUNICATION WITH A PERSONAL COMPUTER (GT DESIGNER3, DATA TRANSFER TOOL) Select "MODBUS/TCP"...
Bit device The input relay (1) and the coil (0) each have 48 points. The remaining area becomes non-functioning and cannot be used. • Input relay (1) (Master stationSlave station) Device No. Signal name Signal name ON (data value=1) OFF (data value=0) 100001 Run/Stop Stop...
Page 67
Device No. Signal name Signal name ON (data value=1) OFF (data value=0) 100047 Continuous monitor execution Start continuous monitor execution Normal 100048 Request command execution Start request command execution Normal After 100049 System use area • Coil (0) (Slave stationMaster station) Device No.
The word device uses 12 points for both the holding register (4) and the input register (3). The remaining area becomes non- functioning and cannot be used. • Holding register (4) (Master stationSlave station) Modbus TCP master stationLE7-40GU Device No. Signal name...
The latest data existing in LE7-40GU when the master station gives the send request can be monitored continuously. However, regarding the update of parameters for which the monitor update cycle is specified by the setting in LE7-40GU, the data is updated in the specified update cycle if the specified update cycle is longer than the monitor update cycle in the send request given by the master station.
Access by request command For any access to data in LE7-40GU from the master station, data can be read and written by handshake between the "request command execution (RY2F)" flag and the "request command completion (RX2F)" flag. This access is performed using a 2-word word device of the master station.
The numerical value of each parameter corresponding to the request code is treated as real number data without a decimal point. In addition, the minimum and maximum values are determined for LE7-40GU, and when a value exceeding this data is written, it is automatically rewritten to the minimum or maximum value.
Page 72
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H02C(44) H02D(45) H02E(46) H02F(47) ...
Page 73
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H05D(93) Run/Stop judgment selection Setting LE7-DCA 0 (contact + internal), 1 (contact), 2 (internal) H05E(94) Run judgment speed Setting LE7-DCA Stop judgment m/min speed H05F(95) Stop judgment speed Setting LE7-DCA Run judgment...
Page 74
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H08F(143) H090(144) Broken line taper corner 1 Setting 2000 mm H091(145) Broken line taper ratio 1 Setting H092(146) Broken line taper corner 2 Setting 2000 mm...
Page 75
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H0BF(191) H0C0(192) Load model Setting H0C1(193) Rated current Setting H0C2(194) Maximum torque correction Setting H0C3(195) Nonlinear correction 0 Setting 1000 H0C4(196)
Page 76
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H0F0(240) Contact input 1 function selection Setting 0 (no function), 1 (run/stop), 2 (control output OFF/ON), 3 (stall memory), 4 H0F1(241) Contact input 2 function selection Setting (inching ON/OFF), 5 (constant tension ON/ H0F2(242)
Page 77
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H11C(284) H11D(285) H11E(286) H11F(287) ...
Page 78
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H150(336) H151(337) H152(338) H153(339) ...
Page 79
■Error code (MODBUS Exception Codes) returned by LE7-40GU (slave) to the MODBUS master equipment LE7-40GU (slave) supports the following error codes (MODBUS Exception Codes) in response to a request from the MODBUS master equipment. When the following errors occur, LE7-40GU will not generate a system alarm.
Reference Program A basic example program (GX Works3) for MODBUS/TCP (SLAVE) communication is described. System configuration MELSEC iQ-R LE7-40GU Connection Cable Connection Cable Settings ■Own node settings ■CC-Link IEF Basic setting To use or not use CC-Link IEF Basic setting: Disable ■External device configuration...
Page 81
■Predefined protocol support function Protocol setting For packet setting, set in editdevice batch setting. Protocol No. 1: D1000 and later Protocol No. 2: D2000 and later For the detailed setting method, refer to the following. MELSEC iQ-R Ethernet User's Manual (Application) 5 MODBUS/TCP (SLAVE) 5.3 Reference Program...
Page 82
Program example 5 MODBUS/TCP (SLAVE) 5.3 Reference Program...
Page 87
Using method of ladder Turn ON X10 (start communication), and connect with LE7-40GU. After X10 is executed, the required data for D100 to D133 are stored, and each function is executed in X20 to X24. List of used devices (The allocation is an example.)
Page 88
*1 Classification Setting: items to be set/input when using functions Monitoring: items to monitor output when using functions System: Used for internal processing, setting is unnecessary *2 For details of the device, refer to the following. MELSEC iQ-R Ethernet/CC-Link IE Function Block Reference *3 For details of the device, refer to the following.
N:N NETWORK LE7-40GU can be operated as a local station for FX PLC N:N network communication. Data monitoring and parameter writing from a master station FX PLC for up to seven local stations (LE7-40GU units) can be carried out. Precautions •...
Page 90
Construction drawing example of Construction drawing example of a two twisted-pair cable a three twisted-pair cable Spring clamp terminal block Connection to LE7-40GU should be performed as the following procedure. ■Wire size No. of wire per terminal Wire size Single wire/Strandwire...
Terminating resistor settings Be sure to install terminating resistors at both ends of the line. LE7-40GU, the built-in RS-485 port of the CPU module, FX5-485-BD, and FX5-485ADP, have built-in terminating resistors. Set to 110 with the terminating resistor changeover switch.
*1 Be sure to apply Class D grounding to the shield of the twisted pair cable to be connected. *2 Terminal resistor should be attached to both ends of the line. LE7-40GU, the built-in RS-485 port of the CPU module, FX5-485-BD, and FX5-485ADP, have built-in terminating resistors.
Change to 1 to 7 in accordance with the local station No. to be assigned with the "N:N Network station No. setting" on the LE7-40GU screen, in accordance with the local station No. to be assigned. Restart LE7-40GU. *1 If the set value is "0", N:N Network will not operate.
Link data configuration The contents of the link data differs depending on the master and local station areas. The following shows the details of device M and D. • Device M configuration of the master station Device No. Signal name Signal name ON (data value=1) OFF (data value=0) M1000...
Page 95
Device No. Signal name Signal name ON (data value=1) OFF (data value=0) M1047 Request command execution Start request command execution Normal M1048 M1049 M1050 M1051 M1052 M1053 ...
Page 96
Device No. Signal name Signal name ON (data value=1) OFF (data value=0) Mn+31 Measurement length/remaining length Measurement length/remaining length Measurement length/remaining length detection 1 ON/OFF detection 1 ON detection 1 OFF Mn+32 Measurement length/remaining length Measurement length/remaining length Measurement length/remaining length detection 2 ON/OFF detection 2 ON detection 2 OFF...
• Device D configuration of the master station and local station Dn is the first device of the D device of each local station. (Station No. 1: D10, Station No. 2: D20) Master station Device No Signal name Station No. command Continuous settings 1 Continuous settings 2 ...
Access by request command For any data access from the master station to the local station, data can be read or written by handshaking between the "request command execution" flag and the "request command completion" flag. This access is performed using a 2-word word device of the master station. In the double word data, the 4 high-order bits of the first word are assigned to the request command and the 12 low-order bits are assigned to the request code, and the second word is assigned as the word for the set data.
The numerical value of each parameter corresponding to the request code is treated as real number data without a decimal point. In addition, the minimum and maximum values are determined for LE7-40GU, and when a value exceeding this data is written, it is automatically rewritten to the minimum or maximum value.
Page 100
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H02C(44) H02D(45) H02E(46) H02F(47) ...
Page 101
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H05D(93) Run/Stop judgment selection Setting LE7-DCA 0 (contact + internal), 1 (contact), 2 (internal) H05E(94) Run judgment speed Setting LE7-DCA Stop judgment m/min speed H05F(95) Stop judgment speed Setting LE7-DCA Run judgment...
Page 102
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H08F(143) H090(144) Broken line taper corner 1 Setting 2000 mm H091(145) Broken line taper ratio 1 Setting H092(146) Broken line taper corner 2 Setting 2000 mm...
Page 103
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H0BF(191) H0C0(192) Load model Setting H0C1(193) Rated current Setting H0C2(194) Maximum torque correction Setting H0C3(195) Nonlinear correction 0 Setting 1000 H0C4(196)
Page 104
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H0F0(240) Contact input 1 function selection Setting 0 (no function), 1 (run/stop), 2 (control output OFF/ON), 3 (stall memory), 4 H0F1(241) Contact input 2 function selection Setting (inching ON/OFF), 5 (constant tension ON/ H0F2(242)
Page 105
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H11C(284) H11D(285) H11E(286) H11F(287) ...
Page 106
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H150(336) H151(337) H152(338) H153(339) ...
Page 107
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H184(388) Reel diameter input Setting 2000 mm H185(389) H186(390) H187(391) ...
Reference Program A basic example program (GX Works3) for N:N Network is described. System configuration FX5U LE7-40GU Connection Cable Setting ■Basic settings Item Setting Communication protocol type N:N Network ■Fixed setting Item Setting Host station No. 0(master) Total number of local station...
Page 109
■Link device Item Setting Link device bit M1000 Link device word ■SM/SD setting Latch setting Item Setting Host station No. Do not latch Total number of local station Do not latch FX3 series compatibility Item Setting SM/SD for compatibility Disable 6 N:N NETWORK 6.4 Reference Program...
Page 110
Program example 6 N:N NETWORK 6.4 Reference Program...
Page 113
Using method of ladder Required data is stored to D100 to D131, and each function is executed in X0 to X4. List of used devices (The allocation is an example.) Device name Classification Allocation function D100 Setting Station No. command Device set for individual access to each station No.
MODBUS/RTU, ASCII (SLAVE) LE7-40GU can be operated as a slave station for MODBUS/RTU and ASCII communication. Data monitoring and parameter writing from a master station for up to 247 slave stations (LE7-40GU units) can be carried out. Precautions • For 5 seconds after turning on the power of LE7-40GU, data from master station will not be accepted.
Page 115
Construction drawing example of Construction drawing example of a two twisted-pair cable a three twisted-pair cable Spring clamp terminal block Connection to LE7-40GU should be performed as the following procedure. ■Wire size No. of wire per terminal Wire size Single wire/Strandwire...
Page 116
■Connection and disconnection of the cable Spring clamp terminal block is push-in type, therefore, wiring without a tool is possible by simply inserting the connecting terminal to the terminal block. However, the stranded wire does not comply with the push-in type, and a tool is required for connecting cables.
Terminating resistor settings Be sure to install terminating resistors at both ends of the line. LE7-40GU, the built-in RS-485 port of the CPU module, FX5-485-BD, and FX5-485ADP, have built-in terminating resistors. Set the terminating resistance with the terminating resistor changeover switch.
*1 Be sure to apply Class D grounding to the shield of the twisted pair cable to be connected. *2 Terminal resistor should be attached to both ends of the line. LE7-40GU, the built-in RS-485 port of the CPU module, FX5-485-BD, and FX5-485ADP, have built-in terminating resistors.
Used coil/holding register The coil and holding register used for MODBUS communication of LE7-40GU are as follows. The coil is an area to store bit data and the holding register is an area to store word data. Each slave station has coils from H0000 to H02F and H1000 to H102F as well as holding registers from H0000 to H015F and H1000 to H115F.
• Holding register (for master station monitoring) The status of the slave station monitored by the master station is stored in this area. Slave station monitoring is performed by the master station by reading the area of the holding register by the master station. •...
Page 121
List of supported MODBUS standard functions The following table lists supported MODBUS standard functions. Function code Function name Description Number of devices Broadcast accessible in one message Coil reading Coil reading (multiple points possible) 1 to 2000 points Holding register reading Holding register reading (multiple points possible) 1 to 125 points...
Select "MODBUS (RTU)" or "MODBUS (ASCII)" on the "Network mode selection" screen of the LE7-40GU screen. According to the slave station No. to be assigned, change "Station No. in MODBUS" on the LE7-40GU screen, in accordance with the slave station No. to be assigned to a value within "1" to "247"...
• The numerical value of each parameter is treated as real data without a decimal point. The data defines the minimum value and the maximum value within LE7-40GU and automatically rewrites it to the minimum value or the maximum value when writing data outside the range. At that time, a network alarm "22" is output to the alarm display (H00EB) of the holding register.
Page 124
• Configuration of coil (from master station to slave station) The configuration of the coil is as follows. Device No. Signal name Signal name ON (data value=1) OFF (data value=0) H0000(0) Run/Stop Stop H0001(1) Reel change B axis/A axis B axis control A axis control H0002(2) Control output OFF/ON...
Page 125
• Configuration of coil (from slave station to master station) The configuration of the coil is as follows. Device No. Signal name Signal name ON (data value=1) OFF (data value=0) H1000(4096) Run/Stop Stop H1001(4097) Output ON/OFF Output ON Output OFF H1002(4098) B-axis controlled/A-axis controlled B-axis controlled...
Page 126
Device No. Signal name Signal name ON (data value=1) OFF (data value=0) H102A(4138) H102B(4139) H102C(4140) H102D(4141) Continuous settings being executed Continuous settings being executed Normal H102E(4142) Continuous monitor being executed Continuous monitor being executed Normal H102F(4143) Request command completion...
Page 127
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H02A(42) H02B(43) H02C(44) H02D(45) ...
Page 128
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H05B(91) Detection output selection Setting LE7-DCA 0 (Reel diameter), (measurement length/ remaining length) H05C(92) Detection output holding selection Setting LE7-DCA 0 (non-holding), 1 (holding) H05D(93) Run/Stop judgment selection Setting LE7-DCA...
Page 129
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H08C(140) New reel preset Setting 1000 H08D(141) New reel preset timer Setting H08E(142) Cutting torque Setting 1000 H08F(143) H090(144) Broken line taper corner 1 Setting...
Page 130
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H0BC(188) Control output upper limit Setting Control output lower limit H0BD(189) Control output lower limit Setting -101 Control output upper limit ...
Page 131
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H0EF(239) Communication signal monitor Monitor 0xFFFF H0F0(240) Contact input 1 function selection Setting 0 (no function), 1 (run/stop), 2 (control output OFF/ON), 3 (stall memory), 4 ...
Page 132
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H11B(283) H11C(284) H11D(285) H11E(286) ...
Page 133
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H14F(335) H150(336) H151(337) H152(338) ...
Page 134
Request Name Monitor/ Extension Minimum value Maximum value Unit code settings option H183(387) Tension input Setting 2000 N/10 N H184(388) Reel diameter input Setting 2000 mm H185(389) ...
Page 135
• Configuration of holding register (for slave station RAM+ROM writing) The configuration of the holding register is as follows. Holding Name Monitor/ Extension Minimum value Maximum value Unit register settings option H1000(4096) H1001(4097) Total tension Monitor 0 or less...
Page 136
Holding Name Monitor/ Extension Minimum value Maximum value Unit register settings option H1032(4146) Line acceleration Monitor LE7-DCA m/min/sec H1033(4147) Measurement length/remaining length Monitor LE7-DCA H1034(4148) Reel rotational speed Monitor LE7-DCA 65000 r/min H1035(4149) New reel rotational speed Monitor LE7-DCA 3600 r/min...
Page 137
Holding Name Monitor/ Extension Minimum value Maximum value Unit register settings option H1061(4193) H1062(4194) H1063(4195) H1064(4196) ...
Page 138
Holding Name Monitor/ Extension Minimum value Maximum value Unit register settings option H1095(4245) Broken line taper ratio 3 Setting H1096(4246) Broken line taper corner 4 Setting 2000 mm H1097(4247) Broken line taper ratio 4 Setting H1098(4248) Broken line taper corner 5 Setting 2000...
Page 139
Holding Name Monitor/ Extension Minimum value Maximum value Unit register settings option H10C5(4293) Nonlinear correction 20 Setting 1000 H10C6(4294) Nonlinear correction 30 Setting 1000 H10C7(4295) Nonlinear correction 40 Setting 1000 H10C8(4296) Nonlinear correction 50 Setting 1000 ...
Page 140
Holding Name Monitor/ Extension Minimum value Maximum value Unit register settings option H10F8(4344) Contact output 1 function selection Setting 0 (no function), 1 (tension lower limit detection), 2 (tension upper limit detection), H10F9(4345) Contact output 2 function selection Setting 3 (detection outside tension range), 4 (alarm occurrence detection)
Page 141
H1125(4389) Language selection Setting 1 (Japanese), 2 (English), 3 (Chinese) H1126(4390) Operation mode selection Setting 1 (LE7-40GU), 2 (LE-40MT), 3 (LE-30CT) H1127(4391) Selection of function to use 1 Setting 0xFFFF H1128(4392) Selection of function to use 2...
Page 142
Holding Name Monitor/ Extension Minimum value Maximum value Unit register settings option H1150(4432) Continuous monitoring FUNC selection 1 Setting H1151(4433) Continuous monitoring FUNC selection 2 Setting H1152(4434) Continuous monitoring FUNC selection 3 Setting ...
Page 143
Holding Name Monitor/ Extension Minimum value Maximum value Unit register settings option H1183(4483) Tension input Setting 2000 N/10 N H1184(4484) Reel diameter input Setting 2000 mm H1185(4485) ...
Reference Program A basic example program (GX Works3) for MODBUS/RTU, ASCII(SLAVE) communication is described. System configuration FX5U LE7-40GU Connection Cable Settings ■Basic settings Item Setting Communication protocol type MODBUS_RTU Communication ■Fixed setting Item Setting Host station No. Slave response timeout...
Page 145
■Modbus device assignment Setting is unnecessary. ■SM/SD setting Latch setting Item Setting Host station No. Do not latch Total number of local station Do not latch FX3 Series compatibility Item Setting SM/SD for compatibility Disable 7 MODBUS/RTU, ASCII (SLAVE) 7.4 Reference Program...
Page 146
Program example Function code H01 (Read coils) Function code H0F (Write multiple coils) 7 MODBUS/RTU, ASCII (SLAVE) 7.4 Reference Program...
Page 150
Using method of ladder • Monitored items: By storing the device number of items to be monitored to D100 to D103, and setting X0=ON, the monitored values are stored in D110 to D113. • Setting items: By inputting the first device of setting items to D200, inputting the number of written devices to D201, set X1=ON, and the setting values stored in D210 or later are stored.
First edition This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
Page 152
TRADEMARKS CRIMPFOX is a tradmark of Phoenix Contact GmbH & Co. KG. Ethernet is a trademark of Xerox Corporation. MODBUS is a registered trademark of Schneider Electric SA. Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
Page 154
Manual number: SH(NA)-081834ENG-A When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission. HEAD OFFICE: TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN Specifications are subject to change without notice.