I have a problem with the communication between a MicroLogix 1500 and a SLC-5/04 (I think it's a 5/04, definitely 5/03 or above).
Our model assembly line (pre-built, we're unable to alter any wiring since it's the college's equipment) is split into 8 stations.
We're tyring to work out how integer files from the M/Logix 1500 at station 1 are sent to the SLC over DeviceNet.
Station 1 (and all other stations) has a 1761-NET-DNI between the M/L 1500 and the 1747-SDN DeviceNet scanner module.
We set the scanner's scanlist to scan only the DNI's on the stations we need. No problem there. And the DNI's are mapped to the M1/M0 files of the scanner.
Integer files, N20:0 and N20:1 are read from the MicroLogix 1500 by the DNI and are sent to the 1747-SDN. No problems there.
In the existing SLC program, one of the first rungs contains a COPy instruction, as follows
I understand this to mean that the scanner's M1 file (which is read by the SLC) is going to be tranferred into the N20 integer file in the SLC. 80 consecutive files will be transferred. Great.
HOWEVER...
Investigation into the actual workings of the program led us to find that the N20 files from the M/Logix 1500 were actually being stored in the N21 files in the SLC - not the N20 files as the copy instruction should have dictated.
We proved the problem by examining N20:1/1 in the M/Logix 1500 and checking the status of the same bit in the SLC - we found that the same bit (labelled the same) was at address N21.1/1.
The problem is driving us crazy! Have we missed something?
I can post the DNI parameters if need be.
Thanks for your time and patience,
Richard Byrne.
Our model assembly line (pre-built, we're unable to alter any wiring since it's the college's equipment) is split into 8 stations.
We're tyring to work out how integer files from the M/Logix 1500 at station 1 are sent to the SLC over DeviceNet.
Station 1 (and all other stations) has a 1761-NET-DNI between the M/L 1500 and the 1747-SDN DeviceNet scanner module.
We set the scanner's scanlist to scan only the DNI's on the stations we need. No problem there. And the DNI's are mapped to the M1/M0 files of the scanner.
Integer files, N20:0 and N20:1 are read from the MicroLogix 1500 by the DNI and are sent to the 1747-SDN. No problems there.
In the existing SLC program, one of the first rungs contains a COPy instruction, as follows
COP
SOURCE: #M1.1.0
DEST: #N20:0
LENGTH: 80
I understand this to mean that the scanner's M1 file (which is read by the SLC) is going to be tranferred into the N20 integer file in the SLC. 80 consecutive files will be transferred. Great.
HOWEVER...
Investigation into the actual workings of the program led us to find that the N20 files from the M/Logix 1500 were actually being stored in the N21 files in the SLC - not the N20 files as the copy instruction should have dictated.
We proved the problem by examining N20:1/1 in the M/Logix 1500 and checking the status of the same bit in the SLC - we found that the same bit (labelled the same) was at address N21.1/1.
The problem is driving us crazy! Have we missed something?
I can post the DNI parameters if need be.
Thanks for your time and patience,
Richard Byrne.