
- #Siemens tia portal v13 sp1 the project is in use software
- #Siemens tia portal v13 sp1 the project is in use Pc
- #Siemens tia portal v13 sp1 the project is in use windows
OpcCom.Factory fact = new OpcCom.Factory() Create a server object and connect to the TwinCATOpcServer Here is my code: ( I have marked the place where I get the exception) static void Main(string args) With OPC Expert OPC DA Client, everything works fine.
#Siemens tia portal v13 sp1 the project is in use Pc
I can connect to an OPC DA Server,that is not in the same domain as my PC, but if I try to read Items I get always the exception "Opc.ResultIDException: E_FAIL IOPCItemMgt.AddItems" at OpcCom.Da.Subscription.AddItems(Item items).įor testing if anything is wrong with my PC DCOM settings, I tried "OPC DA Expert Client" to connect to the same machine. Worse, the function is completing normally, but with zero results, so I don't even have error messages to track the issue down with.
#Siemens tia portal v13 sp1 the project is in use windows
I suspect that it is some network security feature of Windows Server 2019, but I can't find any documentation that points to what might be causing this function to fail. Please tell me someone else has seen this behavior. The problem is that we are attempting to use clients that do not have any features to manually define the servers and solely relies on the network browsing functions. If a client has the ability to supply a remote host and query that host, the OPC services enumeration works just fine. None of the DCOM settings seem to be addressing the CLSID network browsing. Since the core OPC functions are working, tools like OPC Expert are not showing any errors and guides for DCOM settings from OSIsoft, KEPware, and OSI Institute are all being used to no avail. There is something I'm missing here, but I cannot find it. Has anyone seen anything on Windows Server 2019 that would prevent browsing the network in a Active Directory domain environment to find available OPC servers on remote hosts when all other OPC communications seem to be functioning normally and file share browsing seems to also be functioning? If you think you can help me but need more info plz contact me. Since I am not a programmer I think I don't change proper properties. I tried it myself but I feel like I missed something. If you could read the document and just change the numbers so it fits our plant. put in bath 10 and the time the goods stay in this bath is 30seconds the robot must wait to finish and pick it up)īaths that the robot cant leave before it finishes I build the program to get the exe file and I make most of it working but the ALTERNATIVE BATHS and OFFSET BATHS (when the robot put goods in this bath he MUST wait on this bath to finish ex. ** So I open the file PLANT.CPP and I edit the baths that just shifted the numbers. **I am not a programmer and i just understand basic c++. PLANT.cpp is just a small part of a huge software.
#Siemens tia portal v13 sp1 the project is in use software
I edit the file called PLANT.CPP and build the software with visual studio 2002 (the original one it was made with). The software that came with this line was "universal" for all lines, you just needed to change a file called PLANT to adjust to the plant. So if 31 is occupied it should put in next 32,33 or 34 (whichever is free). Same goes for last 4 baths that are Zinc baths original it was from 26 to 29 now it is 31-34. For example I have two same baths of Acid and the baths are 14&15 (in the original line it was 13&14) when the bath 14 is occupied the software should tell the robot to put the goods in 15.

The problem occurs when the software needs to tell the Robot to put the goods in ALTERNATIVE BATH. Recepies for each product and how much the good should stay in each bath (time). The software from PC tells the PLC where does each robot goes eg. Somehow we managed to make it work, editing the PLC which had great comments we managed to add the baths (5 more than original 29). Now we need to edit the software that was written in 2002 that communicates with the main PLC to control the robots. The line that we bought was 29 baths and 2 cranes, what our company without asking did is it increased the number of baths to 34. Our company bought an old galvanisation lineīasicly it's many baths and 2 robots (cranes) that move goods from one bath to other. if the alarm is reset, the light goes out if button is pressed, the klaxon goes off and the light if alarm goes of, the klaxon and an alternating light startįB_ton(IN:= NOT qton1, PT:= T#1S, Q=> qton1 ) įB_pulse(IN:= qton1, PT:= T#1S, Q=> gvl.OUT_flashingLight) Is there anyone that is familiar with this kind of task? I would really appreciate the help. An overview of the behavior of both outputs, based on the inputs is given in the following figure

Depending on the state of the alarm while acknowledging, the lamp changes from flashing to fully on until the alarm is reset. From the moment a person pushes the acknowledge button (=input), the klaxon stops functioning. When the alarm signal (= input) is set, a lamp (=output) begins to flash at a frequency of 1Hz and the klaxon (=output) is activated.

I'm struggling with an assignment I was given about PLC programming.
