If you are a ScadaMobile end user, please do not upgrade to this version until you have contacted your SM Integrator. If you are an Integrator please test your source file(s) on the new version 2.0 before deploying them or asking your users to upgrade. This version include the following enhancements: (also see the User Manual)
Updated Examples. By design, ScadaMobile keeps intact the files you already have on the files tab including the examples. Version 2.0 includes some new examples and incorporates updates on existing ones. If you are upgrading from an earlier version you should update the examples. While on the administrator account please go to files tab and tap on 'load examples'.
Smarter tag optimizer. An improved, smarter algorithm is now used to sort out and group tags in a more efficient way. At all times, the optimal combination among the available communication commands for a protocol is automatically calculated to assure minimal network overhead and to maximize communications performance.
Stricter checking of EIP data types. EIP tag data type checking is stricter and all types must be explicit now. For example, given int_tag to be of type INT the following row will no longer be valid.
value BOOL int_tag.3 label="This should be INT" ;
A new "bool" style has been introduced to allow for a correct representation of tags with bit indication. The above row should be entered thus:
value INT int_tag.3 label="This should be INT" ; style = "bool" ;
Customizable validation tag. A custom Validation Tag can now be specified for some protocols. When explicitly specifying a custom validation tag you are required to set a non zero value in it for the test to pass. To specify a validation tag you use the global 'validation_tag' attribute as in the following examples:
for EIP/PCCC use validation_tag = "N49:2"; only N files can be used and the code is stored as an INT (default is N98:0).
for FINS/TCP use validation_tag = "D500"; only DM area can be used (default is D19998).
for EIP/NATIVE the validation tag name is always SMValidationTag, it can not be changed.
for MODBUS/TCP no validation tag is available.
Retentive Local tags. Local tags are now retentive. This means that their values are always kept between application launches. This helps users to keep intact particular settings on the project without being affected by successive application launches.
Application wide String and Array support. Expressions and the communications engine have been extended to fully support Strings and Arrays in addition to Numbers. Strings are represented by characters enclosed between quotes, such as "This is a string". An Array is represented by a comma separated list of elements enclosed in square brackets, such as [element1,element2,element3]. Array elements can be Numbers, Strings or other Arrays. Numbers, Strings and Arrays can be combined in complex expressions or stored in variables following the flexible Ruby Language syntax. Read/write Strings and Arrays from/to PLCs are fully supported. Some internal SM data has been made available through expressions, such as the current date/time and the project global lookup table.
Note about Blink support. Formerly, blinking was specified by simply setting a range by means of the 'blink_bounds' attribute. This still works, however a new attribute accepting expressions named 'blink' must now be specified to control when or whether blinking will actually take effect within said range. As a consequence blinking will get disabled on existing projects unless they are updated by setting the 'blink' attribute where necessary.
Highly extended data formatting support. With the addition of String and Array expressions and extended support of Ruby operators and methods, data presented to users can be formatted in a much richer way. Particularly any Numeric o String value can be combined in any way to present information to users in a more compelling way. Ruby 'format' function is fully supported.
Support for entering and displaying Binary and Hexadecimal values. Row formatting options allow for specifying Binary and Hexadecimal format for entering and displaying numeric values. The most appropriate iPhone popup keyboard is now automatically chosen depending on data type, bounds and format options, making it easier for users to enter data according to what they need to type on each field.
Extended support of expressions in attributes. In addition to the 'value' and 'hidden' attributes, additional row attributes have been given the possibility to use expressions instead of fixed values. For example you can now give a 'color' based on an expression depending on other PLC tags or expression values.
Extended file import/export capabilities. In addition to the embedded File Server, Data Source Files can now be imported into SM by tapping on a mail attachment. Files can also be downloaded directly from an external http or ftp server. This will help integrators to distribute configuration updates to their users without having to rely on physical device access.
Bar code reader. Users can now use the iPhone camera to read barcodes within ScadaMobile and use the readings for any purpose within expressions and PLCs tags.