S7 Resetting a range of flags/Outputs

pouch

Member
Join Date
Apr 2006
Location
Chester
Posts
44
I have used SFC80 from the S7 library to reset ranges of flags and outputs on a 315DP program. The CPU rejected the blocks with the SFC80 function in them. A friend who works for Siemens reckons its probably a version problem.

Question, what methods are best used for resetting ranges flags and outputs. The client insists on ladder.

Regards

Pouch
 
Hej

Have you tried the FC 82 from the "TI-S7 Converting Blocks" lib.

Best Regards
Jesper
 
What parameters did you assign to SFC80 ?

SFC21 can be used to fill memory areas, e.g.

fill0099.JPG
 
Last edited:
Pouch...I hate to state the obvious...did you check online to see whether SFC80 is in your CPU?

It may not be available on your CPU...but I doubt it.

Nick
 
Hi all,

The parameters used:

SA m0.0
N 12
RET_VAL mw80

From what I've read it should run on an S7 315.

Reading the document properly it looks like value for SA should be a pointer i.e. P#M0.0.

Regards

Pouch
 
Last edited:
Hi,


Try the following;

A M 100.0 //Condition to carry out reset
JNB _001
L 0
T ID 100 //area to reset, Can be Q, M or I area.
T QB 100 //Use Byte Word or Double word
T MW 10
_001: NOP 0
 

Similar Topics

Does Rockwell still offer reset codes for old school Master Disk floppy's? In a bind and need to reset the activation disk soon and to be pointed...
Replies
9
Views
228
Hi, I recently installed 2 1783-NATR devices into two of our machines. The machines are pretty much identical, both having 1769- L24ER-QFC1B...
Replies
4
Views
294
How is it going y'all? So We have had a pesky problem with an EH 300 flow meter. We are using EIP to reset the totalizer, and for some reason the...
Replies
3
Views
773
MELSEQ "intelligent modules" configuration, programmatically resetting the CPU Hello. This is for the Mitsubishi experts, and thanks in advance...
Replies
5
Views
1,048
Hi all, is there an easy way to reset a user defined shift register to 0? i have a data type containing 8 bools for an array of 10 and would like...
Replies
12
Views
3,185
Back
Top Bottom