EasyManua.ls Logo

Cutler-Hammer D50 - Bit Conversion Instructions

Cutler-Hammer D50
228 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
54 D50 PLC User's Manual
Bit Conversion Instructions
Mnemonic Command Byte Word Description
BSET Bit Set
BSET
D =
N =
Set Nth bit of D to 1.
D ...... 01111100
N=5 1
BRST Bit Reset
BRST
D =
N =
Reset Nth bit of D to 0.
D ...... 01010100
N=3 0
BNOT Bit Not
BNOT
D =
N =
Reverse state of Nth bit of D.
D ...... 01110100
N=4
D ...... 01100100
BTST Bit Test
BTST
D =
N =
Set carry bit F1.8 to the state of the
Nth bit of D.
D ...... 01110100
N=6
F1.8
SUM Sum
SUM
D =
S =
Store the number of bits in S that are
1 in D.
S $00 01110100 4 ON(=1)s
D 0..0 00000100 D=4
SC Set Carry
SC
Set carry bit (F1.8) to 1.
1 F1.8
RC Reset Carry
RC
Reset carry bit (F1.8) to 0.
0 F1.8
CC Complement Carry
CC
Reverse carry bit (F1.8).
10
01
F1.8
F1.8
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Related product manuals