GaelB Posted July 21, 2017 Report Posted July 21, 2017 Hello all ! I'm trying to get data from a V1210 using DataXport. When i try to get OPLC information i got this message : "Communications could not be established due to failure to open port. Port maybe in use by another application or device." Or this port seems to work perfectly and is not used by other application... Can somebody help me ? Regards, Gaël.
Cam Posted July 21, 2017 Report Posted July 21, 2017 Hi Gael, Are you communicating via Ethernet or Serial ??? Connection -> Communication settings Will let you test the port you are trying to use in DataExport, however in order to set the port up for DataXport to use while running you need to go to the Design drop down menu Design->PC Ports Set up the port you want to use in the window which pops up. Then when you set up the site make sure you have the correct port selected.
GaelB Posted July 22, 2017 Author Report Posted July 22, 2017 Hi, thanks for your message ! I'm using ethernet. In design>pc ports it appear as : "Ethernet(call)" so i guess i should select "TCP/IP(call)" in connection type ?
GaelB Posted July 24, 2017 Author Report Posted July 24, 2017 Hi again ! I tried to set it up but it doesn't work. I need to fill the IP Adress in Communication - PC Settings > Favorites, which IP Adress it is and where can I find it ? The port number is also automatically set on 20256...
MVP 2023 Flex727 Posted July 24, 2017 MVP 2023 Report Posted July 24, 2017 You can find the IP address of the PLC in INFO mode. If you are going to communicate with the PLC via Ethernet, you need to set up Ethernet Configuration and assign an appropriate IP address in the ladder.
GaelB Posted July 24, 2017 Author Report Posted July 24, 2017 1 hour ago, Flex727 said: You can find the IP address of the PLC in INFO mode. If you are going to communicate with the PLC via Ethernet, you need to set up Ethernet Configuration and assign an appropriate IP address in the ladder. Thank you. Where is this INFO mode ? Cause I can't find it in DataXport.
MVP 2023 Flex727 Posted July 24, 2017 MVP 2023 Report Posted July 24, 2017 Touching a blank area of the screen of the PLC for 4-5 seconds. will take you into INFO mode. The default password is 1111.
Cam Posted July 24, 2017 Report Posted July 24, 2017 On 7/22/2017 at 4:27 PM, GaelB said: Hi, thanks for your message ! I'm using ethernet. In design>pc ports it appear as : "Ethernet(call)" so i guess i should select "TCP/IP(call)" in connection type ? Yes.
GaelB Posted July 24, 2017 Author Report Posted July 24, 2017 Thank you all ! I'll try this tomorrow, i think it should work.
GaelB Posted July 25, 2017 Author Report Posted July 25, 2017 It worked ! But now i've got issues trying to export data from the PLC It does nothing when I open the project with DataXls only file it creates is not excel but .ldb. Why ?
Cam Posted July 25, 2017 Report Posted July 25, 2017 I don't know I've never done it that way. If you want an excel file of the data table you can do the following: Specify the Excel folder to save the files to by clicking Project-> Excel/.csv file properties In the site under Excel/csv files select: Create Excel files When a call completes the system will create an excel file and store it in the folder define in the Excel/.csv properties. ( I can't remember but you might require excel on the computer running DataXport)
GaelB Posted July 26, 2017 Author Report Posted July 26, 2017 I already did that but it didn't work... I don't know why it creates those ldb files. Thing is, the data are stored in the PLC so I don't think I'm using the right method there.
Ofir Posted July 26, 2017 Report Posted July 26, 2017 Hi, The ldb file is a kind of a data base file of the project - you dont need to use. when you close DataXport this file should disappear. When running DataXport - what is the message you get in the log window?
MVP 2023 Ausman Posted July 26, 2017 MVP 2023 Report Posted July 26, 2017 Gael, did you install, and are you running DataXport as Administrator? It may perhaps make a difference. cheers, Aus
GaelB Posted July 27, 2017 Author Report Posted July 27, 2017 Actually no, i can't run it as administrator, I'll try with my own computer to see if it makes a difference. @Cam : Here is the file : https://ufile.io/hguwf I think the problem might be the table i'm using. Is it possible to create my own table, or to get the data without using one ?
dub Posted March 31, 2018 Report Posted March 31, 2018 Hello! I have similar problem with connecting laptop to V1210 via serial. And that happend suddenly. I was programming something all morning. downloading more time and all was working fine. Now i get message "communication driver error (206). I have twice erased all from PLC (Info mode--->Working mode--->Exit to factory boot) and reinstal all. Strange is that connection is working normal all time untill instalation is not finished. And over the same port (port 4 in my case). I reinstall even Visilogic... And try to connect over second laptop, without luck... I would appreciate it for every help.
MVP 2023 Flex727 Posted March 31, 2018 MVP 2023 Report Posted March 31, 2018 1 hour ago, dub said: Now i get message "communication driver error (206). It sounds like you did everything except re-install your serial driver. Your message would indicate that's where the problem lies. I believe it's also possible to connect to your PLC using the PLC's Serial Port 2. I'd try that also.
dub Posted March 31, 2018 Report Posted March 31, 2018 Thanks for quick response Now i also reinstall Silicon lab CP210X USB to UART BRIDGE driver but nothing changed. 1 hour ago, Flex727 said: I believe it's also possible to connect to your PLC using the PLC's Serial Port 2. I'd try that also. I have no serial port on laptop, or there is any other way
MVP 2023 Ausman Posted March 31, 2018 MVP 2023 Report Posted March 31, 2018 Hi Dub, (you've just responded to Flex as I'm finishing this!) the taskbar looks like this is Win10. It is highly likely that windows has over-ridden your driver and replaced it with one that Microsoft thinks is better. This can be a right PITA. See if you have a restore point you can go back to. If that works, tell Windows to leave your drivers alone...... Control Panel/System/Advanced system settings/Hardware tab/ Device Installation Settings/click NO etc. I'd be doing this anyway if your system is stable. And check this setting regularly, Msoft have a habit of turning it back on without telling you. cheers, Aus
MVP 2023 Ausman Posted March 31, 2018 MVP 2023 Report Posted March 31, 2018 2 hours ago, dub said: And try to connect over second laptop, without luck... I just noticed this. Have you tried using another cable?
dub Posted March 31, 2018 Report Posted March 31, 2018 58 minutes ago, Ausman said: I just noticed this. Have you tried using another cable? Yes, i have.
dub Posted March 31, 2018 Report Posted March 31, 2018 1 hour ago, Ausman said: Hi Dub, (you've just responded to Flex as I'm finishing this!) the taskbar looks like this is Win10. It is highly likely that windows has over-ridden your driver and replaced it with one that Microsoft thinks is better. This can be a right PITA. See if you have a restore point you can go back to. If that works, tell Windows to leave your drivers alone...... Control Panel/System/Advanced system settings/Hardware tab/ Device Installation Settings/click NO etc. I'd be doing this anyway if your system is stable. And check this setting regularly, Msoft have a habit of turning it back on without telling you. cheers, Aus "See if you have a restore point you can go back to." I am going 5 days back in time We'll see what's going to happen.
dub Posted April 1, 2018 Report Posted April 1, 2018 Nothing good so far. I think PLC is the problem. You can see, on the bottom of the picturer: Communication : Unable to synchronize - PLC Communication parameters cannot be set!
MVP 2023 Ausman Posted April 1, 2018 MVP 2023 Report Posted April 1, 2018 Hmmm. I'm a little confused now. On one hand I read 16 hours ago, dub said: connecting laptop to V1210 via serial but next there is 14 hours ago, dub said: I have no serial port on laptop, or there is any other way So are you using the 232 port on the PLC or the USB ? 1). "other way" You can get USB to serial 232 converters which should let you use the PLC's comm ports. 2). Can you please tell us, or post image of, all the comms settings displayed by using info mode direct on the 1210. Note that port 4 in your description is the port on the PC, not the PLC. 3). After your initial work to do this, check that you are using the correct physical socket on the PLC, together with ensuring the comms parameters on the PC are exactly identical. 4). Keep in mind that COM port 1 function is suspended under certain USB connections. 5). Check continuity of the connection cable/try another one. 6). Wish I was there! cheers, Aus
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now