Mitsubishi Electric MELSEC iQ-F Reference page 21

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

Advertisement

2.6
M+FX5UCPU-EN_SLMP_DeviceWrite_IP
Name
M+FX5UCPU-EN_SLMP_DeviceWrite_IP
Overview
Item
Description
Overview
Writes data to the target device by specifying IP address.
Symbol
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
Labels
■Input label
No.
Variable name
Name
(1)
i_bEN
Execution command
(2)
i_stModule
Module label
(3)
i_u2IP_Address
IP address of target
device
(4)
i_uSubCommand
Sub command
M+FX5UCPU-EN_SLMP_DeviceWrite_IP
B
:
i_bEN
DUT
:
i_stModule
UW
:
i_u2IP_Address
:
UW i_uSubCommand
UW i_uDeviceCode
:
UW i_u2DeviceNo
:
UW i_uDevicePoints
:
UW i_uWriteData
:
UW i_uChannel
:
UW i_uTarget_Port_No
:
(15) pbi_uRequestModuleIO
(16) pbi_uResendCountMax
(17) pbi_uMonitorTime
(18) pbo_uResendCount
(19) pbo_u4ErrTime
(20) pbo_u2ErrIP_Address
Data type
Bit
Structure
Word [Unsigned]/Bit
String [16-bit] (0..1)
Word [Unsigned]/Bit
String [16-bit]
o_bENO
:
B
(11)
o_bOK
:
B
(12)
o_bErr
:
B
(13)
o_uErrId
:
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.
b15
1st word
2nd word
0 to 3
Specify the write unit and specification method of a
device.
• 0th bit: Specify whether the device is written 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 written.
0: Specify the device code in 2 digits and the start
device number in 6 digits.
1: Specify the device code in 4 digits and the start
device number in 8 digits.
2.6 M+FX5UCPU-EN_SLMP_DeviceWrite_IP
b8
b7
b0
Third octet
Fourth octet
First octet
Second octet
*1
2 FX5 ETHERNET FB
2
19

Advertisement

Table of Contents
loading

Table of Contents