Search talk: setting value of variable

 
<< < 1 .. 32 33 34 35 36 .. 150 > >> (Page 34 of 150)

Initialize an array of structures with a content of an array CODESYS Forge talk (Thread)
Initialize an array of structures with a content of an array
Last updated: 2020-05-18

What is the meaning of colored symbols leftside of each device ? CODESYS Forge talk (Thread)
What is the meaning of colored symbols leftside of each device ?
Last updated: 2020-03-31

call of a method of a function block in another program CODESYS Forge talk (Thread)
call of a method of a function block in another program
Last updated: 2024-06-03

call of a method of a function block in another program CODESYS Forge talk (Thread)
call of a method of a function block in another program
Last updated: 2024-06-03

Another significant advantage of understanding the fundamentals of NURS FPX 4025 Assessment 1 is increased confidence CODESYS Forge talk (Thread)
Another significant advantage of understanding the fundamentals of NURS FPX 4025 Assessment 1 is increased confidence
Last updated: 2026-06-13

Post by alez on CANopen safety , SRDO error behavior CODESYS Forge talk (Post)
I have a project in which there is a Safety device in CANopen, and the PLC interfaces with it as Master. I would like to understand if it is possible to set the behavior in case one of the SRDOs that I receive from the slave is no longer received. From what I have seen, if the SRDOs are not received, the CANopen safety status becomes "Not in progress" and the mapped variables freeze at the last value detected. I want to understand if it was possible to set the variables connected to the SRDOs to take a default value (e.g. zero) in the event of a CANOpen error during reception.
Last updated: 2024-07-15

Post by george32 on Readable IO names CODESYS Forge talk (Post)
Hello Folks, I have a quite basic understanding of how PLC programming works. However I keep getting stuck on 1 problem I could not get my head around. The problem is as follow: I have a PLC with 60 IO (20 inputs, 40 outputs). Each IO is defined as a function block. Furthermore I have an external IO card connected trough a CanBus connection. This IO card has 4 analog input channels (USINT), 4 digital inputs (Bool) and 4, digital outputs (Bool) Because I have 2 different components which both has data have I made 4 arrays to store the data off every component in one variable. PLC_Input: Array [1..20] of BOOL; PLC_Output: Array [1..40] of BOOL IOCard_Input: Array [1..8] of BOOL IOCard_Output: Array [1..4] of BOOL Because the control and reading of the different in and outputs is done by a TCP connection I want to use some kind of enumeration or struct to give each index a name so that my main would be a little bit more readable instead of all the magic numbers. Also this would make my program more dynamic for the furter in case I need to changes some in the IO nummers. For example: pump is placed on the fysical terminal strip number place 54, which is the 3th output of the IO card in the program: if I am sending a message with value 54 I would like to control IOCard_Output[3]. If there is a solution or methode to get this done, I can eventually do the following in my main program: IOCard_Output[Pump]. I have tried the following: IOCard_Output[Pump - 51] with an enumration but this keeps raising an error I hope some of you could help me further with this problem. In gross lines: I want to couple all the different IO to a more readable name and this readable name should control the right Array index Thanks in advance, George
Last updated: 2024-09-26

Sorting array of any-sized structure CODESYS Forge talk (Thread)
Sorting array of any-sized structure
Last updated: 2023-08-18

Get the numer of day CODESYS Forge talk (Thread)
Get the numer of day
Last updated: 2023-09-14

Get Version of Installed Package CODESYS Forge talk (Thread)
Get Version of Installed Package
Last updated: 2019-03-08

Issues of Large Ethernet IP project CODESYS Forge talk (Thread)
Issues of Large Ethernet IP project
Last updated: 2022-02-01

Use of the CPLCHandlerCallback CODESYS Forge talk (Thread)
Use of the CPLCHandlerCallback
Last updated: 2012-02-06

Maintenance of the forum CODESYS Forge talk (Thread)
Maintenance of the forum
Last updated: 2010-07-09

Convert Array Of DINT To STRING CODESYS Forge talk (Thread)
Convert Array Of DINT To STRING
Last updated: 2023-12-03

Ambiguous use of name - CO136 CODESYS Forge talk (Thread)
Ambiguous use of name - CO136
Last updated: 2024-07-06

What is the insights of IoDrvEtherCAT.DCInSyncWindow? CODESYS Forge talk (Thread)
What is the insights of IoDrvEtherCAT.DCInSyncWindow?
Last updated: 2024-07-09

First IO address of a CAADiagDeviceDefault. CODESYS Forge talk (Thread)
First IO address of a CAADiagDeviceDefault.
Last updated: 2024-08-22

First IO address of a CAADiagDeviceDefault. CODESYS Forge talk (Thread)
First IO address of a CAADiagDeviceDefault.
Last updated: 2024-08-22

Question about the hairaichy of UaExpert CODESYS Forge talk (Thread)
Question about the hairaichy of UaExpert
Last updated: 2024-09-12

CAN Open Manager - varible of SYNC CODESYS Forge talk (Thread)
CAN Open Manager - varible of SYNC
Last updated: 2024-10-26

CAN Open Manager - varible of SYNC CODESYS Forge talk (Thread)
CAN Open Manager - varible of SYNC
Last updated: 2024-11-05

CODESYS 3.5 dicovery of PLC modules CODESYS Forge talk (Thread)
CODESYS 3.5 dicovery of PLC modules
Last updated: 2024-12-11

Name Validation of Visualization objects CODESYS Forge talk (Thread)
Name Validation of Visualization objects
Last updated: 2025-01-10

Download libraries of old versions CODESYS Forge talk (Thread)
Download libraries of old versions
Last updated: 2025-02-11

Something of strange in the trace CODESYS Forge talk (Thread)
Something of strange in the trace
Last updated: 2025-05-16

<< < 1 .. 32 33 34 35 36 .. 150 > >> (Page 34 of 150)

Showing results of 3729

Sort by relevance or date