Mitsubishi Electric MELSEC iQ-R Series User Manual page 388

Serial communication module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■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
Module label
C24_1
C24_1.stnCH1.bSet_Req_ModeSwitching
C24_1.stnCH1.bSts_ModeSwitchingProcessing
C24_1.uSts_ModeSwitching_ParameterSetting_D
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
19 SWITCHING THE MODE AFTER STARTING
386
19.5 How to Switch Mode from Target Device
Description
Target module
CH1 Mode switching request
CH1 Switching mode
Parameter setting error, mode switching
error status
Device
Y2
X6
U0/G515

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents