APPENDIX
(2) Program example
<Transmission command>
<Setting of transmission data>
<Setting of buffer memory head address and data length>
<Processing for normal completion>
<Processing for abnormal completion>
<Abnormal completion: Read of
<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.
Abnormal completion of REMTO instruction
Buffer memory head address for
Data length for
Transfers the setting value to the
Sets the
Abnormal completion of REMTO instruction
Turns ON the transmission request signal.
Resets the
Normal completion of
Turns OFF the transmission request signal.
Abnormal completion of
Reads the
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.
App. - 36 | App. - 36 |