Western Telematic MPC-8H-1 Plug Control via SNMP, Controlling Plugs, Controlling Plug Groups

Models: MPC-20VS20-1 MPC-8H-1 MPC-20VS16-3 MPC-20VD16-3 MPC-20V-1 MPC-8H-2 MPC-20VS20-2 MPC-20VD20-1 MPC-20VD20-2

1 204
Download 204 pages 27.87 Kb
Page 158
Image 158
13.4.Plug Control via SNMP

Operation via SNMP

13.4.Plug Control via SNMP

13.4.1.Controlling Plugs

ON, OFF, BOOT, and DEFAULT commands can be issued for plugs via SNMP. Plugs are arranged in a table of N rows, where N is the number of plugs in the system. Plug parameters are described below.

plugTable::plugID – String indicating the plugs ID

plugTable::plugStatus – Current state of the plug 0 – Plug is OFF

1 – Plug is ON

plugTable::plugAction – Action to be taken on plug 1 – Mark to turn ON (does not execute)

2 – Mark to turn OFF (does not execute)

3 – Mark to BOOT (does not execute)

4 – Mark to DEFAULT (does not execute)

5 – Mark to turn ON and execute plug actions 6 - Mark to turn OFF and execute plug actions 7 - Mark to BOOT and execute plug actions

8 - Mark to DEFAULT and execute plug actions

Set plugTable::plugAction to desired action, as specified by values 1-4 above, for each plug index the action is to be applied to. For the last plug you wish to set before executing the commands, use values 5-8 instead, which will invoke the requested commands all at once.

13.4.2. Controlling Plug Groups

ON, OFF, BOOT, and DEFAULT commands can be issued for plug groups via SNMP. Plug groups are arranged in a table of 54 rows, one row for each plug group in the system. Plug Group parameters are described below.

plugGroupTable::plugGroupName – String indicating the plug groups name

plugGroupTable::plugGroupAction – Action to be taken on plug group 1 – Mark to turn ON (does not execute)

2 – Mark to turn OFF (does not execute)

3 – Mark to BOOT (does not execute)

4 – Mark to DEFAULT (does not execute)

5 – Mark to turn ON and execute plug group actions

6 - Mark to turn OFF and execute plug group actions 7 - Mark to BOOT and execute plug group actions

8 - Mark to DEFAULT and execute plug group actions

Set plugGroupTable::plugGroupAction to desired action, as specified by values 1-4 above, for each plug group index the action is to be applied to. For the last plug group you wish to set before executing the commands, use values 5-8 instead, which will invoke the requested commands all at once.

13-4

Page 158
Image 158
Western Telematic MPC-8H-1, MPC-20VD20-2, MPC-20VD20-1 Plug Control via SNMP, Controlling Plugs, Controlling Plug Groups