Mitsubishi Electric LE7-40GU Instruction Manual page 87

Tension controller
Table of Contents

Advertisement

Using method of ladder
1.
Turn ON X10 (start communication), and connect with LE7-40GU.
2.
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.)
Device name
Classification
X10
Setting
D100 to D106
Setting
D110 to D113
Setting
D120 to D127
Setting
D130 to D133
Setting
X20
Setting
X21
Setting
X22
Setting
X23
Setting
X24
Setting
Y30
Monitoring
Y31
Monitoring
Y32
Monitoring
Y33
Monitoring
Y34
Monitoring
Y35
Monitoring
Y36
Monitoring
Y100
Monitoring
Y101
Monitoring
Y102
Monitoring
Y103
Monitoring
Y104
Monitoring
Y105
Monitoring
Y106
Monitoring
D50
Monitoring
D51
Monitoring
D0 to D16
System
D1000 to D1134
System
D2000 to D2134
System
*1
Allocation function
Communication start
Request command + request code/data
setting 0 to 3
Request command execution result 0 to 3
Continuous monitor 1 to 4
Continuous setting 1 to 3
Start request command access execution
Start continuous monitor execution
Start continuous setting execution
Start stall execution
Start operation
Run
Manual control
Automatic control
Auto lamp flicker in operation
Request command completion
Continuous monitor being executed
Continuous settings being executed
OPEN execution status flag
OPEN normal completion flag
OPEN abnormal completion flag
CLOSE execution status flag
CLOSE normal completion flag
CLOSE abnormal completion flag
Protocol execution complete flag
Error code during OPEN error
Error code during CLOSE error
Device for SP.ECPRTCL
Device for protocol No. 1 (04: RD IN Register)
Device for protocol No. 2 (16: WR Multi
Register)
Use
OPEN process to LE7-40GU (Active device) is
performed, and after OPEN normal completion,
communication by MODBUS/TCP protocol is
started. (Turn on 5 seconds after turning on the
*2*3
power supply of LE7-40GU.)
Device set to use the request command
Request command execution result is stored.
Continuous monitor execution result is stored.
Setting value of continuous setting is stored.
Execute request command.
Start to execute continuous monitor.
Start to execute continuous setting.
Start to execute stall.
Start to operate.
Run: ON/Stop: OFF
Manual control ON
Automatic control ON
Auto lamp flicker in operation ON
ON when request command is completed
ON when continuous monitor is being executed.
ON when continuous setting is being executed.
This flag is turned on during the execution of FB for
*2
OPEN process.
This flag is turned on when FB for OPEN process is
*2
completed normally.
This flag is turned on when FB for OPEN process is
*2
completed abnormally.
This flag is turned on during the execution of FB for
*2
CLOSE process.
This flag is turned on when FB for CLOSE process is
*2
completed normally.
This flag is turned on when FB for CLOSE process is
*2
completed abnormally.
ON for one scan by a completion of SP.ECPRTCL
*2
instruction
An error code is stored at the time of abnormal
*2
completion.
An error code is stored at the time of abnormal
*2
completion.
Device used in an application instruction
*3
SP.ECPRTCL
Store the data used in protocol communication.
5 MODBUS/TCP (SLAVE)
5.3 Reference Program
5
*4
85

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents