electrici@n Posted March 10, 2006 Report Posted March 10, 2006 Hi there, I am currently trying to connect a PC to a Q02 series PLC using an QJ71E71-100 Ethernet Card. On the PC i an using KepserverEx which I have set up according to the help file, but having created an item looking at SM412 (sec flash relay) the OPC Client says bad status... I have set up the connection and can ping both directions and when the OPC Client is running, the Send/Receive LED's are blinking, but no data is retrieved from the PLC! I have tried TCP/IP, UDP, and just about every other combination of settings. Does anybody know if the kepserver page for 'device settings/communcation parameters' port number is refering to the PC or PLC port (my guess is PLC) and whether or not it is hex? Any ideas are welcome, cos at the minute i'm stumped! Cheers Antony (Lerk) NO TREES WERE HARMED BY SENDING THIS MESSAGE, THOUGH A FEW ELECTRONS WERE MILDLY INCONVENIENCED... Quote
waynes Posted March 12, 2006 Report Posted March 12, 2006 Hi elecrici@n, You need to set up a port on the PLC side and tell the plc what type of connection this is. The plc side in GX Developer uses hex to specify the port number, so if you specify 500, it actually translates to 1280 in decimal. Using the Mits OPC server, all you do is specify TCP as protocol and select Melsoft connection from the list. This needs to be done for whatever connection you want from the PLC to anything. What bothers me is that you are saying the send/ receive lights flash. I would assume that the OPEN light is lit as well. If that is the case then the OPC server connects fine to the PLC and the problem lies with the OPC server <-> local/ remote client connection. Are you not monitoring the PLC whilst only the OPC server is connected? This could have brought in the confusion- Just asking... Let me know if this solves the hassle or post again with what you have observed. Quote
electrici@n Posted March 13, 2006 Author Report Posted March 13, 2006 Hi, cheers for the response... I am using Kepware OPC Server, is there a mitsubishi server available, if so where? The KepWare server help file tells me to set up the connection as TCP, unpassive... all other settings are as per the help file... The open LED is not lit, but when pinging or testing OPC etc. both SD & RD LED's flash... I assume that the PLC will require a port address to be specified in Hex, but the PC in Decimal... I'm just about to go and fetch the rest of the Input/Output cards from the Panel, maybe that will improve matters (no the PLC does'nt know they're supposed to be there!) Cheers Antony Quote
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.
Note: Your post will require moderator approval before it will be visible.