Download Print this page

Setting Devices (Excluding Annunciator) - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Setting devices (excluding annunciator)

SET
The status of the device specified by (d) changes as follows when the execution command turns ON.
• Bit device: Turns the coils and contacts ON.
• Bit specification of word device: Set the specified bit to 1.
Ladder diagram
(d)
FBD/LD
EN
ENO
d
Setting data
■Descriptions, ranges, and data types
Operand
Remarks
(d)
Bit device number/ Bit specification of word device to be
set (turns ON)
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
*1
(d)
*1 When using F, refer to Page 125.
*2 T, ST, C cannot be used.
*3 Only the FX5 intelligent function module can be used.
Processing details
• The status of the specified device changes as follows when the execution command turns ON.
Device
Bit devices
Bit specification of word device
• A device that is turned ON is held on even if the execution command turns OFF. Devices that are turned ON by the SET
instruction can be turned OFF by the RST instruction.
X5
SET
X7
RST
• When the execution command is OFF, the device status does not change.
Word
T, ST, C, D, W,
U\G
SD, SW, R
*2
*3
Device status
Turns coils and contacts ON.
Sets the specified bit to 1.
ON
X5 OFF
Y10
Y10
X7 OFF
Y10 OFF
Structured text
ENO:=SET(EN,d);
Range
Data type
Bit
Bit
Bit
Double word Indirect
specification
Z
LC
LZ
ON
ON
Data type (label)
ANY_BOOL
BOOL
BOOL
Constant
Others
(DY)
K, H
E
$
6 SEQUENCE INSTRUCTIONS
6.3 Output Instructions
6
121

Hide quick links:

Advertisement

loading