Kings and Barnhams Automation

MrPLC Member
  • Content count

    17
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Kings and Barnhams Automation

  • Rank
    Sparky

Profile Information

  • Country England
  1. NS5 and SAP's

    hi, i have an NS5 SQ10 and im trying to run a smart active part on it but it keeps coming up with a macro error to do with the addressing. has anyone had any experience of this? i have tried the same program with an NS8 and it works fine. i have tried firmware 8.0 and 8.1 on the NS5 with projects in 7.0, 8.0 and 8.1 with the same result. i suspect it is something to do with the fact it is an SQ10, but if anyone else has had this problem i would like to know, and how to fix it! thanks in advance, Rob
  2. AJ65BTB1-16D cc link thermocouple setup problem

    Thanks for the ideas, unfortunately i cant get to site to try out your suggestions until the new year but i will let you know how i get on when i do. In the mean time if you have any further thoughts please dont hesitate to share them.
  3. AJ65BTB1-16D cc link thermocouple setup problem

    Thanks for the info Veganic, i had no joy with using a restart bit as when i am monitoring software i can see when a thermocouple card is powered down the RY flags and channels that i have enabled are still turned on. I can also go into buffer memory batch monitor and see that the bits that need to be on in the relevant buffer memory locations are still on. Like you say it seems to be that you have to use the initial data processing request flag RX78 to turn on the RY flags and in the manuals programming example they use RX79,RY78 and RY79 as well. I have just tried a few ways of using these to control the RY flags but am still not getting it right. Is it possible that you could post your example to have a look at?
  4. I have no clue what I am doing here... Help?

    hello, from what i understand about this post there are a couple of issues. no1. the mitsi plc does not work on 12vdc as the supply voltage no2. the mitsi plc does not have any analogue capabilties in its current state. however, i think you add an analogue extension FX0N 3A to give you 2 analogue inputs. im not sure if you can add multiple 3A cards to give you more analogue inputs though. if that is true, you will not be able to have the 4 potentiometers you will need for 4 airbags. the programming is relatively simple as what you are trying to achieve is simple comparison. the analogue input values are given to you in specific data registers. the output side will be fine as the plc provides relay contacts for you to put what voltages you want to your solenoids. assuming you can get your 4 analogue inputs back and the plc powered some how, the other problem i can see is that the airbag height can only be adjusted using a laptop unless you can put some potentiometers in or do some digital input logic. the job is certainly possible, and would be pretty easy given the right equipment. i would say that this plc is probably not the ideal piece of kit to use though. hope that help, Rob
  5. AJ65BTB1-16D cc link thermocouple setup problem

    I am currently working on a project that uses a Q02 CPU programmed Q mode using GX developer which uses a cclink master QJ61BT11N. On the cc link network i have input, output and thermocouple modules installed in remote electrical control panels powered from their own seperate supplies. I can read temperature values back from all my thermocouples ok but the problem is when any of the cc link thermocouples is powered off i can see the last measured values remain constant within the remote registers Rwr starting at d3000. When i have re-established the power to the relevant cc link thermocouple module its Rwr registers all get values of 0 written into them and the only way i can start reading values once again is to re-write the program to the PLC. I have looked through the AJ65BT-68TD manual and the programming examples seem really over complicated to me. I have tried to pick out the parts that i need and set the relevent RY remote flags that i need to get it working by using SM402 first scan contacts but i am aware that in the manual examples Rx flags are used for request and completion of data flags. Do i need to be using these instead ? Has anyone got any explaination of how to get these working correctly or any setup examples they would be prepared to share? I have also seen that these can be setup by using remote device station initial setting procedure registration within cc link network parameters. Is this a better way to go ? This is the first time i have used cc link and am finding it a bit of a struggle. Hope this all makes sense to someone!
  6. Using PID over RS485 with S500 Drive

    in my opinion the mitsi manuals are very poor. ive always had this criticism but that is besides the point. and yes i know that IVCK monitors data and IVRD reads parameters. this may well be clear, but special monitor selection numbers arent. however, i have figured out how to do this, and if anyone is interested the code is: IVDR K1 H0F3 H35 K1 moves PID process value to HF3 IVCK K1 H72 D108 K1 reads special monitor as 4 digit output for reference, to monitor the output frequency you need this code: IVCK K1 H6F D108 K1 so you can see that reading the frequency is easy, but the special monitor is more complex, and i dont think the manual made it any easier. cheers
  7. Using PID over RS485 with S500 Drive

    update time... ive changed the drive to an F700 and i can now get the drive to act on PID and change the set point without the need of a pot. still dont no why i couldnt do this using an S500. next question: which instruction or set of instructions do i need to monitor the PID process value of the drive in my PLC? looking at the (very poor)F700 manual, it seems to be that i need to use instruction code H72 or H73 in conjunction with special monitor selection H35. the problem i have is which instruction do i need to make this work? IVCK, IVRD etc. do many people have problems with their mitsi support? cheers
  8. Using PID over RS485 with S500 Drive

    any more ideas guys? i cant believe that this cant be done
  9. Using PID over RS485 with S500 Drive

    Try P79 -3? the problem with changing P93 to 3 is that the drive wont start up in computer link mode maybe you cant set the internal PID set point in the config i have, but i find that hard to believe. is there any way of sending a 4-20mA signal to the drive over computer link? this way i could drop the physical external 4-20mA signal to the drive. this should allow me to change n9 back to 0 and then P93 should become active? i hope someone can understand what i am saying, it makes sense in my head! failing this, can the problem be overcome by using an F700, as this is the actual drive i will be using for the final application (s500 is just a test drive i have but the code should be very similar) thanks
  10. Using PID over RS485 with S500 Drive

    ok that makes sense. i can send a value to P93 of say 30% so in theory the drive should be looking to keep 8.8mA as the PID value. but the drive still doesn't seem to respond to this. however, it will work with a pot setting the PID set point manually. the key parameters i am setting on the S500 are: P79 - 2 P88 - 20 P89 - 100 P90 - 1.0 P91 - 100 P92 - 0 P93 - 30.0 P94 - 1.0 n8 - 0 n9 - 1 n10 - 1 this is allowing the drive to start in computer link mode and then the frequency is set via a 4-20mA input across terminals 4 and 5. i am starting the drive using the command IVDR K1 H0FA H3 K1 in my FX3U (STF command and AU enable) i have also put a physical link between PC and RL and set P60 to 14 (enabling PID control) The PID does seem to work, but only when i adjust the set point using a pot across terminals 2,5 and 10 i just dont know how to change the PID set point using code (so it can be changed by a HMI) thanks, Rob
  11. Using PID over RS485 with S500 Drive

    ok, slight update. i can set the PID set point using a potentiometer across terminals 2,5 and 10 on the inverter drive. i suspect this is because i have set parameter n9 on the drive to 1 for an external speed reference. so this leads me to the question of how to program a PID set point over RS485 so i do not have to wire a pot to the drive? thanks, Rob
  12. Using PID over RS485 with S500 Drive

    afternoon guys and girls, i would greatly appreciate some advice on a project i am working on. the scenario... using a 4-20mA pressure traansducer to control an S500 using PID. that bit is fairly easy, however.... im trying to do this via an FX3U and over RS485. i have the inverter talking to the PLC on RS485. i can issue run commands and manual speed commands ok. now i am using an analogue input card to receive my 4-20mA transducer, and an analogue output to send a 4-20mA signal to 3 seperate drives. following so far.... what i need to know is how to issue a PID set point on the drive. normally you would use P93 but im not convinced the drive is looking at P93 in computer link mode. im using IVDR instructions to issue operation commands to the drive and i have tried writing to P93 using an IVWR instruction (which does write to P93). at the moment the drive tries to run but it seems as though the PID set point is too low and the drive is ramping up very very slowly. hopefully someone will be able to understand how ive written this! many thanks in advance, Rob
  13. cc link link buffer memory address question

    Thanks for the assistance guys i can now see how it works have now used M1000,1,2,3 to bring up alarms on the E1101 I have connected to show which station has gone into error.
  14. cc link link buffer memory address question

    I am currently working on my first cc link project and have entered a program example from a mitsubishi manual and have acheived successful comms with all cc link stations ( 4 x AJ65SBT-64AD analogue-digital converter) and can read all analogue values fine. The first line of code contains [bMOV SW80 K1M1000 K1] and i believe SW80 is a buffer memory location used to check the data link status of cc link stations. Can anyone offer an explanation of how this code works, is it going to give me an error signal for all 4 of my stations and what kind of errors will cause a value to be written to SW80? Any help would be greatly appreiciated as i struggle to find user friendly explainations from mitsubishi manuals!
  15. Open Settings for E1151 HMI

    fantastic, this got our HMI and PLC talking! initially we could communicate with the PLC and HMI with a laptop through a switch (so all were connected through ethernet) but now the link seems to have dropped out and although the HMI and PLC are still talking, the laptop cant talk to the PLC through the ethernet card. any ideas? cheers, Rob