EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-F FX5 - M+FX5 UCPU-Serialcomm_Output

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...
4 SERIAL COMMUNICATION FB
4.3 M+FX5UCPU-SerialComm_Output
27
4
Public label
*1 Even if a serial communication error occurs in the used communication channel, error completion and error code are not output and the
FB does not stop. Use a user program to detect the error. For serial communication error and serial communication error code, refer to
the following manual.
MELSEC iQ-F FX5 User's Manual (Serial Communication)
FB details
No. Variable name Name Data type Range Description
(10) pb_bSerialComErrUndetection Serial communication
error undetection
mode
Bit ON, OFF ON: FB does not detect serial communication error.
*1
OFF: FB detects serial communication error.
Item Description
Available device CPU module FX5U CPU, FX5UC CPU
Engineering tool GX Works3 Version 1.007H or later
Language Ladder diagram
Number of basic steps 508 steps
The number of FB steps integrated in the program varies depending on the CPU module used, the input/output definition, and
the setting options of GX Works3. For the setting options of GX Works3, refer to GX Works3 Operating Manual.
Processing This FB sends the data specified by i_uSendData (Send data storage device) and i_uSendDataLength (Number of send
data points) using the non-procedural protocol triggered by the serial data transfer (RS2) instruction when i_bEN (Execution
command) turns ON. When sending is completed, o_bOK (Normal completion) turns ON.
This FB checks the following input values when started up. If an error occurs, o_bErr (Error completion) turns ON, and
o_uErrId (Error code) stores the error code.
(1) Send channel number
(2) Number of send data points
If an error occurs during the data communication processing, o_bErr (Error completion) turns ON, and the serial
communication error code is stored to o_uErrId (Error code). For the error code, refer to Page 28 Error code. When
pb_bSerialComErrUndetection (Serial communication error undetection mode) is turned ON by a user program, this FB
does not detect serial communication error. Detect serial communication error by a user program.
FB compilation method Macro type
FB operation Pulsed execution (multiple scan execution type)
Timing chart of I/O signals [When the operation is completed successfully]
<ch1 example>
[When the operation is completed with an error]
FB error (When the send channel number is outside the setting range)
i_bEN
o_bENO
Sending
0H
Serial data transfer
SM8561 (ch1 send request)
o_bOK
o_bErr
o_uErrId
i_bEN
o_bENO
0H Error code
o_bOK
o_bErr
o_uErrId

Other manuals for Mitsubishi Electric MELSEC iQ-F FX5

Related product manuals