The whole story
I was asked to put a hardware counter on a particular plc output for a starch making machine (Ringwood) to count how many batches are being made.
This machines plc is password protected by the supplier.
I thought it would be possible to setup a slc5/05 in the workshop and just read the state of the Ringwood plc ouput I wish to monitor every .5 seconds and log results on this workshop plc.
Problem 1 - memmory map doesn't match hardware:
The output I wish to monitor is shown in electrical drawings as O:07/06.
The rack configuration matches the electrical drawings with first 4 slots as input cards and next 3 slots as output cards. There is then a scanner but this only does weigh scale instruments.
https://drive.google.com/file/d/0ByZK7lGjg-zfaUR2WnBNR25XVGc/view?usp=sharing
When I look at the Ringwood plc webserver (I don't have plc password), the Output modules are shown starting at O:0 going to O:34. O:0, O:1, O:2 show data which corresponds to actual state of outputs at slot 5/6/7 which I don't understand.
https://drive.google.com/file/d/0ByZK7lGjg-zfcHN1VEo5cWdFZjQ/view?usp=sharing
Problem 2 - cant read Inputs or outputs:
When I set my program to read any B or N word I get the data
coppied to the workshop plc (top image).
If I try and read output O:0, O:2, o:6 ... I get the error (bottom image)
https://drive.google.com/file/d/0ByZK7lGjg-zfdjZHZ19sczdZWlk/view?usp=sharing
Most likely problem 1 is cause of problem 2.
Either way it's academic now as I have installed hardware timer.
my workshop plc program used for reading remote data can be found in following link.
https://drive.google.com/file/d/0ByZK7lGjg-zfTUtlbUdVX2lNb1U/view?usp=sharing
Any ideas?
I will edit post if I can get pics uploaded.
Thanks.