
- Introduction
- Tutorial videos
- Getting started with myDESIGNER
- Checking project
- Projects’ visual appearance
- GUI/HMI Editor
- Creating views
- Selecting objects
- Drawing primitives
- Creating text elements
- Inserting images
- Poly-lines
- Moving objects
- Resizing objects
- Rotating objects
- Skewing objects
- Filleting
- Combining objects
- Fill and stroke
- Rulers and guides
- Layers
- Copying and pasting elements
- Object's order
- Grouping
- Repeated actions mode
- View scripting
- Used tags
- Zooming on zone
- Undo and redo
- View properties
- Components
- Components library
- Active area
- Layout views
- Entering tags and math expressions
- Tree tags database
- Formatting numerical values
- Linking views with PLC
- Time Sequence
- Open command
- Write/Set command
- Scaling set values
- Key shortcuts
- On touch
- Parametric views
- View scripts
- Using script in views
- Equations in view script using parameters
- Declaring variables
- Script writing
- Using variables in animations and effects
- Debugging view scripts
- Using debug screen on your view
- Using web browsers integrated debugger
- Using JavaScript libraries - Includes
- Linking external JavaScript libraries – Remote includes
- View scripts - list of functions
- Dealing with elements
- ListBox, TextBox and ComboBox functions
- View scripts animations
- View scripts effects
- Error frames
- View scripts zoom
- View scripts open command
- Users, language and login
- Retrieving files
- Communicating with server side scripts
- View scripts tables
- Alarms and aggregated alarms
- Data - Log data
- Custom charts
- Tag info
- Other useful functions
- Documents
- Reports
- CAS alarms
- Data logging
- Data - Log views
- Aggregated data logs
- Advanced trends
- Connections
- User accesses
- Multi - language support
- * Server-side scripts
- Server-side scripts folder
- Server-side scripts folder structure
- Variables tables
- Script data-logs
- Global variables
- Sources folder
- Organizing project into modules
- Importing modules
- Using the event-driven asynchronous callbacks
- Creating server side reports
- mySCADA specific functions
- Debugging
- Script status (on myBOX devices only)
- Ser2Net (on myBOX devices only)
- View and server side scripts – common tasks
- Graphical guides
- Read/Write data from/to PLC
- Generating report
- Other guides
- Server side scripts – examples
- Reading data from PLC
- Writing data into PLC
- Timers – eg. run code in given time intervals
- Scheduled execution e.g run code every Monday at 2:00 PM
- Generating a report at given time interval
- Limiting access to generated files
- Processing data-log data
- Exporting data-log data into CSV files
- Using virtual PLC
- Sending data from view script into server side scripts
- Devices
- EtherNet/IP driver
- MicroLogix and SLC driver
- Modbus driver
- Siemens S7 family PLCs driver
- OPC UA driver
- MELSEC-Q driver
- SigFox driver
- KNX driver
- Databases driver
- Export/Import in .CSV files
- Download/Upload from/to device
- * Recipes
- * Running hours
- * Timeline
- * mySCADA TIA portal connector
34.3.Variables tables #
Variables Tables are used to read/write data from different data sources. This is a place where you can define all your global variables connected to the PLCs, databases, or to the memory variables. Once you define your variables in the corresponding tables, you can use them anywhere in the project as well as in server-side scripts.
There are two types of variables tables:
- Script Variables Tables – work with internal memory variables (e.g. virtual PLC)
- PLC Variables Tables – use these tables to read/write values from PLCs, databases, …
To create a new variables table:
1. Select a Script or PLC Variables Table from the Project / Server side scripts tree and click on New in the main toolbar.
2. Enter a new table name. As you can see, each table is associated just with one connection.
3. Fill in the variables and corresponding tags.
As you can see, we are filling tags to read/write from the PLC. On the left side, we associate the variable with each tag.