11/11/2017 8:25 AM | |
Posts: 305 Rating: (1) |
in PORTAL V14 SP1,SCL has a wrong ,how can i do ? |
11/11/2017 8:49 AM | |
Joined: 11/29/2011 Last visit: 5/7/2024 Posts: 1358 Rating: (231) |
Hi, In SCL we usually address variables indirectly or symbolically. See the In STEP 7 (TIA Portal), how can you implement indirect addressing in an SCL program? FAQ about how to. If you need further help come back! I hope I could help! |
- What you read here, please check with manuals and your requirements. |
|
This contribution was helpful to1 thankful Users |
11/13/2017 4:51 PM | |
Joined: 7/7/2010 Last visit: 5/14/2024 Posts: 14724 Rating: (2364)
|
Let's say you have a array tag in DB3 call DX (you probably do not, but just let's say you do). MyDB : DB3: DX : array [ 1..400 ] [ 1 .. 100 ] of BOOL; Access the DX tag within MyDB as follows: "MyDB".DX.[380, #TEMP_1] := true; // provided #TEMP_1 is within valid range Perhaps this link will help:
|
Last edited by: Jen_Moderator at: 11/14/2017 12:56:11 PMInserted right link. science guy |
|
Follow us on