Help for sps-forum.de

L D[AR2P#0.0]

Lifetime Supporting Member
Join Date
Nov 2006
Location
UK
Posts
6,694
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

So i've been at this for a long while, i have Citect Scada 2018, i have full access to everything but i can't seem to find any option or...
Replies
0
Views
27
Hi all, hope you are having a great day, I am in need of your help to create a AOI or program that does this kind of job: I have a IO Link...
Replies
20
Views
207
please help me . I have to make this ladder diagram and I can’t figure it out :(
Replies
12
Views
346
Hi Everyone, i was hoping for a little help with this module. i have data that needs to be read from a different plc through the Modbus plus...
Replies
11
Views
227
Hello, I am trying to replicate a piece of logic on the PLC5 onto an SEL RTAC. I am using ladder on SEL and FBD. I am having issue on the ladder...
Replies
13
Views
233
Back
Top Bottom