Topic: DMD0185

Instruction Set for Do-more Controllers

Switch to Categorized List


Instruction Flags - Do-more Designer uses the differently colored triangles in the upper left corner (called class designators) to draw attention to instructions that require special consideration when using them.
 

Box input Leg Labels - Some of the Do-more Designer box instructions have their inputs labeled to help identify the function of that particular input.

 

(F) - Fully Asynchronous Instructions, (M) - Multi-scan Instructions, (Y) - Yielding Instructions

 


ABS - Absolute Value

 

ACOS - Arccosine in Radians

 

ALDEV - Deviation Alarm

 

ALHILO - High/Low Alarm

 

ALRATE - Rate Of Change Alarm

 

ASIN - Arcsine in Radians

 

ATAN - Arctangent in Radians

 

AVGR - Average of a Range of Values

 

BCDTO - BCD To Integer/Real

 

BREAK - Exit Loop

 

CHECKSUM - Checksum Algorithm

 

CLAMP - Limit Range

 

CLOSE - Close Device (F)

 

CNT - Up Counter (M)

 

CNTDN - Down Counter (M)

 

(CONTACT) - Delta

 

(CONTACT) - if Equal

 

(CONTACT) - if Greater Than

 

(CONTACT) - if Greater Than or Equal

 

(CONTACT) - if Less Than

 

(CONTACT) - if Less Than or Equal

 

(CONTACT) - if Not Equal

 

Leading Edge Powerflow Modifier

 

(CONTACT) - Negative Differential (One Shot - Falling)

 

Invert Powerflow

 

(CONTACT) - Normally Closed

 

(CONTACT) - Normally Open

 

(CONTACT) - Positive Differential (One Shot  - Rising)

 

Trailing Edge Powerflow Modifier

 

CONTINUE - Skip to Loop End

 

COS - Cosine of Radian Angle

 

COUNTIF (EQ, GE, GT, LE, LT, NE) - Count If

 

CTAXCFG - CTRIO2 Axis Configuration (F)

 

CTAXDYNP - CTRIO2 Axis Run Dynamic Position Mode (F)
 

CTAXDYNV - CTRIO2 Axis Run Dynamic Velocity Mode (F)

 

CTAXJOG - CTRIO2 Axis Jog Mode (F)

 

CTAXLIMT - CTRIO2 Axis Run Trapezoid w/ Limits (F)
 

CTAXTRAP - CTRIO2 Axis Run Trapezoid (F)

 

CTDYNPOS - CTRIO Run Dynamic Position Mode (F)

 

CTDYNVEL - CTRIO Run Dynamic Velocity Mode (F)

 

CTUPDLVL - CTRIO Update Level (F)

 

CTPLSADD - CTRIO Add Entry to PLS (F)

 

CTPLSEDT - CTRIO Edit PLS Entry (F)

 

CTREGRD - CTRIO Read Register (F)

 

CTREGWR - CTRIO Write Register (F)

 

CTRUNPOS - CTRIO Run Position Mode (F)

 

CTRUNVEL - CTRIO Run Velocity Mode (F)

 

CTTBLADD - CTRIO Add Entry to Preset Table (F)

 

CTTBLCLR - CTRIO Clear Table (F)

 

CTTBLEDT - CTRIO Edit Preset Table Entry (F)

 

CTTBLLD - CTRIO Load Table (F)

 

DATAINFO - Query Information about Data Memory

 

DEADBAND - Deadband

 

DEC - Decrement Value

 

DECO - Decode to Set Bit

 

DEG - Convert Radians to Degrees

 

DEVCLEAR - Clear Device (F)

 

DEVREAD - Read Device Register (F)

 

DEVWRITE - Write Device Register (F)

 

DLRX - DirectLOGIC Network Read (F)

 

DLWX - DirectLOGIC Network Write (F)

 

DRUM - Drum (M)

 

DT2EPOCH - Convert Date/Time to 1970 Epoch

 

DTCMP - Compare Date/Time

 

DTDIFF - Difference between two Date/Times

 

DTOFFSET - Add Offset to Date/Time

 

ENCO - Encode Bit Position

 

END - End Program or Task

 

ENTASK - Enable Task

 

EMAIL - Send Email (M)

 

EPOCH2DT - Convert 1970 Epoch Time to Date/Time

 

EXIT - Exit This Program or Task

 

FILTER - First Order Filter (M)

 

FOR - Index Loop

 

FRAC - Fractional Portion of a Real Number

 

FREQCNT - Frequency Counter (M)

 

FREQTMR - Frequency Timer (M)

 

GOTO - Go To Label (Y)

 

GRAY - Gray Code to Integer

 

HALT - Halt Program or Task

 

HWINFO - Get Hardware Information

 

IF - If / Else Expression

 

INC - Increment Value

 

INIT - Initialize Data

 

INTEGRAT - Integrate Over Time (M)

 

ISCLEAR - Is Structure Cleared

 

JMP - Jump To Stage

 

JMPI - Indexed Jump

 

LABEL - Program Label

 

LERP - Linear Interpolation

 

LN - Natural Log

 

LOG - Log Base 10

 

MAPIO - Map Inputs and Outputs
 

MATH - Calculate Expression

 

MAX - Maximum Between Two Expressions

 

MAXR - Maximum Value Across a Range of Values

 

MEMCLEAR - Clear Memory Range

 

MEMCOPY - Copy Memory Range

 

MOVE - Move Value

 

MOVEBIT - Move Single Bit

 

MOVER - Move Range of Values

 

MIN - Minimum Between Two Expressions

 

MINR - Minimum Value Across a Range of Values

 

 

MRX - Modbus Network Read (F)

 

MWX - Modbus Network Write (F)

 

NETTIME - SNTP Client

 

NEXT - Index By Step (Y)

 

ND - Trailing Edge One Shot

 

NOP - No Operation

 

NOW - Get Date/Time as a 32-bit Integer

 

OFFDTMR - Off Delay Timer (M)

 

ONDTMR - On Delay Timer (M)

 

OPENDEV - Open Device (F)

 

OPENTCP - Open TCP Connection

 

OUT - Output Coil

 

PACKETIN - Input Data from Packet Device (F)

 

PACKETOUT - Output UDP to Packet Device (F)

 

PD - Leading Edge One-Shot

 

PEERLINK - Share Global Data (F)

 

PI - Return PI

 

PID - Closed Loop Controller (M)

 

PIDINIT - Set PID Tuning Constants

 

PONOFF - Push On/Push Off

 

PUBLISH - Translate from Do-more

 

RAD - Convert Degrees to Radians

 

RANDINT - Random Integer

 

RANDREAL - Random Real Number

 

RANDSEED - Random Number Seed

 

RAMPSOAK - Ramp-Soak Profile (M)

 

RD - Read from Intelligent Module (M)

 

REBOOT - Reboot PLC

 

REF - Read Value Indirectly

 

REFWRITE - Write Value Indirectly

 

REPEAT - Loop Until Condition is Non-Zero

 

RESTART - Restart Program or Task

 

ROTL - Rotate Left

 

ROTR - Rotate Right

 

ROUND - Round Real to Nearest Whole Number

 

RST - Reset Coil

 

RSTCT - Reset Counter

 

RSTR - Reset Range

 

RSTT - Reset Timer

 

RUN - Run Program

 

SCALE - Scale Value

 

SEG - Hex/BCD to 7 Segment Display

 

SET - Set Coil

 

SETNUMR - Set Numeric Range

 

SETR - Set Range

 

SETTIME - Set PLC Date/Time

 

SETUPIP - Setup TCP/IP Parameters (M)

 

SETUPNOD - Setup Ethernet Node Parameters (M)

 

SETUPSER - Setup Serial Port

 

SG - Stage

 

SGCONVRG - Converge Multiple Stages to SG

 

SGDIVRG - Jump to Multiple Stages

 

SGRST - Disable Stage

 

SGRSTR - Disable Range of Stages

 

SGSET - Enable Stage

 

SIN - Sine of Radian Angle

 

SLOPE - Calculate Slope (M)

 

SQRT - Square Root

 

SR - Shift Register

 

STDEVPR - Population Standard Deviation of a Range

 

STDEVR - Sample Standard Deviation of a Range

 

STOP - Switch to Program Mode

 

STR2INT - Convert String to Integer

 

STR2REAL - Convert String to Real

 

STRCASE - Convert String to UPPER / Lower Case

 

STRCLEAR - Clear Strings

 

STRCMP - String Compare

 

STRDELETE - Delete Substring

 

STREAMIN - Stream In Data from Device (F)
 

STREAMOUT - Stream Out Data to Device (F)

 

STRFIND - Find Within String

 

STRGETB - Get Bytes Out of a String

 

STRINSERT - Insert Substring
 

STRPRINT - Print to String

 

STRPUTB - Put Bytes Into a String

 

STRSUB - Get Sub-String

 

STRTRIM - Trim Whitespace

 

STRTRUNC - Set String Length

 

SUBSCRIB - Translate to Do-more

 

SUMR - Sum Range of a Range of Values

 

SUMBITS - Sum Bits

 

SUMIF (EQ, GE, GT, LE, LT, NE) - Sum If

 

SUSPEND - Suspend Program or Task

 

SWAPB - Swap Bytes

 

TAN - Tangent of Radian Angle

 

TCPLISTEN - Start Listening on TCP Port (M)

 

TICKms - Get Millisecond System Timer Value

 

TICKus - Get Microsecond System Timer Value

 

NOW - Get Date/Time Stamp as a 32-bit Integer

 

TIMEPROP - Time Proportional Control

 

TMR - Up Timer (M)

 

TMRA - Accumulating Up Timer (M)

 

TMRDOWN - Down Timer (M)

 

TMRADOWN - Accumulating Down Timer (M)

 

TOBCD - Integer/Real to BCD

 

TOINT - Convert to Integer

 

TOREAL - Convert to Real

 

TRUNC - Truncate Real to Whole Number

 

UDC - Up/Down Counter (M)

 

UNTIL - Repeat Until Condition is Non-Zero (Y)

 

WATCHDOG - Force Watchdog Error

 

WEND - While End (Y)

 

WHILE - Loop While Powerflow is True

 

WT - Write to Intelligent Module (M)

 

YIELD - Yield Program or Task

 


Copyright Host Engineering, Inc. ALL RIGHTS RESERVED