Mitsubishi Electric FX5 User Manual page 197

Melsec iq-f series
Hide thumbs Also See for FX5:
Table of Contents

Advertisement

Protocol Cancel
Executing protocol can be canceled by the cancel request ("1" is set for the protocol cancel setting value). (Page 209
Protocol cancel specification) Then canceled protocol ends abnormally. When two or more protocols are executed
consecutively, executing protocol ends and following protocols are not executed.
Drive S(P).CPRTCL
instruction
Completion device (d)
Completion status
indication device (d)+1
Execution protocol No.
Protocol cancel
0: Normally operation
specification
The operation differs as follows depending on the protocol communication in execution and the timing of the cancel request
(protocol execution status).
The protocol
communication in
execution.
Send
Receive
Precautions
• If a cancel request is issued while no protocol is being executed, the CPU module completes the cancel request without
performing any processing.
• The CPU module periodically checks for a cancel request. For this reason, it may take time until cancel processing is
performed after a cancel request is issued.
Send/receive data monitoring function
With the send/receive data monitoring function, send/receive data in the communication with a counterpart device can be
monitored.
Set the following devices to execute monitoring or specify the storage destination data device for the send/receive data.
CH1
CH2
CH3
CH4
SD9230
SD9240
SD9250
SD9260
SD9231
SD9241
SD9251
SD9261
SD9232
SD9242
SD9252
SD9262
SD9233
SD9243
SD9253
SD9263
SD9234
SD9244
SD9254
SD9264
1
2
3
1: Cancel request
Cancel timing (Protocol execution status)
Executed protocols start - Before data transmission start
(Waiting for transmission)
Data transmission start - Before send completed (Sending)
Send completed - Before data reception start (Waiting for data
reception)
After data reception start (Receiving)
Setting item
Send/receive data monitoring
function setting
Send/receive
Data area full
data monitoring
stop
function option
specification
setting
1-packet stop
specification
Monitoring data device
specification
Monitoring data start device No.
specification
Monitoring data size specification
The protocol in execution is
canceled.
The subsequent protocols are
not executed.
2: Cancel operation completed
Resulting of executed protocols
The packet is not sent.
The packet is not suspended, let the send complete.
The packet is not received.
The packet is suspended, and the packet is discarded.
Description
The monitoring function can be stopped or started. The
monitor function status is displayed after monitoring is
started.
Monitoring stops automatically when the number of monitor
data size is larger than the specified one.
Monitoring stops automatically after one send packet or
receive packet is monitored.
Specify a type of word device used as the monitor data
area.
Specify a start device number of word devices used as the
monitor data area.
Specify the size of word devices used as the monitor data
area in word unit.
6 PREDEFINED PROTOCOL SUPPORT FUNCTION
6
Reference
Page 209
Page 210
Page 210
Page 210
Page 211
195
6.8 Programming

Advertisement

Table of Contents
loading

Table of Contents