Mitsubishi Electronics QJ71C24N Network Card User Manual


 
App. - 40 App. - 40
MELSEC-Q
APPENDIX
(2) Program example
<Transmission command>
<Setting of transmission data>
<Transmission request>
<Processing for normal completion>
<Processing for abnormal completion>
<Abnormal completion: Read of data transmission result>
Changes the transmission
command into pulses.
Sets the
transmission data.
Sets the
transmission data count.
Transfers the setting value to the
communication area of the buffer
memory.
Turns ON the transmission request
signal.
Abnormal completion of REMTO
instruction
Normal completion of transmission
Turns OFF the transmission request
signal.
Abnormal completion of
transmission
Transmission result acquisition
instruction
Reads the data transmission
result of the buffer memory to D20.
Normal completion of REMFR
instruction
Abnormal completion of REMFR
instruction
Turns OFF the transmission
request signal.