[?]: Siemens blockmove

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

[?]: Siemens blockmove

Post by Tcp » Mon Sep 24, 2007 5:46 am

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: 1375
Joined: Sat Aug 13, 2005 6:15 am
Contact:

Post by sania » Mon Sep 24, 2007 9:30 am

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

Post Reply