Mitsubishi Electric FX5 User Manual page 68

Melsec iq-f series, ethernet communication
Hide thumbs Also See for FX5:
Table of Contents

Advertisement

*1 The "Set by" column indicates the following.
User: The data must be set before executing the SP.ECPRTCL instruction.
System: The CPU module stores the execution result of the instruction.
Processing details
This instruction executes the protocol registered using the engineering tool. Using the connection specified by (s1), the
instruction executes the protocol in accordance with the control data stored in the device specified by (s3) and later. The
instruction continuously executes as many protocols as specified by (s2) (a maximum of 8 protocols) at one time.
The number of executed protocols is stored in the device specified by (s3)+0.
The completion of the SP.ECPRTCL instruction can be checked using the completion devices (d)+0 and (d)+1.
• Completion device (d)+0: Turns ON during the END processing for the scan in which the SP.ECPRTCL instruction is
completed, and turns OFF during the next END processing.
• Completion device (d)+1: Turns ON or OFF depending on the status when the SP.ECPRTCL instruction is completed.
Status
When completed normally
When completed with an error
• The following figure shows the SP.ECPRTCL instruction execution timing.
Program
SP.ECPRTCL instruction
Completion device (d)+0
Completion device (d)+1
• Protocol execution can be canceled by setting a protocol cancel request. The protocol cancel request is specified in the
predefined protocol support function execution status check area (SD10740 to SD10899).
Protocol cancellation
(for the connection number
specified by (s1))
CPU module operation
6 PREDEFINED PROTOCOL SUPPORT FUNCTION
66
6.6 Predefined Protocol Support Function Instruction
Description
The device does not change (remains OFF).
The device turns ON during the END processing for the scan in which the SP.ECPRTCL instruction is completed, and
turns OFF during the next END processing.
END processing END processing END processing
Execute SP.ECPRTCL instruction
OFF
OFF
Executing a
protocol(s)
User
1: Cancellation requested
Cancelling the protocol
being executed in the
connection specified by
(s1)
ON
When failed
ON
When normally
completed
1 scan
2: Cancellation completed

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents