NI VeriStand Add-Ons Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Scan Engine & EtherCAT Custom Device Feedback

I looked at the forums again and saw that The scan engine and ethercat custom device does not support FXP UDVs above 32 bits. They should reduce the precision if possible” so I reduced by UDVs to 32 bit max and that error went away.

Now I am getting this error below:

The VeriStand Gateway encountered an error while deploying the System Definition file.

Details:

Error -2147138488 occurred at Project Window.lvlib:Project Window.vi >> Project Window.lvlib:Command Loop.vi >> NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi

Possible reason(s):

The Sync 0 distributed clock could not be used to synchronize your slave device with the master device because the slave's cycle time is too small.

Go to the slave device's property page and increase the SYNC0 cycle time or increase the NI Scan Engine's scan period to fix this issue. As an alternative, consider disabling the distributed clock.

=========================

The Sync 0 distributed clock could not be used to synchronize your slave device with the master device because the slave's cycle time is too small.

Go to the slave device's property page and increase the SYNC0 cycle time or increase the NI Scan Engine's scan period to fix this issue. As an alternative, consider disabling the distributed clock.

=========================

NI VeriStand:  NI VeriStand Engine.lvlib:VeriStand Engine Wrapper (RT).vi >> NI VeriStand Engine.lvlib:VeriStand Engine.vi >> NI VeriStand Engine.lvlib:VeriStand Engine State Machine.vi >> NI VeriStand Engine.lvlib:Initialize Inline Custom Devices.vi >> Custom Devices Storage.lvlib:Initialize Device (HW Interface).vi

Director of Engineering
G Systems, www.gsystems.com
Certified LabVIEW Architect
Certified LabVIEW Embedded Systems Developer
Certified Professional Instructor
GCentral
0 Kudos
Message 541 of 676
(1,885 Views)

The Scan Period will be equal to the rate set for your primary control loop, and the slave's cycle time is displayed on the main page of the scan engine custom device under "cyclic data bandwidth".  What is your PCL rate, and cyclic data bandwidth percentage at this point?

There's an outside chance that this could also be related to the chassis timesync custom device.

https://decibel.ni.com/content/docs/DOC-29546

There's an input on the custom device for "Generation Start Delay" which tells the timesync custom device how long to wait for EtherCAT to become ready.  The page says " Increase this delay if you're receiving initialization errors regarding the start time." which might apply in this case.  If you're using the Chassis Timesync custom device, try increasing that value.  If not, then what are your PCL and cyclic data bandwidth rates?

0 Kudos
Message 542 of 676
(1,885 Views)

My PCL rate is set at 10KHz.  The cyclic data bandwidth is 40%. The Scan Engine Decimation was set to 1. If I change the scan engine decimation to 5 then it deploys without this error. Also if I change my scan engine decimation back to 1 and reduce my PCL rate to 9KHz, then it deploys just fine.

If I leave the PCL at 10 KHz and try to change the cyclic data bandwidth the deploy still fails.  I think it is fine in my case to reduce the PCL rate because we will probably not be running at that fast of a rate in the actual system because of other hardware limitations in the system.

Director of Engineering
G Systems, www.gsystems.com
Certified LabVIEW Architect
Certified LabVIEW Embedded Systems Developer
Certified Professional Instructor
GCentral
0 Kudos
Message 543 of 676
(1,885 Views)

Hello again,

Hopefully I'm missing something simple here.  I'm working on updated to Veristand 2015 from 2014.  My target is a 9082 and I'm trying to auto detect a 9203 module.  I installed the NI-RIO 15 and NI-Industrial Communications for EtherCAT 15, then installed the software as shown:


Software.PNG

Ethercat doesn;t show up under the adapter mode:

Ethernet Adapter.PNG

Then when trying to auto detect the modules I received this error:

Error 1003.PNG

Thank you!

0 Kudos
Message 544 of 676
(1,885 Views)

rdkroupa,

Hmmm.  That is interesting.  It seems like the EtherCAT drivers installed, but if they installed properly I would expect to be able to change the port to EtherCAT Master mode.  Whatever is missing is almost certainly also causing the error 1003.   (That error means a VI has a broken run arrow.  The most common cause of that is that a dependency is missing.)

Have you tried reformatting the target and reinstalling everything from scratch?  That sometimes helps when an uninstall and reinstall alone doesn't. 

If you have access to our support channel, you could have them help you get as far as setting the ethernet port to EtherCAT Master.  If we can get that far, I bet the rest will work.

Try that and let us know.

Thanks,

Andrew

0 Kudos
Message 545 of 676
(1,885 Views)

Andrew,

The cRIO was formatted prior the uploading the software.  I'll try formatting it again and retrying as well as contacting service.

Thank you!

0 Kudos
Message 546 of 676
(1,885 Views)

Check that I/O Variable Remote Configuration Web Service is installed on the target...

CLA, CTA

0 Kudos
Message 547 of 676
(1,885 Views)

Jiri,

I checked for the I/O Variable Remote Configuration Web Service but don't see it in the list of software availible to load to the Rio.  The followin has been installed on the PC:

Veristand 2015

NI Compact RIO 2015

NI-Industrial Communications for EtherNet/IP 15.0

Scan Engine and EtherCAT 2015 v4.1.11

I have to be missing something if the I/O Variable Remote Configuration Web Service isn't showing up in the list of available software.  Do I need to install any components from Veristand 2014?


Ryan

0 Kudos
Message 548 of 676
(1,885 Views)

Maybe I'm mis-reading the picture from your first post but I don't see EtherCAT installed. It looks like you installed the "NI Industrial Communications for EtherNET/IP" but what you really want is the "NI Industrial Communications for EtherCAT".

Basically you don't have the right driver installed (or I'm not seeing that software picture correctly). Installed the EtherCAT driver to the target and you should be good to go from there.

0 Kudos
Message 549 of 676
(1,885 Views)

Ah, yeh I hadn't refreshed the browser to see your last post. You definitely have the wrong driver. You can get the 2015 EtherCAT driver here:

http://www.ni.com/download/ni-industrial-communications-for-ethercat-15.0/5442/en/

0 Kudos
Message 550 of 676
(1,885 Views)