M+Rj71C24_Senduserframe; 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.7

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
(1)
B: i_bEN
DUT: i_stModule
(2)
(3)
UW:
i_uCh
(4)
UW:
i_
uCrLfSetting
(5)
UW:
i_
uSendFramePointer
(6)
UW:
i_
uSendFrameCount

Labels

Input label
No.
Label
(1)
i_bEN
(2)
i_stModule
(3)
i_uCh
(4)
i_uCrLfSetting
(5)
i_uSendFramePointer
(6)
i_uSendFrameCount
Output label
No.
Label
(7)
o_bENO
(8)
o_bOK
(9)
o_bErr
(10)
o_uErrId
2 SERIAL COMMUNICATION MODULE FB
22
2.7 M+RJ71C24_SendUserFrame
o_bENO:B
o_bOK: B
o_bErr: B
o_uErrId: UW
Label name
Data type
Execution
Bit
command
Module label
Structures
Send channel
Word [Unsigned]/
Bit String [16-bit]
Additional
Word [Unsigned]/
specification of CR/
Bit String [16-bit]
LF
Send pointer
Word [Unsigned]/
Bit String [16-bit]
Number of outputs
Word [Unsigned]/
Bit String [16-bit]
Label name
Data type
Execution status
Bit
Normal completion
Bit
Error completion
Bit
Error code
Word [Unsigned]/Bit
String [16-bit]
(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 to which the data is sent.
• 1: Channel 1 (CH1 side)
• 2: Channel 2 (CH2 side)
0, 1
Set whether or not to add CR/LF to the send data.
• 0: CR/LF is not added.
• 1: CR/LF is added.
1 to 100
Set the position in the user frame specification area from
where the frame number data is sent.
1 to 100
Set the number of user frames to send.
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.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rj71c24Rj71c24-r2Rj71c24-r4

Table of Contents