Block Move in SCL

CharlesM

Member
Join Date
Aug 2005
Location
Arkansas
Posts
1,129
I have used SCL a couple of times but I have never called any functions from SCL. I am trying to do a SFC20 and I can't get the return value to work. The first one is without and I have tried "HERE" on the last two.

BLKMOV(SRCBLK := DB191// IN: ANY
,DSTBLK := DB192// OUT: ANY
); // INT
BLKMOV(SRCBLK := DB190// IN: ANY
,DSTBLK := DB191// OUT: ANY
HERE); // INT
BLKMOV(SRCBLK := DB200// IN: ANY
,DSTBLK := DB190// OUT: ANY
)HERE; // INT
 

Similar Topics

Afternoon, I have a DB in TIA Portal V16 that is optimised. I cannot change this. There is an array inside that block which consists of 3000...
Replies
9
Views
1,149
Hello, In Tia Portal I put a motion block called MC-MoveRelative from the Technology instruction. I choose an instance datablock and I want to...
Replies
4
Views
1,454
Hello ladies an gents, I've always had a weakness of being too persistent; I often go way to long while knowing that all it would take to...
Replies
24
Views
6,492
Hi, Ok bear with me, I have an Array of Real in a DB ranging from 0 to 10. In ladder I want when count pulse = 100 move count into Array 0...
Replies
1
Views
2,080
Hello, I did a programming using MOVE block. However, whenever i press input. The MOVE block does not read the value assigned to transfer. Instead...
Replies
9
Views
2,635
Back
Top Bottom