(0)| 6/16/2015 10:24 AM | |
|
Joined: 2/19/2015 Last visit: 12/18/2025 Posts: 6 Rating:
|
Hello, version PCS7 V7.0 SP1 / version SCL V5.3 SP2 ; code source SCL I created a "tag" structure with attributes : S7_m_c and S7_xm_c, but I have 1 error in compilation of SCL, message is "attribute is not allowed for this tag" When I put only S7_xm_c, the error is " attribute S7_xm_c is badly configured. [code] TAG { S7_m_c := 'true'; S7_xm_c := 'A,true ; B,true ; C,true ;'} : STRUCT A : WORD; B : WORD ; C : WORD ; END_STRUCT; [code]
---------------------------------------------------------------------------------------------------- |
Last edited by: Min_Moderator at: 6/16/2015 4:22:52 PMNew subject after splitting |
|
| 6/16/2015 10:43 AM | |
|
Posts: 173 Rating:
|
Hello DMasson Are you creating a FB? Which kind of variabele you are declaring: input, output, var, var_temp? |
| 6/16/2015 3:28 PM | |
|
Joined: 2/19/2015 Last visit: 12/18/2025 Posts: 6 Rating:
|
yes, I created a FB I am declaring input variables |
| 6/16/2015 4:45 PM | |
|
Joined: 2/19/2015 Last visit: 12/18/2025 Posts: 6 Rating:
|
Thanks about studying my problem !!! |
Follow us on