Devices > Remote Devices > UIS Commands > Default UIS Commands

Default UIS Commands

Many remote devices have predefined default commands. This is especially true of remote devices that use native protocols. These appear pre-populated in the UIS Commands editor. Some remote devices expose defined default UIS commands in a device template file. Some default commands are hard-coded and thus not exposed in a device template file for alteration. Still others (like Modbus devices) predefine no commands; such commands are entirely user configured.

Default Modbus UIS Commands — Modbus Only

UIS commands can be defined in a template file.

Get

Example

Get single group from device.

<BASICPOLL desc="Basic Poll">

<uccItems>

<DG_F_DEV dgType="BasicPoll" ordinal="0"/>

</uccItems>

</BASICPOLL>

Get with Parameters

Example

Get single group from device that has date parameters. The command parameters use the CygNet wildcard for today (T).

<HRAVE desc="Hourly Averages">

<uccItems>

<DG_F_DEV dgType="HrlyAve" ordinal="1" SDate="T-1" EDate="T+1"/>

</uccItems>

</HRAVE>

Get Multiple Groups

Example

Get multiple data groups from device.

<DATASCAN desc="Data Scan">

<uccItems>

<DG_F_DEV dgType="BasicPoll" ordinal="0"/>

<DG_F_DEV dgType="AGAFlow" ordinal="1"/>

<DG_F_DEV dgType="AGAFlow" ordinal="2"/>

</uccItems>

</DATASCAN>

Send then Get

Example

Send a data group and then get a data group.

<VALVE desc="Control Valve">

<uccItems>

<DG_T_DEV dgType="AnalogOutput" ordinal="3" Value="100"/>

<DG_F_DEV dgType="BASICPOLL" ordinal="0"/>

</uccItems>

</VALVE>

Back to top

Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.