Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
5.4 Network Dedicated Instruction
5.4.4 RISEND instruction
5-133
G_RISEND
5
MODULE DEDICATED
INSTRUCTION
G_RISEND
Program Example
The following program writes 1-word data of D10 to the buffer memory address 111H of the
number 63 intelligent device station (AJ65BT-R2(N)) which is connected to the master module
mounted on the I/O numbers from X/Y00 to X/Y1F.
The interlock signal storage settings are set to request device: RY4, completion device: RX4,
error code storage device: RWr1, and completion mode: 1.
(When the refresh device of the link special register (SW) is set to SW0.)
[Structured ladder/FBD]
Sets station number
Sets access code
and attribute code
Sets buffer memory
address
Sets number of write
points
Sets request device
Sets completion device
and error code storage
area device
Sets completion mode
Sets data to be written
to intelligent device
station
Performs writing
Turns execution
flag ON
Turns write request OFF
Turns execution
flag OFF
Process on normal completion
Process on error completion