Monthly Archives: July 2022


Sequential Flow Chart (SFC)

Introduction to the ControlLogix Sequential Flow Chart (SFC) The ControlLogix Sequential Flow Chart (SFC) routines allow you to graphically see the flow of your logic. In order to use the Sequential Flow Chart (SFC), you need to have a proper license in Studio 5000. In this section, we’ll take a Read More »

Sequential Flow Chart (SFC)

ControlLogix D Flip Flop

Introduction to the ControlLogix D Flip Flop (DFF) The ControlLogix D Flip Flop (DFF) Instruction simply samples the input. If the input is true when the clock signal goes high, the Q output comes on, and stays on. On the other hand, if the input is low when we clock Read More »

ControlLogix DFF Instruction

Structured Text Compare Statements

Introduction to ControlLogix Structured Text Compare Statements The ControlLogix Structured Text Compare Statements work a bit differently than the compare statements of ladder logic and function blocks. In Structured Text, the compare statements are similar to what you see in other standard programming languages. Basically, we can test a value Read More »

ControlLogix Structured Text

ControlLogix Structured Text Functions

Introduction to ControlLogix Structured Text Functions ControlLogix Structured Text Functions allow us to perform the same calculations several times through a processor scan. For example, we might want to convert Celsius to Fahrenheit. We simply create another routine that acts as our function. After that, we can pass and receive Read More »

Structured Text JSR Instruction

Kenbak-1 SKIP Instruction 2

Introduction to the Kenbak-1 SKIP Instruction The Kenbak-1 SKIP Instruction allows us to skip an instruction in memory. We base this on a certain bit at a memory cell being high or low. Let’s say we only want to display odd numbers. If bit zero is high on the value Read More »

Kenbak-1 SKIP instruction

Kenbak-1 SET Instruction

Introduction to the Kenbak-1 SET Instruction The Kenbak-1 SET Instruction allows us to turn a bit on, or shut a bit off within a byte. This is a two byte instruction. The first byte contains the instruction. The second byte contains the address to be operated on. For this exercise, Read More »

Kenbak Emulator

Kenbak-1 Shift and Rotate Instructions

Introduction to Kenbak-1 Shift and Rotate Instructions Kenbak-1 Shift and Rotate Instructions allow us to manipulate data at a memory location by moving bits around within a byte. Specifically, the “A” or “B” Register. This is a 1-byte instruction. Not only is this good for cosmetic appearance of your project, Read More »

Kenbakuino

Kenbak-1 Overflow and Carry Registers

Introduction to Kenbak-1 Overflow and Carry Registers Kenbak-1 Overflow and Carry Registers will tell us when a math instructions results in a value that is out of range. In this post, we’ll discuss all values in OCTAL. Keep in mind the Kenbak-1 always thinks in BINARY. At the same time, Read More »

Kenbak-1 overflow and carry

Kenbak-1 Jump and Mark (JMD)

Introduction to the Kenbak-1 Jump and Mark (JMD) Instruction The Kenbak-1 Jump and Mark (JMD) allows us to create “Subroutines” that we can use over and over again. Generally, we can use this for delay loops, common math conversions, or anything else we need to do more than once in Read More »

Kenbak-1 JPD Instruction

Kenbak-1 Basic Commands (OPCODES)

Introduction to Kenbak-1 Basic Commands (OPCODES) Kenbak-1 Basic Commands (OPCODES) allow us to program the Kenbak-1 using “Machine Codes”. The Kenbak-1 is considered to be the very first Personal Computer from 1971! Basically, we’ll only cover the most common commands in this post. In another post, we’ll get into some Read More »

Kenbak-1 Programming Reference TOP