SAFETY PRECAUTIONS (Read these precautions before using this product.) Before using the products described under "Relevant products", please read this manual and the relevant manuals carefully and pay full attention to safety to handle the products correctly. The precautions given in this manual are concerned with the products only. For the safety precautions of the programmable controller system, refer to the MELSEC iQ-R Module Configuration Manual.
CONDITIONS OF USE FOR THE PRODUCT (1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions; i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident; ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem, fault or failure occurring in the PRODUCT.
Before using the products, please read this manual and the relevant manuals carefully and develop familiarity with the functions and performance of the MELSEC iQ-R series programmable controller to handle the products correctly. Please make sure that the end users read this manual.
[SH-081251ENG] e-Manual refers to the Mitsubishi Electric FA electronic book manuals that can be browsed using a dedicated tool. e-Manual has the following features: • Required information can be cross-searched in multiple manuals.
TERMS Unless otherwise specified, this manual uses the following terms. Term Description Buffer memory Memory in an intelligent function module to store data such as setting values and monitor values. For CPU modules, it refers to memory to store data such as setting values and monitor values of the Ethernet function, or data used for data communication of the multiple CPU system function.
OVERVIEW Function blocks (FBs) in this reference are the module FBs for a MELSEC iQ-R series serial communication module. FB List This section shows the module FB list of this reference. Note that this reference does not describe the FB version information which is displayed such as "_00A"...
System Configuration The following shows the system configuration for using the module FBs in this reference. (1) Power supply module (2) CPU module (3) Serial communication module For the specifications of modules to be used, refer to the user's manual of each module. 1 OVERVIEW 1.3 System Configuration...
SERIAL COMMUNICATION MODULE FB M+RJ71C24_SendOndemand Overview Sends data using the on-demand function of SLMP (MC protocol). M+RJ71C24_SendOndemand B: i_bEN o_bENO:B DUT:i_stModule o_bOK:B UW:i_uCh o_bErr:B UW:i_uSendDataLength o_uErrId:UW W:i_uSendData Labels Input label Label Label name Data type Range Description i_bEN Execution ON, OFF ON: The FB is activated.
■CPU module MELSEC iQ-R series CPU modules Basic specifications Item Description Language Ladder diagram Number of basic steps 46 steps The number of steps of the FB embedded in a program depends on the CPU module used, the input/output definitions, and the options setting of GX Works3.
M+RJ71C24_Output Overview Sends the specified data using the nonprocedural protocol. M+RJ71C24_ Output B i_bEN o_bENO B DUT i_stModule o_bOK B UW i_uCh o_bErr B UW i_uSendDataLength o_uErrId UW UW i_uSendData Labels Input label Label Label name Data type Range Description i_bEN Execution ON, OFF...
FB details Available device ■Serial communication module Module Engineering tool RJ71C24, RJ71C24-R2, RJ71C24-R4 GX Works3 ■CPU module MELSEC iQ-R series CPU modules Basic specifications Item Description Language Ladder diagram Number of basic steps 46 steps The number of steps of the FB embedded in a program depends on the CPU module used, the input/output definitions, and the options setting of GX Works3.
M+RJ71C24_Input Overview Reads the data received using the nonprocedural protocol. M+RJ 71C24_Input B: i_bEN o_bENO: B DUT: i_stModule o_bOK: B UW: i_uCh o_bErr: B UW: i_uMaxRecvDataLength o_uErrId: UW o_uRecvDataLength: UW (10) o_uRecvData: UW Labels Input label Label Label name Data type Range Description i_bEN...
FB details Available device ■Serial communication module Module Engineering tool RJ71C24, RJ71C24-R2, RJ71C24-R4 GX Works3 ■CPU module MELSEC iQ-R series CPU modules Basic specifications Item Description Language Ladder diagram Number of basic steps 46 steps The number of steps of the FB embedded in a program depends on the CPU module used, the input/output definitions, and the options setting of GX Works3.
M+RJ71C24_BidirectionalOutput Overview Sends the specified data using the bidirectional protocol. M+RJ 71C24_BidirectionalOutput B: i_bEN o_bENO: B DUT: i_stModule o_bOK: B UW: i_uCh o_bErr: B UW: i_uSendDataLength o_uErrId: UW UW: i_uSendData Labels Input label Label Label name Data type Range Description i_bEN Execution ON, OFF...
FB details Available device ■Serial communication module Module Engineering tool RJ71C24, RJ71C24-R2, RJ71C24-R4 GX Works3 ■CPU module MELSEC iQ-R series CPU modules Basic specifications Item Description Language Ladder diagram Number of basic steps 45 steps The number of steps of the FB embedded in a program depends on the CPU module used, the input/output definitions, and the options setting of GX Works3.
M+RJ71C24_BidirectionalInput Overview Reads the data received using the bidirectional protocol. M+RJ71C24_Bidirectional I nput B: i_bEN o _bENO:B DUT:i_stModule o _bOK:B UW: i_uCh o _bErr: B UW: i_uMaxRecvDataLength o_ uErrId: UW o_uRecvDataLength:UW (10) o_uRecvData: UW Labels Input label Label Label name Data type Range Description...
FB details Available device ■Serial communication module Module Engineering tool RJ71C24, RJ71C24-R2, RJ71C24-R4 GX Works3 ■CPU module MELSEC iQ-R series CPU modules Basic specifications Item Description Language Ladder diagram Number of basic steps 46 steps The number of steps of the FB embedded in a program depends on the CPU module used, the input/output definitions, and the options setting of GX Works3.
M+RJ71C24_ReadInstructionBusy Overview Reads the transmission status of the data sent/received using the dedicated instructions or FBs. M+RJ71C24_ReadInstructionBusy B: i_bEN o_uCommunicationStatus: UW DUT:i_stModule Labels Input label Label Label name Data type Range Description i_bEN Execution ON, OFF ON: The FB is activated. command OFF: The FB is not activated.
FB details Available device ■Serial communication module Module Engineering tool RJ71C24, RJ71C24-R2, RJ71C24-R4 GX Works3 ■CPU module MELSEC iQ-R series CPU modules Basic specifications Item Description Language Ladder diagram Number of basic steps 10 steps The number of steps of the FB embedded in a program depends on the CPU module used, the input/output definitions, and the options setting of GX Works3.
M+RJ71C24_SendUserFrame Overview Sends data using the nonprocedural protocol communication and the user frame according to the setting of the user frame specification area for sending data. M+RJ71C24_SendUserFrame B: i_bEN o_bENO:B DUT: i_stModule o_bOK: B i_uCh o_bErr: B (10) uCrLfSetting o_uErrId: UW uSendFramePointer uSendFrameCount Labels...
FB details Available device ■Serial communication module Module Engineering tool RJ71C24, RJ71C24-R2, RJ71C24-R4 GX Works3 ■CPU module MELSEC iQ-R series CPU modules Basic specifications Item Description Language Ladder diagram Number of basic steps 47 steps The number of steps of the FB embedded in a program depends on the CPU module used, the input/output definitions, and the options setting of GX Works3.
M+RJ71C24_PutUserFrame Overview Registers and deletes user frames according to the setting value of the request type. M+RJ71C24_Put UserFrame B: i_bEN o_bENO: B DUT: i_stModule o_bOK: B uRequestType o_bErr: B (10) uFrameNo o_ uErrId: UW uFrameDataLength uFrameData Labels Input label Label Label name Data type Range...
FB details Available device ■Serial communication module Module Engineering tool RJ71C24, RJ71C24-R2, RJ71C24-R4 GX Works3 ■CPU module MELSEC iQ-R series CPU modules Basic specifications Item Description Language Ladder diagram Number of basic steps 50 steps The number of steps of the FB embedded in a program depends on the CPU module used, the input/output definitions, and the options setting of GX Works3.
M+RJ71C24_GetUserFrame Overview Reads the user frame. M+RJ71C24_GetUserFrame B: i_bEN o_bENO:B DUT: i_stModule o_bOK: B uFramelNo o_bErr: B o_ uErrId: UW i_uMax_FrameDataLength o_uFrameDataLength:UW (10) o_uFrameData: UW Labels Input label Label Label name Data type Range Description i_bEN Execution command ON, OFF ON: The FB is activated.
FB details Available device ■Serial communication module Module Engineering tool RJ71C24, RJ71C24-R2, RJ71C24-R4 GX Works3 ■CPU module MELSEC iQ-R series CPU modules Basic specifications Item Description Language Ladder diagram Number of basic steps 46 steps The number of steps of the FB embedded in a program depends on the CPU module used, the input/output definitions, and the options setting of GX Works3.
2.10 M+RJ71C24_ExeCommonProtocol Overview Executes the protocol registered with GX Works3. M+RJ71C24_ExeCommonProtocol B: i_bEN o_bENO: B DUT: i_stModule o_bOK: B o_bErr: B uNumberOfExecutions o_uErrId: UW (10) uExeProtocolNo o_ u NumberOfExecutions: UW o_ uMatchPacketNo: UW (11) Labels Input label Label Label name Data type Range Description...
Page 31
Output label Label Label name Data type Default value Description o_bENO Execution status ON: The execution command is ON. OFF: The execution command is OFF. o_bOK Normal completion This label turns ON for one scan when the operation is completed normally. o_bErr Error completion This label turns ON for one scan when the operation is...
FB details Available device ■Serial communication module Module Engineering tool RJ71C24, RJ71C24-R2, RJ71C24-R4 GX Works3 ■CPU module MELSEC iQ-R series CPU modules Basic specifications Item Description Language Ladder diagram Number of basic steps 58 steps The number of steps of the FB embedded in a program depends on the CPU module used, the input/output definitions, and the options setting of GX Works3.
Page 33
MEMO 2 SERIAL COMMUNICATION MODULE FB 2.10 M+RJ71C24_ExeCommonProtocol...
Japanese manual number: BCN-5999-0370-E This manual confers no industrial property rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
TRADEMARKS The company names, system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies. In some cases, trademark symbols such as ' ' or ' ' are not specified in this manual.
Page 40
BCN-P5999-0379-E(1912) HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission. Specifications subject to change without notice.
Need help?
Do you have a question about the MELSEC iQ-R Series and is the answer not in the manual?
Questions and answers