EasyManua.ls Logo

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

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.4 M+FX5UCPU-SerialComm_ExeCommonProtocol
29
4
4.4 M+FX5UCPU-SerialComm_ExeCommonProtocol
Name
M+FX5UCPU-SerialComm_ExeCommonProtocol
Overview
Labels
Input label
Item Description
Overview This FB executes the protocol registered with GX Works3.
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 Communication
channel
Word [Unsigned] 1 to 4 Specify the communication channel number.
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_uNumberOfExecutions Number of
consecutive protocol
executions
Word [Unsigned] 1 to 8 Specify number of continuous executions of the
protocol.
(5) i_uExeProtocolNo Execution protocol
number
Word [Unsigned]
(0..7)
1 to 64 Specify the protocol number to be executed. Protocols
are executed in the specified order of the execution
protocol numbers.
1st word: Execution protocol number 1
8th word: Execution protocol number 8
When it is specified using a label, use "ARRAY" for the
data type.
(10)
(9)
(11)
(8)
(7)
M+FX5UCPU-SerialComm_ExeCommonProtocol
(6)
(3)
(2)
(1)
(5)
(4)
o_uNumberOfExecutions
o_uErrId
o_bErr
o_bOK
o_bENO
UW
UW
B
B
B
UW
DUT
B
:
:
(12) pb_bSerialComErrUndetection
o_uMatchPacketNo UW:
:
:
:
:
:
:
i_uCh
i_stModule
UW
UW
:
:
i_uExeProtocolNo
i_uNumberOfExecutions
i_bEN

Other manuals for Mitsubishi Electric MELSEC iQ-F FX5

Related product manuals