M+Fx5Ucpu-Serialcomm_Execommonprotocol - Mitsubishi Electric MELSEC iQ-F FX5 Reference Manual

Cpu module function block reference
Hide thumbs Also See for MELSEC iQ-F FX5:
Table of Contents

Advertisement

4.4

M+FX5UCPU-SerialComm_ExeCommonProtocol

Name
M+FX5UCPU-SerialComm_ExeCommonProtocol
Overview
Item
Description
Overview
This FB executes the protocol registered with GX Works3.
Symbol
(1)
(2)
(3)
(4)
(5)
Labels
■Input label
No.
Variable name
(1)
i_bEN
(2)
i_stModule
(3)
i_uCh
(4)
i_uNumberOfExecutions
(5)
i_uExeProtocolNo
M+FX5UCPU-SerialComm_ExeCommonProtocol
B
:
i_bEN
DUT
:
i_stModule
UW
:
i_uCh
UW
:
i_uNumberOfExecutions
UW
:
i_uExeProtocolNo
o_uNumberOfExecutions
o_uMatchPacketNo UW
(12) pb_bSerialComErrUndetection
Name
Data type
Execution command
Bit
Module label
Structure
Communication
Word [Unsigned]
channel
Number of
Word [Unsigned]
consecutive protocol
executions
Execution protocol
Word [Unsigned]
number
(0..7)
o_bENO
:
B
(6)
o_bOK
:
B
(7)
o_bErr
:
B
(8)
o_uErrId
:
UW
(9)
:
UW
(10)
:
(11)
Range
Description
ON, OFF
ON: The FB is activated.
OFF: The FB is not activated.
Specify the module label of the CPU module.
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)
1 to 8
Specify number of continuous executions of the
protocol.
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.
4 SERIAL COMMUNICATION FB
4.4 M+FX5UCPU-SerialComm_ExeCommonProtocol
4
29

Advertisement

Table of Contents
loading

Table of Contents