M+Rj71C24_Input; Overview; Labels - Mitsubishi Electric MELSEC iQ-R Series Manual

Communication module function block reference
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

2.3

M+RJ71C24_Input

Overview

Reads the data received using the nonprocedural protocol.
(1)
B: i_bEN
(2)
DUT: i_stModule
(3)
UW: i_uCh
(4)
UW: i_uMaxRecvDataLength

Labels

Input label
No.
Label
(1)
i_bEN
(2)
i_stModule
(3)
i_uCh
(4)
i_uMaxRecvDataLength
Output label
No.
Label
(5)
o_bENO
(6)
o_bOK
(7)
o_bErr
(8)
o_uErrId
(9)
o_uRecvDataLength
(10)
o_uRecvData
2 SERIAL COMMUNICATION MODULE FB
14
2.3 M+RJ71C24_Input
M+RJ 71C24_Input
o_bENO: B
o_bOK: B
o_bErr: B
o_uErrId: UW
o_uRecvDataLength: UW
o_uRecvData: UW
Label name
Data type
Execution
Bit
command
Module label
Structures
Receive channel
Word [Unsigned]/Bit
String [16-bit]
Allowable number
Word [Unsigned]/Bit
of receive data
String [16-bit]
points
Label name
Data type
Execution status
Bit
Normal completion
Bit
Error completion
Bit
Error code
Word [Unsigned]/Bit
String [16-bit]
Number of receive
Word [Unsigned]/Bit
data points
String [16-bit]
Receive data
Word [Unsigned]/Bit
storage device
String [16-bit]
(5)
(6)
(7)
(8)
(9)
(10)
Range
Description
ON, OFF
ON: The FB is activated.
OFF: The FB is not activated.
Specify the module to execute this FB.
Specify the module label of relevant modules.
(example: C24_1)
1, 2
Set the channel that receives the data.
• 1: Channel 1 (CH1 side)
• 2: Channel 2 (CH2 side)
0 or more
Set the allowable number of words of the receive data
that can be stored in the receive data storage device.
Default value
Description
OFF
ON: The execution command is ON.
OFF: The execution command is OFF.
OFF
This label turns ON for one scan when the operation is
completed normally.
OFF
This label turns ON for one scan when the operation is
completed with an error.
0
Stores the generated error code.
0
Stores the number of receive data points in the units
(word/byte) specified to the following area of the buffer
memory.
• Channel 1 (CH1 side): 150 (96H)
• Channel 2 (CH2 side): 310 (136H)
0
Stores the receive data.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rj71c24Rj71c24-r2Rj71c24-r4

Table of Contents