Functional Protocol - Mitsubishi Electric QJ71C24N User Manual

Q corresponding serial communication module
Table of Contents

Advertisement

10 DEDICATED INSTRUCTIONS

10.7.1 Functional protocol

10 - 28
The following functions are available by executing functional protocols with the
CPRTCL instruction.
 Receive data clear
 Send/receive data monitoring start/stop
 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 lists the functional protocols described in this section.
Protocol
number
201
Receive data clear
202
Send/Receive data monitoring start
203
Send/Receive data monitoring stop
204
Turns ER(DTR) signal ON
205
Turns ER(DTR) signal OFF
206
Turns RS(RTS) signal ON
207
Turns RS(RTS) signal OFF
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
send/receive data monitoring designation (address: 2018
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)/ER(DTR) signal is specified.
When the functional protocol (204 to 207) is executed, corresponding bits of
the RS/DTR signal status designation (address: 92
ON/OFF in the QJ71C24N(-R2/R4).
For details of RS/DTR signal status designation, refer to Section 3.2.1.
Protocol type
) or monitoring stop command (0000
H
MELSEC-Q
1
Keyword
Reference
Receive Data
(a) in this section
Clear
Send/Recv
Monitor Start
(b) in this section
Send/Recv
Monitor Stop
DTR ON
DTR OFF
(c) in this section
RS ON
RS OFF
) is set for
H
/2118
H
H
/132
) are turned
H
H
) in the
10 - 28

Advertisement

Table of Contents
loading

Table of Contents