EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 1570

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1568
16 ETHERNET INSTRUCTIONS
16.5 Executing the Protocols Registered for the Predefined Protocol Support Function
Processing details
This instruction executes the protocol registered by the communication protocol support tool of the engineering tool for the
Ethernet module specified by (U). 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 execution status and the completion status of the GP.ECPRTCL instruction can be checked with the completion device
(d) and the completion status indication device (d)+1.
The following figure shows the operation at completion of the GP.ECPRTCL instruction.
+13 Receive packet number 4
successful in collation
match
If receiving is included in the communication type of the protocol that has been
executed fourth, the receive packet number successful in collation match is
stored.
If the communication type is "receive only", 0 is stored.
If an error occurs during execution of the fourth protocol, 0 is stored.
If the number of protocols executed is less than 4, 0 is stored.
0, 1 to 16 System
+14 Receive packet number 5
successful in collation
match
If receiving is included in the communication type of the protocol that has been
executed fifth, the receive packet number successful in collation match is
stored.
If the communication type is "receive only", 0 is stored.
If an error occurs during execution of the fifth protocol, 0 is stored.
If the number of protocols executed is less than 5, 0 is stored.
0, 1 to 16 System
+15 Receive packet number 6
successful in collation
match
If receiving is included in the communication type of the protocol that has been
executed sixth, the receive packet number successful in collation match is
stored.
If the communication type is "receive only", 0 is stored.
If an error occurs during execution of the sixth protocol, 0 is stored.
If the number of protocols executed is less than 6, 0 is stored.
0, 1 to 16 System
+16 Receive packet number 7
successful in collation
match
If receiving is included in the communication type of the protocol that has been
executed seventh, the receive packet number successful in collation match is
stored.
If the communication type is "receive only", 0 is stored.
If an error occurs during execution of the seventh protocol, 0 is stored.
If the number of protocols executed is less than 7, 0 is stored.
0, 1 to 16 System
+17 Receive packet number 8
successful in collation
match
If receiving is included in the communication type of the protocol that has been
executed eighth, the receive packet number successful in collation match is
stored.
If the communication type is "receive only", 0 is stored.
If an error occurs during execution of the eighth protocol, 0 is stored.
If the number of protocols executed is less than 8, 0 is stored.
0, 1 to 16 System
Completion device (d)
This device turns on during END processing of the scan where the GP.ECPRTCL instruction completes, and turns off during the next END processing.
Completion status indication device (d)+1
This device turns on or off depending on the completion status of the GP.ECPRTCL instruction.
When completed successfully: The device remains off.
When completed with an error: The device turns on during END processing of the scan where the GP.ECPRTCL instruction completes, and turns off during the
next END processing.
Operand: (s3)
Device Item Description Setting range Set by
END0 END0END0END0
OFF
OFF
OFF
OFF
ON
ON
Sequence scan
ECPRTCL instruction
Completion device (d)
Completion status
indication device (d)+1
Completed with an error
Completed successfully
1 scan
Executing a protocol(s)
Execution of the instruction

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals