Mitsubishi Electronics QJ71C24/-R2 Network Card User Manual


 
App. - 36 App. - 36
MELSEC-Q
APPENDIX
(2) Program example
<Transmission command>
<Setting of transmission data>
<Setting of buffer memory head address and data length>
<On-demand transmission>
<Processing for normal completion>
<Processing for abnormal completion>
<Abnormal completion: Read of on-demand execution result>
<Abnormal completion: Read of LED ON status>
Changes the transmission
command into pulses.
Sets the transmission data.
Transfers the transmission data
to the transmission area address
of the buffer memory.
On-demand function designation
command
Abnormal completion of REMTO
instruction
Buffer memory head address for
on-demand function
Data length for on-demand function
Transfers the setting value to the
on-demand function designation
area of the buffer memory.
Sets the on-demand data
transmission flag.
Abnormal completion of REMTO
instruction
Turns ON the transmission
request signal.
Resets the on-demand data
transmission flag.
Normal completion of on-demand
data transmission
Turns OFF the transmission
request signal.
Abnormal completion of on-demand
data transmission
On-demand execution result
acquisition command
Reads the on-demand execution
result of the buffer memory to D8.
LED ON status acquisition
command
Abnormal completion of REMFR
instruction
Reads the LED ON status of the
buffer memory to D9.
Normal completion of REMFR
instruction
Abnormal completion of REMFR
instruction
Turns OFF the transmission
request signal.