Activity for pach30

  • pach30 pach30 posted a comment on discussion Runtime 🇬🇧

    Hello I campbell, I didn't make this test . what I want to do : Create an object (in real life a machine ) with a number variable (from 400 to 750) of element .Each element has his own carateristics (so my DUT). So , i will use Fb_init() to make dynamic allocation of x elements (as usual in POO ). I think it's possible , isn't it ?

  • pach30 pach30 posted a comment on discussion Runtime 🇬🇧

    Thank's i-campbell But i got error C0249 even with compilation directive 😨 ------ Processus de compilation entamé : application : CODESYS_Control_Win_V3_x64.Application ------- Affecter un type à un code... [ERREUR] Test_divers: FB_Init CODESYS_Control_Win_V3_x64: Logique API: Application: Robot: C0249: La création d’un tableau avec __NEW n’est pas autorisée pour les types définis par l'utilisateur La compilation est terminée -- 1 erreurs, 3 avertissements : aucun téléchargement possible

  • pach30 pach30 posted a comment on discussion Runtime 🇬🇧

    Thanks you i-campbell !! the way you give me was the right way and I can compile using dynamic allocation( with __new operator ) But , it seem's it's no possible to create un array of personal object by this way ? if i declare : TYPE MyObject : STRUCT id :DINT ; i_Number :INT ; sz_genotype :STRING ; sz_Plug :STRING ; sz_scenario_WS :STRING ; sz_scenario_SS :STRING ; f_weight_vide :REAL ; f_weight_Ref :REAL ; f_weight_before :REAL ; f_weight_after :REAL ; END_STRUCT END_TYPE I can't write pMyObject...

  • pach30 pach30 posted a comment on discussion Runtime 🇬🇧

    Hello this error is between engineering talk and runtime tall as IDE give the error on what appears to be an runtime problem. Playing with dynamic allocation on Codesys Win64 PLC , I get this error C0265 (not enough memory). My PC has 16 Go Ram , so enough I think . Is it a way to increase the memory allocated to Win 64 PLC ? thank in advance

  • pach30 pach30 posted a comment on discussion Engineering 🇬🇧

    Hello Playing with dynamic allocation on Codesys Win64 PLC , I get this error C0265 (not enough memory). My PC has 16 Go Ram , so enough I think . Is it a way to increase the memory allocated to Win 64 PLC ? thank in advance

  • pach30 pach30 posted a comment on discussion Engineering 🇬🇧

    Have a look here https://support.industry.siemens.com/cs/document/42014088/programming-an-opc-ua-net-client-with-c-for-the-simatic-net-opc-ua-server?dti=0&lc=en-WW

  • pach30 pach30 posted a comment on discussion Engineering 🇬🇧

    Hello Have a look here : https://support.industry.siemens.com/cs/document/42014088/programming-an-opc-ua-net-client-with-c-for-the-simatic-net-opc-ua-server?dti=0&lc=en-WW I used excel file provided with Schneider TM241 and it works fine

  • pach30 pach30 posted a comment on discussion Engineering

    another screen copy

  • pach30 pach30 posted a comment on discussion Engineering

    Hi, I will use CSV utility (licensed) and i have a problem with the fb RealAll: csvREaderInit.xdone start the ReadAll FB but i got a time_out error ! What time execution is controlled ? another problem with FBFiledialogOpen ,it is working fine and i can get the file and repertory names but I dont understand dialogvisu . it shows repertory icons and icon file , is not the right usual icon ! Thanks in advance for you help

  • pach30 pach30 posted a comment on discussion Motion

    Hi , I'm lost !! in the help , i can read the following : A drive must fulfill the following requirements of use with CODESYS SoftMotionLight: EtherCAT or CAN support CiA 402 support, especially in the following operating modes: Profile position mode (for MCMoveAbsoluteSML / MCMoveRelativeSML) Profile velocity mode (for MCMoveVelocitySML) Homing mode (for MCHomeSML. If the drive supports one of these modes, then you cannot use the respective function blocks. So ,if I understand , I can't use SMC_Movexxxx...

  • pach30 pach30 posted a comment on discussion Motion

    Hi, As CIA402 profile define a lot of homing method (but optionnal) , what kind of homing do the MC_Home_SML (apparently 37 ) and is it possible to use others if I use a drive "CIA402 compatible" ? OR should I write my own Homing as SoMotionLight do "only movements of the drive are just commanded and supervised (status) by the PLC and executed by the drive"(no calculation) ? Best regards

  • pach30 pach30 modified a comment on discussion Visualization

    Hi here my project . As I see you often give help to people , is it a way to have a "french" login without modification of the VUM_login in the native library ? I mean , for exemple , bu a text list with different langage ? Thanks in advance Best regards,

  • pach30 pach30 modified a comment on discussion Visualization

    Hi here my project . As I see you often give help to people , is it a way to have a "french" login without modification of the VUM_login in the native library ? I mean , for exemple , bu a text list with different langage ?

  • pach30 pach30 posted a comment on discussion Visualization

    Hi here my project

  • pach30 pach30 posted a comment on discussion Visualization

    Hi, I use Webvisu and I have a frame and on the left of the frame a vertical menu . In this menu , I have a login button opening login window (VUM_login). My problem is that this windows appears almost always on the top left on the browser and I don't now how to center this windows by soft . I write always because when I click on login from Codesys IDE , the login box is centered !! Any idea ?

  • pach30 pach30 posted a comment on discussion Engineering

    Hi, In the library mail service , on 'sending mail' with error code 5023 , they say to have a look on sServerMessage but it is empty ! I try to use Gmail or outlook but same error ! At that time , i've no licence but must working in demo mode ?

  • pach30 pach30 posted a comment on discussion Engineering

    Hi , I use the CodeSys 3.16.0 . In the page of Target EtherNet/IP display , i have some label /textbox not aligned. there is more page with same kind of bad display . Any idea ?

  • pach30 pach30 posted a comment on discussion Engineering

    Thanks i_Campbell , it's working :-)

  • pach30 pach30 posted a comment on discussion Engineering

    Hello, I try to exchange datas between CodeSys SoftPLC (x64) on my PC and an TM241 (real) using EtherNet/IP . Soft PLC is the scanner and TM241 has an adapter . I use the TM241_generic.EDS. For each PLC , connexion is OK but no datas are exchanged and i don't understand why ! I have the last version of codesys and SoMachine V4.3 . Any idea ?

  • pach30 pach30 posted a comment on discussion Runtime

    Hello, I've the same problem ! Did you find the reason ?

1