Mitsubishi Electric MELSEC-L SERIES Basic User Manual page 212

Melsec-l ethernet interface module
Hide thumbs Also See for MELSEC-L SERIES:
Table of Contents

Advertisement

• Completion of the ECPRTCL instruction can be checked with Completion device (D) and (D1)+1.
Item
Completion device (D1)+0
Completion device (D1)+1
[Operation while the ECPRTCL instruction is being executed]
Program
ECPRTCL instruction
Completion device
Completion device + 1
Protocol execution status
H *1
(address: 54C0
)
*1: Address of the connection 1
● When multiple protocols are executed and an error has occurred in one protocol, the following protocols are not executed
and the dedicated instruction ends abnormally.
● For the connection where the ECPRTCL instruction can be executed, "Predefined protocol" is set in Fixed Buffer
Communication. Thus, the following communications are not available.
• MC protocol communications
• Communications using a fixed buffer (procedure exists)
• Communications using a fixed buffer (no procedure)
• Communications using a random access buffer
● File transfer (FTP server) function, e-mail function, Web function, or MELSOFT connection, which uses a dedicated
connection, can be executed while the ECPRTCL instruction is being executed.
● When protocols which include Non-conversion Variable are executed and the data length of the variable for one packet
exceeds 1920 bytes, the value of the CPU module device may not be acquired at one scan.
Do not change the value of the CPU module device specified in Non-conversion Variable until the ECPRTCL instruction
is completed.
Buffer memory is not affected by the sequence scan of the CPU module. Assigning them in a variable enables more high-
speed process than assigning the CPU module device.
● If the protocol setting data is written while the ECPRTCL instruction is being executed, protocol execution is canceled
upon the writing completion. Protocol setting data writing during the ECPRTCL instruction execution (error code: C430
occurs and the ECPRTCL instruction ends abnormally.
● When the open setting for the specified connection and the communication type of the protocol executed does not match,
Connection number setting error (error code: C407
● When the waiting time is set to "0" (wait infinitely) in the Protocol Detailed Setting, the dedicated instruction is not
completed until the data specified in the protocol setting is received.
210
Turns on at the END process of the scan where the ECPRTCL instruction is completed
and turns off at the next END process.
Turns on and off depending on the completion status of the ECPRTCL instruction.
• Normal completion: Stays off and does not change.
• Abnormal end: Turns on at the END process of the scan where the ECPRTCL
instruction is completed and turns off at the next END process.
Scan
END
Scan
END
process
process
Instruction executed
Protocol executed
(Execution status)
*2: Protocols are consecutively executed by the number of protocols specified in n2 of the setting data in the order
specified with the control data (up to eight protocols) with one ECPRTCL instruction.
Protocol
Protocol
Description
Scan
END
Scan
process
process
*2
Protocol
) occurs and the ECPRTCL instruction ends abnormally.
H
END
Scan
END
Scan
process
At abnormal end
(5: Completed)
Protocol
Protocol
)
H

Advertisement

Table of Contents
loading

Table of Contents