Search talk: Object reference not set to an instance of an object

 
<< < 1 .. 10 11 12 13 14 .. 234 > >> (Page 12 of 234)

Post by transmin01 on SafetyApp - "Invalid ERR Ack input" CODESYS Forge talk (Post)
Hi, I am trying to get a basic safety application to download but I keep getting an "Invalid ERR Ack input" and "The Standard Inputs Size of zero is not allowed". I am simply using 2 safety inputs through an "AND" block to 2 safety outputs. Any help would be appreciated. Regards Trevor.
Last updated: 2023-09-27

Post by nano on How to access to variable value through symbolic string name CODESYS Forge talk (Post)
this is not easily. From Point of SL-Licenses Codesys didnt provide the informations how to do. We created an own CDS-Component for that Behaviour. This Informations are available for OEM, if you are an OEM you can find the Informations in the RTS-Documentation.
Last updated: 2024-06-14

Post by ph0010421 on How to manage variable types larger than 64 bits - Ethernet/IP CODESYS Forge talk (Post)
My guess is that's a STRING, not an INT type. And it's 128 bytes, not bits
Last updated: 2024-09-23

Post by kislov on Table How to set row number from 1 ( not from 0) CODESYS Forge talk (Post)
Use declaration with ARRRAY [1..x] instead of ARRAY [0..x]
Last updated: 2024-05-27

Post by toby on Ethernet/IP communication with Omron NX1P2 CODESYS Forge talk (Post)
Hey guys, I'm very much a noob with networking, it's my achillies heel, and this is my first networking project using Ethernet/IP. Any help offered is GREATLY appreciated. I'm trying to network a Codesys Project with an Omron NX1P2 PLC. I'm using EIP due to hardware restrains. I've added the fieldbus, EIP scanner (as the master), and made a Network Variable List. On the Sysmac Studio end, I've made the variables and set them to network inputs/outputs, registered them in EIP settings, but when I try to set the target device (the Codesys project), I suspect I need to import an EDS file for the EIP mapping. Back in the Codesys project, I'm not sure how to: - Make an EDS file to share with Sysmac Studio - How to link the target device (Omron PLC) to the EIP fieldbus - How to map the inputs from the Omron PLC. Im sorry for my very open request for help, i'm kind of lost looking through the various forums/video/tutorials as many of them dont match what im trying to do. Any help, or sample programs would be so so greatly appreciated. If you need any further clarifications, please feel free to ask. Thanks in advance, Toby
Last updated: 2024-01-24

Post by hwopereis on SFC Action problems CODESYS Forge talk (Post)
Only logged in to agree with the above. So counter intuitive. Why does an associated action force the variable when the step it is associated to is not active? Makes no sense at all, is terrible to debug and costs a lot of time. Such as shame.
Last updated: 2024-05-27

Set Kinematics Configuration of 6-DOF Robot CODESYS Forge talk (Thread)
Set Kinematics Configuration of 6-DOF Robot
Last updated: 2018-10-20

Modbus channels and a device with large set of parameters CODESYS Forge talk (Thread)
Modbus channels and a device with large set of parameters
Last updated: 2022-10-06

Get and set coordinates of given element? CODESYS Forge talk (Thread)
Get and set coordinates of given element?
Last updated: 2021-01-27

Post by timvh on VisuElems.CurrentUserGroupId is not stable CODESYS Forge talk (Post)
I'm not sure what you are trying to do, but getting the CurrentUserGroupID like this will not work, because there could be multiple Visualization Clients and each can have a different user that is logged in. Also when you go online with CODESYS and open an Visualization, this is counted as a client. Probably this is the reason you see it changing. What you can to is "iterate" over all clients and then see which user is logged in on which visualization Client. For this you need to add the Visu Utils library to the project and call the FbIterateClients. See https://content.helpme-codesys.com/en/libs/Visu%20Utils/4.4.0.0/VisuUtils/VisuActionUtilities/Function-Blocks/FbIterateClients.html fbClientIteration( xExecute := x_Execute, itfClientFilter := VU.Globals.AllClients, itfIterationCallback := fbIterator, xDone => x_Done, xBusy => x_Busy, xError => x_Error, eError => e_Error); The fbIterator, in the example above, should be an instance of an FB which you have created yourself and this must implement VU.IVisualizationClientIteration. For example: FUNCTION_BLOCK FB_ITERATOR IMPLEMENTS VU.IVisualizationClientIteration Then automatically the corresponding methods will be called. In the HandleClient Method, you will get an interface to the client(s) and then you can get the current user through this interface: itfClient.UserGroupId You can also get the UserName: itfClient.UserName
Last updated: 2023-11-14

