207
CHAPTER 15 DEDICATED INSTRUCTIONS
15
15.7 GP.ECPRTCL
(2) Control data
Device Item Setting data Setting range Set by
(S)+0
Execution count
result
Stores the number of protocols which are executed
by using the ECPRTCL instruction.
Protocols with errors are included in the count.
When settings of the setting data or control data
contain an error, "0" is stored.
0, 1 to 8 System
(S)+1
Completion
status
Stores the status at completion.
When multiple protocols are executed, the status of
the protocol executed at last is stored.
0000
H
: Normal completion
Values other than 0000
H
(error code): Abnormal end
System
(S)+2
Execution
protocol number
specification 1
Set the first protocol number to be executed. 1 to 128 User
(S)+3
Execution
protocol number
specification 2
Set the second protocol number to be executed. 0, 1 to 128 User
(S)+4
Execution
protocol number
specification 3
Set the third protocol number to be executed. 0, 1 to 128 User
(S)+5
Execution
protocol number
specification 4
Set the fourth protocol number to be executed. 0, 1 to 128 User
(S)+6
Execution
protocol number
specification 5
Set the fifth protocol number to be executed. 0, 1 to 128 User
(S)+7
Execution
protocol number
specification 6
Set the sixth protocol number to be executed. 0, 1 to 128 User
(S)+8
Execution
protocol number
specification 7
Set the seventh protocol number to be executed. 0, 1 to 128 User
(S)+9
Execution
protocol number
specification 8
Set the eighth protocol number to be executed. 0, 1 to 128 User
(S)+10
Matched receive
packet No.1
When the communication type of the first protocol
executed includes receiving, the matched receive
packet number is stored. When the communication
type is "Send Only", "0" is stored.
If an error occurs to the first protocol executed, "0" is
stored.
0, 1 to 16 System
(S)+11
Matched receive
packet No.2
When the communication type of the second
protocol executed includes receiving, the matched
receive packet number is stored. When the
communication type is "Send Only", "0" is stored.
If an error occurs to the second protocol executed,
"0" is stored.
When the number of protocols which are executed is
less than 2, "0" is stored.
0, 1 to 16 System