Problem using SFC67 and SFC68 (x_get, x_put)

metaller

Member
Join Date
May 2004
Location
Bratislava
Posts
86
Hello there, i need a small help with using scf67 and 68 in s7-300 CPU connected to s7-200 CPU... How could i know when is the communication between these CPUs down?
Thanx for help...
 
You could put heart-beat bits into the data areas you are transferring. If the heart-beats stop changing then you know the comms is down. Note the heart beat must not change faster than half your comms rate to prevent aliasing.
 
thats exactly the problem... with this solution could i know if PLC is in stop mode, but when the communication crashes down, the last data transmitted from CPU are remembered and showed...
 
s7-200 - S7-300

You must write your code so these heartbeat bits are required to toggle every x number of milliseconds or a communication error will result
 
I've solved it... I'm writing to S7200 1 and 0 with 1s period, and then reading it in S7300. When a positive edge arrives i'm reseting one timer... When does not, timer elapses and a comm error is set...
 

Similar Topics

I have wasted a week trying to figure out how to connect an SLC5/03 with my laptop. I do not have and can not Buy the 1747 UIC and PC3 cables. I...
Replies
14
Views
2,555
I am trying to use my Beckhoff PLC to send emails. I am using a Gmail account that I just created. Apparently Google has removed “Less Secured...
Replies
2
Views
1,131
I am working on a project, inside an AB CLX, I implemented the Modbus TCP Client AOI published on AB website, to interreact with a Modbus ASCII...
Replies
7
Views
3,559
Hi; I have Weintek HMIs connected with an Ethernet network. Usually I do upload the data log files by using “ftp” command. By using my...
Replies
4
Views
2,127
please help i didn't solve this problem with rslogix. I counted but i am not using timer. How i will fix this situation? Please anyone solve this...
Replies
18
Views
4,918
Back
Top Bottom