michael G

MrPLC Member
  • Content count

    110
  • Joined

  • Last visited

Community Reputation

2 Neutral

About michael G

  • Rank
    Sparky

Profile Information

  • Country Australia
  1. go to the example project in Citect Open file Simulatr.ci search for the PID function to find more examples search all *.ci files for "tasknew" you will have to read the help to be sure that you are using it correctly for your application
  2. Yes Start your own cicode task that runs forever by creating a loop that runs forever in that loop use the SleepMS function to control how fast your repeat the function call WARNING - you must yield using the Sleep function so other tasks can execute Other useful function to read up on are the Task functions (eg TaskNew)
  3. Citect v7.3 : Multiple Project

    Read about "included projects" in the Help
  4. best way to filter an analog reading

    After you divide by 5 and before you convert it into an INT add 0.5 to the real Eg divide it by 5: 3049.86 *** ADD 0.5 : 3050.36 convert it to an INT: 3050
  5. 1769-L33ER

    Sorry only one IP address as it is an embedded switch Quote from http://literature.rockwellautomation.com/idc/groups/literature/documents/td/1769-td005_-en-p.pdf
  6. com port handling with Citect Scada

    Cicode using ComOpen http://webhelp.citect.com/vijeo/AutoMerge/CicodeReferenceWeb/content/ComOpen.html and it is possible that you have not given enough information to get the correct answer Why are you wanting to open and close the port?
  7. welcome to the irregular world of high speed timing and event management As Ken said "resetting" the counter is dangerous - so I don't - I just work out the next target position from where I started 4" 8" 12" etc and have a hardware reset on the count using the Z pulse of the encoder If you want to perform an action on the material every 4" then you have more timing issues - The response time of the PLC, the reaction time of the electro mechanical device (eg solenoid and ram stroke) etc To program around the response time you can start your action early based on the speed of the target - the faster the material is moving the earlier you start your movement It is also likely that you will need to learn about the CST Timestamp
  8. The biggest benefit is when you are controlling duplicate items Eg Same routine in two programs that does exactly the same thing There I use Program based Tags that are alias's to the Controller Tags that are the actual IO however the program scope Tag name is identical so I can cut and paste between routines This allows a system builder to create "standard" code
  9. it sounds like that you have replaced the motor commissioning tests hookup test 1) check feedback direction - rotate the DISABLED motor by hand in the forward direction and watch the feedback increase. 2) Direction check - The motor is given a small current to run forward - check that the feedback is also running forward load test 3) Last check is to perform an auto tune - if a replacement motor then this may not be needed I have seen a motor rotate when enabled because the motor leads were reversed. I have seen a motor rotate when enabled due to feedback wiring incorrect.
  10. Can you use the Control logix? It is possible to add an Ethernet Motion controller (eg Kinetix 350) to the existing motion group There are some limitations on Control Logix version for compatibility Your application is like a travelling knife shear - I hope that you are sizing the motor large enough to cope with the acceleration rates required for your master speed
  11. What is the device sending the Position "Variable"? How accurate must it be? if you are after better than 1mm at all times (ie during accel and decel) then I do not think that you will have much success You would get better results by bringing the "master" position in via auxiliary feedback into a feedback only axis There are some standalone servo controllers that "follow" an encoder reference eg kinetix 300 in "master gearing" mode
  12. problem about time of loading page in citect scada

    Not what I was talking about What I was meaning was for example: a display page uses - Var1 and Var2 IF Var1 is address 40010, Var2 40011 - can be read in one message IF Var1 is address 40010, Var2 40310 - needs two messages and takes longer and at 9600 you want to use the least number of messages
  13. problem about time of loading page in citect scada

    +1 and we are assuming that you already are using address blocking. (minimizes the number of messages needed to get the data)
  14. PLC programming patterns

    +1 Look up ISA-88 and PackML they are formal sequencing and batching standards
  15. MAG and MAS instruction

    Motor will run as required by whatever else is going on eg - a Move (MAM), a Jog (MAJ), a Time profile (MATC), a Position Profile (MAPC) Select the Axis and perform a cross reference - you are looking for any of the above instructions