May 28, 2019
12:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 28, 2019
12:46 AM
Hey everyone,
I'm currently implementing the mentioned example and I'm wondering if I can set the value of the dimmable or the other lights with a script so I don't have to do the changes manually inside the TwinCAT EtherCAT Master.
Does anyone know if it's possible and how to control the EtherCAT Master in TwinCAT with a script?
For better understanding: I want to control the IN_GENERIC and OUT_GENERIC of Box 1.
Kind regards,
Marc
I'm currently implementing the mentioned example and I'm wondering if I can set the value of the dimmable or the other lights with a script so I don't have to do the changes manually inside the TwinCAT EtherCAT Master.
Does anyone know if it's possible and how to control the EtherCAT Master in TwinCAT with a script?
For better understanding: I want to control the IN_GENERIC and OUT_GENERIC of Box 1.
Kind regards,
Marc
- Tags:
- IFX
1 Reply
Jun 04, 2019
12:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 04, 2019
12:12 AM
The scripting you are looking for is called "structured text" and is used to program PLCs.
(Reading inputs and logical/functional reacting on the outputs).
This topic cannot be covered here inside the forum.
You will find tutorials on the web in general for this topic. In regard how to specifically use this scripting within TwinCAT please consult BECKHOFF.
(Reading inputs and logical/functional reacting on the outputs).
This topic cannot be covered here inside the forum.
You will find tutorials on the web in general for this topic. In regard how to specifically use this scripting within TwinCAT please consult BECKHOFF.