Quantcast
Channel: Industrial Communications topics
Viewing all 338 articles
Browse latest View live

labview dsc modbus io server communication with multiple slave device

$
0
0

Hello,

I have created modbus IO server using DSC module. it works fine with single slave device. now i want to connect multiple slave device with labview  and labview vi works as modbus master.

Please suggest a way how can i change slave id  automatically and communicate with multiple slave device ?

can i need to create another IO server for second slave device ?


NI-9882 as FPGA resource not working

$
0
0

I have a cRIO-9039.

The following configuration works:

I setup the NI-9882 as an RT scan resource and then I setup a NI-9476 as an FPGA module. I can communicate with the NI-9882 with the NI example code.

 

The following doesn't work:

I setup the NI-9882 as an FPGA module and then I setup a NI-9476 as a RT scan resource. I cannot communicate with the NI-9882 with the NI example code. I created an FPGA VI that I run.

 

My understanding is the FPGA VI should kick-start the devicenet driver, but it doesn't seem to be working as advertised. The FPGA VI is a simple VI with a while loop. I tried running it interactively. I also tried using the Open FPGA VI reference as seen in the image below:

Screen Shot 2018-06-17 at 2.29.15 PM.png

Even though I have a workaround, I would prefer to place the NI-9882 as an FPGA resource so I don't have to use FPGA for my other modules at all.

Thermocouple installation on REM-11120

IEC 61850 data object creation

$
0
0

Hi, Is it possible to create new Data Object (i.e. not-standardized ones) inside the LNs (logical node)

 

Thank you

Failed to parse the SCL file

$
0
0

Hello 

 

I am currenly using a cRIO-9075 in order to implement it as a IED. I want to publisher GOOSE and MMS using the Example VIs, but I get an error -36290 that is attached. 

 

All the configuration is also attached. 

 

Could you please help me?

cRIO and SCP

$
0
0

We are looking at purchasing the cRIO-9047.  But before I do, does it support SCP file transferring protocol?  I'm trying to transfer files from the compactrio to a modem so it can do things with it.

 

Please advise.  Thanks.

Can't see valves connected to a SMC EX250 SEN1 unit?

$
0
0

I have a SMC EX250 SEN1 unit attached to an array of solenoid valves as seen in the picture below:sen1.PNG

 I am using a python package called CPPPO (https://github.com/pjkundert/cpppo) to talk to it. I have been able to successfully poll some information, such as its product name (example below), with this package but some reason I cannot seem to get any form of response from the valves.cppp0snip.PNG

 ^Successful request for product name

Based on information that I have gleamed from around the internet, I think I should be using Instance : 100, Class :4, Attribute : 3 to get it to send me back an array of information from the valves, but instead it returns type None back.oofoofoofooof.PNG

^Unsuccessful request for Valve data (sorry I should have changed 'product_name' to 'valve_array')

Does anyone have any experience with this sort of thing? Sorry I am a complete beginner with these things. Any and all help would be greatly appreciated.

 

 

 

PXI PROFIBUS Interface Module multiple slaves

$
0
0

Can the PXI PROFIBUS Interface Module emulate multiple slaves at once or can it only emulate one slave?


Communication with MFC P4B via RS485

$
0
0

Hello,

I have a MKS Type P4B Digital MFC and I want to communicate with him via RS485. I don't know how to understand a 'Command Specification RS-485 Interface MKS Types P4B Digital Mass Flow Controllers' because there is something like this:

manual.PNG

In this specification is information 'This message structure resembles with the one used by DeviceNet protocol' so I installed DeviceNet 15.0 and I found examples, but I still don't how to write this command.

 

Can anyone help me and tell me how to fill these controls?

 

1) Basic Examples -> PXI & PCI -> Explicit Messaging Write Read

example1.PNG

 

or

 

2) Legacy Examples -> Windows -> DeviceNET PCI Legacy

example2.PNG

 

 

or any other idea how can I communicate with my MFC P4B via RS485?

IEC104 - Setting timestamp of transferred value

$
0
0

Hello.

I'm working on a acquisition system gathering pressure readings. It consists of two parts: FPGA and RT. FPGA is reading data from analog inputs at 1kHz freq, calculates median and downsampling data to 200Hz. Last operation is writing downsampled data to FIFO. RT program is reading FIFO and transmitting data via IEC104 to scada system. Now comes the trouble: IEC104 implementation in LabView doesn't allow me to decide about timestamp of transferred values. Timestamp is added automatically in the moment of transfer (Write function) But this that generates offset between moment of data acquisition on FPGA side and data transfer on RT side. Is there any way to force different timestamp when sending values via IEC104?

 

Programmatically Disable Bias Resistors on NI USB-485/4

$
0
0

I am working on developing a test system using LabVIEW 2017 to communicate with a Battery Monitoring System. I using a NI USB-485/4 as my Master and the slave has a standard RS-485 UART. The slave's UART is running off of a +5V supply while the NI USB-485/4 uses a 3.3V supply. While RS-485 devices with +5V & +3.3V supplies are generally considered to be compatible, I am having difficulties receiving data back from the slave. I have scoped the signal lines and can see that the slave is responding to my commands. However, the NI USB-485/4 fails to receive the response.

 

The configuration is a standard 2-wire connection with a 3rd ground reference. I have programmed the National USB-RS485/4 device to communicate with 2-wire auto mode which causes the Master device to go to tri-state mode at the end of the transmission and listen for the slave to respond. I am able to send a command to the BMS and get it to respond. I am able to see the response occur using the o’scope. However, I am unable to receive the response with the National USB-RS485/4.

 

