AutomationDirect
Search
Login | Register
Accounts & Orders
Cart
0
$0.00

Recent Orders

View and Manage | Request Cancellation

Your Account

Account Home

Checkout   $0.00


  • My Orders
  • Product Returns (RMAs)
  • Pay Proforma Invoices
  • Pay Freights
  • Invoices / Invoice Reprint
  • Quotes / Favs / BOMs
  • Packing List Reprint
  • My Product Docs
  • Credit Application
  • Tax Exemption
| Direct Sales in US and Canada | 1-800-633-0405 | About Us | Contact Us | Line Card
Products | Support
| Compare
  
Ordering Tools  
warning Cookies are not enabled on your browser.
Cookies are required for our site. Please enable cookies in your browser preferences to continue.
+
Navigation
+
Shopping Categories
  • Barcode / RFID / Vision
  • Bulk Wire & Cable
  • Cables (Terminated)
  • Circuit Protection / Fuses / Disconnects
  • Communications
  • Drives & Soft Starters
  • Enclosure Thermal Management & Lights
  • Enclosures & Racks
  • Field I/O
  • HMI (Human Machine Interface)
  • Hydraulic Components
  • Motion Control
  • Motor Controls
  • Motors
  • Pneumatic Components
  • Power Products (Electrical)
  • Power Transmission (Mechanical)
  • Process Control & Measurement
  • Programmable Controllers
  • Pushbuttons / Switches / Indicators
  • Relays / Timers
  • Safety
  • Sensors / Encoders
  • Stacklights
  • Structural Frames / Rails
  • Tools & Test Equipment
  • Valves
  • Water (Potable) Components
  • Wiring Solutions
  • Retired Products
+
Learn More
  • Brand Line Card
  • What's New
  • E-newsletter
  • Online PDF Catalog
  • Video Tutorials
  • Company Reviews
  • Learning Library
  • Affordable Training
  • Free Online PLC training
  • Cybersecurity
+
In Depth Product Sites
  • Programmable Logic Controllers
  • Productivity1000 PLCs
  • Productivity2000 PLCs
  • Productivity3000 PLCs
  • ProductivityCODESYS
  • LS Electric XGB Series PLCs
  • ProductivityOpen
  • CLICK PLCs
  • Do-more H2 PLCs or
    Do-more T1H Series
  • Do-more BRX PLCs
  • C-more Touch Panels
  • AC & DC Drives
  • Motion Control Components
  • Servos
  • StrideLinx
  • Pneumatics
+
Product Selectors &
Configuration Utilities
  • PLC Family Selector
  • P1000 PLC Systems
  • P2000 PLC Systems
  • P3000 PLC Systems
  • ProductivityCODESYS
  • CLICK PLC Systems
  • Do-more® BRX PLC Systems
  • LS-Electric® XGB PLC Systems
  • Productivity®Open Systems
  • AC Motors
  • Datalogic® Safety Light Curtains
  • LS-Electric® Servo Systems
  • Nitra® Pneumatic Grippers
  • Object Detection (Sensors)
  • PAL Controller Configurator
  • Precision Gearbox Selector
  • Protos X® Field I/O
  • Quadritalia® Modular Enclosures
  • Stellar® Soft Starters
  • Stepper System Selector
  • SureFrame T-slot Extrusion
  • SureMotion® XYZ Gantry
  • SureServo2® System Selector
  • SureStep® Linear Actuators
  • Timing Belts & Pulleys
  • Werma® Stacklights
  • ZIPLinks

BRX Do-more PLC Read ASCII ViewMarq Status from AutomationDirect


Related Products

H2-DM1
H2-DM1 Thumbnail
H2-DM1E
H2-DM1E Thumbnail
MD4-0112T-1
MD4-0112T-1 Thumbnail
MD4-0124T-1
MD4-0124T-1 Thumbnail
MD4-0212T-1
MD4-0212T-1 Thumbnail
MD4-0224T-1
MD4-0224T-1 Thumbnail
MD4-0412T-1
MD4-0412T-1 Thumbnail
MD4-0424T-1
MD4-0424T-1 Thumbnail
MD-BRK-1
MD-BRK-1 Thumbnail
MD-BRK-2
MD-BRK-2 Thumbnail
MD-COM-COV
MD-COM-COV Thumbnail
MD-PGMSW
MD-PGMSW Thumbnail
MD-PWR-COV
MD-PWR-COV Thumbnail
MD-TERM-SET
MD-TERM-SET Thumbnail
MD-USER-M
MD-USER-M Thumbnail
H2-DM1E-START
H2-DM1E-START Thumbnail
T1H-DM1E
T1H-DM1E Thumbnail
T1H-DM1
T1H-DM1 Thumbnail


To learn more: https://www.automationdirect.com/do-more?utm_source=G0d3cStnc_g&utm_medium=VideoTeamDescription

(VID-VW-0008)

This video shows how to read an ASCII status reply from the ViewMarq LED messaging display.

Online Support Page: https://community.automationdirect.com/s/?utm_source=G0d3cStnc_g&utm_medium=VideoTeamDescription

**Please check our website for our most up-to-date product pricing and availability.


Hide Transcript
View Transcript

Suppose you want to know if the ASCII message got to the ViewMarq ok. No problem. Just make sure the "ASCII Reply" option is enabled here in the LED Display Configuration. That's this checkbox right here. That's it. Ours is already setup, so we just close it out. When you create your message, make sure you create that message with an ID that is not zero. Remember, zero is a broadcast message. Back in the DoMore software we simply add a STREAMIN instruction to our code. This is the simple ASCII message example we did in a previous video where we just format the message here and we send it out the serial port here. To read the response back from the ViewMarq, all we do is add a STREAMIN instruction. We want to read from the internal serial port, and we'll read characters until we fill up our buffer or we get that single carriage return the ViewMarq is going to send back to mark the end of the message. And let's go ahead and put that result into a string long 10. How about that? That's all there is to it. Let's enable this instruction with switch X1. Now while I am using an edge triggered contact here, I really didn't need to because this instruction is already edge triggered. So again, all we are doing is formatting the string, making sure the ID is not zero, sending that string out the serial port, and then reading the serial port to see what the reply from the ViewMarq is. Let's go ahead and accept our changes, save it, write it out to the PLC. Let's turn on the status for everybody so we can see what is going on. So I'm going to reach down and toggle X0 on this processor ... that created the message for us. You can see that message appeared in String Long zero right here and that it's length was 234 characters. Let's go ahead and add our string long 10 for the result right here. And let's go ahead and add our length too. So now that we have formatted our string and placed it in String Long zero, I'm going to toggle X7 to send that message down to the ViewMarq. So now I just reach down to the DoMore and toggle X1 and sure enough we got a message back from the ViewMarq saying everything was ok and it was three characters long. Now we know the message was successfully received by the ViewMarq. The key points here are: send the message to a single ID, not the broadcast ID of zero, and make sure the ASCII reply is configured in the ViewMarq. That ought to be enough to get you going. Check out the other videos for doing the same thing using Modbus and other advanced features. Let us know if you have any questions. Automation Direct Customer Support is always free and just a phone call or e-mail away. Spend Less Do More With Automation Direct.



No data returned!
An error has occurred! Please contact support
Videos Home > BRX Do-more PLC Read ASCII ViewMarq Status from AutomationDirect
Contact, Connect & More
Sign Up
to receive:
FREE e-Newsletter
sign up today!
Connect With Us
Social Media Channels:
linkedin    facebook    x    instagram    youtube
Company Information
About Us
Brand Line Card
System Integrator Program
International Sales
Panel Builder Program
Site Help
Company Reviews
Download Price List
Contact Us
Contact Options
1-800-633-0405
Monday - Friday
9 a.m. - 6 p.m. ET
excluding holidays
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 Automation
Free Online PLC Training
FREE Video Tutorials
Information & News
What's New / In The News
FREE e-Newsletter
Automation Notebook
Product Literature
White Papers
News, Product and Training Bulletins
E-Books
Shop with confidence
Checked   Safe & Secure
payment methods


We accept VISA, MasterCard, Discover, American Express, PayPal or company purchase orders.
AutomationDirect

BBB Accredited

Voted #1 mid-sized employer in Atlanta
Check out our job openings

Copyright © 1999-2025 AutomationDirect.  ALL RIGHTS RESERVED.
Site Map     Send Us your Feedback     Unsubscribe     Email Preferences     Legal & Business Policies     YouTube Terms of Service
Clear login credentials



Back to Top


spinner Updating...
Info
„