Log In
Join
Join the Community
Register
Log in
Or sign in with
Facebook
Google
GitHub
Linkedin
SIGN UP FOR OUR NEWSLETTER
Register
Main Menu
Home
Explore
Products
Cabinets & Panel Components
CNC Machines
Communication & Security
Connectors, Wire & Cable
Data Analytics & Simulation
Electrical Power Control
HMIs & SCADA
Motors & Controls
PLCs & PACs
Pneumatics & Hydraulics
Robotics
Safety
Sensors & Instruments
View all
Industry
Advanced Mfg
Agriculture
Automotive
Building
Chemical
Electronics
Energy & Infrastructure
Food & Beverage
Forest Products
Logistics
Medical & Pharma
Metal
Military & Aerospace
Natural Resources
Plastics & Polymers
Product Mfg
View all
Content
Ebooks
Forums
Industry Articles
Industry Webinars
Industry White Papers
News
Partner Content Hub
Technical Articles
Textbook
Tools
Worksheets
Articles
Latest
News
Technical Articles
Industry Articles
Industry White Papers
Forums
Latest
General Discussion
Hardware
Software
Communication
Education
Textbooks
Video Lectures
Worksheets
Industry Webinars
Ebooks
Tools
Videos
Latest
Industry Videos
Industry Webinars
Video Lectures
Giveaways
Partner Content Hub
Contact Us
Register
Log In
Network Sites
Search...
Home
Search
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Search results
Search everything
Search threads
Search blogs
Keywords
Search titles only
Posted by
You may enter multiple names here.
Newer than
Search
C
Putting a set of real numbers in an array
ok you seem to have found a solution if you say it works ..well done best of luck
Carl
Post #9
Apr 15, 2021
Forum:
Programmable Logic Controller - PLC
C
Putting a set of real numbers in an array
ok ...show me the code and show me where you have declared the variables... ascending order of what ....the actual AD channel or the value coming from the channel... is this an actual application or is it a learning exercise? if it's the latter then I can point you in a direction if it's the...
Carl
Post #7
Apr 14, 2021
Forum:
Programmable Logic Controller - PLC
C
Putting a set of real numbers in an array
ADArray: ARRAY[0..9] OF REAL; ADArray[0] := AD_1; ADArray[1 ] := AD_2; etc does that work? not sure what you want to do but that moves it around ...you can make a loop to store AD values ..but be careful loops in ST chew up the processor. Don't go out of bounds on your array loop and the use...
Carl
Post #4
Apr 13, 2021
Forum:
Programmable Logic Controller - PLC
C
Putting a set of real numbers in an array
Array data type An array is a set of data elements of the same type. Basic and user-defined data types, function block types, and classes may be used as array element types. Example: TYPE TArray1: ARRAY[0..9] OF INT := [1,2,3,4,5,6,7,8,9,10]; TArray2: ARRAY[1..2, 1..2] OF USINT := [11,12,21,22]...
Carl
Post #2
Apr 13, 2021
Forum:
Programmable Logic Controller - PLC
C
Answer to another set of posts.
No problems...DC drives a great bit of control kit. ..As for the snubber network resetting the values on the temperature controller. That is a bit strange almost suggests that there is some type of feedback to the electronics. If I remember there was some talk about SCR instead of a...
Carl
Post #2
Apr 10, 2021
Forum:
General Automation Chat
C
Conversion of PLC Logic from One platform to another
you write a parser...I have written a parser/compiler( the back end ) that converts ladder to c and then used third-party software to convert c to machine code. Unfortunately, I broke the code, I still have it somewhere. I used an LL1 parser ...Writing compilers/parsers is defiantly not for the...
Carl
Post #2
Apr 5, 2021
Forum:
General Automation Chat
C
Induction motor Acceleration/starting time
I would guess that the question is related to jolts on the system that you are interpreting as torque/current issues. Usually, on large fans, you use the s curve acceleration as opposed to the trapezoidal acceleration. The trapezoidal acceleration causes a jolt in the system whereas the s curve...
Carl
Post #9
Mar 22, 2021
Forum:
Electrical Engineering
C
Stepper motor demagnetization
I've heard of perm magnetic motors becoming demagnetized...never seen it. I worked in a power steering manufacturing facility where they used brushless DC motors.,... thousands per day and never saw one. I would think a small experiment would be easy enough to set up...maybe add some heat to...
Carl
Post #8
Mar 18, 2021
Forum:
Motion Control
C
Stepper motor demagnetization
if the field is strong enough and opposite to the magnet that would demagnetize it. I've seen this effect in magnetizing machines where you feed an item in a particular direction ..it magnetizes,,, then if you feed the item in the opposite way it demagnetizes. Maybe ....lock the rotor and apply...
Carl
Post #6
Mar 18, 2021
Forum:
Motion Control
C
stepper motor and RC
ok..now I see Well, it can be mechanical or software, those are your two big pictures of the problem... Can you explain that action mechanically...(is there an elastic force being built up that springs it back like that?)... If it can't be explained mechanically then something is going on in the...
Carl
Post #15
Mar 15, 2021
Forum:
Motion Control
C
stepper motor and RC
ok ...turns back 1 second....sounds like a coding issue Still not very clear ...do you have a video of the issue
Carl
Post #13
Mar 15, 2021
Forum:
Motion Control
C
stepper motor and RC
I would suggest you take a video of the problem... Then slow it down...I'm not sure if you can post vids on this forum But regardless it might give you a clue... Are you saying that one of the wheels is "skipping" Sounds like a nice project How are you synchronizing the motor...one step is how...
Carl
Post #9
Mar 14, 2021
Forum:
Motion Control
C
stepper motor and RC
Is that what the Differential gearbox is for? ....sounds like your project just got a whole lot more complicated. Maybe you can adjust wheel speed according to load.....that might be a bit tricky with a stepper motor
Carl
Post #4
Mar 14, 2021
Forum:
Motion Control
C
Motor....Scilab
yes, I know, sometimes we forget. I think you're doing a fantastic job. Think I might have got the motor down....a bit of a cheat I've put a SISO transfer function for each winding...My DTC doesn't care about the rotor....maybe somebody has a more complete motor model
Carl
Post #7
Mar 8, 2021
Forum:
General Automation Chat
C
Motor....Scilab
Thanks, ControlGuy...I didn't mean to sound ungrateful. If all else fails I will look at it more carefully
Carl
Post #5
Mar 8, 2021
Forum:
General Automation Chat
C
Motor....Scilab
That looks good ...but my french doesn't go past salt and pepper
Carl
Post #3
Mar 8, 2021
Forum:
General Automation Chat
C
Motor....Scilab
Hi Experts Does anybody have a motor modal under scilab....xcos to be more specific? Motor modal is squirrel cage motor I'm testing a DTC algorithm but battling in finding a motor block Thanks
Carl
Thread
Mar 8, 2021
Replies: 7
Forum:
General Automation Chat
C
Stuck in a Case Twincat 3
yea....I just finished an awful job for Noord stream 2,,,so got some time your welcome by the way there were a few nick nacks in the code....but I assume its work in progress
Carl
Post #8
Mar 7, 2021
Forum:
Programmable Logic Controller - PLC
C
Stuck in a Case Twincat 3
be careful with the brackets ...depending on the compiler ...it can give some funny results.. ....good practice to end else if with else...I'm guilty of this sin as well
Carl
Post #6
Mar 7, 2021
Forum:
Programmable Logic Controller - PLC
C
Stuck in a Case Twincat 3
ok....good stuff
Carl
Post #5
Mar 7, 2021
Forum:
Programmable Logic Controller - PLC
Prev
1
2
3
4
5
6
Next
First
Prev
3 of 6
Go to page
Go
Next
Last
Top
Continue to site
QUOTE OF
THE DAY
“
”
-