Mitsubishi Electronics C64 Home Safety Product User Manual


 
9. Exclusive Commands 1
RIRD, RIWT
- 321 -
Execution conditions
The execution conditions for RIRD, RIWT are as shown below.
Executed per scan
Command OFF
G.RIRD,G.RIWT
Executed per scan
GP.RIRD,GP.RIWT
ON
Program example
Program to read out the D100 to D103 data of the local station 2nd channel.
Coding
No. of
steps
Com-
mand
Device
10 LD
11 ANI M10
12 MOV K2 D11
15 MOV H405 D12
18 MOV K100 D13
21 MOV K4 D14
24 G.RIRD U20 D10 R1900 M2
29 SET M10
31 LD M2
32 RST M10
34 LD M3
35
MOV K4 D14
SET M10
MOV K2 D11
MOV H405 D12
MOV K100 D13
M3
Error process
10
31
34
M10
G.RIRD U20 D10 R1900 M2
M2
RST M10
Program example
(1) If the target station is MELDAS, only the device memory can be designated in the access code.
The buffer memory in the CC-Link unit cannot be designated.
(2) This command is usable only with the FCU6-HR865 unit card version B and above. A timeout
error will occur with earlier card versions.