michael G
MrPLC Member-
Content count
110 -
Joined
-
Last visited
Community Reputation
2 NeutralAbout michael G
-
Rank
Sparky
Profile Information
- Country Australia
-
Update an event in Citect scada 7.20 faster than once per second?
michael G replied to Novice's topic in HMI & SCADA
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 -
Update an event in Citect scada 7.20 faster than once per second?
michael G replied to Novice's topic in HMI & SCADA
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) -
Div_by_zero liked a post in a topic: best way to filter an analog reading
-
Read about "included projects" in the Help
-
best way to filter an analog reading
michael G replied to Div_by_zero's topic in General Topics - The Lounge
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 -
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
-
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?
-
1756-hsc/b application question
michael G replied to jerpvtx's topic in Allen Bradley / Rockwell Automation
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 -
Controller vs Program Scoped Tags
michael G replied to jrupp82's topic in Allen Bradley / Rockwell Automation
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 -
Problem with Ultra 3000 and MPL motor
michael G replied to gdalianis's topic in Allen Bradley / Rockwell Automation
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. -
Kinetix 350 - synchronized single axis
michael G replied to Pembuk's topic in Allen Bradley / Rockwell Automation
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 -
Kinetix 350 - synchronized single axis
michael G replied to Pembuk's topic in Allen Bradley / Rockwell Automation
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 -
problem about time of loading page in citect scada
michael G replied to mostafa's topic in HMI & 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 -
problem about time of loading page in citect scada
michael G replied to mostafa's topic in HMI & SCADA
+1 and we are assuming that you already are using address blocking. (minimizes the number of messages needed to get the data) -
+1 Look up ISA-88 and PackML they are formal sequencing and batching standards
-
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