Questions tagged [twincat]

TwinCAT is a PC-based PLC automation software package made by Beckhoff Automation.

TwinCAT is a PC-based PLC automation software package made by Beckhoff Automation.

Links

Related Tags

421 questions
-1
votes
2 answers

How to go to the Top and end of the page in TwinCAT3 HMI?

I need to create a button in the TwinCAT HMI 3 toolbar that, when clicked, will take me to the top or bottom of the current content, such as Page1, without having to scroll. Does anyone have any ideas? I used several factions but it didn't work. I…
Majid
  • 1
  • 2
-1
votes
1 answer

csv file is not updating while saving data from TwinCat

I have created a plc program in TwinCat and its saving data into csv file. But variable values are not updating. Only one value is repeating in csv file again and and again. Where I am doing wrong !!! Here is my code: PROGRAM MAIN VAR // Open,…
-1
votes
1 answer

How to add payload and use the post method to get response from an API in twincat 3?

enter image description hereNot getting appropriate response like I get on the postman application I tried a few online APIs which give me response, but I need an option to be able to add a payload in my program. I am using tc3 iotbase library from…
-1
votes
2 answers

Twincat3 TE2000 HMI Howto call a cyclic script

quick question: is it possible to run a cylic function (eg every second) in the new TE2000 HMI? If so, how can I do so?
wouters
  • 11
  • 3
-1
votes
2 answers

Q: EtherCAT local as slave

For a school project we're attempting to establish a connection between TwinCAT & ROS, with TwinCAT as slave and ROS as the master. I'd like to know if it's possible for TwinCAT run locally to behave as a slave in the TcXaeShell. And if yes, I'd…
Schweini14
  • 23
  • 5
-1
votes
1 answer

TE2000 HMI Event logger - Save in text file

Is that possible to save the events in text file or any other readable format. If so, could you give us some pointers how to achieve it.
-1
votes
1 answer

Beckhoff CP6606 communication

I have a client who wants to connect a CP6606 to a SCADA-server on a BACnet/IP network. In short, this CP6606 is controlling an automatic waste collecting system, and now the customer wants to have all alarms and so on sent up to this SCADA-system…
digiwaste
  • 1
  • 1
-1
votes
1 answer

SPS/ TwinCat/ Syntax Error-Code/ Declaration of TON and TOF

I am currently programming in ST (TwinCat), but two errors occured, which I do not understand at all. Error-Code says: (1) (TRUE AND TON_01.Q) is no valid assignment target (2) Q is no input of TOF I already declared Q as my Output , but TON and…
-1
votes
1 answer

I Can read all PLC outputs and inputs.... But i can't change PLC output by pyads

How to change the twincat plc output through pyads... import pyads plc = pyads.Connection('192.168.102.229.1.1', 801) plc.open() vacuum_21 = plc.read_by_name('.O_Vakuum_Wafer_21_EIN',pyads.PLCTYPE_USINT) print("Vacuum 21 : " +…
shanmuga
  • 1
  • 2
-1
votes
1 answer

How to read an Array of varying size from a XML file?

I am using TwinCat, when making a program to read my XML file. I need to read an array of points in the XML file. but the amount of points can variate. Is there a method to create an array depending on the XML data.
swapsster
  • 13
  • 1
-1
votes
1 answer

How to read the memory in a device using C# through TwinCAT?

It is possible for me to access the memory of a device and read/write to it using C#? I know it is possible using TwinCAT. Is there a function in the library where I could access the memory through TwinCAT? This is how I access the memory through…
XTT
  • 177
  • 1
  • 3
  • 13
-1
votes
1 answer

How to send string from Twincat PLC OPC UA server to unified automation OPC UA C++ Client program

How to send string (temparature, pressure,setpoint ) values to OPC UA C++ CLIENT program mean the client can acess values in the server it can read or write
Hunnybabu
  • 21
  • 2
-2
votes
2 answers

How do I save data from my PLC in Excel or CSV format in TwinCAT?

I have to record data like JobNo, processing time, JobID, process Number from a simulator governed by Beckhoff PLC and write this data in a form of CSV or excel file. for example if JobNo is 1 then after processing the all the data should be…
-2
votes
1 answer

(Twincat-structured text) Count the button pressed according to the LEDs on

i am doing a remember game similar to Simon Game with Twincat structured text. And i have a problem that how would i check the buttons are pressed same as the LED on, and count how many buttons have been pressed in case you press it wrong? Thanks…
Hoang Ho
  • 1
  • 1
-2
votes
1 answer

how to import c code to TwinCAT

I am quite new to TwinCAT 3.I am trying to import a C code from Dymola to TwinCAT 3.I have gone through BECKHOFF manual but it didn't help much. It would be grateful,if you could help me.
1 2 3
28
29