Mitsubishi Electric QJ71PB93D User Manual page 108

Melsec q series profibus-dp slave module
Table of Contents

Advertisement

7 PROGRAMMING
<Initial input data write>
<Input send area refresh start>
<Output data read>
<Input data write>
<Error handling>
<Extension trouble information notification request>
7- 18
(4) Program example
(a) When using dedicated instructions (BBLKRD/BBLKWR)
MELSEC-Q
Initial input data write.
Input send area refresh start.
Output data read.
Outputs data to Y40 to Y9F.
Stores data in X20 to X7F into
D1100.
Input data write.
Stores error code.
Resets error.
Turns on extension trouble
notification flag when error code
is other than 0.
Sets extension trouble notification
data length.
Sets extension trouble notification
data.
Stores extension trouble
notification data in buffer memory.
Extension trouble notification
request.
Resets extension trouble
notification request.
Extension trouble notification
completion flag.
Stores error code.
7 - 18

Advertisement

Table of Contents
loading

Table of Contents