doki Posted November 5, 2013 Report Share Posted November 5, 2013 I need to help you to work project by LabVIEW Idea of the project Work on the external interface to control the Ketrical of Board of Water PumpElectrical board contains Soft starter a type: RVS-Dn 72 , solconFrequency converter type: VFD 075E43A , delta I want to first:A connection to soft starter and frequency converter "inverter" via RS485 link use Mod Bus Protocol work GUI for soft starter: The main menu contain several keys to workRun ,START, soft START, stop , soft stop and Rest in the event of an Alarm and show the value of voltage and current. The second list contain parameter settings to read values and work setting "write" . The third spectrum describes plant for voltage and current.The same way we do for frequency converter but the main menu contain keypad to work high speed , low speed , run , stop Added menu enables to work sequence certain for work different movements Lab View contains a library of Mod Bus ProtocolI do not know how to use itI have manual for mod bus soft starter and frequency converter DN_Modbus.pdf Quote Link to comment
hooovahh Posted November 5, 2013 Report Share Posted November 5, 2013 Please do not create duplicate posts. I deleted the other one because that one was in an incorrect topic section. In the future if you want a topic moved click the Report to Moderator button and request a move. Here is what I said in the other topic before deleting it: Looks like there is some good information in there about how to communicate over RS-485. What part of your task are you having problems with? LabVIEW ships with many examples on using VISA to communicate to serial and GPIB. Go to Help >> Find Examples and search RS-485 to find the relevant ones. Quote Link to comment
doki Posted November 5, 2013 Author Report Share Posted November 5, 2013 HiI've downloaded the Mod bus Library availableBut when they run gives errorSecondI use RS485 linkName: IFD6500 from delta companyI use LabVIEW version 2012 How to generate between LabVIEW and soft starter deviceBy Mod Bus protocol using VISA laibrary and RS485How do I read and write to all parameterControl and monitoring then served as the interface as I have said "GUI" Please attach a similar example of what I want Quote Link to comment
hooovahh Posted November 5, 2013 Report Share Posted November 5, 2013 then served as the interface as I have said "GUI" Please attach a similar example of what I want We are not a service. You are not paying us. We are here to answer questions and assist those who need help, and to those who put in an effort to learn and do their own work. You have not posted anything useful or any code that you have tried or described where the issue is only that it doesn't work. I've downloaded the Mod bus Library available But when they run gives error That's great what is the error? Did you search for it on NI's site? How to generate between LabVIEW and soft starter device By Mod Bus protocol using VISA laibrary and RS485How do I read and write to all parameter Control and monitoring Did you look at any of the many examples shipped with LabVIEW? What worked and didn't work? If you are not getting a response (which you haven't said is true or not) I would make sure that you can get the module to respond with a more low level application like hyper terminal to ensure your setup is not the issue. Quote Link to comment
doki Posted November 5, 2013 Author Report Share Posted November 5, 2013 have to communicate with the device via the opc serverBut I want to connect to the device by LabVIEW Error -1073807202 occurred at VISA Open in GPIB-VISA.vi Quote Link to comment
hooovahh Posted November 5, 2013 Report Share Posted November 5, 2013 Here is the description for that error. I'm guessing you don't have some VISA run-time installed properly. VISA or a code library required by VISA could not be located or loaded. This is usually due to a required driver not being installed on the system. Quote Link to comment
Tim_S Posted November 5, 2013 Report Share Posted November 5, 2013 have to communicate with the device via the opc serverBut I want to connect to the device by LabVIEW Error -1073807202 occurred at VISA Open in GPIB-VISA.vi If you're trying to communicate to an OPC server, then you should be using Datasocket, not VISA (http://zone.ni.com/reference/en-XX/help/371361K-01/lvhowto/openclose_ds_conct_prog/). Quote Link to comment
doki Posted November 6, 2013 Author Report Share Posted November 6, 2013 hi, I knew the problemThe problem was Visa laibrary is not installed QuestionHow to Write the address?as a string? how?? i need just write at least one command Correctly Whoever command, reading and writing to gives command responsethanks in the modbus manual Example 1 - Actual Data (3X References)To read actual parameters 2 and 3 (Current and Voltage, addressed as 1 and 2 hex) of theRVS-DN with a serial link number of 18, the host computer should send the following frame:byte 1: Serial Link No. ($18)byte 2: Function ($04)byte 3: Starting Address High ($00)byte 4: Starting Address Low ($01)byte 5: No. of Points High ($00)byte 6: No. of Points Low ($02)byte 7: CRC_Low ($XX)byte 8: CRC_High ($XX)The RVS-DN response, (when Current = 400 % of FLA, and Voltage = 420V) is:byte 1: Serial Link No. ($18)byte 2: Function ($04)byte 3: Byte Count ($04)byte 4: Data High, parameter 2 ($01) (400)byte 5: Data Low, parameter 2 ($90)byte 6: Data High, parameter 3 ($01) (420)byte 7: Data Low, parameter 3 ($A4)byte 8: CRC_Low ($XX)byte 9: CRC_High ($XX)Note: $XX indicates Hexadecimal byte. Do you write the address as a string, such as 180400010002 first calculat crc and write crc low& high in the string Is there a way to calculate the crc directly without the need for computedWhat are the functions necessary Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.