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

Hello, I have a CPU 317-2DP Firmware Version V2.1.8. In TIA Portal only V2.6 is available, and there is no option to upgrade FW. Then I open it...
Replies
2
Views
97
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
291
Hi PLC people, think about this scenario: The PLC is somehow connected to the same network with the facilities` network. Then someone connects to...
Replies
2
Views
105
Hello everyone, I've had this issue for the last 2 days where I try to assign the profisafe address to an IO block (6ES7 146-6FF00-0AB0) but when...
Replies
5
Views
159
Hello, good morning, I have been having two problems with the Tia Portal software. The first is that I have installed it on my computer and...
Replies
5
Views
197
Back
Top Bottom