×

Common Parameters Version 1.24

  • Gas Flow version 1.6

Group 'Overall Settings'

Configure overall settings for this application. These settings do not affect the way that the program operates

This is a group that has 8 parameters.

ParameterTag NameIDValue TypeTag Value TypeIO TypeDefault ValueLimitsDefault UnitsAllowed UnitsDescriptionSync EnabledSync DefaultExport EnabledPublish MQTT EnabledSubscribe MQTT EnabledShow in Manager Enabled
User Configured NameuserConfiguredName65537stringinameminChars:4;maxChars:4; spaces:True; lettersNumbersOnly:False;Enter an name that identifies this application. The name must be unique acrosss all applications in this device. Take care when changing the name. Matching local applications to applications on the remote device is done via the application name
User Configured DescriptionuserConfiguredDesc65538stringiminChars:0;maxChars:0; spaces:True; lettersNumbersOnly:False;Enter an optional description for this application
MetadataappMetadata65543stringiminChars:0;maxChars:0; spaces:True; lettersNumbersOnly:False;Optional metadata for the device. Metadata will be transferred to the PLC Shift Cloud when cloud export is enabled. Enter metadata as key:value pairs separated by semicolons. For example, "units:°C;size:large;"
Application Tag Name PrefixappTagNamePrefix65539stringix_minChars:2;maxChars:2; spaces:False; lettersNumbersOnly:True;Enter an optional prefix for all tags in this this application. This setting makes it clear which tag belongs to which applicaiton when multiple instances of the same application exist
PLC Tag NameplcTagName65540stringiplcTagNameminChars:3;maxChars:3; spaces:False; lettersNumbersOnly:True;The Tag Name for the application UDT or DUT. This value is only used when value of the 'Tag DB Protocol' setting is 'EIP' or 'OPC UA' and can be ignored otherwise. This value must be unique
Disable Tag DBdisableTagDb65541booliFalsemin:False; max:True;Disable communications with the logic controller's tag database. This is useful when setting up the system and tags are not yet available or properly configured in the logic controller. This should not be selected once the app is finally deployed because it will prevent the application from sharing data with the logic controller
License KeylicenseKey65542stringiminChars:0;maxChars:0; spaces:False; lettersNumbersOnly:False;The license key for this application. Each application has a unique license key. When online, use the 'Generate Licence Key Request' feature to request a license key.
OPC UA Global Variable List NameopcUaGvl65544stringiGVLminChars:2;maxChars:2; spaces:False; lettersNumbersOnly:False;The name of the global variable list that the PLC Tag belongs to. This value is combined with the 'OPC UA Node ID' at the device level and the 'PLC Tag Name' to generate a unique node ID that can be used to communicate with the controller when using OPC UA.

Group 'Modbus TCP Settings'

Configure Modbus register settings for this application. The settings only need to be configured if the selected 'Database Protocol' at the device level is 'Modbus TCP'

This is a group that has 10 parameters.

