
Modbus Comunication
#1
Posted 26 February 2007 - 01:19 AM
My motor moves a wagon in a rail, forward and revers, when the wagon arrives to the end of the rail it touch a sensor (that happen in both sides).
I need to know how can i do to stop the motor in this case and only be able to go to the other side with the wagon using the touch screen.
I think it could be using "macros" working in the EasyBuilder program.
Thank a lot to anybody who could help me.
#2
Posted 26 February 2007 - 01:56 AM
Welcome to the forum.
Firstly, can you give some information on the touch screen. Is it currently talking to the drive, does it have any intelligence on board i.e. onboard PLC. Is it connected to other things? is this a working system or a brand new installation?
Best regards,
Mark Empson | administrator
Skype Contact = markempson | phone +64 274 363 067
LMPForum | Power Factor | L M Photonics Ltd | Empson family | Advanced Motor Control Ltd | Pressure Transducers | Smart Relay | GSM Control | Mark Empson Website | AuCom | Soft Starters
#3
Posted 26 February 2007 - 11:06 PM
by modbus comunication, and the motor. I solve some things of remote control of the inverter
by the screen comand using macros in the program which use to create and compile the screen programs (easy builder). The code is:
bool FWD=1
bool STOP=0
bool FINFWD=0
bool CLOSE=0
Macro_Command main()
GetData(FINFWD ,4x_Bit_Binplc ,4406,1)
If FINFWD==1 Then
SetData(STOP ,4x_Bit_Binplc ,200,1)
SetData(CLOSE ,LB_Binplc ,20,1)
Else
SetData(FWD ,4x_Bit_Binplc ,200,1)
End If
End Macro_Command
And the same for going reverse...
the idea of using the touch screen is because is easier for the operator personal to contol the variable speed(inverter), with graphics and those things...
I have more questions about, do you know something to tell me?
thank you very much!
#4
Posted 27 February 2007 - 12:23 AM
The HMI panel is designed to be used with a plc and if you were using a plc, there would be no problem doing what you want to do.
Some drives have some plc type functionality and this may be the case with the Yaskawa, I do not know.
It may be possible to connect the limit switches to spare inputs on the Yaskawa drive and read these via MODBUS and then use the macro language to achieve your requirements, or to use some internal logic on the Yaskawa to set the direction based on the last limit switch etc.
Unfortunately, I do not know the Yaskawa well enough to give you good advise in this regard.
Another option is to add a small modbus enabled plc, or use an OCS such as the Horner range of products.
The OCS is an Operator Control Station and is an HMI panel with a built in PLC.
Best regards,
Mark Empson | administrator
Skype Contact = markempson | phone +64 274 363 067
LMPForum | Power Factor | L M Photonics Ltd | Empson family | Advanced Motor Control Ltd | Pressure Transducers | Smart Relay | GSM Control | Mark Empson Website | AuCom | Soft Starters
#5
Posted 01 March 2007 - 10:07 PM
the problem is the speed of comunication, more than 19200 baud it doesn't work and in 9600 is slow reading
parameters sent from the screen.
#6
Posted 02 March 2007 - 01:31 AM
Marke, that Maple Systems HMI has an option to be a Modbus Master, so technically it can be used like this.
#7
Posted 02 March 2007 - 03:25 AM
I have no experience with this device so suspect that some external I/O would be required to connect to the limit switches.
Best regards,
Mark Empson | administrator
Skype Contact = markempson | phone +64 274 363 067
LMPForum | Power Factor | L M Photonics Ltd | Empson family | Advanced Motor Control Ltd | Pressure Transducers | Smart Relay | GSM Control | Mark Empson Website | AuCom | Soft Starters
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users