M+Fx5Cclief_Devicewrite - 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

No.
Variable name
Name
(3)
i_u2TargetAddress
Target station address
(4)
i_uDataLength
Write data length
(5)
i_uWriteData
Write data storage
device
(6)
i_s32TargetDevice
Target station write
device
(7)
i_uChannel
Own station channel
■Output label
No.
Variable name
Name
(8)
o_bENO
Execution status
(9)
o_bOK
Normal completion
(10)
o_bErr
Error completion
(11)
o_uErrId
Error code
■Public label
No.
Variable name
Name
(12)
pbi_uCPU_Type
Target station CPU
type
Data type
Range
Word [unsigned]
Word [unsigned]
1 to 960
Word [unsigned]
Character string
Word [unsigned]
1, 2
Data type
Default value
Bit
OFF
Bit
OFF
Bit
OFF
Word [unsigned]
0
Data type
Default value
Word [unsigned]
0000H, 03D0H to
03D3H, 03E0H to
03E3H, 03FFH
Description
Specify the network number and station number for the
target station. To specify with a label, use an array for
the data type.
■When "target station specification method" is set to 0
to specify a station number
b15
1st word
Network number: 1 to 239
2nd word
Station number
Station number of Ethernet or CC-Link IE Controller
Network
• 1 to 120
Station number of CC-Link IE Field Network
• 125: Master station
• 126: Master operating station
• 1 to 120: Local station, remote device station,
intelligent device station, submaster station
■When "target station specification method" is set to 1
to specify a group
b15
1st word
Network number: 1 to 239
2nd word
Transient transmission group number: 1 to 32
■When "target station specification method" is set to 2
to specify all stations
b15
1st word
Network number: 1 to 239
2nd word
0 (The set value is ignored.)
Specify the number of words to be written.
• When reading data from RCPU, QCPU, LCPU, or
FX5CPU: 1 to 960
• When reading data from QnACPU: 1 to 480
Specify the head device of own station containing the
write data.
Specify the head device of the target station to which
data is to be written.
Refer to the MELSEC iQ-F FX5 User's Manual (CC-
Link IE) for details on specifying the device.
Specify the channel to be used by own station.
Description
ON: The execution command is ON.
OFF: The execution command is OFF.
When this label is ON, it indicates that the device has
been written in correctly.
When this label is ON, it indicates that an error has
occurred in the FB.
The error code that occurred in the FB is stored.
Description
Specify the CPU type of the target station.
• 0000H: To CPU of target station (control CPU)
• 03D0H: To control system CPU
• 03D1H: To standby CPU
• 03D2H: To system A CPU
• 03D3H: To system B CPU
• 03E0H: To multiple CPU No. 1
• 03E1H: To multiple CPU No. 2
• 03E2H: To multiple CPU No. 3
• 03E3H: To multiple CPU No. 4
• 03FFH: To CPU of target station (control CPU)
3 CC-LINK IE FIELD NETWORK MODULE FB

3.2 M+FX5CCLIEF_DeviceWrite

b0
3
b0
b0
29

Advertisement

Table of Contents
loading

Table of Contents