12 - 14 12 - 14
12 DEDICATED INSTRUCTIONS
12.3.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 12.3.
(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 C24.
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
H
/132
H
) are turned
ON/OFF in the C24.
For details of RS/DTR signal status designation, refer to Section 6.2.1.
Summary of Contents for MELSEC LJ71C24
Page 1: ......
Page 2: ......
Page 18: ...A 16 A 16 INDEX REVISIONS WARRANTY...
Page 22: ...A 20 A 20 2 LJ71C24 R2 LJ71C24 R2 Before Using the Product...
Page 23: ...A 21 A 21 MEMO...
Page 38: ...4 2 4 2 4 PROCEDURES PRIOR TO OPERATION MEMO 4...
Page 105: ...7 30 7 30 7 SETTINGS FOR THE C24 MEMO...
Page 425: ......
Page 426: ......
Page 427: ......