Mitsubishi Electronics AJ65bt-r2 Home Theater Server User Manual


 
9 - 6
MELSEC-
A
9 PROGRAM EXAMPLES
9.2.2 When using dedicated commands with ACPU / QCPU-A (A mode)
An example of the program for using the dedicated commands with the ACPU /
QCPU-A (A mode) when using the buffer memory automatic update function is shown
below.
Master station initialization
Read remote input (RX) (X100 to X11F)
Confirm R2 data link state
Synchronization mode:
invalid
No. of connected
modules: 1 module
R2 station information
(intelligent, one station
occupied, station No. 1)
Set transmission buffer
size
Set reception buffer size
Set automatic update
buffer size
Dedicated command
(RLPA)
Master station head
I/O No.
Parameter storage
head device
Device to turn one scan
ON at completion
Read parameter state
when abnormal
Change to bank 0
Read RXn0 to RX(n+1)F
to X100 to X11F
Read R2 data link state
(SW0080)
R2 data link normal
R2 data link error
Error LED