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

Recent Orders

View and Manage | Request Cancellation
Loading Order History
Loading...Loading...

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.
ADC will be closed Friday, July 4th, to celebrate Independence Day. Orders placed after cut-off times on Thursday will be processed and shipped on Monday, July 7th.
+
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
  • 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

Variable Export & Import - LS Electric XGB PLC from AutomationDirect



- To learn more: https://www.automationdirect.com/ls-electric-plc?utm_source=jhZFJR-aBIM&utm_medium=VideoTeamDescription

(VID-XG-0080)

LS XGB Help File Video: LP103-3

XG5000 V4.77 2024-06-28

To view the LS XGB Help File please visit: https://cdn.automationdirect.com/static/helpfiles/ls_plc/Content/Home.htm

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

Related AutomationDirect.com Part Numbers: N/A


Hide Transcript
View Transcript

the xg5000 software uses variables to allocate and utilize its internal memory while the software spreadsheet style variable table has several excellent functions to easily create and edit variables sometimes more is needed often we need to batch create edit or reuse hundreds or even thousands of these variables in one or multiple projects this is where the variable export and import utility is very helpful in our project we have created a few test variables and we have a long list of IO variables created by the software for some of our analog and Specialty modules at the bottom of the table we have created one variable that will need to be copied many times but with slight numbering modifications now that we have the basic structure of our variables created we can export this variable database to do this we will rightclick anywhere in the global variable window and select export into text file this will open a pop-up window where we can select an export location it will export as a CSV file we can perform the same export on the direct variable comment tab as well as the local variables window if we open the global or the local variable CSV file we will see the same columns that are visible in the software we can edit any of these fields so let's create several new variables using excel's click and drag copy feature it allows us to create two variables in a sequence and let Excel predict the next name in the sequence correct spelling punctuation and syntax are extremely important when editing the variable file let's create a variable named test 10 that list the direct variable percent iix 0.0.1 in the address column but we will put word into the type column when we attempt to import the software will give us an import error this is because the direct variable percent 0.0.1 can only be a Boolean data type the software import error will give us some indication of what is wrong with our CSV file to allow us to diagnose and fix the issue once we have a valid file with any modifications we need to make it will import with no errors and if we look at the global variables tab we can see that new Global variable have been created in the software and are ready to use it is also important to take care when editing the pre-made Global variables associated with our analog or specialty IO incorrect changes to these values can lead to unexpected behavior from the PLC but may not be caught during the import process if we open the direct variable comment CSV file the only columns present are the direct variable and its comment we can create direct variable comments in the same way we created Global or local variables because comments are not vital to plc function if we create a direct variable comment file with invalid address numbering the PLC will ignore the additional entries and add only the valid entries but it will not give a warning or error to indicate this variable functionality also factors in if for example we have a 16 input CPU there is no point in commenting on Direct variable address percent 0.0.6 or higher only percent 0.0.0 to15 will ever be tied to an actual CPU Point since the percent I X 0.0 doxxx range is reserved for CPU inputs only the comments will be included in the program but will only serve to confuse the programmer on which variables are being used



No data returned!
An error has occurred! Please contact support
Videos Home > Variable Export & Import - LS Electric XGB PLC 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