"You want to override project changes during when the runtime is live and the application is running?" Yes, in general, I would like to get a more programmatic way to position elements. Also adding elements using IEC languages would be very nice to create more dynamic user interfaces. However, I think access control will be the solution for this specific problem.
Yes, I'm aware of absolute and relative movement. Unfortunately, they don't allow me to define exact coordinates in pixels regardless of the original position of the element.
Hi Marcel, I would like to make sure and, if necessary, move elements to exactly correct positions when the PLC starts. I'd like to prevent problems that might occur if some elements are accidentally moved.
Thank you for your answer! Are there any plans to include such feature in the future? I'm familiar with the absolute and relative movement but I'd like to position some components to exact positions using coordinates regardless of their "original" position.
Is there a way to get and set coordinates of a given element using IEC code? "Get" would return the current coordinates. E.g. for line it would be two coordinate pairs. "Set" would move the element to the given coordinates. I.e. I would like to move an element to an exact position instead of relative movement to the original position.
Yes, I'm aware of the problem (see my first message). I would like to avoid using functions here, hence I was asking if there is any way to overcome this byte alignment.
Hi, here's ST_3bit_7bit: TYPE ST_3bit_7bit : STRUCT st3bit: ST_3bit; st7bit: ST_7bit; END_STRUCT END_TYPE In pic1 the result is as expected. In pic2 I would expect value 15.
Hi, here's ST_3bit_7bit: TYPE ST_3bit_7bit : STRUCT st3bit: ST_3bit; st7bit: ST_7bit; END_STRUCT END_TYPE In pic1 results is as expected. In pic2 I would expect value 15.
Hi, here's ST_3bit_7bit: TYPE ST_3bit_7bit : STRUCT st3bit: ST_3bit; st7bit: ST_7bit; END_STRUCT END_TYPE In pic1 results is as expected. In pic2 I would expect value 15.
Hi! We need to use custom structures of BITS (not BOOLs) in our projects. For example: TYPE ST_3bit : STRUCT x1: BIT; x2: BIT; x3: BIT; END_STRUCT END_TYPE ...and ST_7bit in the same way. This is mandatory due to requirements of certain devices. I combine 3bit and 7bit with a further structure: TYPE ST_3bit : STRUCT x1: BIT; x2: BIT; x3: BIT; END_STRUCT END_TYPE Then, I do a union of the combined structure with WORD. TYPE U_Test : UNION st3_7: ST_3bit_7bit; wTest: WORD; END_UNION END_TYPE This doesn't...