ParameterTag NameIDValue TypeTag Value TypeIO TypeDefault ValueLimitsDefault UnitsAllowed UnitsDescriptionSync EnabledSync DefaultExport EnabledPublish MQTT EnabledSubscribe MQTT EnabledShow in Manager Enabled
Config Read Base Address CoilcfgRdBaseAddrCoil196609i32i1min:0 ;max: 65536;The coil registers base address for the read value for published configuration parameters. Modbus addresses for the read value for boolean configuration parameters will be assigned sequentially starting at this addresss. Addresses will only be assigned for published parameters
Config Read Base Address HoldingcfgRdBaseAddrHlding196610i32i40001min:40000 ;max: 465536;The holding registers base address for the read value for published configuration parameters. Modbus addresses for the read value for non-boolean configuration parameters will be assigned sequentially starting at this addresss. Addresses will only be assigned for published parameters
Config Write Base Address CoilcfgWrBaseAddrCoil196611i32i501min:0 ;max: 65536;The coil registers base address for the write value for published configuration parameters. Modbus addresses for the write value for boolean configuration parameters will be assigned sequentially starting at this addresss. Addresses will only be assigned for published parameters
Config Write Base Address HoldingcfgWrBaseAddrHlding196612i32i40501min:40000 ;max: 465536;The holding registers base address for the write value for published configuration parameters. Modbus addresses for the read value for non-boolean configuration parameters will be assigned sequentially starting at this addresss. Addresses will only be assigned for published parameters
Control Base Address CoilcntrlBaseAddrCoil196613i32i1001min:0 ;max: 65536;The coil registers base address for published control parameters. Modbus addresses for boolean control parameters will be assigned sequentially starting at this addresss. Addresses will only be assigned for published parameters
Control Base Address HoldingcntrlBaseAddrHlding196614i32i41001min:40000 ;max: 465536;The holding registers base address for published control parameters. Modbus addresses for non-boolean control parameters will be assigned sequentially starting at this addresss. Addresses will only be assigned for published parameters
Status Base Address CoilstatBaseAddrCoil196615i32i1501min:0 ;max: 65536;The coil registers base address for published status parameters. Modbus addresses for boolean status parameters will be assigned sequentially starting at this addresss. Addresses will only be assigned for published parameters
Status Base Address HoldingstatBaseAddrHlding196616i32i41501min:40000 ;max: 465536;The holding registers base address for published status parameters. Modbus addresses for non-boolean status parameters will be assigned sequentially starting at this addresss. Addresses will only be assigned for published parameters
User Defined Base Address CoiludBaseAddrCoil196617i32i2001min:1 ;max: 65536;The coil registers base address for published user defined parameters. Modbus addresses for boolean status parameters will be assigned sequentially starting at this addresss. Addresses will only be assigned for published parameters
User Defined Base Address HoldingudBaseAddrHlding196618i32i42001min:40000 ;max: 465536;The holding registers base address for published user defined parameters. Modbus addresses for non-boolean user defined parameters will be assigned sequentially starting at this addresss. Addresses will only be assigned for published parameters

Group 'Export Settings'

Configure data export for this application. Export locations are configured at the device level

This is a configuration group that has 27 parameters.

ParameterTag NameIDValue TypeTag Value TypeIO TypeDefault ValueLimitsDefault UnitsAllowed UnitsDescriptionSync EnabledSync DefaultExport EnabledPublish MQTT EnabledSubscribe MQTT EnabledShow in Manager Enabled
App Export NameappExportName131090stringiminChars:0;maxChars:0; spaces:False; lettersNumbersOnly:False;Enter a string value to uniquely identify exported data from this application. This is only required if export is enabled. If this is left empty the User Configured Name will be used instead
Export Diagnostic LogexportDiagLog131072booliFalsemin:False; max:True;Whether to export this application's diagnostic log
Export Configuration LogexportConfigLog131073booliFalsemin:False; max:True;Whether to export this application's configuration change log
Export Partial LogsexPartialLog131074booliFalsemin:False; max:True;When this option is selected, partial log files will be uploaded periodically during the day that they are generated. It's not possible to append to a log file in the cloud, so this involves deleting the existing log file in cloud storage and replacing it with the new, larger log file for the current day. This uses more bandwidth than uploading the log files once, after the day is complete and the log file is no longer growing.
Export Interval 1exIntrvl01131075i32i3600min:1 ;max: 10000;640:sec;640: sec; 642: min; The export interval for parameters that have the 'Export On Interval 1' option selected.
Export Interval 2exIntrvl02131077i32i600min:1 ;max: 10000;640:sec;640: sec; 642: min; The export interval for parameters that have the 'Export On Interval 2' option selected.
Publish MQTT Interval 1mqIntrvl01131076i32i3600min:1 ;max: 10000;640:sec;640: sec; 642: min; The publishing interval for parameters that have the 'Publish MQTT Interval 1' option selected.
Publish MQTT Interval 2mqIntrvl02131078i32i600min:1 ;max: 10000;640:sec;640: sec; 642: min; The export interval for parameters that have the 'Publish MQTT Interval 2' option selected.
Export Deadband 1exDeadband01131079doublei1min:0.1 ;max: 1000;1:%;1: %; The percentage that a value must change by before it is exported. Applies to parameters that have the 'Export on Change' and 'Deadband 1' options selected.
Export Deadband 2exDeadband02131080doublei1min:0.1 ;max: 1000;1:%;1: %; The percentage that a value must change by before it is exported. Applies to parameters that have the 'Export on Change' and 'Deadband 2' options selected.
Publish MQTT Deadband 1mqDeadband01131081doublei1min:0.1 ;max: 1000;1:%;1: %; The percentage that a value must change by before it is published via MQTT. Applies to parameters that have the 'Publish MQTT on Change' and 'Deadband 1' options selected.
Publish MQTT Deadband 2mqDeadband02131082doublei1min:0.1 ;max: 1000;1:%;1: %; The percentage that a value must change by before it is published via MQTT. Applies to parameters that have the 'Publish MQTT on Change' and 'Deadband 2' options selected.
Export Flow Minute HistoryexportFlMinuteHis131088booliFalsemin:False; max:True;Whether to export the minute flow history to table storage
Export Flow Hourly HistoryexportFlHourHis131086booliFalsemin:False; max:True;Whether to export the hourly flow history to table storage
Export Flow Daily HistoryexportFlDayHis131085booliFalsemin:False; max:True;Whether to export the daily flow history to table storage
Export Flow Batch HistoryexportFlBatchHis131087booliFalsemin:False; max:True;Whether to export the batch flow history to table storage
Export Flow Config HistoryexportFlConfigHis131089booliFalsemin:False; max:True;Whether to export the configuration history to table storage
Export Flow EventsexportFlEvents131083booliFalsemin:False; max:True;Whether to export the flow computer's event log to table storage
Export Flow AlarmsexportFlAlarms131084booliFalsemin:False; max:True;Whether to export the flow computer's alarm log to table storage
Export Logged DataexportLoggedData131091booliFalsemin:False; max:True;Whether to export logged data to table storage. This setting applies to all enabled data logs
Generate CFX FileenGenCfx131092booliFalsemin:False; max:True;Whether to generate Flowcal (CFX) files for this app. When enabled, CFX files will be generated automatically when a new daily record is generated. Files will be stored on the remote device in the /var/cfx/ folder. is the 'CFX Meter Number' and if that is empty then it is the 'App Export Name' and if that is empty it is the 'User Configured Name'.
Export CFX FileenExportCfx131093booliFalsemin:False; max:True;Automatically export generated CFX files to file export locations that are enabled and configured at the device level.
CFX Use Local TimecfxLocalTime131094booliFalsemin:False; max:True;When selected, timestamps will be written to CFX files in the local time zone of the remote device. When not selected, timestamps will be written to the CFX files in UTC. The CFX file format is not time zone aware, and makes no allowance for daylight savings time, so selecting this option may result in duplicate records when the clock changes. UTC is recommended as it is stable throughout the year.
CFX Meter NumbercfxMeterNumber131095stringiminChars:0;maxChars:0; spaces:True; lettersNumbersOnly:False;The value of this parameter is copied into the 'Meter Number' field in the exported file. CFX files will also be stored on the remote device in a directory with this name. If this field is empty, the 'App Export Name' will be used, and if the 'App Export Name' is empty, the 'User Configured Name' (app name) will be used.
CFX Liquid Product CodecfxLiqProductCode131096stringiminChars:0;maxChars:0; spaces:True; lettersNumbersOnly:False;The value of this parameter is copied into the 'Product Code' field that is used in the 'Liquid Product' table in the exported file. This parameter is not used for gas runs.
CFX Host IDcfxHostId131097stringicfxHostIdminChars:2;maxChars:2; spaces:False; lettersNumbersOnly:True;The value here will be copied into the 'Host ID' field in generated CFX files. Only ASCII characters are allowed.
CFX Host TagcfxHostTag131098stringicfxHostTagminChars:2;maxChars:2; spaces:False; lettersNumbersOnly:True;The value here will be copied into the 'Host Tag' field in generated CFX files. Only ASCII characters are allowed.

