This version of Internet Explorer is no longer supported by Microsoft, and some features of our store may no longer be supported by this version of IE.

Please upgrade or use a different browser.

Please upgrade or use a different browser.

$0.00
0

Direct Sales in US and Canada | 1-800-633-0405

Cookies are required for our site. Please enable cookies in your browser preferences to continue.

Shopping Categories

- Cables
- Circuit Protection / Fuses / Disconnects
- Communications
- Drives & Soft Starters
- Enclosures / Subpanels / Thermal Management / Lighting
- Field I/O
- HMI (Human Machine Interface)
- Industrial Monitors
- Manuals
- Motion Control
- Motor Controls
- Motors
- PC-based Control
- Pneumatic Components
- Power Products (Electrical)
- Power Transmission (Mechanical)
- Process Control & Measurement
- Programmable Controllers
- Pushbuttons / Switches / Indicators
- Relays / Timers
- Safety
- Sensors / Encoders
- Software Products
- Stacklights
- Terminal Blocks
- Tools & Test Equipment
- Water (Potable) Components
- Wiring Solutions
- Remanufactured Products
- Retired Products

Learn More

- A to Z Product Index
- What's New
- E-newsletter
- Online PDF Catalog
- Order Catalog On USB
- Download Price List
- Video Tutorials
- Company Reviews
- Job Opportunities
- Product Application Stories
- Learning Library
- Affordable Training
- Free Online PLC training
- Find an authorized integrator
- Track Your Order
- Pay Open Invoices
- Product Comparison Feature - How To Video

In Depth Product Sites

Product Selectors &

Configuration Utilities

Configuration Utilities

Related Products

BX-DM1E-M-D

BX-DM1E-M

BX-DM1-10AR-D

BX-DM1-10ER-D

BX-DM1-10ED1-D

BX-DM1-10ED2-D

BX-DM1E-10AR3-D

BX-DM1E-10ER3-D

BX-DM1E-10ED13-D

BX-DM1E-10ED23-D

BX-RTB10

BX-RTB10-1

BX-RTB10-2

BX-DM1-18ER-D

BX-DM1-18ED2-D

BX-DM1-18ED1-D

BX-DM1E-18ER3-D

BX-DM1E-18ED23-D

BX-DM1E-18ED13-D

BX-DM1-18AR

BX-DM1-18ER

BX-DM1-18ED2

BX-DM1-18ED1

BX-DM1E-18AR3

BX-DM1E-18ER3

BX-DM1E-18ED23

BX-DM1E-18ED13

BX-RTB18

BX-RTB18-1

BX-RTB03

BX-RTB03-1

BX-RTB05

BX-RTB05-1

BX-RTB05-2

BX-RTB06

BX-RTB06-1

BX-DM1-36ER-D

BX-DM1-36ED2-D

BX-DM1-36ED1-D

BX-DM1E-36ER3-D

BX-DM1E-36ED23-D

BX-DM1E-36ED13-D

BX-DM1-36ER

BX-DM1-36AR

BX-DM1-36ED2

BX-DM1-36ED1

BX-DM1E-36ER3

BX-DM1E-36AR3

BX-DM1E-36ED23

BX-DM1E-36ED13

BX-RTB36

BX-RTB36-1

BX-P-SER2-RJ12

BX-P-SER2-TERM

BX-P-SER4-TERM

BX-P-USB-B

BX-P-ECOMLT

BX-RTB03S

BX-08ND3

BX-12ND3

BX-16ND3

BX-08NF3

BX-08TD1

BX-08TD2

BX-12TD1

BX-12TD2

BX-16TD1

BX-16TD2

BX-08CD3R

BX-12CD3D1

BX-12CD3D2

BX-16CD3D1

BX-16CD3D2

BX-RTB08

BX-RTB08-1

BX-RTB08-2

BX-08NB

BX-12NB

BX-16NB

BX-08NA

BX-12NA

BX-16NA

BX-08TA

BX-12TA

BX-08TR

BX-12TR

BX-16TR

BX-05TRS

BX-08AD-1

BX-08AD-2B

BX-08DA-1

BX-08DA-2B

