EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-F FX5 - Page 24

Mitsubishi Electric MELSEC iQ-F FX5
44 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
22
4 SERIAL COMMUNICATION FB
4.2 M+FX5UCPU-SerialComm_Input
4.2 M+FX5UCPU-SerialComm_Input
Name
M+FX5UCPU-SerialComm_Input
Overview
Labels
Input label
*1 The data storage position in the word device varies depending on the 8-bit/16-bit mode setting.
*2 The number of required word devices varies depending on the 8-bit/16-bit mode setting.
Output label
*1 The data storage position in the word device varies depending on the 8-bit/16-bit mode setting.
*2 The number of required word devices varies depending on the 8-bit/16-bit mode setting.
Item Description
Overview This FB stores the data received using the non-protocol in serial communication.
Symbol
No. Variable name Name Data type Range Description
(1) i_bEN Execution command Bit ON, OFF ON: The FB is activated.
OFF: The FB is not activated.
(2) i_stModule Module label Structure Specify the module label of the CPU module.
(3) i_uCh Receive channel Word [Unsigned] 1 to 4 Set the channel that receives the data.
FX5UC CPU does not have serial communication port
ch2.
When using this FB in FX5UC CPU, set channel to one
of ch1, ch3, ch4.
1: Channel 1 (CH1 side)
2: Channel 2 (CH2 side)
3: Channel 3 (CH3 side)
4: Channel 4 (CH4 side)
(4) i_uMaxRecvData Allowable number of
receive data points
Word [Unsigned] 1 to 4096 Specify the allowable number of bytes of the receive
data that can be stored in the receive data storage
device.
*1*2
No. Variable name Name Data type Default value Description
(5) o_bENO Execution status Bit OFF ON: The execution command is on.
OFF: The execution command is off.
(6) o_bOK Normal completion Bit OFF When this bit is ON, it indicates that data receiving is
completed normally.
(7) o_bErr Error completion Bit OFF When this label is on, it indicates that an error has
occurred in the FB.
(8) o_uErrId Error code Word [Unsigned] 0 Stores the error code occurred in the FB.
(9) o_uRecvDataLength Number of receive
data points
Word [Unsigned] 0 Stores the number of bytes which received the data.
(10) o_uRecvData Receive data storage
device
Word [Unsigned] 0 Specify the head address of the device which stores the
received data.
*1*2
(9)
(8)
(10)
(7)
(6)
M+FX5UCPU-SerialComm_Input
(5)
(3)
(2)
(1)
o_uRecvDataLength
o_uErrId
o_bErr
o_bOK
o_bENO
UW
UW
B
B
B
UW
DUT
B
:
:
o_uRecvData UW:
:
:
:
:
:
:
i_uCh
i_stModule
UW : i_uMaxRecvData
(11) pb_bSerialComErrUndetection
i_bEN
(4)

Other manuals for Mitsubishi Electric MELSEC iQ-F FX5

Related product manuals