Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Single Action Schedule
gxdn
Profile picture for user Administrator
By Administrator , 23 January, 2018
Single action schedule object is used to execute selected script in given time.

Properties

  • 1. Logical Name
    Logical name of the object.
  • 2. Executed script
    Script to execute.
  • 3. Type
    Execution type.
  • 4. Execution time
    List of script execution times.
    Note! Time zone or Daylight Saving Time info is not send in part of the execution time. Some meters are executing this using meter's time and some as EPOCH time.

Actions

There are no actions available for this object type.

Access data from ANSI C

  • Initialize
  • Show
//Add new action schedule.
unsigned char target[6] = { 0, 1, 10, 1, 101,255 };
gxtime* tm;
const unsigned char ln[6] = { 0,0,15,0,0,255 };
cosem_init2((gxObject*)&actionSchedule, DLMS_OBJECT_TYPE_ACTION_SCHEDULE, ln);
memcpy(actionSchedule.executedScriptLogicalName, target, 6);
actionSchedule.executedScriptSelector = 1;
actionSchedule.type = DLMS_SINGLE_ACTION_SCHEDULE_TYPE1;
//Add new execution time to the list.
tm = (gxtime*)malloc(sizeof(gxtime));
time_now(tm);
arr_push(&actionSchedule.executionTime, tm);
//How to access action schedule data.
int pos = 0, ret;
gxtime* tm;
hlp_printLogicalName("Name: %s\r\n", object->executedScriptLogicalName);
printf("Executed Script Selector: %d\n",object->executedScriptSelector);
printf("Type: %d\n", object->type);
for (pos = 0; pos != object->executionTime.size; ++pos)
{
  ret = arr_getByIndex(&object->executionTime, pos, (void**)&tm);
  if (ret != DLMS_ERROR_CODE_OK)
  {
    break;
  }
  time_print(tm);
}

Book traversal links for Single action schedule

  • ‹ Invocation counter
  • Up
  • Special days table ›
  • Log in or register to post comments
  • Create new account
  • Reset your password

Book navigation

  • Activity calendar
  • Association Logical Name
  • Auto Connect
  • Auto answer
  • Clock
  • Compact data
  • Data
  • Demand register
  • Disconnect control
  • Extended register
  • GPRS modem setup
  • GSM diagnostic
  • IEC HDLC setup
  • IEC local port setup
  • IPv4 setup
  • IPv6 setup
  • Image transfer
  • Limiter
  • M-Bus Client
  • M-Bus master port setup
  • M-Bus slave port setup
  • MAC address setup
  • Modem configuration
  • PPP setup
  • Profile generic
  • Push Setup
  • Register
  • Register Monitor
  • Register activation
  • Register table
  • SAP assignment
  • Script table
  • Security setup
  • Single action schedule
  • Special days table
  • Status mapping
  • Tcp Udp Setup
  • Utility tables
  • Manufacturer custom objects

Hire Us!

Latest Releases

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • gurux_dlms.GXDateTime.GXDateTime object Error in Python
  • T_APPL_DATA_LN_N1 subtest 3 fails on an LN-only server regardless of the response to a non-existing-object GET
  • Version mismatch between Gurux.DLMS 9.x and Gurux.Common/Gurux.Serial 8.x
  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin