Codesys 3.5 type of device (PLC) pragma

leon78

Member
Join Date
Jul 2004
Posts
65
I need to use the pragma statement with type of device (PLC).
For example:
Code:
{IF defined ([I][B]PLC type = Control Win V3[/B][/I])}
    a := TRUE;
{ELSE}
    a := FALSE;
{END_IF}
How I do it?
What should I replace the text PLC type = Control Win V3 with?
 
Last edited:

I need pragmas because there is an inaccessible for Win V3 function in my program. And I have a problem, if I try to download my program to Win V3 on the PC instead needed hardware
 

Similar Topics

This is a sort of beginner question, but I'd appreciate some input. I'm a longtime Rockwell user, and one of the convenient things about the A-B...
Replies
15
Views
4,826
I'm using IndraWorks LOGIC 11V04.0022, trying to write a multiple move FB in ST. The editor is CoDeSys based, 3.x if I'm not mistaken...
Replies
3
Views
3,420
Hello to all, can you please provide an example of obtaining a current working directory as a string in CodeSys? For example, during starting the...
Replies
7
Views
227
Hello to all, I'm just starting with using CodeSys. Immediately, I have noticed that Codesys doesn't use data blocks like for example S7 does...
Replies
11
Views
223
Hello, I am using a Hitachi Micro EHV+ for a small project, and I wanted to have a Web visu, done with Codesys V3.5 SP13 Patch 2. I test the...
Replies
7
Views
450
Back
Top Bottom