Help for sps-forum.de

L D[AR2P#0.0]

Lifetime Supporting Member
Join Date
Nov 2006
Location
UK
Posts
6,699
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 friends, i need a help to know the procedure and steps to connect Lenze i700 to PC for parameterize. i tried with lenze easy-starter using LAN...
Replies
0
Views
32
HI everyone, i am new to Siemens plc programming and i am in need of some help. yesterday we had an S7-1200 CPU 1214C fail to turn on an output to...
Replies
9
Views
284
I have an old Sentry Palletizer (S/O Number 3007 / Serial Number 1172) that has lost its program as the backup battery died years ago. I can...
Replies
0
Views
115
Hello, I need to write the following program in Ladder language, but I could not integrate the Fibonacci sequence into the ladder. Can you help...
Replies
22
Views
483
this a program to send data to barcode printer I want to integrate a new printer in a new machine and i wanted to adapt the old prgram on it but I...
Replies
4
Views
186
Back
Top Bottom