I have attached photographs of the scope traces of the VBUS and VBUSN lines at pins 6 & 7 of the DRS4485 UART. You will note that during the first half of the scope trace the voltage levels from the NI USB-RS485/4 are swinging between ground and 2.8 volts (1V/div.) and then it appears to go into tri-state mode at about 73 millisec. after the initial trigger point. I found it odd that the Master is swinging about 1.5V (referenced to ground) and the DRS4485 is swinging about 2.5V. I have confirmed with NI that the NI USB-RS485/4 uses a 3.3V supply. The DRS4485 is powered from +5V supply. When the DRS4485 then transmits the response starting at about 75 millisec. after the trigger, the Master never sees the response signal.

 

You will notice that when the DRS4485 transmits, both the VBUS and VBUSN lines seem to be unable to swing below about 1.75 volts. These waveforms were captured with scope probe connected to pins 6 & 7 of the  DRS4485. It occurs to me that the VBUS and VBUSN lines are swinging +/- .8V Pk from 2.5 volts which is ½ the +5V VCC. This would seem to correlate with the Voc spec. of 2.55V. The spec. indicates typical Differential Driver Output Voltage should be 3.0V p-p. When one looks at the signal on the o'scope set to do a differential measurement between the VBUS and VBUSN lines it is about 3.2 volts which meets spec..  Now, assuming that the NI USB-RS485/4 is using a 3.3V supply, if the signal from the DRS4485 was larger, such that it went below the (assumed) 1.5V threshold the NI part uses, would it allow the NI device to receive the signal? 

 

I believe that if I were able to turnoff the bias resistors it would result in less attenuation of the signal at the Master. I have been consulting with NI's support line and thus far, they have not been able to tell me how to Programmatically Disable Bias Resistors on NI USB-485/4. I am wondering if anyone out there knows how to turn off the Bias Resistors?  

 

Ethernet/ip- pepperl+Fuchs IO module

$
0
0

Hi all, I have a pepperl+fuchs I/O module (ICE1-8IOL-G60L-V1D) and i want to communicate it labview using ethernet/ip to monitor the inputs and control the outputs.

Do you know how can i do this?

 

 

Dynamic PIL simulation of 4-20ma current loop sensor

$
0
0

I am developing a Processor in the Loop (PIL) where I want to simulate sensors communicating via 4-20ma current loop protocol. I want to be able to dynamically (ie, under control of a computer) program the sensor value.  I see NI has a board the implements eight 4-20ma receivers.  I am looking for a device which can simulate a 4-20ma "transmitter."  Note in my application, the receiver also contains the current source for the circuit.

 

Any suggestions or ideas?

 

Tom

NI Options for interface to synchronous serial interface (SSI)/RS-422

$
0
0

None of the RS-422 cards which NI lists on its site appear to be compatible with synchronous IO where a clock is present on an additional twisted pair.  Have I missed a product in my search?  If not, do any of the NI partners provide such an IO device?

 

Thanks!

Tom

Modbus communication with Hach Particle Counters

$
0
0

Hello,

 

I'm trying to communicate with a couple different Hatch Particle Counters.  A model 3413 and a model 3411. 

 

The units have an Ethernet port and I have been given a modbus register map, but unfortunately little other information.

 

Using the modbus library example, I was able to open a TCP port to the unit.  Reading any registers or coils always resulted in a timeout.

 

I received some supplementary information about a 3rd party OPC server that listed modbus communication with this Particle Counter model as only through the USB port.

 

The on-board configuration of the unit shows the modbus port on the Ethernet configuration screen, so I only assumed modbus was possible through Ethernet.

 

I was curious if anyone had successfully communicated with one of these or a similar unit.


NI-9882, is FPGA needed?

$
0
0

Does the NI-9882 work without an FPGA on the cRIO or cDAQ? A colleague has warned me the FPGA is required but the documentation does not cover this or I've missed it.

 

Understandably it does require the DeviceNet software to be installed.

 

If someone could clarify this it would be great.

 

 

 

 

Unable to install software on NI 9149

$
0
0

I can see the NI 9149 in MAX when connected with USB but I get an error when trying to install software as shown in the image:

 

error.png.  I have installed cRio drivers from a DVD with labview 2018 and NI updater says that all my relevant software is up to date. Any ideas?  I can't see the modules installed on the NI 9149 in MAX and I can't find them in labview 2018 either.

Possible to run non-NI EtherCAT master stack on NI linux real-time?

$
0
0

Hi guys, I am seeing that the NI industrial communications for ethercat does not support many of the features I would need to have for a project, namely hot-connect and alternate topologies than line or ring. Would it maybe be possible to install something like the Acontis EtherCAT master stack for real-time and have it run the ethercat bus, or is there somekind of lock-down on cRIO or NI industrial computers that will block me from doing that?

http://www.acontis.com/eng/products/ethercat/ec-master/

 

CRIO-9068 use EtherCAT to communicate with the three-party motor

$
0
0

My project has detected my servo drive as a slave in cRIO master.

I hope to operate the motor through the EtherCAT .

Can I modify the PDO Mapping according to the motor manual to make it work?

My sincere thanks for any advice you can give.

1539425833656.jpg未命名.png

doesnt seem to install correctly

Viewing all 338 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>