10 - 28 10 - 28
MELSEC-Q
10 DEDICATED INSTRUCTIONS
10.7.1 Functional protocol
The following functions are available by executing functional protocols with the
CPRTCL instruction.
y
Receive data clear
y
Send/receive data monitoring start/stop
y
RS/DTR signal condition designation
(1) Setting
Specify the functional protocol number of the function to be executed in the
control data ((S)+2 to (S)+9) of the CPRTCL instruction.
For details of the CPRTCL instruction, refer to Section 10.7.
(2) List of functional protocols
The following table shows the list of functional protocols described in this section.
Protocol
number
Protocol type
Keyword
1
Reference
201
Receive data clear
Receive Data
Clear
(a) in this section
202
Send/Receive data monitoring start
Send/Recv
Monitor Start
203
Send/Receive data monitoring stop
Send/Recv
Monitor Stop
(b) in this section
204
Turns ER(DTR) signal ON
DTR ON
205
Turns ER(DTR) signal OFF
DTR OFF
206
Turns RS(RTS) signal ON
RS ON
207
Turns RS(RTS) signal OFF
RS OFF
(c) in this section
1: Character strings that are stored to the protocol name of the protocol
execution log when functional protocols are executed.
(a) Receive data clear
Receive data in the OS area are cleared.
(b) Send/Receive data monitoring start/stop
Start or stop of send/receive data monitoring is specified.
When the functional protocol (202, 203) is executed, a monitoring start
command (0001
H
) or monitoring stop command (0000
H
) is set for
send/receive data monitoring designation (address: 2018
H
/2118
H
) in the
QJ71C24N(-R2/R4).
For details of send/receive monitoring, refer to the User's Manual
(Application).
(c) RS/DTR signal status specification
ON/OFF status of the RS(RTS)/DR(ETR) signal is specified.
When the functional protocol (204 to 207) is executed, corresponding bits of
the RS/DTR signal status designation (address: 92
H
/132
H
) are turned
ON/OFF in the QJ71C24N(-R2/R4).
For details of RS/DTR signal status designation, refer to Section 3.2.1.
Summary of Contents for MELSEC QJ71C24
Page 1: ......
Page 2: ......
Page 103: ...3 42 3 42 MELSEC Q 3 SPECIFICATIONS MEMO ...
Page 177: ...6 33 6 33 MELSEC Q 6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL MEMO ...
Page 397: ...App 24 App 24 MELSEC Q APPENDIXES Connection example 3 Connection example 4 ...
Page 441: ......
Page 442: ......