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

The past week we received a new piece of equipment from Germany which utilizes siemens controls. Typically in our company we use A.B. controls for...
Replies
4
Views
50
Hello I have a s7-1200 and I would like to read the tags present in this controller with my controllogix controller. The two controllers don't use...
Replies
5
Views
110
Hi need help why this “failure 5 emergency stop “ appears at every startup in the morning ? Have to shut off main switch at least 10 times on...
Replies
19
Views
285
i have two plc 1. s7-1212dc/dc/dc ip; 192.168.0.1 2. s7-1500 1513-1pn ip; 192.168.3.2 i need to get data from plc1 to plc2. any idea how to do...
Replies
5
Views
99
Hi everyone hope you'll well. Is it possible for me to download a Crack version of tia portal v13..sorry to say this but the software is very...
Replies
5
Views
196
Back
Top Bottom