Activity for alejho

  • alejho alejho posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi all, Does someone have an idea about the meaning of this parameter in cam editor? Trying to change it nothing happens. I can't find any documentation about it except of: Indicates when the slave period is repeated mechanically. The slave position at the start and end of the master period may then be in an interval of a whole number multiple of this value. This value is effective only if the Smooth transition check box is selected.* That is not really helpful (how can the slave be OUT of an interval...

  • alejho alejho modified a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hi all, Using this object in visualization I can't see the FB inputs on the target device The curious thing is that if I access the same visualization from web it works perfectly: Someone has idea of where the problem is?

  • alejho alejho posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hi all, Using this object in visualization I can't see the FB inputs on the target device The curious thing is that if I access the same visualization from web it works perfectly: Someone has idea of where the problem is?

  • alejho alejho posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi all, I'm working at a script to autoconfigure some aspects of a project. The script will be interactive and submit some questions to the user. Is it possible to edit the parameterization of an axis from a python script? For example let's say I want to change the axis type and limit like I can do manually from its editor...how can I do? from __future__ import print_function proj = projects.primary device = proj.find('myAxis', recursive = True)[0] param = device.device_parameters #how to list and...

  • alejho alejho posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thank you very much...I must be blind!

  • alejho alejho posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi all, Does someone has the right link for the python scripting API? I found in different documents a link to this page that is no longer available: https://help.codesys.com/ms-its:ScriptEngine.chm::/html/R_Project_ScriptEngine.htm Thank you for any kind of help!

  • alejho alejho posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hi all, I have to perform the homing routine of an axis that act as a master for another axis. The slave must follow the master with an mc_gear in (1:1) becaus of the mechanics of the machine My problem is that in the moment the master axis finish it homing procedure and set its position value the slave axis jerks because the master position has a discontinuity. Does anyone has a suggestion for this situation? It's somehow possible to perform the homing procedure without setting the position?(this...

  • alejho alejho posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, I'm running the CODESYS runtime on a windows 10 machine...it's possible to read the inputs from a physical usb keyboard?...I have to use serial communication?

  • alejho alejho posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi all, After some time logged in my IDE freeze and stops to work. There is somewhere in the installation folder a log?...I mean not the target device log, but something that logs what's happening on the ide side. Thank you

  • alejho alejho posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I'm trying to use SMC_StringStream to feed an SMC_NCInterpreter. I'm using the output of SMC_StringStream as input for a SMC_NCTokenizer, then its output as input for a SMC_NCTokenParser and finally I pass the generated sequence to SMC_NCInterpreter as described in the documentation. Unfortunately SMC_NCTokenParser always return SMC_PRS_INCOMPLETE_SENTENCE_IN_TOKEN_QUEUE even for a simple single gcode program (like 'N10 G0 X100 F50') that runs without problems from a file using SMC_ReadNCFile2. How...

  • alejho alejho posted a comment on discussion Motion

    Using the CNCprepro example I tried to design a very simple trajectory: If I try to compensate the tool radius using only G41 it display the trajectory correctly: If I try to sooth the trajectory using only G51 it display the trajectory correctly: If I use at the same time G41 and G51 the behaviour is different depending on the order I use these functions, but in both case looks incorrect to me. When G51 precedes G41 the first one it's just ignored: When G41 precedes G51 it's just a mess...it seems...

  • alejho alejho posted a comment on discussion Motion

    I was working at a very similar solution, but yours it's even simpler! Thank you very much!

  • alejho alejho posted a comment on discussion Engineering

    Hi all, I created a library and imported it in my application. Everything is working fine if I instantiate a FB from the library...as shown in the first picture the namespace is automatically added before the FB type name: But when I add a variable as input for the FB the auto declare feature doesn't add automatically the namespace. This leads to a compilation error. Not a big issue (if you know that it's enough to add manually the namespace)...but it's quite misleading for the user. I'm missing...

  • alejho alejho posted a comment on discussion Motion

    What about using simply a MC_GearIn and then act like only the master exists? Of course I would do some checking at the slave status to be sure is always ok (status, torque...)

  • alejho alejho posted a comment on discussion Motion

    Hi all, I'm using MC_Jog and i'm wondering if there is a "best pratice" to jog an axis (with finite limits defined) until its limit without getting errors?

  • alejho alejho modified a comment on discussion Engineering

    I want to share some things I find out "by experiments". If you're using SMC_GroupJog2 in MCS (cartesian jog) with a Scara3_Z kinematics: Input Orientation mode "Axis" seems not supported for this kinematics Set MaxLinearDistance and MaxAngularDistance the smallest possible for your needs...it reduce unpredictable errors like the one described in the previous post. Basing on the current position (and why not trying to predict "where are you going") eventually disable the jog input when you're too...

  • alejho alejho posted a comment on discussion Engineering

    I want to share some things I find out "by experiments". If you're using SMC_GroupJog2 in MCS (cartesian jog) with a Scara3_Z kinematics: Input Orientation mode "Axis" seems not supported for this kinematics Set MaxLinearDistance and MaxAngularDistance the smallest possible for your needs...it reduce unpredictable errors like the one described in the previous post. Basing on the current position (and why not trying to predict "where are you going") eventually disable the jog input (I did it with...

  • alejho alejho modified a comment on discussion Engineering

    Hi all, Using Softmotion 4.6.2.0 I'm trying to jog an axis group with a Scara kinematics in MCS using the FB SMC_GroupJog2. It's quite a nightmare first of all because it doesn't avoid in any way singularities (so you have somehow to disable the jog when your are "close"). Then the axis group generate an error (SMC_AXIS_INVERSE_TRAFO_EXCEEDING_POSLIMITS) jogging in a cartesian direction until a given position (let's say from the position in the first picture to the position in the second picture)...

  • alejho alejho modified a comment on discussion Engineering

    Hi all, Using Softmotion 4.6.2.0 I'm trying to jog an axis group with a Scara kinematics in MCS using the FB SMC_GroupJog2. It's quite a nightmare first of all because it doesn't avoid in any way singularities (so you have somehow to disable the jog when your are "close"). Then the axis group generate an error (SMC_AXIS_INVERSE_TRAFO_EXCEEDING_POSLIMITS) jogging in a cartesian direction until a given position (let's say from the position in the first picture to the position in the second picture)...

  • alejho alejho modified a comment on discussion Engineering

    Hi all, Using Softmotion 4.6.2.0 I'm trying to jog an axis group with a Scara kinematics in MCS using the FB SMC_GroupJog2. It's quite a nightmare first of all because it doesn't avoid in any way singularities (so you have somehow to disable the jog when your are "close"). Then the axis group generate an error (SMC_AXIS_INVERSE_TRAFO_EXCEEDING_POSLIMITS) jogging in a cartesian direction until a given position (let's say from the position in the first picture to the position in the second picture)...

  • alejho alejho posted a comment on discussion Engineering

    Hi all, Using Softmotion 4.6.2.0 I'm trying to jog an axis group with a Scara kinematics in MCS using the FB SMC_GroupJog2. It's quite a nightmare first of all because it doesn't avoid in any way singularities (so you have somehow to disable the jog when your are "close"). Then the axis group generate an error (SMC_AXIS_INVERSE_TRAFO_EXCEEDING_POSLIMITS) jogging in a cartesian direction until a given position (let's say from the position in the first picture to the position in the second picture)...

  • alejho alejho posted a comment on discussion Engineering

    Does recipe manager needs a particular license?...in general how is possible to understand the needed licences for a given project and the one actually installed on the target device? Thank you!

  • alejho alejho modified a comment on discussion Engineering

    Hi all, I'm having problems using these three Fb's combined. Running these instructions from a gcode file (angle rounding and tool radius compensation): N20 G52 D5 N21 G41 D3 The FB SMC_ToolRadiusCorr give me the error: SMC_TRC_PLANE_CHANGE_NOT_ALLOWED The very same code run without problems if instead of : SMC_ReadNCFile2 and SMC_NCInterpreter I use: SMC_ReadNCFile and SMC_NCDecoder (but in this way I cannot handle subprograms). does anyone have any suggestions? Than you

  • alejho alejho modified a comment on discussion Engineering

    Hi all, I'm having problems using these three Fb's combined. Running these instructions from a gcode file (angle rounding and tool radius compensation): N20 G52 D5 N21 G41 D3 The FB SMC_ToolRadiusCorr give me the error: SMC_TRC_PLANE_CHANGE_NOT_ALLOWED The very same code run without problems if instead of SMC_ReadNCFile2 and SMC_NCInterpreter I use SMC_ReadNCFile and SMC_NCDecoder (but in this way I cannot handle subprograms). does anyone have any suggestions? Than you

  • alejho alejho posted a comment on discussion Engineering

    Hi all, I'm having problems using these three Fb's combined. Running this instructions from a gcode file (angle rounding and tool radius compensation): N20 G52 D5 N21 G41 D3 The FB SMC_ToolRadiusCorr give me the error: SMC_TRC_PLANE_CHANGE_NOT_ALLOWED The very same code run without problems if instead of SMC_ReadNCFile2 and SMC_NCInterpreter I use SMC_ReadNCFile and SMC_NCDecoder (but in this way I cannot handle subprograms). does anyone have any suggestions? Than you

  • alejho alejho modified a comment on discussion Engineering

    Hi all, as far as I understand in CODESYS is possible to use four predefined "Watchlists" to monitor a set of variables. Is possible to create a Watch list with an arbitrary name?(like what happens for "VAT" in Siemens environment) I think it would be nice to have the possibility to add a "Watch list" as an object in the device tree of the project and to have a specific editor to force/write a group of variables from there! Thank you!

  • alejho alejho modified a comment on discussion Engineering

    Hi all, as far as I understand in CODESYS is possible to use four predefined "Watchlists" to monitor a set of variables. It is possible to create a Watch list with an arbitrary name?(like what happens for "VAT" in Siemens environment) Thank you!

  • alejho alejho posted a comment on discussion Engineering

    Hi all, as far as I understand in CODESYS is possible to use four predefined "Watchlists" to monitor a set of variables. It is possible to create a Watch list with an arbitrary name (like what happens for "VAT" in Siemens environment?)

  • alejho alejho posted a comment on discussion Engineering

    Hi all, I'm having this error messages while downloading a project on my target device. It seems something related to the IoStandard library...what's the role of this library exactly? The CODESYS development system is installed on a virtual machine running Win7 (Unfortunately I can't try from a"real one" at the moment) Any hints? Is there any special trick to be used when working with a virtual machine?...or the problem is on the other side?(target device) Thank you for any kind of help!

  • alejho alejho posted a comment on discussion Engineering

    I didn't make a test but try to take a look at the last post of this discussion: https://forge.codesys.com/forge/talk/Engineering/thread/dbf5a245f1/ does it work for you?

  • alejho alejho modified a comment on discussion Engineering

    Trying to find an answer by myself I find out that udiInfoID input parameter in logAdd2 can be used as a numeric identifier for a log entry. You'll find it when exporting the logger in xml p.s. : embedding images in posts seems not possible

  • alejho alejho posted a comment on discussion Engineering

    Trying to find an answer by myself I find out that udiInfoID input parameter in logAdd2 can be used as a numeric identifier for a log entry. You'll find it when exporting the logger in xml

  • alejho alejho posted a comment on discussion Engineering

    What kind of data is SupportHandler? It is a UDT?

  • alejho alejho modified a comment on discussion Engineering

    Hi all, I'm actually able to use these two functions to register a component and insert entries in the device log. I'm just wondering what's the meaning of these input arguments: udiCpmId and udiVersion for CMAddComponent udiCpmId, udiErrorID and udiInfoID for logAdd2 more in general...does exist any documentation for CmpLog and Component Manager libraries? Any kind of help is really appreciated. Thank you!

  • alejho alejho modified a comment on discussion Engineering

    Hi all, I'm actually able to use these two functions to register a component and insert entries in the device log. I'm just wondering what's the meaning of these input arguments: udiCpmId and udiVersion for CMAddComponent udiCpmId, udiErrorID and udiInfoID for logAdd2 more in general...does exist any documentation for CmpLog and Component Manager libraries? Any kind of help is really appreciated. Thank you!

  • alejho alejho modified a comment on discussion Engineering

    Hi all, I'm actually able to use these two functions to register a component and insert entries in the device log. I'm just wondering what's the meaning of these input arguments: udiCpmId and udiVersion for CMAddComponent udiCpmId, udiErrorID and udiInfoID for logAdd2 more in general...does exist any documentation for CmpLog and Component Manager libraries? Any kind of help is really appreciated. Thank you!

  • alejho alejho modified a comment on discussion Engineering

    Hi all, I'm actually able to use these two functions to register a component and insert entries in the device log. I'm just wondering what's the meaning of these input arguments: udiCpmId and udiVersion for CMAddComponent udiCpmId, udiErrorID and udiInfoID for logAdd2 more in general...does exist any documentation for CmpLog and Component Manager libraries? Any kind of help is really appreciated. Thank you!

  • alejho alejho modified a comment on discussion Engineering

    Hi all, I'm actually able to use these two functions to register a component and insert entries in the device log. I'm just wondering what's the meaning of these input arguments: udiCpmId and udiVersion for CMAddComponent udiCpmId, udiErrorID and udiInfoID for logAdd2 more in general...does exist any documentation for CmpLog and Component Manager libraries? Any kind of help is really appreciated. Thank you!

  • alejho alejho modified a comment on discussion Engineering

    Hi all, I'm actually able to use these two functions to register a component and insert entries in the device log. I'm just wondering what's the meaning of these input arguments: udiCpmId and udiVersion for CMAddComponent udiCpmId, udiErrorID and udiInfoID for logAdd2 more in general...does exist any documentation for CmpLog and Component Manager libraries? Any kind of help is really appreciated. Thank you!

  • alejho alejho modified a comment on discussion Engineering

    Hi all, I'm actually able to use these two functions to register a component and insert entries in the device log. I'm just wondering what's the meaning of these input arguments: udiCpmId and udiVersion for CMAddComponent udiCpmId, udiErrorID and udiInfoID for logAdd2 more in general...does exist any documentation for CmpLog and Component Manager libraries? Any kind of help is really appreciated. Thank you!

  • alejho alejho modified a comment on discussion Engineering

    Hi all, I'm actually able to use these two functions to register a component and insert entries in the device log. I'm just wondering what's the meaning of these input arguments: udiCpmId and udiVersion for CMAddComponent udiCpmId, udiErrorID and udiInfoID for logAdd2 more in general...does exist any documentation for CmpLog and Component Manager libraries? Any kind of help is really appreciated. Thank you!

  • alejho alejho modified a comment on discussion Engineering

    Hi all, I'm actually able to use these two functions to register a component and insert entries in the device log. I'm just wondering what's the meaning of these input arguments: udiCpmId and udiVersion for CMAddComponent udiCpmId, udiErrorID and udiInfoID for logAdd2 more in general...does exist any documentation for CmpLog and Component Manager libraries? Any kind of help is really appreciated. Thank you!

  • alejho alejho modified a comment on discussion Engineering

    Hi all, I'm actually able to use these two functions to register a component and insert entries in the device log. I'm just wondering what's the meaning of these input arguments: udiCpmId and udiVersion for CMAddComponent udiCpmId, udiErrorID and udiInfoID for logAdd2 more in general...does exist any documentation for CmpLog and Component Manager libraries? Any kind of help is really appreciated. Thank you!

  • alejho alejho posted a comment on discussion Engineering

    Hi all, I'm actually able to use these two functions to register a component and insert entries in the device log. I'm just wondering what's the meaning of these input arguments: udiCpmId and udiVersion for CMAddComponent cmadd udiCpmId, udiErrorID and udiInfoID for logAdd2 logadd more in general...does exist any documentation for CmpLog and Component Manager libraries? Any kind of help is really appreciated. Thank you! **

1