Versions Compared

Key

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

...

Anchor
EmersonRoc
EmersonRoc
Emerson ROC Keys

10
Device PropertyKeyDefault SettingDatatype
Protocol Type

ProtocolType (ROC or ROC_PLUS)

String
HostnameHostnameString
TCP PortPortInteger
Socket TimeoutSocketTimeoutInteger
ROC Unit CodeRocUnitCodeInteger
ROC Group CodeRocGroupCodeInteger
Host Unit CodeHostUnitCodeInteger
Host Group CodeHostGroupCodeInteger
Periodic MappingPeriodicMappingIdNoneLong
Configuration MappingConfigurationMappingIdNoneLong
Add All TLP DefinitionsAddAllTLPDefinitionsFalseBoolean
Security EnabledSecurityEnabledFalseBoolean
Operator IDOperatorIdLolString
PasswordPasswordString
Access Level EnabledAccessLevelEnabledFalseBoolean
Access LevelAccessLevel0Integer
Date Time OffsetDateTimeOffset0Integer
Sync ROC RTCSyncDateTimeFalseBoolean
Sync ExpressionSyncDateTimeExpression0 0 0 * * ?String
Alarm Scan RateAlarmScanRate-1Integer
Event Scan RateEventScanRate-1Integer
Minute History Scan RateHistoryMinuteScanRate-1Integer
Periodic History Scan RateHistoryPeriodicScanRate-1Integer
Daily History Scan RateHistoryDailyScanRate-1Integer
Enable SignatureEnableSignatureFalseBoolean
Algorithm

HashingAlgorithm

NoneString
PasswordSignaturePasswordString
Group IDGroupIdNoneString
Edge IDEdgeIdNoneString
Device IDDeviceIdNoneString



Code Block
languagepy
titleEmerson ROC Sample Script
#new device connection using default settings
newProps = {}
newProps["ProtocolType"] = "ROC"
newProps["Hostname"] = "10.1.2.3"
newProps["Port"] = 2000
newProps["RocUnitCode"] = 10
newProps["RocGroupCode"] = 100
newProps["HostUnitCode"] = 20
newProps["HostGroupCode"] = 200
newProps["HashingAlgororithm"] = "SHA_1"
system.device.addDevice(deviceType = "EmersonRoc",deviceName = "MyROC",deviceProps = newProps)

...

Anchor
AbbTotalflow
AbbTotalflow
ABB Totalflow Keys

Default SettingON_DEMAND
Device PropertyKeyDatatype
Board TypeBoardTypeString
HostnameHostnameString
TCP PortPortInteger
Socket TimeoutSocketTimeout10Integer
Connection TypeConnectionTypeString
Enable Auto-discoveryEnableAutoDiscoveryTrueBoolean
Add All Totalflow Application Definitions

AddAllTotalflowApplicationDefinitions

TrueBoolean
Add All Array-Register Definitions

AddAllArrayRegisterDefinitions

TrueBoolean
Auto-generate Templates and Poll Group

AutoGenerateDefaultTemplatesAndPollGroup

TrueBoolean
Array-Register Template Import Policy

ArrayRegisterTemplateImportPolicy

UPDATEString
Poll Group Import Policy

PollGroupImportPolicy

UPDATE

String
Station ID

StationId

None

String
Keep Alive

ConnectionKeepAlive

0Integer
Host Timeout

HostTimeout

3000

Long
Number Retries

NumberRetries

3Integer
Supervisory Frames

SupervisoryFrames

3Integer
PasswordSecurityCodeString
RBAC Enabled

RbacEnabled

FalseBoolean
Operator ID

OperatorId

NoneString
Password

OperatorPassword

String
Date Time Offset

DateTimeOffset

0

Integer
Alarm Source

AlarmSourceSelector

PERIODIC_HISTORY_SETTINGS

String
Alarm Scan Rate

AlarmScanRate

-1Integer
Event Scan Rate

EventScanRate

0Integer
Periodic History Scan Rate

HistoryPeriodicScanRate

0Integer
Daily History Scan Rate

HistoryDailyScanRate

0Integer
Record Info Scan Rate

RecordInfoScanRate

-1Integer
Max Records To Read

MaxRecordsToRead

100

Integer
Periodic Mapping

PeriodicMappingId

None

Long
Enable Signature

EnableSignature

FalseBoolean
Hashing Algorithm

HashingAlgorithm

None

String
Password

SignaturePassword

String
Group IDGroupIdNoneString
Edge IDEdgeIdNoneString
Device IDDeviceIdNoneString

??

Db2BlockSize

Db2PacketSize

...



Code Block
languagepy
titleABB Totalflow Sample Script
#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)

...

Anchor
SnapPacDriver
SnapPacDriver
Opto 22 groov EPIC and SNAP PAC

Default Setting
Device PropertyKeyDatatype
AddressAddress192.168.1.100String
TCP/IP PortPort22001Integer
TimeoutTimeout3000Long
Data Scan RateDataScanRate1000Long


Code Block
languagepy
titleOpto22 Sample Script
#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)


...