How would you do it without computer? Math work's with pen and paper too... is the sensor output linear?
Posts by panic mode
-
-
First image clearly shows HMI window so connection was fine there
But second image shows no connection.If both are taken minute or so apart I would expect loose connection somewhere.
You can try reconnecting smartpad (X19), connecting external monitor to see if HMI show's anything odd.
-
Boolean variables have values... TRUE or FALSE are values
-
Sounds like you did not scale your analog signal
-
Quote
I didn't know that Turck devise required an auxiliary power for the output side of the module
this is nothing new - ALL output modules regardless of maker, always have separate power for output drivers. this way outputs can be powered from safety-controlled source.
QuoteI got the analog inputs sort of working, I use a laser measuring tool seem like there is noise as the numbers jump around a bit
also perfectly normal...
Quote[size=0px]Why do I get an analog number like 6.400887E-04[/size][/size][size=0px]Can it be change to a 3 decimal number?[/size]
[size=0px]
sure... do you have an example of that 3 decimal number?[/size]
-
normally simply reading data will remove it from the buffer. if the amount of data received can exceed buffer size in time it takes to read the buffer, consider using hardware handshaking
-
what exactly you are stuck on?
how are signals transferred between PLC and KRC?
how many? do they all work? (changing output on KRC is seen by PLC and the other way around)how many programs PLC need to be able to choose from?
what program type your are using? (PGNO encoding scheme)
are you using parity?it's been long since i worked with Siemens and don't know your CPU but you should be able to either use outputs individually (Q12.3) or group them into a byte or word etc (QB1, QW1)
-
just the message number..?
how about Sunrise OS version?
how about SunriseWorkBench version? -
[size=2]
I never used it but...If issue is resolved by restoring software, issue is clearly with data corruption of some sort..
And if the issue is happening repeatedly, did anyone consider collecting archive and comparing it with the backup?
List of things that come to mind:
someone changed PAL file
Someone sellected wrong PAL file (it takes time to reach all positions)
Defective HDD
Defective RAM
....[/size]
-
Quote
[size=2]Do you have a clue on how do I send the binary number for GNO = 1 ? p.ex.
I know that i need to send 00 00 00 01, but how do i program an output to do that?
[/size]Most PLCs will allow you to address block of outputs as a byte. in that case you can use MOV or equivalent...
the other way is to turn on bit by bit. this is handy when using PGNO type 3 for example and no feedback from KRC (no mirrored PGNO).Quote[size=2]do I need to configure anything aditional on workvisual ? Profinet was running ok, i just changed to256in/out and remapped.[/size]
[size=2]maybe... i don't know what you have there... chances are that should be ok if this is the only change. did you add comments?[/size]
-
8in/8out is very low, it is barely enough to make functional AutoExternal interface. try 256in/256out and map all signals
-
[size=2]you are welcome,[/size]
[size=2]i enjoy secrecy and suspense like everyone else but - you may want to try sharing some details if you want our help. [/size]
[size=2]this is not some TV show like CSI or X-Files where correct answers magically appear.[/size][size=2]For example:[/size]
[size=2]* still unknown OS (Win95?)[/size]
[size=2]* unknown resources [/size]
[size=2]* some program was run (very "specific"...) [/size]
[size=2]* unknown configuration (integrated KOP files and order in which they are added)[/size]
[size=2][font=verdana, arial, helvetica, sans-serif]* what exactly changed? there was an uninstall... what exactly was uninstalled?[/font][/size]
[size=2]* did you try rebooting PC?[/size]
[size=2]* did you try removing installed KOPs?[/size] -
you stopped him from reading manual ...
-
Please read pinned topic READ FIRST.
Each version of work visual has system requirements. Are they met?
Was installation complete and successful? And on approved OS?
Are you admin? Did all dependencies install correctly? -
Another thing to keep in mind is oil quantity in main axes. This is in robot manual...
-
why bother adjusting filter or whatever system parameters are? why not adjust your program so there is no step?
let the robot start from current position and not from point that is some distance away.... -
you should check with Kuka....
does it have to be SSI? there may be restrictions when it comes to support for modules that use any type of communication protocol (SSI fits the category). -
please check pinned topic READ FIRST
-
try $PAL_MODE
-
[size=2]one of the issues with trig functions is that their inverse are not continuous.
another issue is that computers have to deal with limitations such as finite number of bits used to represent numeric values. only integers can be represented accurately. with real numbers, there is always rounding involved (except for countable set of values).
it is quite common in mathematics that complexity of problem representation decreases ... if one increases number of dimensions.
this is why in problems involving electrical circuits one often uses complex numbers. they have two dimensions: real and imaginary.Imaginary dimension values are grouped around unit "i" using format [/size]X=a+bi
For example, if we have value
Z=3 + 4i3 is real part of the Z (first dimension)
4 is imaginary part of the Z (second dimension)real and imaginary dimensions are orthogonal to each other, so magnitude of the X is described as |X|=sqrt(a^2+b^2) etc.
value "i" is defined as square root of negative one (i^2=i*i=-1)similarly when working in 3D space, problems become more manageable if instead of conventional 3 dimensions (X,Y,Z) one switches to 4 dimensions.
hence name "Quaternion" (because 'quatro' = 4). This means a number can be represented in form
Y= a + bi + cj + dk (four terms, where i,j,k are imaginary numbers associated with different dimensions).in this world, i^2=j^2=k^2=-1
one of the challenges is visualizing multiple dimensions...
https://en.wikipedia.org/wiki/Quaternionbut there are a lot of good resources on this, including yotube.good luck