system.device.addDevice - deviceProps Listing
Description
Below is a table of properties callable by system.device.addDevice.
Note that the Description and Enabled properties may not be configured with this function, although a device connection could be disabled with a call to system.device.setDeviceEnabled() after creating the connection.
CompactLogix Keys
| Device Property | Key |
|---|---|
| Hostname | hostname |
| Timeout | timeout |
| Connection Path | path |
| Concurrent Requests | concurrentRequests |
| Disable Automatic Browse | disableAutomaticBrowse |
| Show String Arrays | showStringArrays |
| Status Request Poll Rate | pollRate |
com.inductiveautomation.omron.NjDriver Keys
| Device Property | Key |
|---|---|
| Hostname | hostname |
| Timeout | timeout |
| Concurrency | concurrency |
| Connection Size | connectionSize |
| Slot Number | slotNumber |
ControlLogix Keys
| Device Property | Key |
|---|---|
| Hostname | hostname |
| Timeout | timeout |
| Connection Path | path |
| Concurrent Requests | concurrentRequests |
| Disable Automatic Browse | disableAutomaticBrowse |
| Show String Arrays | showStringArrays |
| Status Request Poll Rate | pollRate |
| Slot Number | slotNumber |
Dnp3Driver Keys
| Device Property | Key | Acceptable Values |
|---|---|---|
| Hostname | hostname | |
| Port | port | |
| Source Address | sourceAddress | |
| Destination Address | destinationAddress | |
| Integrity Poll Interval | integrityPollInterval | |
| Direct Operate Enabled | directOperateEnabled | |
| Unsolicited Messages Enabled | unsolicitedMessagesEnabled | |
| Message Fragment Size | maxMessageFragmentSize | |
| Message Timeout | timeout | |
| Retries | retries | |
| Link Layer Confirmation | linkLayerConfirmationEnabled | |
| Default Outstation Conformance Level | outstationConformanceDefault |
|
| Analog Input Points | analogInputDefaultValueType |
|
| Analog Input Frozen Points | analogInputFrozenDefaultValueType |
|
| Analog Output Points | analogOutputDefaultValueType |
|
| Counter Points | counterDefaultValueType |
|
| Counter Frozen Points | counterFrozenDefaultValueType |
|
| Binary Input Points | binaryInputDefaultValueType |
|
| Double-Bit Binary Input Points | doubleBitBinaryInputDefaultValueType |
|
| Binary Output Points | binaryOutputDefaultValueType |
|
MicroLogix Keys
| Device Property | Key |
|---|---|
| Hostname | hostname |
| Timeout | timeout |
| Browse Cache Timeout | browseCacheTimeout |
| Connection Path | path |
| Disable Processor Browse | disableProcessorBrowse |
| Zero TNS Connection | useZeroTnsConnections |
ModbusRtuOverTcp and ModbusTcp Keys
| Device Property | Key |
|---|---|
| Hostname | hostname |
| Port | port |
| Communication Timeout | communicationTimeout |
| Max Holding Registers Per Request | maxHoldingRegistersPerRequest |
| Max Input Registers Per Request | maxInputRegistersPerRequest |
| Max Coils Per Request | maxCoilsPerRequest |
| Max Discrete Inputs Per Request | maxDiscreteInputsPerRequest |
| Reverse Word Order | reverseWordOrder |
| One-based Addressing | zeroBasedAddressing |
| Span Gaps | spanGaps |
| Allow Write Multiple Registers Request | writeMultipleRegistersRequestAllowed |
| Force Multiple Register Writes | forceMultipleRegisterWritesEnabled |
| Allow Write Multiple Coils Request | writeMultipleCoilsRequestAllowed |
| Allow Read Multiple Registers Request | readMultipleRegistersRequestAllowed |
| Allow Read Multiple Coils | readMultipleCoilsAllowed |
| Allow Read Multiple Discrete Inputs | readMultipleDiscreteInputsAllowed |
| Reconnect After Consecutive Timeouts | reconnectAfterConsecutiveTimeouts |
| Max Retry Count | maxRetryCount |
| Reverse String Byte Order | reverseStringByteOrder |
| Right Justify String | rightJustifyStrings |
| Read Raw Strings | readRawStrings |
PLC5 Keys
| Device Property | Key |
|---|---|
| Hostname | hostname |
| Timeout | timeout |
| Browse Cache Timeout | browseCacheTimeout |
| Connection Path | path |
| Disable Processor Browse | disableProcessorBrowse |
| Zero TNS Connection | useZeroTnsConnections |
S7300, S7400, S71200, and S71500 Keys
| Device Property | Key |
|---|---|
| Hostname | hostname |
| Timeout | timeout |
| Port | port |
| PDU Size | pduSize |
| Rack Number | rackNumber |
| CPU Slot Number | cpuSlotNumber |
| Reconnect After Consecutive Timeouts | reconnectAfterConsecutiveTimeouts |
SLC Keys
| Device Property | Key |
|---|---|
| Hostname | hostname |
| Timeout | timeout |
| Browse Cache Timeout | browseCacheTimeout |
| Connection Path | path |
| Disable Processor Browse | disableProcessorBrowse |
| Zero TNS Connection | useZeroTnsConnections |
TCPDriver Keys
| Device Property | Key | Acceptable Values |
|---|---|---|
| Port(s) | ports | |
| Address | address | |
| Inactivity Timeout | inactivityTimeout | |
| Message Delimiter Type | messageDelimiterType |
|
| Field Count | fieldCount | |
| Field Delimiter | fieldDelimiter | |
| Writeback Enabled | writebackEnabled | |
| Writeback Message Delimiter | writebackDelimiter |
UDPDriver Keys
| Device Property | Key | Acceptable Values |
|---|---|---|
| Port(s) | ports | |
| Address | address | |
| Message Delimiter Type | messageDelimiterType |
|
| Message Delimiter | messageDelimiter | |
| Field Count | fieldCount | |
| Field Delimiter | fieldDelimiter | |
| Message buffer Size | messageBufferSize | |
| Multicast | multicast |