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

 
<< < 1 .. 4 5 6 7 8 .. 234 > >> (Page 6 of 234)

Post by jonasz on Discontinuity of A/B/C axis movement. CODESYS Forge talk (Post)
Hi, My problem was related to the behavior of the modulo axis, but maybe you will find something useful from what I write. The solution lies in path processing. Codesys offers a G-code analysis tool. Insert a CNC object into the project. The CNC settings object will be added automatically. By inserting appropriate processing modules into the CNC settings object and parameterizing them, you can test the behavior of the axis. When the effect is satisfactory, remember to add the module from CNC settings in the correct order in the processing path. Each CNC machine case is different. You need to spend some time to get your design tailored like an Armani suit. Good luck.
Last updated: 2024-05-09

Using Specific Bit of an SHL CODESYS Forge talk (Thread)
Using Specific Bit of an SHL
Last updated: 2016-10-23

Sort alphabeticaly an ARRAY of STRING CODESYS Forge talk (Thread)
Sort alphabeticaly an ARRAY of STRING
Last updated: 2021-07-18

Instance of CoDeSys already running CODESYS Forge talk (Thread)
Instance of CoDeSys already running
Last updated: 2007-08-11

Post by felipemsgarcia on Generic EtherCAT slave CODESYS Forge talk (Post)
Hello all, I still couldn't find the answer. I wanted to know is if there is a generic EtherCAT slave object already in CODESYS that I can use for anything, remote IO, Drives, VFD's and so on, as long as I match PDO's. Is there such an object? Thank you!
Last updated: 2024-06-20

Post by mrrobot on No source code available for this object CODESYS Forge talk (Post)
Hello, I have this strange error while I am adding an axis to my slave: "No source code available for this object because it is in the compiled library 'sm3_drive_etc_ds402_cyclic' ..... I looked on google/chatgpt but i cannot find a solution for this issue Any help is welcome ! Thanks in advance Mrrobot
Last updated: 2024-07-15

Post by mrrobot on No source code available for this object CODESYS Forge talk (Post)
Hello, I have this strange error while I am adding an axis to my slave: "No source code available for this object because it is in the compiled library 'sm3_drive_etc_ds402_cyclic' ..... I looked on google/chatgpt but i cannot find a solution for this issue Any help is welcome ! Thanks in advance Mrrobot
Last updated: 2024-07-15

Post by rmaas on Direct Pointers in IOMapping for EtherCAT with IoDrvEthercatLib.ETCSlave_Dia CODESYS Forge talk (Post)
Hi, Im not sure if this is what you mean, but i do succesfully use the IoDrvEthercatLib.ETCSlave.InputData and IoDrvEthercatLib.ETCSlave.OutputData to read from and write to beckhoff DI and DO cards. Very convenient as you can make an FB with an VAR_IN_OUT of type IoDrvEthercatLib.ETCSlave and only have to pass the slave reference... So i am not using .ETCSlave_Diag but .ETCSlave...
Last updated: 2024-02-13

Post by androidzz on Json Builder problem? CODESYS Forge talk (Post)
I found my problem. The parentIndex from a new object was not connected to the root parent index
Last updated: 2024-03-11

Post by mmpl on Array to String CODESYS Forge talk (Post)
I would like to create one large JSON string from an array of objects, where each object contains a value. My current approach involves using a for loop and string concatenation, but with 20,000 elements in the array, this method takes almost 7 seconds and negatively affects the PLC scan time. Is there a more efficient way to accomplish this?
Last updated: 2024-07-18

Post by mmpl on Array to String CODESYS Forge talk (Post)
I would like to create one large JSON string from an array of objects, where each object contains a value. My current approach involves using a for loop and string concatenation, but with 20,000 elements in the array, this method takes almost 7 seconds and negatively affects the PLC scan time. Is there a more efficient way to accomplish this?
Last updated: 2024-07-18

Retrieve number of elements in an array of function blocks CODESYS Forge talk (Thread)
Retrieve number of elements in an array of function blocks
Last updated: 2020-04-19

how to extract the name of an FB to a variable CODESYS Forge talk (Thread)
how to extract the name of an FB to a variable
Last updated: 2024-10-01

Post by song on How to convert a standard robot program into an excutive list when a robot runs? CODESYS Forge talk (Post)
Dear Sir, I'd like to learn and try to make robot based on Codesys, is there a FB block or other ways to convert a standard robot program into an excutive list? how codesys explain the robot command instructions on HMI, just like the SMC_NCDecoder used to convert CNC program into a list of SMC_GEOINFO object. Thanks very much! Peter Yan
Last updated: 2023-11-25

Post by corriibme on Setting array values with JSON Utilities SL CODESYS Forge talk (Post)
I have been trying to set an array value to a JSON structure of this form: {"key": [1,2,3,4]} While I have been able to create the key and set its value to an empty array, I've not had any luck in putting any value in that array. objindex:= fb_JBuilder.SetKeyWithArray("Key6", diParentIndex := diRootIndex); objindex2:= fb_JBuilder.SetValue(value:= iValue2, diParentIndex:= objindex); iValue2: ARRAY[0..3] OF INT:= [1,2,3,4]; The two lines of code above produce {"key6": []} . The second line essentially has no effect.
Last updated: 2024-05-12

Is possible to transform a .sqlite file generated by a Trend Recording object to a .csv file? CODESYS Forge talk (Thread)
Is possible to transform a .sqlite file generated by a Trend Recording object to a .csv file?
Last updated: 2017-12-22

Post by smartcoco on Dynamic object release issues CODESYS Forge talk (Post)
It seems that there is no solution to this problem.
Last updated: 2024-03-04

How to dynamic an image CODESYS Forge talk (Thread)
How to dynamic an image
Last updated: 2019-04-16

add device to an explicit connector CODESYS Forge talk (Thread)
add device to an explicit connector
Last updated: 2016-03-17

Unpacking an array to MODBUS addresses CODESYS Forge talk (Thread)
Unpacking an array to MODBUS addresses
Last updated: 2018-06-19

Help to make an axis control CODESYS Forge talk (Thread)
Help to make an axis control
Last updated: 2010-12-06

How to implement an interface (IElement)? CODESYS Forge talk (Thread)
How to implement an interface (IElement)?
Last updated: 2024-07-22

How to generate an "ENI" file CODESYS Forge talk (Thread)
How to generate an "ENI" file
Last updated: 2024-08-09

adding PG (Paramter Group) under CAN-J1939 and adding Information object under IEC60870 protocol CODESYS Forge talk (Thread)
adding PG (Paramter Group) under CAN-J1939 and adding Information object under IEC60870 protocol
Last updated: 2017-06-13

how to set time zone of Beijing China CODESYS Forge talk (Thread)
how to set time zone of Beijing China
Last updated: 2012-11-10

<< < 1 .. 4 5 6 7 8 .. 234 > >> (Page 6 of 234)

Showing results of 5838

Sort by relevance or date