Activity for bertrand42

  • bertrand42 bertrand42 posted a comment on discussion Engineering

    I created an FB with enter a pointer on an address %IW (that's why I use adr (%IW400)). I want to collect the values of %IW400 a %IW845 in an integer table

  • bertrand42 bertrand42 posted a comment on discussion Engineering

    yes the %IW400 is 446 length UINT, the pb is not the length, my first post indicates my problem

  • bertrand42 bertrand42 posted a comment on discussion Engineering

    Thanks for your answer, Does that mean I have to concat the data from two pointing addresses and put them in an int? And in my previous example what is the value of the second word?

  • bertrand42 bertrand42 posted a comment on discussion Engineering

    FOR IIdx_IN := 0 TO 100 BY 1 DO APtrBCmdIn[IIdx_IN] := PtrAL_InData + IIdx_IN ; PtrBSrc := APtrBCmdIn[IIdx_IN]; Tab[IIdx_IN]:=PtrBSrc^; END_FOR Declaration APtrBCmdIn: ARRAY[0.445] OF POINTER TO UINT; Tab: ARRAY[0..445] OF UINT; PtrAL_InData : POINTER TO UINT; // pointer to start address %IW -> ex: adr(%IW400) IIdx_IN : BYTE; // index My problem is that in the tab the values are informed both words...... That is to say, first word of tab the value is correct, second word the value is not that expected,...

  • bertrand42 bertrand42 posted a comment on discussion Engineering

    In fact my question was not complete. I'm not really on Codesys but on Schneider's SoMachine (which is based on Codesys). Sorry

  • bertrand42 bertrand42 posted a comment on discussion Engineering

    Okay, I'm trying. thank you BR

  • bertrand42 bertrand42 modified a comment on discussion Engineering

    Hello, I created a Codesys app with an Ethernet/ip scanner.I would like to switch my project to simulation mode and that one communicates with my adapter Ethernet/ip which is well real to him. The adapt is connected to the Ethernet socket of the computer supporting the codeys project. Is that achievable? Thank you for your help

  • bertrand42 bertrand42 posted a comment on discussion Engineering

    Hello, I created a Codesys app with an Ethernet/ip scanner.I would like to switch my project to simulation mode and that one communicates with my adapt Ethernet/ip which is well real to him. The adapt is connected to the Ethernet socket of the computer supporting the codeys project. Is that achievable? Thank you for your help

1