lib/iec_std_lib_generated.h
author etisserant
Thu, 28 Feb 2008 18:10:42 +0100
changeset 113 ea3f099f5b5f
parent 107 ff5c92df0c78
child 149 05ca171a3d57
permissions -rw-r--r--
right name for TOFF is TOF according to 61131
/*
 * (c) 2008 Edouard TISSERANT
 *
 * Offered to the public under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
 * General Public License for more details.
 *
 * This code is made available on the understanding that it will not be
 * used in safety-critical situations without a full and competent review.
 */

/****
 * IEC 61131-3 standard function lib
 * generated code, do not edit by hand
 */

/* Macro that expand to subtypes */
#define ANY(DO) ANY_DERIVED(DO) ANY_ELEMENTARY(DO)
#define ANY_DERIVED(DO)
#define ANY_ELEMENTARY(DO) ANY_MAGNITUDE(DO) ANY_BIT(DO) ANY_STRING(DO) ANY_DATE(DO)
#define ANY_MAGNITUDE(DO) ANY_NUM(DO) DO(TIME)
#define ANY_BIT(DO) ANY_NBIT(DO) DO(BOOL)
#define ANY_NBIT(DO) DO(BYTE) DO(WORD) DO(DWORD) DO(LWORD)
#define ANY_STRING(DO) DO(STRING)
#define ANY_DATE(DO) DO(DATE) DO(TOD) DO(DT)
#define ANY_NUM(DO) ANY_REAL(DO) ANY_INT(DO)
#define ANY_REAL(DO) DO(REAL) DO(LREAL)
#define ANY_INT(DO) ANY_SINT(DO) ANY_UINT(DO)
#define ANY_SINT(DO) DO(SINT) DO(INT) DO(DINT) DO(LINT)
#define ANY_UINT(DO) DO(USINT) DO(UINT) DO(UDINT) DO(ULINT)