Jump to content

Recommended Posts

Posted
I need some help. I'm trying to communicate with a Mitsubishi FR-S520se inverter over a RS485 link but the sample program in the manual doesnt work. I'm using qbasic. Does some one have code or experience in this field
Posted
welcome to our forum derick, i did use FR-S500 series drives but not the communication and don't have one here to try things out. it would be very helpful if you could tell us a bit more, for example explaining what is supposed to communicate with the drive, and over what phisical connection. just don't let us guess... you mention qbasic so it's probably PC to VFD connection. you also mention 485 and PC's usually don't have such port so you need converter RS232/485 or PC card that will provide such port. if you are using RS232 port on the PC side, what is cable/converter combo that you have? are you sure that hardware connection is ok? can you post how it is wired? are you using any terminators? what is the comm port setting of the VFD? your PC (or whatever is on the other end) will have to match this so you have to make sure you know what is on VFD side.
Posted (edited)
OK, to start with, I have a RS232 to RS485 converter that I plug into my laptop. Then it wire to the inverters Rj45 plug. I thing all the wires are correctly connected. Checked several time. The com 1 port settings of my laptop is 9600 8 bits none parity 1 stop bit. I have set the parameters in the inverter to the similar settings, and I also open Com1:9600,n,8,1 in the qbasic program. The example in the manual writes COMST1,1,1:COMST1,2,1 in the program and qbasic doesnt use that commands. No where can i find a good sample program for qbasic to communicate with anything on the com port. The inverter can be quiried about status, parameters and be control via the 485 link. My purpose for this is to use it to learn programming using a com port. It might sound trivial but I want to learn this. I will be very greatfull for any help Edited by Derickvdw
Posted
if you do have working connection, you can use any software to send and receive messages. try SerialMon from our download section (i think it's under Omron). once you can send message and get proper reply, it's easy to automate task. any programming language will have way to control serial communication. qbasic is quite out of date, VB2005 for example is free for download from MS website. it is much more powerfull and creates nicer looking Windows application.
Posted
Hi Derick, There is a cable available from Mits, SC-FRPC. This cables allows you to plug the cable from PC to VFD directly. It has a 9 pin female connector with built-in RS232/RS485 converter and a RJ45 connector. If someone has more info about this cable, then it would be useful to post it here. All info I have now is the following pinouts on the RJ45 plug. 1 -> SG 2 -> P5S 3 -> RDA 4 -> SDB 5 -> SDA 6 -> RDB 7 -> SG 8 -> P5S P5S is the supply to the PU unit. Also, it appears that the default comms parameters are: Adress: 0 Baud: 19200 Data: 8 bits Stop: 2 bits Parity: Even To easily verify the integrity of your cable, use the Mits drive setup software: FR-SW1-SETUP-WE. Hope this helps, WayneS

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...