Mitsubishi Electric MELSEC iQ-F Reference page 6

Fx5 ethernet/cc-link ie function block
Hide thumbs Also See for MELSEC iQ-F:
Table of Contents

Advertisement

2
FX5 ETHERNET FB
2.1
M+FX5UCPU-EN_ConnectionOpen
Name
M+FX5UCPU-EN_ConnectionOpen
Overview
Item
Overview
Symbol
Labels
■Input label
No.
Variable name
(1)
i_bEN
(2)
i_stModule
(3)
i_uConnectionNo
■Output label
No.
Variable name
(4)
o_bENO
(5)
o_bOK
(6)
o_bErr
(7)
o_uErrId
2 FX5 ETHERNET FB
4
2.1 M+FX5UCPU-EN_ConnectionOpen
Description
Opens (establishes) a connection for data communication with target device.
M+FX5UCPU-EN_ConnectionOpen
(1)
B
:
i_bEN
(2)
DUT
:
i_stModule
(3)
UW
:
i_uConnectionNo
(8) pbi_bUseParameters
(9) pbi_uProtocol
(10) pbi_uOpen_System
(11) pbi_uLocal_Port_No
(12) pbi_uTarget_Port_No
(13) pbi_u2IP_Address
Name
Data type
Execution command
Bit
Module label
Structure
Connection No.
Word [Unsigned]/Bit
String [16-bit]
Name
Data type
Execution status
Bit
Normal completion
Bit
Error completion
Bit
Error code
Word [Unsigned]/Bit
String [16-bit]
o_bENO
:
B
(4)
o_bOK
:
B
(5)
o_bErr
:
B
(6)
o_uErrId
:
UW
(7)
Range
Description
ON, OFF
ON: The FB is activated.
OFF: The FB is not activated.
The setting range
Specify the module label of the CPU module.
differs depending on
the module label.
1 to 8
Specify the number of the connection to be opened.
Default value
Description
OFF
The execution status of the FB is output.
ON: In execution
OFF: Not in execution
OFF
When this label is ON, it indicates that the device has
been read out correctly.
OFF
When this label is ON, it indicates that an error has
occurred in the FB.
0
Stores the error code that occurred in the FB.

Advertisement

Table of Contents
loading

Table of Contents