beautypg.com

Watlow LogicPro User Manual

Page 199

background image

LogicPro User’s Guide

Chapter 11: User Defined Function Blocks

Doc.# 28002-00 Rev 3.00

Watlow Anafaze

183

ADD1StructA->Q = *Q;

}

else

{

*Q = 0;

}

}

return 0;

}

void InitADD1(ADD1Struct *ADD1StructA,Int16 A,Int16 B)

{

ADD1StructA->A = A;

ADD1StructA->B = B;

}

void ResetADD1(ADD1Struct *ADD1StructA)

{

}

void ExitADD1(ADD1Struct *ADD1StructA)

{

}