Help for sps-forum.de

L D[AR2P#0.0]

Lifetime Supporting Member
Join Date
Nov 2006
Location
UK
Posts
6,686
Could any sps-forum.de user please point "Supervisor" to the code below: (originating thread http://sps-forum.de/showthread.php?t=16814)


Code:
FUNCTION FC1 : VOID
TITLE =
VERSION : 0.1

VAR_INPUT
  FB_NUMMER : BLOCK_FB ; 
  DB_NUMMER : BLOCK_DB ; 
END_VAR
VAR_TEMP
  iFB_Nummer : INT ; 
  iDB_Nummer : INT ; 
  dwAR2 : DWORD ; 
END_VAR
BEGIN
NETWORK
TITLE =CALL FB_NUMMER,DB_NUMMER
	  L	 P##FB_NUMMER; 
	  SRD   16; 
	  T	 #iFB_Nummer; 
	  L	 P##DB_NUMMER; 
	  SRD   16; 
	  T	 #iDB_Nummer; 
	  CDB   ; 
	  OPN   DI [#iDB_Nummer]; 
	  TAR2  #dwAR2; 
	  LAR2  P#DBX 0.0; 
	  UC	FB [#iFB_Nummer]; 
	  LAR2  #dwAR2; 
	  CDB   ; 
END_FUNCTION
 
Just to let you know that Jesper beat me to it this morning, but in the meantime Supervisor has found your post and is delighted with it. A large "Thank you" from him.
 
Thanks Jesper/Roy. I tried to register on sps-forum.de but I appear to be on an invalid domain so couldn't proceed further.
 

Similar Topics

Hi!! I'm looking for Temperature rise calculation software from Rockwell, I just download "Product selection toolbox 2022" but this software is...
Replies
1
Views
105
Please see attached file. I need this program in Function Block form but I am totally lost on this. Any help would be appreciated. Thanks!
Replies
8
Views
257
Took a new job and the controls schemes are fairly old and I'm used to Allen Bradley and Siemens. I'm looking to replace a pair of Superior...
Replies
1
Views
85
Hello, I have a question about fuses and how to calculate their required size. I understand that determining the appropriate fuse size isn't...
Replies
0
Views
113
I'm creating an HMI that has a recipe with 288 data point. It has 3 pieces of data for 96 segments. I need help with VBA code to copy all 288...
Replies
0
Views
123
Back
Top Bottom