MrPLC Member
  • Content count

  • Joined

  • Last visited

Everything posted by dunc

  1. we have an issue on an old system which the operators keep complaining about. ive done as much as i can without spending any money, and no money is available. we have an A series PLC A1SJ71UC24 talking to an E1060 HMI via serial. the E1060 then connects via an ethernet switch to 3 other E1060 HMIs via the BDTP protocol. in general it works ok, it is slow, but usable for the speed of the process. we do get intermittent issues with communications with the HMis on the BDTP side of things which we cant seem to solve! operators keep moaning about it freezing etc, but i am at a loss as to what to do?   does anyone have any ideas that cost next to nothing to implement? im out of ideas!
  2. driver comm error on Eseries HMI

    this is still an ongoing issue. has anyone got any suggestions at all?
  3. we have recently had a PCS7 system installed. on the win-cc SCADA secondary screen there is a box that pops up that gets in the way of one of the selection buttons. we cannot seem to remove it!? any idea what it is or how to get rid of it? we never see this on the main development system? the integrator said he would look into it, but doesn't seem that forthcoming.   any assistance would be great. thanks    
  4. i have been dumped an unfinished project with no budget left and i have been tasked to find a way to connect a new Siemens PCS7 system with profinet to 2-3 existing A-series mitsubishi systems. we have limited I/O availability on the mitsubishi side, so i dont think an old school direct multicore connection is going to be viable.   the A series is connected to a SCADA system, so an OPC is an option, but turning the SCADA PC off would then stop the new process.   what options can people suggest that isnt going to require buying discontinued parts off ebay?
  5. PCS7 programming software?

    what software is required to program a PCS7 system? this may be a really stupid question, but i cant seem to find a definitive answer from google searches etc. if i search for any PCS7 specific programming software, i cant see anywhere in which to purchase it from either? TIA portal sounds very similar to how i understand the PCS7 system architecture is setup with 1 piece of software integrating everything between the PLC and HMI/SCADA. TIA portal lists all the hardware devices as used in the PCS7 system we have installed. i am mostly used to Mitsubishi, so the Siemens stuff is a little alien to me, so i apologise in advance if there is an obvious answer i have overlooked!
  6. GOT 2000 scripting?

    has anyone used this and had much luck with it? i have been trying to do something relatively simple and am struggling. i simply want to add in a project script to log out a user after a set period of time. initially i tried it by trying to write to the data register in the PLC and this didnt work. I then tried managing it all within the GOT and it partially works, but if i fire the simulator up with the login level already there, it just wont work? below is the script i am using: //if login level above 0 or login above 0 and login time count at 0 if (([w:GD0] > 0) || (([w:GD0] > 0) && ([w:GD1] <= 0)))  { //set GOT seconds to login time count [w:GD1]=[w:GS7];} //while login level is above 0 while ([w:GD0] > 0) { //if 60 seconds elapsed if([w:GS7]-[w:GD1]>=60){ //set login level to 0 [w:GD0]=0;}}   i have tried lots of different iterations. i have tried using a 1 second sampling trigger point method as well as the method above with an ordinary trigger with no real joy. could it be me using the simulator causing the issue and i should get some proper hardware, or am i just being completely stupid? any guidance would be appreciated. thanks
  7. i have been dumped an unfinished project with no budget left and i have been tasked to find a way to connect a new Siemens PCS7 system with profinet to 2-3 existing A-series mitsubishi systems. we have limited I/O availability on the mitsubishi side, so i dont think an old school direct multicore connection is going to be viable.   the A series is connected to a SCADA system, so an OPC is an option, but turning the SCADA PC off would then stop the new process.   what options can people suggest that isnt going to require buying discontinued parts off ebay?
  8. profinet to mitsubishi A-series?

    thanks for the feedback. the PCS7 system is supplied via an OEM, so info is minimal at the moment. i haven't yet been allowed to see any of the hardware to see what is what. we could probably add profibus to the Siemens system, but again, the  A1SJ71PB92D Mitsubishi card is discontinued so wouldn't want to go that route. the existing communication to the SCADA from the Mitsubishi PLC is via a separate card (A1SJ71C24-R4). there is another separate card which talks directly to an HMI. if we want to do any maintenance on that PLC we can connect using an Sc-09 cable directly into the CPU. as the 422 cards on the PLC are a slave, turning off the HMI or SCADA would yield the same issue as using the existing SCADA and an OPC connection. i appreciate i could get fancy with the 422 protocol and run multi master, but i feel that is a bit specialist and outside my skillset in the short timescale we have to get the project live.   OPC is looking like the best option at present, but if anyone else has anything that springs to mind, then fire away!
  9. profinet to mitsubishi A-series?

    as the 422 connection between the SCADA and existing A-series mitsubishi PLCs has the SCADA as the master, this means adding another slave into the system and converting the signals to profinet is still going to end up with me needing the SCADA on to control the data flow? if i was to do that i may as well go with an OPC. the Aseries mitsubishi hardware was discontinued a good 10+ years ago. you can get some input, output and power supply cards new still, but anything like comms cards and CPU's are getting hard/impossible to get new now. the last time i had to get a few spares, our supplier had to go to a third party warrantied used spare supplier. i would like to stay away from going that route if possible.   i have attached a diagram of what i have and what i want to achieve:  i was just wondering if there is any other options i have missed?   Drawing1.pdf
  10. driver comm error on Eseries HMI

    anyone have any ideas or suggestions for this please???
  11. SCADA to PLC tags???

    we have a system with an Omron SCADA and Omron PLC. most things i can work with fine and muddle my way through, however the drive status is confusing me a bit. i have worked my way so far, but am struggling to work out how it all goes together. in simple terms i am trying to find an alarm bit specified in the SCADA as I[4]. from what i can tell at the SCADA end, this is D2604 in the PLC. D2604 isnt a specified tag in the PLC, but if i monitor it, it is doing what i am expecting it to do. i had a look through and found some vague reference to that register in a program in the PLC, i have attached the section which is to do with the alarms. this pointed me in the direction of H99 which seems to be a structured dataset? could someone explain to me in the simplest terms possible how an alarm goes from the H99.04 to D2604? if you need any more screenshots or info, let me know.   many thanks
  12. SCADA to PLC tags???

    Hi thanks for bearing with me. im slowly understanding how it works. found D2900 which is written at every motor program section. the +11 is the indirect number i assume? so this instruction moves '11' into d2900, then the subroutine runs which i posted up before? could someone try and explain in simple terms how this works please?
  13. SCADA to PLC tags???

    please see attached. this is a printout of the entire motor control subroutine. any guidance would be much appreciated. plcinfo.xps thanks
  14. SCADA to PLC tags???

    this is an instruction that shows some relationship between D2900 and D2600. i am really struggling to get my head round it!?   i tried looking up indirect addressing in omron and found this post, which is informative, but is different to what is being done in this piece of software: http://misrautomation.blogspot.com/2010/02/indirect-addressing-in-plc.html im sure it will just click when i understand it, im really struggling to get it at the moment, sorry :(
  15. SCADA to PLC tags???

    Thanks for the reply. ok, so that kinda makes a bit of sense. is the @no2 in the example the pointer for the indirect addressing?
  16. Simple Project vs Structured Project

    im not sure about FX, but on Q series if you upload the symbols information to the PLC then you can download it all back without losing anything. the only issue is that it takes a lot of memory up in the CPU so isnt normally worth it :(

    i was lucky enough to be given a copy of the conversion tool for this from a mitsubishi rep. it converts certain E series projects to a GOT1000 project. you can then convert this to a GOT2000 project. it is very hit and miss though and takes a lot of fiddling about to get it to work properly. depending on the size of the project, its sometimes easier to just start again.
  18. A2AS to E700 comms issue?

    i was initially using a  GT01-C30R4-25P(3m) cable and it doesn't work on this CPU, but works fine on our spare one of the same type. all the settings our correct. i can only connect to this CPU using a genuine SC-09 cable with the programming software. nothing else works.
  19. A2AS to E700 comms issue?

    i have a strange comms issue with an A2AS cpu. currently this cpu is connected via serial from the programming port to an E700, this works fine, but we have no spare E700 HMI's so i have developed a replacement on a GOT 2000 HMI. when i try it on the current CPU, i get no comms at all. i have tried loading up a spare A2AS CPU we have and this works fine, so there appears to be a strange fault with the existing CPU? some other odd things i have noticed is that on the existing CPU, the program doesn't quite run as expected. it isn't using anything particularly complex, but i have had to alter some new software mods i installed just to get it to work on this CPU. it works as expected on another CPU and on the simulator. the GX developer program is also set as an A2U CPU? i have tried reloading as an A2AS, but that made no difference.   has anyone got any ideas as to what the issue could be and how to rectify it (other that swapping out the CPU)?
  20. A2AS to E700 comms issue?

    done a bit more testing today; the spare CPU works fine in all situations. the existing one will communicate with the E700 fine. it will also communicate with the PC using GX developer using a genuine sc-09 lead. however, if i use a non-genuine sc-09 lead, it no longer communicates??? the spare cpu works with the non-genuine lead. i popped the case of the CPU and couldn't see anything obvious. it all looked pretty good. i have tried a format (clear plc memory) and this made no difference. i even tried just making up a small 5 line program for testing and it still didnt work. i am just using the 485 port in the front of the CPU for comms as that is the only option available on this CPU.
  21. linearisation on Q series?

    final code has been done. cone section has been calculated using the TAN function. i have also calculated the mound/hollow of grain using the same method (this is a grain silo). the cylindrical section of the tank i elected to use linear interpolation. i have 2 tables setup, 1 for the fill and 1 for the empty. these switch between with a deadband to try and smooth the transition as best we can. i just need to tidy it all up and put in the PLC to test once have the figures for the interpolation.  
  22. linearisation on Q series?

    we have some storage tanks with coned bottoms. the levels are measured using radar. we wish to use some sort of linearisation table or function to account for the cone in the tank and acheive more accurate results. my maths isnt the best, i was considering doing a rudementary offset table to achieve this, but i would like to do a nicer job if possible, does the Q series (specifically a Q03UDE) have a function that could assist with doing a nice linearisation curve?
  23. linearisation on Q series?

    right. my modified code had a mistake. they now both work. speaking with my colleague he suggested using TAN rather than the rule of sines. as we have a 90 degree angle at all times, this works and is far simpler. we divide the height by the tan of the slope angle to give us the radius. we then calculate the volume as before.
  24. linearisation on Q series?

    when i run your original code with those figures i get a radius of 11.547 and a vlume of 1396? with my code using your initial technique with law of sines then Pythagoras, i get 5.774m radius and a volume of 349.06 m3 using the modified version, just using the law of sines, but calculating the 3rd angle before using the law of sines, i get 17.375m radius and 3161.251m3 volume. the volume calculation is done the same way on both. i have passed this to my colleague who has far better maths skills than me to see if he can work out what is going wrong!
  25. linearisation on Q series?

    are you sure thats right? i input the same figures into both yours and my code and we get different results? is the further calculation using Pythagoras adding in some additional errors?