Commit 18fb0d59 authored by claes's avatar claes

New plc object ToggleDig

parent b3f5b7ab
/*
* Proview $Id: rt_plc_macro_io.h,v 1.6 2005-09-01 14:57:56 claes Exp $
* Proview $Id: rt_plc_macro_io.h,v 1.7 2005-10-18 05:11:34 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -211,6 +211,14 @@
#define resdi_exec(obj,in) \
if ( in ) obj->ActualValue = false;
/*_*
TOGGLEDI
Toggle digital input (Simulate)
@aref toggledi ToggleDi
*/
#define toggledi_exec(obj,in) \
if ( in) obj->ActualValue = !obj->ActualValue;
/*_*
STOAI
store analog input (Simulate)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment