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 Send Long ASCII Messages to ViewMarq LED 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=ccIEwMsjbW8&utm_medium=VideoTeamDescription

(VID-VW-0007)

This video covers how to send long ASCII text messages to the ViewMarq LED Messaging display.

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

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


Hide Transcript
View Transcript

For this video, we have this message which is 327 characters long. Well, that's too many characters to fit into this SL data type we used in the previous video. It can only handle 256 characters. So how do we get around that? Normally, a PLC programmer would break this big long string up into shorter strings and use some interlocking logic - or better yet some stage programming -- to send each part sequentially with the final part having that termination character appended to it for the ViewMarq. And that's certainly do-able. But, with the DoMore, there's a much, much easier way. Since the DoMore memory is completely configurable, why not make your own string variable that is long enough? It's so easy, just right click in the project browser, and select memory configuration. Click add memory block, give it a name -- this is our ViewMarq String, so we'll call it VS -- it's a string data type, and we want it to be able to hold let's say about 500 characters. 512 characters. And we'll go ahead and create, oh I dunno, how about four of these. We can change it later if we want to. That's it, we just created a new memory type, that holds strings, characters, and it is long enough to hold our ViewMarq string. It's warning us that this change can't be written to the DoMore right now because it is running. That's ok; we're going to change it in a minute anyway. Why did we choose 512 characters for this memory type? Because it is lange enough to hold our 327 character message, of course. But more importantly, if we go look at the ViewMarq software, we see that the longest message the ViewMarq software can generate is 500 characters. So 512 characters for our new data type is just about perfect. So to send a LONG ASCII message from the DoMore to the ViewMarq, all we have to do is take that simple short message example we used in the previous video, and modify the data type. So here we go. Let's swap out the SL0 with my new VS String. And of course, we need to use our new string, let me go grab that. Back to the ViewMarq software -- here's my big long string which is generating that display. I say copy, come back to my DoMore software, and swap out the string. If I am careful I can preserve the quotes and my termination character. Let's make sure. Ok we got our opening quote, our end quote and our termination character. Perfect. That will be placed into VS0. Then we come down to STREAMOUT and we say we want to Stream out VS0. And we're done! Now we can send the longest messages the ViewMarq can generate with no effort on our part at all. How about that? I would even suggest you create a ViewMarq message type for all of your message strings. That way you never have to worry about how long your string is. Let's go and accept that. Save it and write it out to the PLC. Let's make sure everybody has their status turned on. And let's go ahead and add that ViewMarq string to our data view. And we'll monitor the length too. I have some stuff in here from a previous example, let me go ahead and get rid of that. Let's just put a couple space characters in there. Ok, so my ViewMarq string has blanks in it. Two of them actually, and we are ready to go. So if I reach down to the DoMore and I flip switch X0, it should place this string into VS0. And sure enough it does. You can see the string here and down here in our data view. Here's the string and here's the number of characters we placed into that string. Now if I reach down to my DoMore and I flip switch X7, it should send that string out STREAMOUT to the internal serial port and of course to the ViewMarq. And sure enough it works exactly like that short string example video BUT we didn't have to do any interlocking code or stage programming or anything. It's easy. Well that ought to be enough to get you going. Check out the other videos to learn more about using the DoMore PLC with the ViewMarq LED display. And let us know if you have any questions. Automation Directs customer support is always free and just a phone call or email away. Spend Less. Do More. From Automation Direct.



No data returned!
An error has occurred! Please contact support
Videos Home > BRX Do-more Send Long ASCII Messages to ViewMarq LED 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
„