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,814
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,403
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
6
Views
296
Hello, I have a requirement to manage the text alignment dynamically. So, for example: 1. English Texts should be displayed from Left in...
Replies
0
Views
90
Hello, I am new to Codesys, and am trying to learn about it for a project we're developing. I've got a couple questions, but first a little...
Replies
1
Views
161
Back
Top Bottom