386
19 SWITCHING THE MODE AFTER STARTING
19.5 How to Switch Mode from Target Device
■Program example
The following shows an example of program on the CPU module side for mode switching of the CH1 side interface from the
target device.
Category Label name Description Device
Module label C24_1 Target module
C24_1.stnCH1.bSet_Req_ModeSwitching CH1 Mode switching request Y2
C24_1.stnCH1.bSts_ModeSwitchingProcessing CH1 Switching mode X6
C24_1.uSts_ModeSwitching_ParameterSetting_D Parameter setting error, mode switching
error status
U0/G515
Label to be defined Define the global label as shown below.
(0) Read the mode switching request contents.
Mode switching is completed.
(10) Change the setting value of the communication protocol according to the communication specification.
Mode switching complete reset