Siemens ENCO Fucntion

TEOWK

Member
Join Date
Oct 2004
Location
Batu Pahat
Posts
38
I am testing with Siemens S7-300 FC96 ENCO fuctions. The CPU error pops out whenever I tried to read the return value of this fuction. Please advise.

A I 0.4
JCN OUT
Call "ENCO"
IN:= MD 20
RET_VAL:= MW 30

OUT: NOP 0
 
Questions:

1) What values are you inputting for MD20?
2) When you call the module diagnostics (ctrl-d), what error is displayed?
3) Are you sure the problem is in this function and not some other code that might be using this return value?
 
Thanks for your reply.

I have just found out the root cause.
I have not download this function FC96 into the PLC, all the while I only download the OB1 only.

Thanks a lot for your support.
 

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
69
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
162
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
143
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
104
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
140
Back
Top Bottom