Post by matthew on New Ladder Diagram conversion does not work due to missing features CODESYS Forge talk (Post)
Thanks for the update, Since you can't double click is there another way to enter the FB when online and see the running code of that instance? When can we expect to see v1.0?
Last updated: 2024-01-31

Problem with exporting symbols of reference variables CODESYS Forge talk (Thread)
Problem with exporting symbols of reference variables
Last updated: 2017-04-03

Post by yannick on Alarm Configuration Notification Action CODESYS Forge talk (Post)
Hello, I'm trying to configure an alarm variable that changes to True when an error is activated. Unfortunately, the variable is not changing to True. I'm using Codesys V3.5 SP19 Patch7 + Raspi Pi 5. Thanks.
Last updated: 2024-05-13

Config of Channels on PLC became corrupt without an apparent reason CODESYS Forge talk (Thread)
Config of Channels on PLC became corrupt without an apparent reason
Last updated: 2022-05-25

how does the evaluation of the <condition> in an IF-statement work? CODESYS Forge talk (Thread)
how does the evaluation of the <condition> in an IF-statement work?</condition>
Last updated: 2020-02-20

Don't show any list of parameters an setting sof any device CODESYS Forge talk (Thread)
Don't show any list of parameters an setting sof any device
Last updated: 2020-07-13

PFC200 license, getting the WibuCmRaU-file of an already activated license CODESYS Forge talk (Thread)
PFC200 license, getting the WibuCmRaU-file of an already activated license
Last updated: 2017-08-08

Get Deviceaddress of CPU via Python an Login via Test Manager CODESYS Forge talk (Thread)
Get Deviceaddress of CPU via Python an Login via Test Manager
Last updated: 2017-03-14

Periodic Collection of Value at Any Time From an Ever-Changing Value CODESYS Forge talk (Thread)
Periodic Collection of Value at Any Time From an Ever-Changing Value
Last updated: 2019-03-23

Use of front Ethernet port on beckhoff CX2040 as an EtherCAT master CODESYS Forge talk (Thread)
Use of front Ethernet port on beckhoff CX2040 as an EtherCAT master
Last updated: 2021-04-29

Function block with an array of unknown size as a VAR_IN_OUT CODESYS Forge talk (Thread)
Function block with an array of unknown size as a VAR_IN_OUT
Last updated: 2017-03-07

Post by docker on Webvisu client connection monitoring CODESYS Forge talk (Post)
Hi mate, With this snippet i was able to see the lastusage variable count, but it would not iterate between clients? i was only able to access the data of the target visu. it threw an error with the array of pointers stating it was not able to convert etc. also when i tried it with the while loop it created an endless loop and crashed the program. any ideas? Thankyou
Last updated: 2024-09-10

Post by donm on Regarding trend storage access error CODESYS Forge talk (Post)
i have created a project which contain 30 trend and suddenly trend recording is not working. its showing an error 30437."Determination of root pages for recording did not work for 'screen', error:30437" how to solve this issue?
Last updated: 2024-05-27

Post by donm on trend storage access error CODESYS Forge talk (Post)
i have created a project which contain 30 trend and suddenly trend recording is not working. its showing an error 30437."Determination of root pages for recording did not work for 'screen', error:30437" how to solve this issue?
Last updated: 2024-05-27

Post by anoori on Setting up Raspberry pi as an Opc ua Server with UaExpert as Client CODESYS Forge talk (Post)
I am trying to set up my Raspberry Pi as an OPC UA server and use UaExpert on my Pc as the OPC UA client.However, Im encountering some certificate-related errors in UaExpert: 1.Unable to get local issuer certificate. 2. Unable to get certificate CRL. 3. Unable to verify the first certificate.
Last updated: 2024-09-11

<< < 1 .. 10 11 12 13 14 .. 234 > >> (Page 12 of 234)

Showing results of 5839

Sort by relevance or date