Mitsubishi Electric L02SCPU User's Manual And Reference page 225

Melsec-l series, cpu module
Table of Contents

Advertisement

(4) Setting items of "Adapter Serial Setting" or "Built-in Serial Setting"
Setting items of "Adapter Serial Setting" or "Built-in Serial Setting", (items required for data communications using
the predefined protocol function) are described below. For other setting items, refer to the following.
Page 353, Appendix 1.2
(a) Select function
Select "Predefined Protocol".
(b) Predefined protocol support function (Device to store predefined protocol operation
status)
Set the start device for storing the predefined protocol operating status. The following information is stored in
the area of three words starting from the selected device.
Device for storing
the predefined
protocol operating
status (offset)
+0
+1
+2
*1
Even after data communications using the predefined protocol function (executed by the S(P).CPRTCL instruction) is
completed, the stored values are held.
Item
The protocol cancellation request status is stored.
0: No cancellation requested
Protocol cancellation
1: Cancellation requested (set by users)
2: Cancellation completed (set by the CPU module)
The execution status of the predefined protocol function is
stored.
0: Not executed
Protocol execution
1: Waiting for data to be sent
status
2: Data being sent
3: Waiting for data to be received
4: Data being received
5: Execution completed
The number of protocol executions is stored.
Number of protocol
0: No execution
executions
1 to 65535: Number of executions (The value remains the
same after 65535.)
CHAPTER 3 CPU MODULE FUNCTIONS
*1
Description
3
Default
0
223

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents