PLC Control Word

PLC Control Word Calculator

Build a 16-bit PLC control word by selecting the command bits that should be active. Generate the resulting decimal, hexadecimal and binary control-word values.

16 Command Bits Binary Word Hex Control Word Decimal Value Bit Mask
Build 16-Bit Control Word Bit 0–15
Select the bits required by your PLC, drive or equipment documentation. The calculator does not assign universal command meanings because control-word definitions differ between manufacturers and applications.
PLC Control Word Result
Decimal
Hexadecimal
Binary
Active Bit Count
Low Byte
High Byte
Lowest Active Bit
Highest Active Bit
Selected Control Bits

What Is a PLC Control Word?

A PLC control word is a binary word whose individual bits are used as commands, requests or control states. One 16-bit control word can carry up to sixteen independent Boolean command signals.

The functional meaning of each bit depends on the PLC program, drive, controller or equipment manufacturer. One device may use bit 0 for an enable command while another may assign that function to a completely different bit.

How to Calculate a PLC Control Word

Each active bit contributes its binary positional value to the final integer.

Bit 0 = 1
Bit 1 = 2
Bit 2 = 4
Bit 3 = 8

Bit 15 = 32768

The final control word is the sum of all selected bit masks.

PLC Control Word Example

Suppose bits 0, 1 and 3 need to be active.

Bit 0: 2^0 = 1

Bit 1: 2^1 = 2

Bit 3: 2^3 = 8

Control word: 1 + 2 + 8 = 11

The complete 16-bit representation is:

Decimal: 11

Hex: 000B

Binary: 0000000000001011

PLC Control Bit Values

Bit Decimal Mask Hex Mask
010001
120002
240004
380008
4160010
5320020
6640040
71280080
82560100
95120200
1010240400
1120480800
1240961000
1381922000
14163844000
15327688000

Binary PLC Control Word

The calculator always displays the result as a complete sixteen-bit binary word.

Bit positions: 15 …………….. 0

Control word: 0000000000001011

A 1 means the corresponding command bit has been selected. A 0 means that bit remains clear.

Hexadecimal Control Words

Hexadecimal is frequently used for PLC and industrial control words because four binary bits correspond exactly to one hexadecimal digit.

Binary: 0000000000001011

Hex: 000B

A complete 16-bit control word can therefore be written using only four hexadecimal digits.

Control Word vs Status Word

Control words and status words are related but serve different purposes.

Word Typical Purpose
Control Word Sends commands or requests
Status Word Reports states or conditions

A PLC may send a control word to a drive and then receive a separate status word describing the drive’s current condition.

Why PLC Control Words Are Used

Combining many Boolean commands into one word allows multiple control signals to be transferred or stored efficiently. This is common in PLC communication, industrial drives, motion controllers, field devices and machine-control systems.

A controller can set or clear individual bits according to the command structure defined by the receiving equipment.

Important PLC Control Word Notes

Important: this calculator builds one 16-bit control word.

Bit positions range from 0 through 15.

Bit 0 has decimal mask 1.

Bit 15 has decimal mask 32768.

Selected bits are set to 1.

Unselected bits remain 0.

This calculator does not assume what any PLC command bit means.

Never send a generated control word to equipment without checking the actual manufacturer’s control-word documentation and required operating conditions.

PLC Control Word Calculator FAQs

What does this PLC Control Word Calculator do?
It builds a 16-bit integer control word from the individual bit positions you select.
How many control bits are available?
The calculator provides sixteen bits numbered from 0 through 15.
What is the value of bit 0?
Bit 0 contributes decimal value 1 when selected.
What is the value of bit 15?
Bit 15 contributes decimal value 32768 when selected.
How is the control word calculated?
The decimal masks of all selected bit positions are added together.
Can the calculator show hexadecimal output?
Yes. The result includes a four-digit hexadecimal control word.
Does this calculator know what each PLC control bit means?
No. Control-bit definitions vary by PLC program, drive and equipment manufacturer.
Is a control word the same as a status word?
No. A control word usually sends commands, while a status word normally reports operating conditions.
Can all sixteen bits be enabled?
Yes. Selecting bits 0 through 15 produces hexadecimal FFFF, binary 1111111111111111 and decimal 65535.
Scroll to Top