Mitsubishi Electric MELSEC iQ-R Series User Manual page 325

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

Advertisement

Program example when not setting with Engineering tool
The following shows the methods to transmit data without specifying the send frame number with Engineering tool.
■Program example
Category
Label name
Module label
C24_1
C24_1.bSts_UnitReady
C24_1.bSts_WatchdogTimerError
C24_1.stnCH1.wnSet_OutputFrameNum_UserFrame_D
C24_1.stnCH1.uSet_TransmissionDataCount_D
C24_1.wnForUserRegistrationNo8001H_D[0]
C24_1.wnForUserRegistrationNo8001H_D[1]
Label to be defined
Define the global label as shown below.
For information on the module FB to be used, refer to the following manual.
MELSEC iQ-R Serial Communication Module Function Block Reference
15.5 Application Program for Data Transmission using a Combination that does not Specify the Start Frame
Description
Target module
Module READY
Watchdog timer error
CH1_Send user frame_Send frame
number designation
CH1_Send data quantity designation
For user registration number 8001H [0]
For user registration number 8001H [1]
15 DATA COMMUNICATIONS USING USER FRAMES
Device
X1E
X1F
U0\G186
U0\G1024
U0\G6912
U0\G6913
15
323

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents