Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Device PropertyKeyDatatype
Board TypeBoardTypeString
HostnameHostnameString
TCP PortPortInteger
Socket TimeoutSocketTimeoutInteger
Connection TypeConnectionTypeString
Enable Auto-discoveryEnableAutoDiscoveryBoolean
Add All Totalflow Application Definitions

AddAllTotalflowApplicationDefinitions

Boolean
Add All Array-Register Definitions

AddAllArrayRegisterDefinitions

Boolean
Auto-generate Templates and Poll Group

AutoGenerateDefaultTemplatesAndPollGroup

Boolean
Array-Register Template Import Policy

ArrayRegisterTemplateImportPolicy

String
Poll Group Import Policy

PollGroupImportPolicy

String
Station ID

StationId

String
Keep Alive

ConnectionKeepAlive

Integer
Host Timeout

HostTimeout

Long
Number Retries

NumberRetries

Integer
Supervisory Frames

SupervisoryFrames

Integer
PasswordSecurityCodeString
RBAC Enabled

RbacEnabled

Boolean
Operator ID

OperatorId

String
Password

OperatorPassword

String
Date Time Offset

DateTimeOffset

Integer
Alarm Source

AlarmSourceSelector

String
Alarm Scan Rate

AlarmScanRate

Integer
Event Scan Rate

EventScanRate

Integer
Periodic History Scan Rate

HistoryPeriodicScanRate

Integer
Daily History Scan Rate

HistoryDailyScanRate

Integer
Record Info Scan Rate

RecordInfoScanRate

Integer
Max Records To Read

MaxRecordsToRead

Integer
Periodic Mapping

PeriodicMappingId

Long
Enable Signature

EnableSignature

Boolean
Hashing Algorithm

HashingAlgorithm

String
Password

SignaturePassword

String
Group IDGroupIdString
Edge IDEdgeIdString
Device IDDeviceIdString
Use INI CategoriesUseIniCategoriesBoolean
Poller Watchdog RatePollerWatchdogRateInteger



Warning
Cirrus Link provides these scripts as examples only, they are not supported or guaranteed to meet any particular functionality. Cirrus Link cannot provide any assistance to modify these scripts to meet a particular need.


Code Block
languagepy
titleABB Totalflow Sample Script
# Cirrus Link provides these scripts as examples only, they are not supported or guaranteed to meet any particular functionality. Cirrus Link cannot provide any assistance to modify these scripts to meet a particular need.
#new device connection using default settings
newProps = {}
newProps["BoardType"] = "G4"
newProps["Hostname"] = "10.1.2.3"
newProps["Port"] = 2000
system.device.addDevice(deviceType = "AbbTotalflow",deviceName = "MyABB",deviceProps = newProps)

...

Device PropertyKeyDatatype
AddressAddressString
TCP/IP PortPortInteger
TimeoutTimeoutLong
Data Scan RateDataScanRateLong



Warning
Cirrus Link provides these scripts as examples only, they are not supported or guaranteed to meet any particular functionality. Cirrus Link cannot provide any assistance to modify these scripts to meet a particular need.


Code Block
languagepy
titleOpto22 Sample Script
# Cirrus Link provides these scripts as examples only, they are not supported or guaranteed to meet any particular functionality. Cirrus Link cannot provide any assistance to modify these scripts to meet a particular need.
#new device connection using default settings
newProps = {}
system.device.addDevice(deviceType = "SnapPacDriver",deviceName = "MyOpto22",deviceProps = newProps)

#new device connection
newProps = {}
newProps["Address"] = "156.23.25.42"
newProps["Port"] = 22001
newProps["Timeout"] = 3500
newProps["DataScanRate"] = 1500
system.device.addDevice(deviceType = "SnapPacDriver",deviceName = "MyOpto22",deviceProps = newProps)


...