Help needed.
Hi, Assume that I have a lot of devices in the field. I would like to create a project and download or copy Codesys Source Codes of it to each device without using Codesys. Is it possible?
Dear All, I am trying to generate a life sign which increases by 1 in every 32ms. My program which shown below, increases life sign in approximately every 80 ms. How can fix it to 32ms? Could you please help me? PROGRAM POU_2 VAR_INPUT cycle_time: TIME:= T#32ms; END_VAR VAR_OUTPUT life_sign: USINT:= 0; END_VAR VAR TON_0: TON; R_TRIG_0: R_TRIG; time_ms: SysTimeRtc.SYSTIME; time_array: ARRAY[0..999, 0..1] OF ULINT; prev_time: ULINT:= 0; i: INT:= 0; END_VAR
It is worth to try that you delete folder (name is like 859689C4) in the "C:\ProgramData\CODESYS\CODESYSControlWinV3x64" location. And then try redownload project.
Is there any possibility to online debug of code for all devices in the same time for Codesys Automation Server like in Codesys program?
Is there any possibility to online debug of code for all devices in the same time for Codesys Automation Server?
Not seen screenshot. Please attach.
ROL functions does not solve the problem. Because sent data is a STRUCT as below and BYTE swapping occurs. TYPE DUT: STRUCT Var_BOOL01: BOOL:= 1; Var_BOOL02: BOOL:= 1; Var_BYTE01: BYTE:= 45; Var_BYTE02: BYTE:= 188; Var_WORD01: WORD:= 110; Var_WORD02: WORD:= 35000; END_STRUCT END_TYPE BOOLs are stored in memory as BYTE. So, when I inspect Codesys memory bytes for this struct of two devices, it seen as below mapping. Device Var_BOOL01 Var_BOOL02 Var_BYTE01 Var_BYTE02 Var_WORD01 Var_WORD02 Source 01...