delta plc programming | Delta plc starting| Wpl soft programming | plc starting
ฝัง
- เผยแพร่เมื่อ 16 ก.ย. 2024
- #deltaplcprogramming
#DeltaplcApi
#Wplsoftprogramming
#Mcinstruction
#Mcrinstruction #plc #mc #mcr
In this video We tried to cover information about api used in delta plc programming.
In Delta PLC programming, "SET" (SET Coil), "RESET" (RESET Coil), "MCR" (Master Control Relay), and "MCR" (Master Control Reset) are commonly used instructions for controlling the state of relays and implementing latch and unlatch logic. Here's a brief explanation of each:
SET Coil (SET):
Purpose: The "SET" instruction is used to turn ON or set a relay coil. Once the "SET" instruction is executed, the associated relay remains ON until a "RESET" instruction is encountered.
Syntax:
plaintext
Copy code
SET Relay_Coil
RESET Coil (RST or RESET):
Purpose: The "RESET" instruction is used to turn OFF or reset a relay coil that was previously set by a "SET" instruction. It de-energizes the relay coil.
Syntax:
plaintext
Copy code
RESET Relay_Coil
or
plaintext
Copy code
RST Relay_Coil
Master Control Relay (MCR):
Purpose: The "MCR" instruction is a special relay used as a master control. It allows or prevents the execution of a set of instructions based on its state. If the "MCR" is ON, the associated set of instructions is allowed to execute; if it is OFF, the associated instructions are bypassed.
Syntax:
plaintext
Copy code
MCR Master_Control_Relay
Master Control Reset (MCR):
Purpose: The "MCR" (Master Control Reset) instruction is used to reset the master control relay. When the "MCR" reset instruction is encountered, the master control relay is turned OFF, preventing the execution of the associated set of instructions.
Syntax:
plaintext
Copy code
MCR Master_Control_Relay
Example:
Let's say you want to control a motor with a start button (I:1/0) and a stop button (I:1/1) using SET, RESET, MCR, and MCR instructions:
plaintext
Copy code
SET MCR M1 ; Set Master Control Relay M1
MCR M1 ; Execute instructions only if MCR M1 is ON
SET Q1 ; Start the motor (assuming Q1 is the motor output)
RST M1 ; Reset Master Control Relay M1 when the motor is stopped
In this example, the motor will start when the "SET MCR M1" instruction is encountered and will continue running as long as the "MCR M1" is ON. The "RST M1" instruction is used to stop the motor and reset the master control relay.
Place to get the software wpl sof
• delta plc software dow...