Config assist for BK1120?

More
30 Aug 2024 21:00 #309049 by laserted
Good afternoon - 
I had a BK1120 with KL1104 fall on my desk a bit ago and was curious if anyone has been able to get a combination like this to work? (The BK1120 is Fieldbus or K-Bus so isn't as easy as an EK1100 for instance).

I was testing (and not succeeding) against my normal lab setup of LCNC on an Intel NUC, an EK1100, EL1008 and EL2008. My EtherCat setup is functional with the EK/EL baseline devices. 
My original "just plug it in" did not show anything with 'ethercat pdos' and only the EK/EL devices with 'ethercat slaves'. I read in some other posts (perhaps RodW?) that a trip through TwinCat and setting the product version to something else and writing the SII (eeprom) would get some traction, and it did (my process was to muddle my way through TwinCat as a new "solution", attach and search for the device successfully, then go down through the tree to IO->Device2 (EtherCat)->Box1 (BK1120)->select, then in the righthand properties pane, choose the EtherCat tab, change the device ID to 1001, then click Advanced Settings-> ESC Access->E2PROM->change device station alias to 1001, then click WriteToEEPROM) - after than and moving back to my test bench, the 'ethercat slaves -v' and 'ethercat pdos' sent some useful data back. I attached the text grabs of that in pdos.txt.
Using that info, I added into my ethercat-conf.xml. I attached a sample here. Note that it ALSO has my EK1100 info in it (as the units are on a test bench) so the BK1120 (the device of interest) is actually at index 3.
With my ethernet-conf.xml, I DO get pins generated by lcec_conf / lcec (I also attached my sample hal file that is run simply in a halrun terminal; the file halpins.txt shows the pins list right at the top for the BK1120).

However, although status of the devices on the EK1100 (other ethercat slave set) does change (both input and output) the BK1120 does not.
I understand that since the BK1120 is fieldbus/kbus that the layout is different since the BK1120 becomes the only slave in the stack and additional modules become syncmasters, so I probably either got config nomenclature wrong or do not have the correct registers.

Any thoughts or suggestions?

Many thanks,
Ted. 
Attachments:

Please Log in or Create an account to join the conversation.

More
30 Aug 2024 21:02 #309050 by laserted
Replied by laserted on topic Config assist for BK1120?
Attachements got scrubbed first round, please see below:

File Attachment:

File Name: test_2024-08-30.hal
File Size:0 KB

File Attachment:

File Name: pdos_2024-08-30.txt
File Size:2 KB

File Attachment:

File Name: halpins_20...8-30.txt
File Size:4 KB

File Attachment:

File Name: ethercat-c...8-30.xml
File Size:1 KB


TH.
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum