Ken Roach said:
...it's super-common to be confused about which is "input" and which is "output"....
It sure is, seems even the Yaskawa Applications people can get confused as well?
Brian,
I've had another look at this for you and I think I've noticed something that may be causing your problem?
AutomationTechBrian said:
...the file I attached is a revision I had emailed to me directly from a Yaskawa Applications person...
In the 2010 EDS file you posted:
AU4A0515_SI-N3_v1.8_(1).txt
Param2= $ Current PPA
0,
6,"20 64 24 03 30 C4",
0x0002,
0xC7,
2,
"PPA",
"",
"Polled Producing Assembly (Master to Drive)",
20,126,21,
,,,,
,,,,
;
Param3= $ Current PCA
0,
6,"20 64 24 03 30 C3",
0x0002,
0xC7,
2,
"PCA",
"",
"Polled Consuming Assembly (Drive to Master)",
70,199,71,
,,,,
,,,,
;
A couple of things.
Firstly...
The 'Master to Drive' and 'Drive to Master' are mixed up here.
Master being the Scanner, or PLC in effect.
A PPA is Produced in the Drive and Consumed in the PLC (Input Assembly). i.e. PPA = Drive to Master.
A PCA is Produced in the PLC (Output Assembly) and Consumed in the Drive. i.e. PCA = Master to Drive.
But that's just text in an EDS file that most won't ever see to mislead them.
Secondly, and more importantly...
In the 2013 EDS file I posted:
AU4A0515_SI-N3_v1.008.txt
Param2= $ Current PCA
0,
6,"20 C7 24 03 30 C3",
0x0000,
0xC7,
2,
"PCA - Polled Consuming Assembly",
"",
"Polled Consuming Assembly (Master to Drive)",
20,126,21,
,,,,
,,,,
;
Param3= $ Current PPA
0,
6,"20 C7 24 03 30 C4",
0x0000,
0xC7,
2,
"PPA - Polled producing Assembly",
"",
"Polled Producing Assembly (Drive to Master)",
70,199,71,
,,,,
,,,,
;
Here the Master and Drive descriptions are correct, but notice how Param 2 and 3 have reversed rolls from the 2010 version?
Param 2 is now PCA and Param 3 is now PPA.
If you look at all the other EDS files from Yaskawa, you'll see that Param 2 = PCA and Param 3 = PPA.
Somehow, your currently registered EDS file has them reversed?
With them reversed, look at the parameters in your attached screenshot:
PPA_PCA_Values.jpg
Param 2 = PPA
Param 3 = PCA
I'm pretty sure this is the wrong way around in the EDS you've registered, and the 2013 version is correct as above.
Thirdly...
Your parameters are selected as:
Polled Producing Assembly =
Basic Speed Control
Basic Speed Control has two Assemblies available,
one for PCA and one for PPA:
1.
Basic Speed Control Status - (PPA) Input Assembly 70 (0x46) 4 Bytes (Drive to Master)
OR
2.
Basic Speed Control Command - (PCA) Output Assembly 20 (0x14) 4 Bytes
I'm not sure which you have selected, but for the
PPA parameter,
Basic Speed Control Status - Input Assembly 70(0x46) 4 Bytes should be used.
Polled Consuming Assembly =
Speed & Current Status
Current & Speed Status has only one Assembly available and that is 132, as you attached
here.
Assembly 132 (0x84) 6 Bytes is a
PPA only Assembly.
You should not be selecting this for
PCA.
Again, this could be because you're mixing
PCA and
PPA up.
Error 77 -
Device's data sizes do not match scan list
You got this error when you had 12 Bytes for Polled Input size, and 8 Bytes for Polled Output size, instead of 4 Bytes each.
I don't know what errors you were getting with the first EDS files you tried, but my suspicion is that initially you were using the correct EDS file from the website, but setting the Polled Byte sizes incorrectly, and or, using PPA Assembly 132 for the PCA parameter value.
You then got an EDS from Yaskawa that threw up the errors listed in your first post. The Param 389 Instance 0x00 typo, an unrelated Modbus parameter,
which Ken solved,
and the Param 2 and 3 errors, possibly caused by them being reversed in the EDS file?
Whatever the mix-up is here...
I would try unregistering the 2010 EDS file using
Tools/EDS Wizard and then register the 2013 EDS file.
Once the 2010 EDS file is unregistered, make sure you close RSNetWorx and shutdown RSLinx.
Then re-start RSLinx and then RSNetWorx.
Then use the EDS Wizard to register the 2013 EDS file.
Check the devices parameters again, and now they should be set to the defaults:
Param2 =
PCA Extended Speed Control Output Assembly 21 (0x15)
Param3 =
PPA Extended Speed Control Input Assembly 71 (0x47)
Polled Input =
4 Bytes
Polled Output =
4 Bytes
Change
PCA and
PPA parameters to the Assemblies you need...
AutomationTechBrian said:
...It's the drive feedback values that come from the DeviceNet connection... ready/running/faulted/motor AMPs/RPM. There are parts of the ladder logic that require these inputs for timers and some other functions...
PPA = Current & Speed Status - Assembly 132 (0x84) 6 Bytes
This will give you the data you require from the drive to the PLC. Make sure the Polled Input size = 6 Bytes.
You haven't specified anything you'd like to send from the PLC to the drive (PCA), so set...
PCA =
Basic Speed Control - Assembly 20 (0x14) 4 Bytes
Even though you don't need these over the DeviceNet network, this gives, from the PLC to the drive, Fault Reset and Run Fwd bit control, and Speed Reference.
Then, if not already, add the device to the Scanners scan list and map the I/O to the M1 and M0 addresses again.
Hopefully this will get your data moving into the PLC.
G.