Go to Parker.com
  • Sign in
Technologies
  • Aerospace
  • Climate Control
  • Electromechanical Group
  • Filtration
  • Fluid and Gas Handling
  • Hydraulics
  • IoT
  • Pneumatics
  • Process Control
  • Sealing and Shielding
Other Groups
  • Parker Indego
Blogs Forums Knowledge Bases
Parker Community
Parker Community
  • Technologies
    • Aerospace
    • Climate Control
    • Electromechanical Group
    • Filtration
    • Fluid and Gas Handling
    • Hydraulics
    • IoT
    • Pneumatics
    • Process Control
    • Sealing and Shielding
    Other Groups
    • Parker Indego
    Blogs Forums Knowledge Bases
  • User
  • Site
  • Search
  • User
Home Technologies Electromechanical Group Electromechanical - Industrial Electromechanical Industrial Knowledge Base ViX User Variables
Electromechanical - Industrial
  • Technologies
  • Electromechanical Group
  • Electromechanical - Industrial
  • More
  • Cancel
Electromechanical - Industrial
Electromechanical Industrial Knowledge Base ViX User Variables
  • Electromechanical – Industrial Support Forum
  • Electromechanical Industrial Knowledge Base
  • Members
  • Sub Groups
  • More
  • Cancel
  • New
Electromechanical - Industrial requires membership for participation - click to join
  • Electromechanical Knowledge Base & Frequently Asked Questions
  • Motion and Machine Controllers+
  • General Technology Information+
  • Virtual Engineer+
  • Visualization and Human Machine Interface (HMI)+
  • Servo Drives and Servo Drive/Controllers-
    • Aries Drive (Discontinued)+
    • Compax3+
    • Dynaserv (Discontinued)+
    • Gemini (Legacy)+
    • IPA Drive/Controller+
    • P Series+
    • PSD - High Performance Servo Drive+
    • ViX (Legacy)-
      • Analog control of a Vix stepper
      • Can an Intelligent ViX-In be Programmed as a Drive
      • Configuring the ViX-drive
      • DC Brushed Motor with a ViX
      • Does the Vix have software limits?
      • Downloading Programs
      • Easi-V with Windows 7 or Windows 10
      • Homing move not complete
      • How Do I Check encoder position?
      • How to program an intelligent ViX Stepper as a Step & Direction
      • LOADENC and SCALE Commands
      • Running a Rotary Motor with a ViX-xH
      • Sample Program - Move Continuously, Stop on Inputs
      • VIX - RS232 connections
      • VIX Servo: How to Home to a Hard Stop
      • VIX Update Rates
      • ViX User Variables
      • ViX CANopen / RS-485 option
      • ViX Easi-V Error Message: Invalid data read for limits mode
      • ViX Encoder Resolution / Input Frequency
      • ViX Motor files for non-preferred BE windings
      • ViX Tuning
      • ViX servo drive Z channel encoder output
      • ViX-RJ45 RS-232 Daisy-Chain Cables
      • ViX: Connector Part Numbers
      • ViX: ViX Update Rates
      • Vix- Option 1 (MPM) Encoder Hardware Setup
      • Vix-IE with Brushed motor and Encoder
  • Stepper Drives and Stepper Drive/Controller+
  • Gearheads+
  • AC/DC Industrial Drives+
  • Servo Motors+
  • Step Motors+
  • Linear and Rotary Positioners+
  • Electric Cylinders+
  • T-Slot Aluminum Framing+
  • C3 + Xpress + ETH+
  • How can I stay updated on Parker electromechanical and drives product news?
  • Legacy (Discontinued)+
  • Other+
  • Memorandum: Information on EPA ban of Persistent bioaccumulative toxin (PBT)
Wiki Actions
  • Share
  • More
  • Cancel
Community Quick Links
  • Home
  • Technologies
    • Aerospace
      • Supplier Resource Center
    • Climate Control
    • Electromechanical Group
      • Electromechanical - Industrial
      • Electromechanical – Mobile
    • Filtration
    • Fluid and Gas Handling
    • Hydraulics
    • IoT
      • Mobile IoT
    • Pneumatics
      • Pneumatic Industrial
      • Pneumatics Mobile
    • Process Control
    • Sealing and Shielding
  • Other Groups
    • Parker Indego
      • Parker Indego Instructors
      • Parker Indego Therapists
      • Parker Indego Distributors
  • Community Blogs
  • Community Forums
  • Community Knowledge Bases
Follow Us
  • Follow Parker Hannifin on social media

Follow Parker Hannifin on social media:

ViX User Variables

Print Friendly and PDF

Compatibility
The user variables functionality is only available on the ViX models listed below, when used in
combination with firmware version 3.00 or greater:
ViX250IE ViX250IH ViX250IM
ViX500IE ViX500IH ViX500IM
This functionality is not available on ViX base (analog command) and CANopen units.

The ViX user variable functionality permits the user to read and write up to 8 user-defined variables. These variables can be used to perform mathematical operations and also in combination with certain EASI code commands, where they can be used in selected data fields or in evaluation statements.


User variable data can be set directly by the user or control system, via the serial communications port or user program using the VAR command, or indirectly within a program structure by using the VMATH command. User variables may also be used in combination with the ViX system variables.

User variable data is only stored when a save (SV) command is executed. Following a reset or a power cycle, the user variable data will be returned to the values current at the time of the last save command. If no save command is executed prior to a reset, all user variable data will be lost.

Format
The eight user variables are labelled VAR0-VAR7, and are long-integer types with a range from -2,147,483,647 to +2,147,483,647. Binary and real (float) number types are not supported.
Standard mathematical functions of addition, subtraction, multiplication and division are possible. Where the result of an operation gives a non-integer value, the result is not rounded up or down but is simply truncated.
Example
214783647 / 4 = 536870911.75
The answer stored in the User Variable will be 536870911, not 536870912

Sample Program

  • Share
  • History
  • More
  • Cancel
  • Sign in to reply
Related
Follow Us
  • Follow Parker Hannifin on social media

Follow Parker Hannifin on social media:

Parker Hannifin Parker Hannifin

  • Products
  • About Parker
  • Investors
  • Community
  • Careers

Global Operations Global Operations

  • Divisions
  • Sales Companies
  • Worldwide Locations
  • Distribution Network
  • ParkerStore™ Network

Company Information Company Information

  • Newsroom
  • Event Calendar
  • Working with Parker
  • Product Brands
  • History

Global Support Center Global Support Center

  • Support
  • CAD
  • Where to Buy
  • Contact Parker
  • Manage Online Orders
© Parker Hannifin Corp 2023
  • Site Map
  • Safety
  • Privacy Policies
  • Terms and Conditions
  • Community Terms of Use
ENGINEERING YOUR SUCCESS.