Mitsubishi Electric MELSEC iQ-F Reference page 22

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

Advertisement

No.
Variable name
(5)
i_uDeviceCode
(6)
i_u2DeviceNo
(7)
i_uDevicePoints
(8)
i_uWriteData
(9)
i_uChannel
(10)
i_uTarget_Port_No
*1 It can be specified when the target device for writing is MELSEC iQ-R Series. It cannot be specified when the target device for writing is
MELSEC Q/L Series or MELSEC iQ-F Series.
*2 The allowable range is 1 to 3584 when the target device for writing is MELSEC iQ-F Series.
2 FX5 ETHERNET FB
20
2.6 M+FX5UCPU-EN_SLMP_DeviceWrite_IP
Name
Data type
Device code
Word [Unsigned]/Bit
String [16-bit]
Head device No.
Word [Unsigned]/Bit
String [16-bit] (0..1)
Number of device
Word [Unsigned]/Bit
points
String [16-bit]
Write data storage
Word [Unsigned]/Bit
destination
String [16-bit]
Own station channel
Word [Unsigned]/Bit
String [16-bit]
Destination port
Word [Unsigned]/Bit
number
String [16-bit]
Range
Description
Specify the device code of the device to be written in
binary code.
• When the 1st bit of the subcommand is 0: 2 digits
• When the 1st bit of the subcommand is 1: 4 digits
Specify the start device number of the device to be
written in binary code.
• When the 1st bit of the subcommand is 0: 6 digits
• When the 1st bit of the subcommand is 1: 8 digits
1 to 960, 1 to 3972
Specify the number of device points of the device to be
written in binary code.
• When the 1st bit of the subcommand is 1: 0 to 960
digits
• When the 1st bit of the subcommand is 1: 1 to 3972
*2
digits
Specify the start device number of the device for storing
the write data.
• When the 0th bit of the subcommand is 0, the device
data is written in units of words.
Example: When writing the bit device M100 to M115
(one word) in units of words
1st word
b15
1
0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0
M115
Example: When writing the word device D0 to D2 in
units of words
1st word
b15
1
2nd word
b15
0
3rd word
b15
1
• When the 0th bit of the subcommand is 1, the device
data is written in units of bits.
Example: When writing the bit device M100 to M107 in
units of bits
1st word
b15
0
M102
2nd word
b15
1
M106
1
Specify the channel to be used by own station.
1 to 65534
Specify the UDP port number of target device.
b8 b7
b0
2
3
4
M100
b8
b7
b0
2
3
4
D0
b8
b7
b0
0
0
2
D1
b8
b7
b0
D
E
F
D2
b8 b7
b0
1
0
0
M103
M100
M101
b8 b7
b0
1
0
0
M107
M104
M105

Advertisement

Table of Contents
loading

Table of Contents