Siemens S7, SFC83,84 problems

JockeData

Member
Join Date
Jul 2016
Location
Åseda
Posts
17
Hello!

Im having some urgent problems.

Im in need to move my recipes to the MMC card.

The problems im having here is that when i use the SFC83, 84 to Write and Read data on the MMC i get the error/retval: 80C3.

I have tried the exact same code, dbs and everything involved on my test station where it works. But when i try it on the live PLC i cannot get it to work.

I do not use the SFC83,84 anywhere else in the code. Only 1 read and 1 write.

The PLC im using is a 317F-2 PN/DP.

Im happy for all the suggestions.
 
hmm, maybe use a bit that is SET for REQ, and use BUSY to reset the same bit.

Something like this...

SET a bit for REQ SFC 83
when BUSY becomes 0 (falling edge) RESET bit for REQ SFC 83 (this would need a parallel instruction to RESET this bit if the RET_VAL is <> 0)

same for REQ SFC 84..

but, use the BUSY bit from the opposite instruction to block the other... if you know what I mean.
 
Last edited:
hmm, maybe use a bit that is SET for REQ, and use BUSY to reset the same bit.

Something like this...

SET a bit for REQ SFC 83
when BUSY becomes 0 (falling edge) RESET bit for REQ SFC 83 (this would need a parallel instruction to RESET this bit if the RET_VAL is <> 0)

same for REQ SFC 84..

but, use the BUSY bit from the opposite instruction to block the other... if you know what I mean.


Same here, the BUSY bit never goes high and therefore never low. So the triggerbit for REQ never gets reseted.
 
How much free space is on the MMC? and how much data are you trying to write?

About 3MB free space, with this test im only trying with a word.

What happens when you use bits and set them yourself in a VAT table?

Same result as above.

Capture the BUSY bit using a SET coil on an unused bit, to really be sure the BUSY is actually turning on. It may be happening too fast to see it.

Tried this, no luck. Bit does not get SET with the BUSY bit as trigger.

What's the version of firmware/operating system in your test PLC and the 317F-2PN/DP?

My test PLC is a 315F-2PN/DP, V3.2.3.
The 317 PLC is V3.2.11
 

Similar Topics

I'm using the Siemens PRONETA software to do some IO testing currently. I love the simplicity and fast testing capability. Does anyone know about...
Replies
0
Views
64
Hi, First time user of S5 Siemens. Is there any solution on how to solve this kind of error. HMI OP7 $613 DB-error No. 11 (0: 15) Siemens PLC...
Replies
9
Views
157
Hello, I have an issue where I want to simulate an Siemens HMI panel, through NAT connection to a PLC. I have the possibility through extended...
Replies
4
Views
137
Hi all! Please inform me if i can make programing of the HMI SIEMENS IPC477D from TIA Portal software or not? I do not have WINCC software but...
Replies
1
Views
98
I have never had the pleasure of working with a "Thermistor" until now and have a question. The Thermistor is a 10KOhm 4-20mA 2-wire device and I...
Replies
4
Views
135
Back
Top Bottom