User`s manual

355
CHAPTER 15 SWITCHING THE MODE AFTER STARTING
15
15.4 Switching the Mode from the Programmable Controller CPU
15.4.2 Mode switching sample program
The following shows a sample sequence program that switches the CH1 interface mode.
(The Q series C24 I/O signals X/Y00 to X/Y1F)
Error processing (LED OFF, error code clear)
Sets the transmission specifications
Sets the mode switching request
Mode switching complete
Mode switching complete reset
Changes the operation mode to MC protocol
format 1
Writes the mode switching designation
contents to the buffer memory
Resets the mode switching error signal
Reads the mode switching request contents
Changes the setting value of
the communication protocol according to
the communication specification
Mode switching request clear by clear
command
Abnormal
reception
detection
Reception
read request
Transmission
processing
Reception
processing
Mode
switching
instruction
Modification of the setting values of the buffer memory
special applications area