M+Fx5Ucpu-En_Slmp_Deviceread_Ip - Mitsubishi Electric MELSEC iQ-F Reference

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

Advertisement

2.5

M+FX5UCPU-EN_SLMP_DeviceRead_IP

Name
M+FX5UCPU-EN_SLMP_DeviceRead_IP
Overview
Item
Overview
Symbol
Labels
■Input label
No.
Variable name
(1)
i_bEN
(2)
i_stModule
(3)
i_u2IP_Address
(4)
i_uSubCommand
2 FX5 ETHERNET FB
14
2.5 M+FX5UCPU-EN_SLMP_DeviceRead_IP
Description
Reads data from the target device with IP address specification.
M+FX5UCPU-EN_SLMP_DeviceRead_IP
(1)
B
:
i_bEN
(2)
DUT
:
i_stModule
(3)
UW
:
i_u2IP_Address
:
(4)
UW i_uSubCommand
:
(5)
UW i_uDeviceCode
(6)
UW i_u2DeviceNo
:
(7)
UW i_uDevicePoints
:
(8)
UW i_uChannel
:
(9)
UW i_uTarget_Port_No
:
(15) pbi_uRequestModuleIO
(16) pbi_uResendCountMax
(17) pbi_uMonitorTime
(18) pbo_uResendCount
(19) pbo_u4ErrTime
(20) pbo_u2ErrIP_Address
Name
Data type
Execution command
Bit
Module label
Structure
IP address of target
Word [Unsigned]/Bit
device
String [16-bit] (0..1)
Sub command
Word [Unsigned]/Bit
String [16-bit]
o_bENO
:
B
(10)
o_bOK
:
B
(11)
o_bErr
:
B
(12)
o_uErrId
:
UW
(13)
o_uReadData
:
UW
(14)
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.
0.0.0.1 to
Specify the IP address of target device. Specify the
223.255.255.254
third and fourth octets to the 1st word, and first and
second octets to the 2nd word.
1st word
2nd word
0 to 3
Specify the read unit and specification method of a
device.
• 0th bit: Specify whether the device is read in units of
words or in units of bits.
0: In units of words
1: In units of bits
• 1st bit: Specify the combination of the number of
digits of the device code and start device number of
the device to be read.
0: Specify the device code in 2 digits and the start
device number in 6 digits (for MELSEC-Q/L series).
1: Specify the device code in 4 digits and the start
device number in 8 digits (for MELSEC iQ-R
series).
b15
b8
b7
Third octet
Fourth octet
First octet
Second octet
*1
b0

Advertisement

Table of Contents
loading

Table of Contents