Join us today!

kolyur
kolyur
@kolyur
Active Member
Joined: Aug 29, 2022
Last seen: Aug 14, 2023
Topics: 1 / Replies: 10
Reply
RE: twincat string

I would guess the problem is how you are executing fbFileWrite. If this is cyclical ST code, you shouldn't execute the function block twice in the sam...

1 year ago
Reply
RE: Persistent Memory and COE Parameters

Is it possible that the system write filter (FBWF or EWF) is enabled? This would cause any persistent data changes to be lost after a reboot.

1 year ago
Reply
RE: Cumulative downtime stats

You could try using FB_LocalSystemTime. This function block will continually return the time as long as bEnable is held on. Here's some code I used to...

2 years ago
Reply
RE: Compare PLC with Target

Great tips, thank you. I wasn't aware of the Details button in the Login dialog, that must be a new feature. Less head scratching from now on!

2 years ago
Topic
Replies: 0
Views: 706
Reply
RE: TwinCAT - Axis Not Ready Issue

@quangdai I see you're using a third party EtherCAT drive (Panasonic). With the Kollmorgen drives that we use, we will run into the problem you're see...

2 years ago
Forum
Reply
RE: How to count the number of items in a struct in TwinCAT?

I think the only way this could be done is if the structure has a known format, such as a repeating number of known datatypes. In this case you could ...

2 years ago
Reply
RE: instruction increment a variable by one, var +=1;?

I'd love to have a full set of assignment operators in ST, plus pre- and post- increment/decrement. But alas, 'tis not to be. I sometimes find myself ...

2 years ago
Reply
RE: Using the Right Language

I used ladder logic (mostly Allen-Bradley) extensively for 15 years prior to getting involved with Beckhoff/TwinCAT. Where this system really shines i...

2 years ago
Reply
RE: EL6090 Newbie question about buttons

I'm a bit unclear on your actual problem. In your screenshot you have this line: bButtonState := BUTTONS.bBUTTON_ENTER; But in the I/O list you are...

2 years ago
Reply
RE: EL6090 Newbie question about buttons

In the Process Data tab for the EL6090, switch to Inputs in the top pane and be sure that PDO 0x1A00 is enabled. If this is on then the status of the ...

2 years ago
Reply
RE: Free online Twincat 3 courses (and more)

@a4sheet I went to a week of Beckhoff training in Minneapolis back in 2016. Apparently there were some cancellations so the class ended up being just ...

2 years ago