ETHCAT_SSC_XMC48 Example: Set I/Os scripting in TwinCAT3

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User14512
Level 1
Level 1
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?

3607.attach

For better understanding: I want to control the IN_GENERIC and OUT_GENERIC of Box 1.

Kind regards,
Marc
0 Likes
1 Reply
MichaelIFX
Employee
Employee
50 replies posted 25 replies posted 10 replies posted
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.
0 Likes