mario@181: /*
Edouard@279:  * Copyright (C) 2007-2011: Edouard TISSERANT and Laurent BESSARD
msousa@265:  *
Edouard@279:  * See COPYING and COPYING.LESSER files for copyright details.
msousa@265:  *
Edouard@279:  * This program is free software: you can redistribute it and/or modify
Edouard@279:  * it under the terms of the GNU General Public License as published by
Edouard@279:  * the Free Software Foundation, either version 3 of the License, or
Edouard@279:  * (at your option) any later version.
msousa@265:  *
Edouard@279:  * This program is distributed in the hope that it will be useful,
Edouard@279:  * but WITHOUT ANY WARRANTY; without even the implied warranty of
Edouard@279:  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Edouard@279:  * GNU General Public License for more details.
msousa@265:  *
Edouard@279:  * You should have received a copy of the GNU General Public License
Edouard@279:  * along with this program. If not, see <http://www.gnu.org/licenses/>.
mario@181:  *
mario@181:  */
mario@181: 
mario@181: /****
mario@181:  * IEC 61131-3 standard function library
mario@181:  * generated code, do not edit by hand
mario@181:  */
mario@181:  
mario@181:  
mario@181: typedef enum {
mario@181:     function_real_to_sint,
mario@181:     function_real_to_lint,
mario@181:     function_real_to_dint,
mario@181:     function_real_to_date,
mario@181:     function_real_to_dword,
mario@181:     function_real_to_dt,
mario@181:     function_real_to_tod,
mario@181:     function_real_to_udint,
mario@181:     function_real_to_word,
mario@181:     function_real_to_string,
mario@181:     function_real_to_lword,
mario@181:     function_real_to_uint,
mario@181:     function_real_to_lreal,
mario@181:     function_real_to_byte,
mario@181:     function_real_to_usint,
mario@181:     function_real_to_ulint,
mario@181:     function_real_to_bool,
mario@181:     function_real_to_time,
mario@181:     function_real_to_int,
mario@181:     function_sint_to_real,
mario@181:     function_sint_to_lint,
mario@181:     function_sint_to_dint,
mario@181:     function_sint_to_date,
mario@181:     function_sint_to_dword,
mario@181:     function_sint_to_dt,
mario@181:     function_sint_to_tod,
mario@181:     function_sint_to_udint,
mario@181:     function_sint_to_word,
mario@181:     function_sint_to_string,
mario@181:     function_sint_to_lword,
mario@181:     function_sint_to_uint,
mario@181:     function_sint_to_lreal,
mario@181:     function_sint_to_byte,
mario@181:     function_sint_to_usint,
mario@181:     function_sint_to_ulint,
mario@181:     function_sint_to_bool,
mario@181:     function_sint_to_time,
mario@181:     function_sint_to_int,
mario@181:     function_lint_to_real,
mario@181:     function_lint_to_sint,
mario@181:     function_lint_to_dint,
mario@181:     function_lint_to_date,
mario@181:     function_lint_to_dword,
mario@181:     function_lint_to_dt,
mario@181:     function_lint_to_tod,
mario@181:     function_lint_to_udint,
mario@181:     function_lint_to_word,
mario@181:     function_lint_to_string,
mario@181:     function_lint_to_lword,
mario@181:     function_lint_to_uint,
mario@181:     function_lint_to_lreal,
mario@181:     function_lint_to_byte,
mario@181:     function_lint_to_usint,
mario@181:     function_lint_to_ulint,
mario@181:     function_lint_to_bool,
mario@181:     function_lint_to_time,
mario@181:     function_lint_to_int,
mario@181:     function_dint_to_real,
mario@181:     function_dint_to_sint,
mario@181:     function_dint_to_lint,
mario@181:     function_dint_to_date,
mario@181:     function_dint_to_dword,
mario@181:     function_dint_to_dt,
mario@181:     function_dint_to_tod,
mario@181:     function_dint_to_udint,
mario@181:     function_dint_to_word,
mario@181:     function_dint_to_string,
mario@181:     function_dint_to_lword,
mario@181:     function_dint_to_uint,
mario@181:     function_dint_to_lreal,
mario@181:     function_dint_to_byte,
mario@181:     function_dint_to_usint,
mario@181:     function_dint_to_ulint,
mario@181:     function_dint_to_bool,
mario@181:     function_dint_to_time,
mario@181:     function_dint_to_int,
mario@181:     function_date_to_real,
mario@181:     function_date_to_sint,
mario@181:     function_date_to_lint,
mario@181:     function_date_to_dint,
mario@181:     function_date_to_dword,
mario@181:     function_date_to_udint,
mario@181:     function_date_to_word,
mario@181:     function_date_to_string,
mario@181:     function_date_to_lword,
mario@181:     function_date_to_uint,
mario@181:     function_date_to_lreal,
mario@181:     function_date_to_byte,
mario@181:     function_date_to_usint,
mario@181:     function_date_to_ulint,
mario@181:     function_date_to_int,
mario@181:     function_dword_to_real,
mario@181:     function_dword_to_sint,
mario@181:     function_dword_to_lint,
mario@181:     function_dword_to_dint,
mario@181:     function_dword_to_date,
mario@181:     function_dword_to_dt,
mario@181:     function_dword_to_tod,
mario@181:     function_dword_to_udint,
mario@181:     function_dword_to_word,
mario@181:     function_dword_to_string,
mario@181:     function_dword_to_lword,
mario@181:     function_dword_to_uint,
mario@181:     function_dword_to_lreal,
mario@181:     function_dword_to_byte,
mario@181:     function_dword_to_usint,
mario@181:     function_dword_to_ulint,
mario@181:     function_dword_to_bool,
mario@181:     function_dword_to_time,
mario@181:     function_dword_to_int,
mario@181:     function_dt_to_real,
mario@181:     function_dt_to_sint,
mario@181:     function_dt_to_lint,
mario@181:     function_dt_to_dint,
mario@181:     function_dt_to_dword,
mario@181:     function_dt_to_udint,
mario@181:     function_dt_to_word,
mario@181:     function_dt_to_string,
mario@181:     function_dt_to_lword,
mario@181:     function_dt_to_uint,
mario@181:     function_dt_to_lreal,
mario@181:     function_dt_to_byte,
mario@181:     function_dt_to_usint,
mario@181:     function_dt_to_ulint,
mario@181:     function_dt_to_int,
mario@181:     function_tod_to_real,
mario@181:     function_tod_to_sint,
mario@181:     function_tod_to_lint,
mario@181:     function_tod_to_dint,
mario@181:     function_tod_to_dword,
mario@181:     function_tod_to_udint,
mario@181:     function_tod_to_word,
mario@181:     function_tod_to_string,
mario@181:     function_tod_to_lword,
mario@181:     function_tod_to_uint,
mario@181:     function_tod_to_lreal,
mario@181:     function_tod_to_byte,
mario@181:     function_tod_to_usint,
mario@181:     function_tod_to_ulint,
mario@181:     function_tod_to_int,
mario@181:     function_udint_to_real,
mario@181:     function_udint_to_sint,
mario@181:     function_udint_to_lint,
mario@181:     function_udint_to_dint,
mario@181:     function_udint_to_date,
mario@181:     function_udint_to_dword,
mario@181:     function_udint_to_dt,
mario@181:     function_udint_to_tod,
mario@181:     function_udint_to_word,
mario@181:     function_udint_to_string,
mario@181:     function_udint_to_lword,
mario@181:     function_udint_to_uint,
mario@181:     function_udint_to_lreal,
mario@181:     function_udint_to_byte,
mario@181:     function_udint_to_usint,
mario@181:     function_udint_to_ulint,
mario@181:     function_udint_to_bool,
mario@181:     function_udint_to_time,
mario@181:     function_udint_to_int,
mario@181:     function_word_to_real,
mario@181:     function_word_to_sint,
mario@181:     function_word_to_lint,
mario@181:     function_word_to_dint,
mario@181:     function_word_to_date,
mario@181:     function_word_to_dword,
mario@181:     function_word_to_dt,
mario@181:     function_word_to_tod,
mario@181:     function_word_to_udint,
mario@181:     function_word_to_string,
mario@181:     function_word_to_lword,
mario@181:     function_word_to_uint,
mario@181:     function_word_to_lreal,
mario@181:     function_word_to_byte,
mario@181:     function_word_to_usint,
mario@181:     function_word_to_ulint,
mario@181:     function_word_to_bool,
mario@181:     function_word_to_time,
mario@181:     function_word_to_int,
mario@181:     function_string_to_real,
mario@181:     function_string_to_sint,
mario@181:     function_string_to_lint,
mario@181:     function_string_to_dint,
mario@181:     function_string_to_date,
mario@181:     function_string_to_dword,
mario@181:     function_string_to_dt,
mario@181:     function_string_to_tod,
mario@181:     function_string_to_udint,
mario@181:     function_string_to_word,
mario@181:     function_string_to_lword,
mario@181:     function_string_to_uint,
mario@181:     function_string_to_lreal,
mario@181:     function_string_to_byte,
mario@181:     function_string_to_usint,
mario@181:     function_string_to_ulint,
mario@181:     function_string_to_bool,
mario@181:     function_string_to_time,
mario@181:     function_string_to_int,
mario@181:     function_lword_to_real,
mario@181:     function_lword_to_sint,
mario@181:     function_lword_to_lint,
mario@181:     function_lword_to_dint,
mario@181:     function_lword_to_date,
mario@181:     function_lword_to_dword,
mario@181:     function_lword_to_dt,
mario@181:     function_lword_to_tod,
mario@181:     function_lword_to_udint,
mario@181:     function_lword_to_word,
mario@181:     function_lword_to_string,
mario@181:     function_lword_to_uint,
mario@181:     function_lword_to_lreal,
mario@181:     function_lword_to_byte,
mario@181:     function_lword_to_usint,
mario@181:     function_lword_to_ulint,
mario@181:     function_lword_to_bool,
mario@181:     function_lword_to_time,
mario@181:     function_lword_to_int,
mario@181:     function_uint_to_real,
mario@181:     function_uint_to_sint,
mario@181:     function_uint_to_lint,
mario@181:     function_uint_to_dint,
mario@181:     function_uint_to_date,
mario@181:     function_uint_to_dword,
mario@181:     function_uint_to_dt,
mario@181:     function_uint_to_tod,
mario@181:     function_uint_to_udint,
mario@181:     function_uint_to_word,
mario@181:     function_uint_to_string,
mario@181:     function_uint_to_lword,
mario@181:     function_uint_to_lreal,
mario@181:     function_uint_to_byte,
mario@181:     function_uint_to_usint,
mario@181:     function_uint_to_ulint,
mario@181:     function_uint_to_bool,
mario@181:     function_uint_to_time,
mario@181:     function_uint_to_int,
mario@181:     function_lreal_to_real,
mario@181:     function_lreal_to_sint,
mario@181:     function_lreal_to_lint,
mario@181:     function_lreal_to_dint,
mario@181:     function_lreal_to_date,
mario@181:     function_lreal_to_dword,
mario@181:     function_lreal_to_dt,
mario@181:     function_lreal_to_tod,
mario@181:     function_lreal_to_udint,
mario@181:     function_lreal_to_word,
mario@181:     function_lreal_to_string,
mario@181:     function_lreal_to_lword,
mario@181:     function_lreal_to_uint,
mario@181:     function_lreal_to_byte,
mario@181:     function_lreal_to_usint,
mario@181:     function_lreal_to_ulint,
mario@181:     function_lreal_to_bool,
mario@181:     function_lreal_to_time,
mario@181:     function_lreal_to_int,
mario@181:     function_byte_to_real,
mario@181:     function_byte_to_sint,
mario@181:     function_byte_to_lint,
mario@181:     function_byte_to_dint,
mario@181:     function_byte_to_date,
mario@181:     function_byte_to_dword,
mario@181:     function_byte_to_dt,
mario@181:     function_byte_to_tod,
mario@181:     function_byte_to_udint,
mario@181:     function_byte_to_word,
mario@181:     function_byte_to_string,
mario@181:     function_byte_to_lword,
mario@181:     function_byte_to_uint,
mario@181:     function_byte_to_lreal,
mario@181:     function_byte_to_usint,
mario@181:     function_byte_to_ulint,
mario@181:     function_byte_to_bool,
mario@181:     function_byte_to_time,
mario@181:     function_byte_to_int,
mario@181:     function_usint_to_real,
mario@181:     function_usint_to_sint,
mario@181:     function_usint_to_lint,
mario@181:     function_usint_to_dint,
mario@181:     function_usint_to_date,
mario@181:     function_usint_to_dword,
mario@181:     function_usint_to_dt,
mario@181:     function_usint_to_tod,
mario@181:     function_usint_to_udint,
mario@181:     function_usint_to_word,
mario@181:     function_usint_to_string,
mario@181:     function_usint_to_lword,
mario@181:     function_usint_to_uint,
mario@181:     function_usint_to_lreal,
mario@181:     function_usint_to_byte,
mario@181:     function_usint_to_ulint,
mario@181:     function_usint_to_bool,
mario@181:     function_usint_to_time,
mario@181:     function_usint_to_int,
mario@181:     function_ulint_to_real,
mario@181:     function_ulint_to_sint,
mario@181:     function_ulint_to_lint,
mario@181:     function_ulint_to_dint,
mario@181:     function_ulint_to_date,
mario@181:     function_ulint_to_dword,
mario@181:     function_ulint_to_dt,
mario@181:     function_ulint_to_tod,
mario@181:     function_ulint_to_udint,
mario@181:     function_ulint_to_word,
mario@181:     function_ulint_to_string,
mario@181:     function_ulint_to_lword,
mario@181:     function_ulint_to_uint,
mario@181:     function_ulint_to_lreal,
mario@181:     function_ulint_to_byte,
mario@181:     function_ulint_to_usint,
mario@181:     function_ulint_to_bool,
mario@181:     function_ulint_to_time,
mario@181:     function_ulint_to_int,
mario@181:     function_bool_to_real,
mario@181:     function_bool_to_sint,
mario@181:     function_bool_to_lint,
mario@181:     function_bool_to_dint,
mario@181:     function_bool_to_date,
mario@181:     function_bool_to_dword,
mario@181:     function_bool_to_dt,
mario@181:     function_bool_to_tod,
mario@181:     function_bool_to_udint,
mario@181:     function_bool_to_word,
mario@181:     function_bool_to_string,
mario@181:     function_bool_to_lword,
mario@181:     function_bool_to_uint,
mario@181:     function_bool_to_lreal,
mario@181:     function_bool_to_byte,
mario@181:     function_bool_to_usint,
mario@181:     function_bool_to_ulint,
mario@181:     function_bool_to_time,
mario@181:     function_bool_to_int,
mario@181:     function_time_to_real,
mario@181:     function_time_to_sint,
mario@181:     function_time_to_lint,
mario@181:     function_time_to_dint,
mario@181:     function_time_to_dword,
mario@181:     function_time_to_udint,
mario@181:     function_time_to_word,
mario@181:     function_time_to_string,
mario@181:     function_time_to_lword,
mario@181:     function_time_to_uint,
mario@181:     function_time_to_lreal,
mario@181:     function_time_to_byte,
mario@181:     function_time_to_usint,
mario@181:     function_time_to_ulint,
mario@181:     function_time_to_int,
mario@181:     function_int_to_real,
mario@181:     function_int_to_sint,
mario@181:     function_int_to_lint,
mario@181:     function_int_to_dint,
mario@181:     function_int_to_date,
mario@181:     function_int_to_dword,
mario@181:     function_int_to_dt,
mario@181:     function_int_to_tod,
mario@181:     function_int_to_udint,
mario@181:     function_int_to_word,
mario@181:     function_int_to_string,
mario@181:     function_int_to_lword,
mario@181:     function_int_to_uint,
mario@181:     function_int_to_lreal,
mario@181:     function_int_to_byte,
mario@181:     function_int_to_usint,
mario@181:     function_int_to_ulint,
mario@181:     function_int_to_bool,
mario@181:     function_int_to_time,
mario@181:     function_trunc,
mario@181:     function_bcd_to_udint,
mario@181:     function_bcd_to_uint,
mario@181:     function_bcd_to_ulint,
mario@181:     function_bcd_to_usint,
mario@181:     function_udint_to_bcd,
mario@181:     function_uint_to_bcd,
mario@181:     function_usint_to_bcd,
mario@181:     function_ulint_to_bcd,
mario@181:     function_date_and_time_to_time_of_day,
mario@181:     function_date_and_time_to_date,
mario@181:     function_abs,
mario@181:     function_sqrt,
mario@181:     function_ln,
mario@181:     function_log,
mario@181:     function_exp,
mario@181:     function_sin,
mario@181:     function_cos,
mario@181:     function_tan,
mario@181:     function_asin,
mario@181:     function_acos,
mario@181:     function_atan,
mario@181:     function_add,
laurent@314:     function_mul,
laurent@314:     function_sub,
laurent@314:     function_div,
laurent@314:     function_mod,
laurent@314:     function_expt,
laurent@314:     function_move,
Edouard@279:     function_add_time,
Edouard@279:     function_add_tod_time,
Edouard@279:     function_add_dt_time,
Edouard@279:     function_multime,
Edouard@279:     function_sub_time,
Edouard@279:     function_sub_date_date,
Edouard@279:     function_sub_tod_time,
Edouard@279:     function_sub_tod_tod,
Edouard@279:     function_sub_dt_time,
Edouard@279:     function_divtime,
mario@181:     function_shl,
mario@181:     function_shr,
mario@181:     function_ror,
mario@181:     function_rol,
mario@181:     function_and,
mario@181:     function_or,
mario@181:     function_xor,
mario@181:     function_not,
mario@181:     function_sel,
mario@181:     function_max,
mario@181:     function_min,
mario@181:     function_limit,
mario@181:     function_mux,
mario@181:     function_gt,
mario@181:     function_ge,
mario@181:     function_eq,
mario@181:     function_lt,
mario@181:     function_le,
mario@181:     function_ne,
mario@181:     function_len,
mario@181:     function_left,
mario@181:     function_right,
mario@181:     function_mid,
mario@181:     function_concat,
Edouard@279:     function_concat_dat_tod,
mario@181:     function_insert,
mario@181:     function_delete,
mario@181:     function_replace,
mario@181:     function_find,
mario@181:     function_none
mario@181: } function_type_t;