Skip to main content
Version: 8.1

system.dnp.selectOperateBinary

note

The following function uses system.dnp and the DNP3 driver. For system.dnp3 functions and the Legacy DNP3 driver, see DNP3.

This function is used in Python Scripting.

Description

Performs a Select then Operate command on a binary point.

Client Permission Restrictions

This scripting function has no Client Permission restrictions.

Syntax

system.dnp.selectOperateBinary(deviceName, index, tcc, opType, count, onTime, offTime)

Parameters

TypeParameterDescription
StringdeviceNameThe name of the DNP3 device instance.
IntegerindexThe index of the binary point.
IntegertccTrip Close Code: 0=NUL, 1=CLOSE, 2=TRIP.
IntegeropTypeOperation Type: 0=NUL, 1=PULSE_ON, 2=PULSE_OFF, 3=LATCH_ON, 4=LATCH_OFF.
IntegercountThe number of times the outstation shall execute the operation.
IntegeronTimeDuration (in milliseconds) the output drive remains active.
IntegeroffTimeDuration (in milliseconds) the output drive remains non-active.

Returns

Nothing.

Scope

Gateway

Code Examples

Code Snippet
system.dnp.selectOperateBinary("DNP3", 3, 1, 3, 2, onTime=5000, offTime=5000)

Keywords

system dnp selectOperateBinary, dnp.selectOperateBinary