Group 'App Control'

General control settings for the application

This is a control group that has 2 parameters.

ParameterTag NameIDValue TypeTag Value TypeIO TypeDefault ValueLimitsDefault UnitsAllowed UnitsDescriptionSync EnabledSync DefaultExport EnabledPublish MQTT EnabledSubscribe MQTT EnabledShow in Manager Enabled
Logging LevellogLevel12582912i32io4:Error0:Verbose; 1:Debug; 2:Info; 3:Warning; 4:Error; The level of detail in the application's diagnostic log. Error logs errors only, Warning logs errors and warnings, and so on. Take care when using Debug and Verbose because the logs will be large and potentially filled with irrelvant information
Reset App CountersrstAppCntrs12582913boolioFalsemin:False; max:True;Clear the application performance counters including execution time and callback time counters

Group 'Application Info'

Overall status and information about the application

This is a status group that has 14 parameters.

ParameterTag NameIDValue TypeTag Value TypeIO TypeDefault ValueLimitsDefault UnitsAllowed UnitsDescriptionSync EnabledSync DefaultExport EnabledPublish MQTT EnabledSubscribe MQTT EnabledShow in Manager Enabled
Execution CountexecCount8323072ui32oThe number of times that the application's main run loop has been executed
Execution Maximum TimeexecTimeMax8323073floato641:millisec;641: millisec; The maximum time to execute the application's main loop for the last hour. This value is reset at the start of every hour
Execution Minimum TimeexecTimeMin8323074floato641:millisec;641: millisec; The minimum time to execute the application's main loop for the last hour. This value is reset at the start of every hour
Execution Average TimeexecTimeAvg8323075floato641:millisec;641: millisec; The average time to execute the application's main loop for the last hour. This is a rolling average for the last hour based on minute averages
Config Version MajorconfigVersionMajor8323080i16oThe major part of the configuration version of the application
Config Version MinorconfigVersionMinor8323081i16oThe minor part of the configuration version of the application
App Version MajorappVersionMajor8323082i16oThe major part of the application's version
App Version MinorappVersionMinor8323083i16oThe minor part of the application's version
Hardware IDhardwareId8323084stringoA unique identifier for the hardware that is automatically generated by the PLC Shift run time
License StatelicenseState8323085i32o0:Demo0:Demo; 1:Trial; 2:Permanent; 3:Unlicensed; The license status of the application. 'Demo' means that no license file is installed, but the application will run with all features enabled for 7 days. 'Trial' means that a license with an expiration time is installed. 'Permanent' means that a permanent license is installed and the license will not expire. 'Unlicensed' means that a license is not installed, could not be decoded, or that a demo or trial license has expired. The application will not execute in 'Unlicensed' state. View the application's diagnostic log for more details on the license state.
License Expiry Time (UTC)licenseExpireTs8323086ui32o4:Unix Timestamp;4: Unix Timestamp; The time when the demo or trial license will expire or actually expired. For permanent licenses this will be approximately 1 year in the future, but will keep being pushed out, so expiry will never actually happen.
License Time LeftlicenseTimeLeft8323087doubleo642:min;642: min; 643: hr; 644: day; The amount of time left before the demo or trial license expires. For permanent license this will be approximately 1 year in the future, but will keep being pushed out, so expiry will never actually happen.
License FeatureslicenseFeatures8323088stringoThe features which are available in the installed license. Individual features are separated using a colon.
MQTT Alias PrefixmqttAliasPrefix8323089i32oWhen using Sparkplug B payloads, every metric (aka tag) has a 64 bit alias that must be unique across the Sparkplug Node, which is a PLC Shift Device. Every parameter in a PLC Shift app has an ID that is unique for the app. If multiple apps of the same type exist on the same device, the parameter ID cannot be used an alias because duplicates will occur. The solution is to prefix each parameter ID with a value that is unique to each app. To calculate a parameter's 64 bit alias, put this value in the most significant 32 bits of a 64 bit integer. Put the parameter ID in the least significant 32 bits. Use the resulting 64 bit value as the alias.