Diff of /trunk/IoDrvMEGAIO/MEGAIO/MEGAIO/svnobj [000000] .. [r67]  Maximize  Restore

Switch to unified view

a b/trunk/IoDrvMEGAIO/MEGAIO/MEGAIO/svnobj
1
Gx_lƒ!0…jüo²–ó¯©ãàLSystem.StringL{6f9dac998de14efc846568ac443b7d08}SpecialFuncL{0db3d7bbcde044169a7bce49a0124323}NoneImplementationL{3b83b776fb2543b899f23c507c9143fc}TextDocument  L{f38782858e4f490bbb1b9acbb7eb04db}
2
TextLinesL{a5de0b0b1cb54913ac219d70293ec00d}Id
longTagTextSUPER();CASE _iState OF0: . IF usiAddress = 0 THENF    usiAddress := _byHardwareAddress;   END_IFd IF usiAddress < 16#31 OR  usiAddress > 16#34 THEN,      usiAddress := 16#31;H //usiAddress := 16#31  StackLevel;,   IF SUPER.init() THEN      _iState := 5;   END_IF   5: ( Timer.pt := T#70MS;6   buff[0] := MEGAIO_DAC_ADD;  buff[1] := 0;!   buff[2] := 0;""   // init DAC 0.0V#.   write(ADR(buff), 3);$, // init all relay off%*   write8(0, relayRaw);&, // set all gpio input'D   write8(GPIO_DIR_ADD, gpioDirRaw);(,   // set all open drain)<   write8(MEGAIO_OD_ADD, odRaw);*    _iState := 10;,END_CASEInterface.L{a9ed5b7e75c54651af16d2c27e98cb94}/BFUNCTION_BLOCK MEGAIO EXTENDS i2c0VAR_INPUT1T udtConfig : IoDrvConfig; // Configuration2V   udtOutput : IoDrvOutput; // Contains DO/AO3END_VAR4VAR_OUTPUT 5R udtInput : IoDrvInput; // Contains DI/AI6VAR74 timer: TON := (IN:=TRUE);8.   dacRawValue: UINT :=0;9* relayRaw: USINT :=0;:& odRaw: USINT := 0;;D odLastState: ARRAY[0..3] OF BOOL;<8   gpioDirRaw: USINT := 16#FF;=N   gpioOutLastState: ARRAY[0..5] OF BOOL;>4 _byHardwareAddress: BYTE;?*   //StackLevel: USINT;@2 _AfterReadInputs : UINT;A8 _BeforeWriteOutputs : UINT;B(   _Initialize : UINT;CVAR_TEMP   D i, usi: USINT;E: buff: ARRAY[0..2] OF USINT; F"UniqueIdGeneratorG241HPOULevelIL{8e575c5b1d3749c6941b5c0ec7874787}JStandardK ChildObjectGuidsL8System.Collections.ArrayListM,AddAttributeSubsequentNboolÐÐ-ÐÐ    E
3
ÐÐ
­
ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­ÞÚÐ-ÐÐ
­àÚÐ-ÐÐ
­ßÚÐ-ÐÐ
­CÚÐ-ÐÐ
­DÚÐ-ÐÐ
­EÚÐ-ÐÐ
­TÚÐ-ÐÐ
­ÖÚÐ-ÐÐ
­GÚÐ-ÐÐ
­IÚÐ-ÐÐ
­JÚÐ-ÐÐ
­KÚÐ-ÐÐ
­LÚÐ-ÐÐ
­NÚÐ-ÐÐ
­´ÚÐ-ÐÐ
­µÚÐ- ÐÐ
­¶ÚÐ-!ÐÐ
­ÀÚÐ-"ÐÐ
­·ÚÐ-#ÐÐ
­¾ÚÐ-$ÐÐ
­¸ÚÐ-%ÐÐ
­ÏÚÐ-&ÐÐ
­ÉÚÐ-'ÐÐ
­ÐÚÐ-(ÐÐ
­ÑÚÐ-)ÐÐ
­ÒÚÐ-*ÐÐ
­SÚÐ-+ÐÐ
­   ÚÐ-,Ð-.Ð   E
4
ÐÐ
­ ÚÐ-/ÐÐ
­¡ÚÐ-0ÐÐ
­ïÚÐ-1ÐÐ
­ñÚÐ-2ÐÐ
­£ÚÐ-3ÐÐ
­¤ÚÐ-4ÐÐ
­íÚÐ-5ÐÐ
­©ÚÐ-3ÐÐ
­ªÚÐ-6ÐÐ
­«ÚÐ-7ÐÐ
­®ÚÐ-8ÐÐ
­½ÚÐ-9ÐÐ
­ÂÚÐ-:ÐÐ
­ÓÚÐ-;ÐÐ
­ÊÚÐ-<ÐÐ
­ÌÚÐ-=ÐÐ
­ÕÚÐ->ÐÐ
­×ÚÐ-?ÐÐ
­ëÚÐ-@ÐÐ
­ìÚÐ-AÐÐ
­êÚÐ-BÐÐ
­¬ÚÐ-3ÐÐ
­°ÚÐ-CÐÐ
­±ÚÐ-DÐÐ
­²ÚÐ-EÐÐ
­¯ÚÐ-3ÐÐ
­ÚÐ-ÐF-GÐHI-JKLÐMN­