lizhendong
¼‰„e: ¼Òˆ@³£¿Í
¾«ÈAÖ÷î}: 0
°l(f¨¡)Ìû”µ(sh¨´)Á¿: 608 ‚€
¹¤¿ØÍþÍû: 800 üc
ÏÂÝd·e·Ö: 1992 ·Ö
ÔÚ¾€•rég: 852(С•r)
×¢ƒÔ•rég: 2016-10-12
×îºóµÇä›: 2024-12-26
²é¿´lizhendongµÄ Ö÷î} / »ØÙN
˜ÇÖ÷  °l(f¨¡)±íÓÚ: 2022-02-05 18:49
ˆDƬ£º
Œ§(d¨£o)ÈëMHJ-PLC-Lab-Function-S71500.scl×Ô¼º½¨Á¢µÄ factory io TIA Portia ·ÂÕæÄ£°åÓò»ÁË£¿£¿£¿ÓÐ×Ô¼º½¨Á¢³É¹¦µÄ†á£¿£¿


FUNCTION "MHJ-PLC-Lab-Function-S71500" : Void
{ S7_Optimized_Access := 'TRUE' }
VERSION : 0.1
   VAR_TEMP
      Value : Byte;
      ForCounter : Int;
   END_VAR

   VAR CONSTANT
      Value_01_DW : DWord := 16#1223_5486;
      Value_02_DW : DWord := 16#A6C9_D1F5;
   END_VAR


BEGIN
    
    #Value:=PEEK(area := 16#82,
         dbNumber := 0,
         byteOffset := 511);
    #Value := #Value + 1;
    
    POKE(area := 16#82,
         dbNumber := 0,
         byteOffset := 511,
         value := #Value);
    
    POKE(area := 16#82,
         dbNumber := 0,
         byteOffset := 1016,
         value := #Value_01_DW);
    POKE(area := 16#82,
         dbNumber := 0,
         byteOffset := 1020,
         value := #Value_02_DW);
    
    FOR #ForCounter := 0 TO 63 DO
        #Value:=PEEK(area := 16#1,
             dbNumber := 0,
             byteOffset := #ForCounter);
        POKE(area := 16#81,
             dbNumber := 0,
             byteOffset := #ForCounter,
             value := #Value);
    END_FOR;
    #Value := PEEK(area := 16#1,
                   dbNumber := 0,
                   byteOffset := 512);
    POKE(area := 16#82,
         dbNumber := 0,
         byteOffset := 512,
         value := #Value);
    
        
END_FUNCTION


¸½¼þ£º MHJ-PLC-Lab-Function-S71500.rar (1 K) ÏÂÝd´Î”µ(sh¨´):86
¾W(w¨£ng)Õ¾Ìáʾ: Õˆ²»ÒªÓÃѸÀ×ÏÂÝd¸½¼þ£¬ÈÝÒ׳öåe
lizhendong
¼‰„e: ¼Òˆ@³£¿Í
¾«ÈAÖ÷î}: 0
°l(f¨¡)Ìû”µ(sh¨´)Á¿: 608 ‚€
¹¤¿ØÍþÍû: 800 üc
ÏÂÝd·e·Ö: 1992 ·Ö
ÔÚ¾€•rég: 852(С•r)
×¢ƒÔ•rég: 2016-10-12
×îºóµÇä›: 2024-12-26
²é¿´lizhendongµÄ Ö÷î} / »ØÙN
1˜Ç  °l(f¨¡)±íÓÚ: 2022-02-11 16:30
Óд󎟆á