BX-04THM

BX-PGM-CBL

BX-DM1-START

BX-DM1E-START

H2-DM1

H2-DM1E

H2-DM1E-START

T1H-DM1E

T1H-DM1

T1H-CTRIO

T1H-08TDS

DM-PGMSW

(VID-DM-0006)

How to use the Do-more PLC and Do-more Designer Software in a Directlogic PLC System

Live demo showing you how to use the Math instruction with ladder logic and PLC programming on the Do-more PLC.

Hide Transcript

View Transcript

The Math functionality of the DoMore is fantastic and the best part is it’s easy. If you can create a formula in a spreadsheet then you can use the math function in DoMore designer. To do some simple math just type MATH, place the destination here - We’ll make that register D0, and put your math expression here. We’re going to add memory location V12 plus V27. That’s it. So V12 plus V27 will end up in D0. Let’s try that. We’ll accept that, write It to the PLC, and here we go. The status is on for the Dataview, so if I put a 10 in V12 and a 20 in V 27, and I write those out to the PLC, there they are, then D0 should get the result of those when I turn contact C0 on. And sure enough it does. You can use indexing in math expressions like this. Let’s have D indexed by memory location V12, and we’ll add that to D2. So what that says, is if V12 is a zero, then this will add D0 and D2. If V12 is a 2, then it will add D2 plus D2. The index in a math function can be an expression itself. For example, let’s index D memory based on 7 plus the standard deviation of a range of numbers starting at R8 and going out 10 memory locations. Close that out, the dots are green, we’re ready to go. So if this Standard deviation plus 7 comes out to be a three, then we’re going to take the contents of D3 and place them in D2. So again, the index can be just about any math function you can type in here. What if you can’t remember how to type the formula like the standard deviation right here? We’ll that’s easy. You click on the question mark, it takes you right to the Help File. If you scroll down, three’s a handy chart right here that shows you all of the possible operators, and all of your functions. Your common functions, real functions, trig functions, scientific functions, and conditional functions. You can count if something is not equal to something. You can sum things, get time, and this reminds you of the indexing functions. Note that the DoMore Designer checks your formulas for you as you write them. For example, if I intentionally leave out a parenthesis right here, the dot in the upper right corner turned red and then the dot on the line where the occurred also turned red. And then when I fix that, the dot turns green and tells me I am ready to go. You can have a Bit sized object like a contact receive the result of a real operation. For example – if I take the square root of D0 times D0 plus D1 times D1. So now, anytime the result of the expression you put here is zero, the contact turns off. If the result of the expression is non-zero, the contact turns on. Because the MATH function has all of these Boolean operators you can use, you can actually use the math instruction to replace a rung of ladder. So you can say if D0 is less than the contents of D3, and the contents of V12 is less than the contents of V24, then we could turn on Y7. So this MATH expression is identical to this rung of ladder code. If D0 is less than D3 and V12 is less than V24 then turn on Y7. It’s personal preference on what you prefer, they both do the same job. We could go on and on, but you get the idea - The beauty of the Math instruction – is it just works and itworks exactly the way you would expect it to. And with it’s huge library of functions and ease of use … well … it really sets the DoMore apart other PLCs. Be sure to check out the other videos in this series for more ways to get up and running quickly with the DoMore PLC. Spend Less. Do More. From Automation Direct.

No data returned!

An error has occurred! Please contact support

Videos Home >
Do-more PLC - How to Use the MATH Instruction with Do-more Designer

Company Information

Career Opportunities

Voted
#1 mid-sized employer in Atlanta

We're a great place to work!Check out our job openings

Need Training?

Affordable
Training by Interconnecting AutomationFree Online PLC Training

FREE Video Tutorials

Information & News

AutomationDirect
in the NewsFREE e-Newsletter

What's New

Product Pointers

Automation Notebook

Product Literature

White Papers

News, Product and Training Bulletins

Magazine Advertisements

Shop with confidence

Safe &
Secure
We accept VISA, MasterCard, Discover, American Express, PayPal or company purchase orders.

Voted #1 mid-sized employer in Atlanta

Check out our
job openings

Updating...