Home>Article> What is the instruction used to drive the coil

What is the instruction used to drive the coil

WBOY
WBOY Original
2022-08-17 11:58:45 7024browse

The instruction used to drive the coil is the "OUT" instruction; the "OUT" instruction is the instruction to drive the coil for the output relay, auxiliary relay, status, timer, and counter. Use the "OUT" instruction to write the soft component , execute "ON/OFF" according to the status of the driver's electric shock, and the parallel OUT command can be used continuously multiple times.

What is the instruction used to drive the coil

The operating environment of this tutorial: Windows 10 system, DELL G3 computer.

What is the command used to drive the coil

The command used to drive the coil is the OUT command

The OUT command is for the output relay (Y) , auxiliary relay (M), status (S), timer (T), counter (C) to perform coil driving instructions.

Command format

What is the instruction used to drive the coil

Object device

What is the instruction used to drive the coil

Function and action description

When using bit software

The device written with the OUT instruction executes ON/OFF according to the state of the drive contact.

The parallel OUT command can be used continuously multiple times.

In the following program example, OUT M101 following OUT M100 has this meaning.

However, when using multiple OUT instructions for the same device number, it will become double output (double coil), please note.

What is the instruction used to drive the coil

For more related knowledge, please visit theFAQcolumn!

The above is the detailed content of What is the instruction used to drive the coil. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn