Mitsubishi Q64RD User Manual page 75

Thermocouple input module melsec-q series
Hide thumbs Also See for Q64RD:
Table of Contents

Advertisement

6 PROGRAMMING
6 - 8
(2) Program example
MELSEC-Q
[Remote I/O station operating status confirmation]
Set the following values
as timer constants K
.
• Baton pass status (T100, T102)
Sequence scan time
4
• Cyclic transmission status
• Parameter communication status
(T101, T103, T104)
Sequence scan time
3
Master control turns on
when communication with
remote I/O station is normal.
[Initial setting request]
Enables all channels for conversion.
Performs CH.1 sampling process.
Performs CH.2 average process
(no. of times: 500 times).
Performs CH.3 average process
(time: 1000ms).
Performs CH.4 sampling process.
CH.1, 4 sampling, CH.2 no. of
times average, CH.3 time average
Writes to remote I/O station's
intelligent function module buffer
memory.
Turns on operation condition
setting request.
Turns off operation condition setting
request if operation condition setting
completed signal turns on.
[Temperature conversion value read]
Reads from remote I/O station's
intelligent function module
buffer memory.
Stores CH.1 temperature
conversion value.
Stores CH.2 temperature
conversion value.
Stores CH.3 temperature
conversion value.
Stores CH.4 temperature conversion value.
(D10 stores conversion completed
flag per channel.)
[Error code indication and clear]
Reads from remote I/O station's
intelligent function module
buffer memory.
Outputs error code in BCD.
Gives error clear request.
Turns off error clear request
when error occurred signal turns off.
6 - 8

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents