Sign in to follow this  
Followers 0
asim_rana

MAGELIS HMI XBTG4320 AND A TWIDO PLC TWDLCDA24DRF PLC time out issue

10 posts in this topic

DEAR FRIENDS I HAVE A MAGELIS HMI XBTG4320 AND A TWIDO PLC TWDLCDA24DRF.I HAVE FOLLOWING DETAILS: HARWARE SETTINGS::: 1-I AM USING TWIDOSUIT FOR PLC AND VIJEO DESIGNER FOR HMI. 2-I AM USING DOWNLOADING CABLE FOR HMI "XBTZG935" (PC)USB<------------------>USB(HMI) 3-THE CABLE B/W PLC AND HMI IS "XBTZ9780" (PLC)MINI DIN<----------->RJ45(HMI) SOFTWARE SETTINGS::: PLC: 1-OPENED TWIDOSUIT AND IN WORKSPACE OF DESCRIPTION I DRAGED AND DROPPED TWIDO PLC TWDLCDA24DRF AND CLICKED ON TWIDO PLC AND SETTED THE TYPE MODBUS AND ADDRESS AS 1 (Slave). 2-SIMILARLY I DRAGED AND DROPPED MAGELIS HMI AND MADE ITS SETTINGS AS MODBUS Master AND ADDRESS 0(Master) 3- I JOINED THE MIN DIN CONNECTOR OF PLC WITH THE HMI,SO ON WORKSPACE IT SHOWED ME"MY NETWORK 1 ,19200" ,PARITY=EVEN,STOP=1,DATA BITS=8 4-IN PROGRAMMING OF PLC I DIRECTLY ENERGIZED %M0 --------------------------------(%M0) 5- I DOWNLOADED THIS PROGRAM ON PLC. HMI:: 1-OPEN VIJEO DESIGNER CREATED A PROJECT WITH NETWORK AS MODBUS RTU AND SLAVE EQUIPMENT "1" AS TWIDO PLC ADDRESS IN ABOVE PLC SETTINGS IS MADE ONE(CHECK STEP 1),XBTG MODEL=XBTG4320, 2-SETTINGS ARE ALSO LIKE THEIR IN PLC BAUD RATE 19200,PARITY=EVEN,STOP=1,DATA BITS=8,COM PORT=COM2 3-CREATED A VARIABLE WITH TYPE=DISCREAT, DEVICE ADDRESS %M0,SOURCE=EXTERNAL 4-I M JUST CREATED A CIRCLE AND IN ITS VISIBLE TAB I CHECK BLINKING ANIMATION AND AND SELECTED THE VARIBALE %M0 WHICH I CREATED ABOVE CONCLUSION: I HAVE DIRECTLY ENERGIZED %M0 FROM PLC AND ALSO CREATED A VARIABLE %M0 IN HMI AND TAGGED WITH THE BLINKING CIRCLE AND SELECT COM 2 IN HMI.BECAUSE COM2 IN HMI IS CONNECTING HMI ITSELF AND PLC THROUGH CABLE XBTZ9780 AS I DESCRIBED IN HARWARE SECTION.NOW WHEN I DOWNLOAD THE PROGRAM IN HMI,THERE IS A CIRCLE BUT ITS NOT BLINKING,AND AFTER SOME SECONDS IT SHOWS TIME OUT NO RESPONSE FROM PLC. NOW BROTHERS HELP ME OUT WHY THIS IS SO.WHY %M0 IS NOT LINKED

Share this post


Link to post
Share on other sites
This should be fairly simple, but ok. Just check on com2 of hmi,there should be a switch to switch between rs485/rs422. Maybe its on rs422. If not send me ur programs on here and i'll check

Share this post


Link to post
Share on other sites
Thanks for your response.Please help me out as i am stuck. Attached is the .zip file having both logic & HMI As a summary I had configure PLC as slave Port 1 configurations are Modbus address 2,19200,8,even,1 On other end in HMI as master & under IO manager ModbusRTU.....Its COM2,19200,RS485,8,even,1 Then Mod bus Equipment its configuration is Slave equipment address =2 IEC61131 syntax checked At HMI near COM 2 there is only selection RS 485 but POLAR ON/Off switch is there.I had put it in both ways but to no use. Attache are both Logic & HMI files in zip format.Furthermore i am also attaching a word document to explain the whole configuration. Please send me your email id so that i may communicate with you directly. Program.rar

Share this post


Link to post
Share on other sites
Attached is my configuration in word format as well. Configuration.doc

Share this post


Link to post
Share on other sites
Sorry but could you please export your vijeo file then post it. Export from ur prjoect manager to *.vdz file Edited by cHud

Share this post


Link to post
Share on other sites
I am not able to export the project.Its Gray out.Please see the attached imnage.But i had put all my configurations in attached word file. In HMI near port 2 there is a buttob (RS485 POlar ON-OFF) i had put it in both ways but even then its not working. i would really appriciate your help in this regard. In addition to that this Twido is also siupposed to communicate with a Modem(SR2MOD3).I had configured modem & i am able to send message through Hyperteminal but i donot know how to impelmet that in PLC using EXCH2 function.If you could send me a sample code etc. Thanks Configuration1.doc

Share this post


Link to post
Share on other sites
I did manage to take back up but can not upload in .vdz from asa forum is not allowing that.can you please send me your email so that i could email that to you. muhammadasimkhan@gmail.com

Share this post


Link to post
Share on other sites
First of all i would suggest you change the driver settings in Vijeo back to default. (In ur equipment config "communication optimization" change to maximum possible=252 bytes. Also change adressing mode to 0-based addressing. This is just so your adresses line up with the twido plc. Just for test lower your buad-rate to 9600 on both the plc and vijeo.) Im awaiting ur vijeo program so i can check it out 100%

Share this post


Link to post
Share on other sites
I had sent every thing to your email.Please go through that & advise

Share this post


Link to post
Share on other sites
I did remove all dreivers & varibales from Vijeo<br style="font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(245, 245, 255); "><br style="font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(245, 245, 255); ">Configure PLC as COM1 ,address 1 (Slave),Modbus,19200,8,None, & 1 as stop bits<br style="font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(245, 245, 255); "><br style="font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(245, 245, 255); ">Define & use %M0 in my logic.(Use is Must)<br style="font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(245, 245, 255); "><br style="font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(245, 245, 255); ">In HMI add a MODBUS RTU driver(By default it is Master)<br style="font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(245, 245, 255); ">Configure HMI as COM2 ,19200,8,None, & 1 as stop bits<br style="font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(245, 245, 255); ">Add an equipment as slave address of 1 (same as that of PLC)<br style="font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(245, 245, 255); ">Check IEC box.<br style="font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(245, 245, 255); ">Add a BOOL varibale addressing t o %M0 in HMI.<br style="font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(245, 245, 255); "><br style="font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(245, 245, 255); ">Rest every thing was same.Same Cable.<br style="font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(245, 245, 255); ">Selector Switch at HMI near COM2 was at RS485 Polar ON.<br style="font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(245, 245, 255); "><br style="font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(245, 245, 255); ">Things start working.Any one needs any other info ,please ask

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0