Setting Devices - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Motion module instructions, standard functions/ function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Setting devices

SET
This instruction turns on the specified bit.
ST
ENO:=SET(EN,d);
■Execution condition
Instruction
SET
Setting data
■Description, range, data type
Operand
Description
(d)
Set target bit device number or bit specification of word device
EN
Execution condition
ENO
Execution result
■Applicable devices/labels
Operand
Bit
SB
(d)
Processing details
• This instruction changes the device status as follows when the execution command turns on.
Device
Bit device
Bit-specified word device
• The device that has been turned on remains on even after the execution command turns off. The device that has been
turned on can be turned off by using the RST instruction.
[Label definitions]
Label name
EN_Label_1
EN_Label_2
ValueOut_Label
ENO_Label
[Program]
ENO_Label := SET(EN_Label_1,ValueOut_Label);
ENO_Label := RST(EN_Label_2,ValueOut_Label);
[Timing chart]
EN_Label_1
OFF
EN_Label_2
OFF
ValueOut_Label
OFF
• When the execution command is off, the device status does not change.
5 SEQUENCE INSTRUCTIONS
56
5.1 Output Instructions
Execution condition
RX, RY, LB
Data type
Bit
Bit
Bit
Bit
ON
ON
ON
Range
Word
SW
G, RWw, RWr, LW
Status
Turns on the coil or contact.
Sets the specified bit to 1.
Class
VAR
VAR
VAR
VAR
Data type
ANY_BOOL
BOOL
BOOL
Constant
K, H

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents