RedLion Datastation

rajy2r

Member
Join Date
Nov 2006
Location
Canada
Posts
167
I have a RedLion datastation logging data to a CF card.
When i disconnected the PLC, it seems to keep logging the last read data.
Is there a way to configure it, so i can write a value of 0 if it is disconnected, and maybe log a communication status bit showing its not communicating?
 
short answer yes

Lots of ways to do this. You can use the ComError function. It will read 0 when comms are ok and 1 when comms are not ok. You could setup your data log to only trigger when this value is 0.

Another way and my favorite is to read the RTC on the PLC and only trigger your data log when you see a change of value. I like this because it only changes whenever you have made a correct read from the PLC and it only logs once.
 
Thats what i was looking for. I thought i saw it, and couldn't find it again. It was in the reference manual as it turns out.

Care to share a sample of the datastation database with a PLC-5 if possible?

I have all the read tags configured to the PLC-5 (Not using Blocks, just tags). All i want to do now is create a heart beat to the PLC, so i can alarm on the PLC side. Also possibly use the IsLogging function to a bit for status to PLC.

Not quite sure what is the best way to handle it in crimson 3.
 

Similar Topics

Does anyone know if the Red Lion Datastation range can do Profinet? Basically we have a machine with a PN/PN coupler serving the data we need...
Replies
5
Views
1,928
I am having a problem with communication Ethernet /Ip. The relay time in transmitting information is roughly 6 seconds From PLC to redlion to...
Replies
2
Views
2,985
Hi, I want to make a schedule with redlion datastation plus, but i dont see how. I need to have a web page were i insert the start time, run...
Replies
1
Views
1,897
On my DSP, I’ve been experiencing a strange and repeatable event. When viewing the HMI screen via the webserver, the device resets when...
Replies
5
Views
3,350
Hey guys, hoping someone here could give me a little advice. I'm working with a CR1000-04000 in Crimson 3.1 and I was interested in adding the...
Replies
4
Views
124
Back
Top Bottom