[?]: Siemens blockmove

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
Tcp
Posts: 21
Joined: Thu Jun 28, 2007 9:46 pm
Location: Australia

[?]: Siemens blockmove

Post by Tcp »

I want to move 32 bits from a bit array (bit 16-47 of PIWbitarray 0-127)
to a TempDint(Dint). Could someone pl send me an example in ladder.

Thanks in advance[/img][/url]
sania
Site Admin
Posts: 1387
Joined: Sat Aug 13, 2005 6:15 am

Post by sania »

check sfc 20 "block_move"

Code: Select all

      CALL  "BLKMOV"
       SRCBLK :=P#I 16.0 BYTE 8
       RET_VAL:=MW100
       DSTBLK :=P#DB10.DBX 40.0 BYTE 8
      NOP   0