
- 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
35.7.Writing data into PLC #
To write values into the PLC, you will follow the exact same procedure as for reading tags, but, in the end, you will use a different function to write values. In this example we will write a numeric value and string into the PLC.
1. We will prepare PLC Variables Table named “modbus”, to do so, please follow steps 1. to 6. In the previous section.
2. Once you have the R/W Dialog loaded, please tick the Write on the bottom part of the dialog. When you are done, press the “OK” button, and myDESIGNER will generate the code for you.
3. When this code runs, values 10 and “String” will be written to the PLC.