plcforum.uz.ua

International PLC Forum
It is currently Fri Aug 18, 2017 11:55 am

All times are UTC + 3 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Apr 20, 2017 4:50 pm 

Joined: Sun Dec 13, 2009 12:04 am
Posts: 2
Вот такая проблема:
В редакторе ST не позволяет сохранить значение в элемент структуры.

Code:
IF TEST.el1 THEN
    CNT1 := TEST.el2;  (* OK, без ошибок *)
    TEST.el2 := 1;        (*  ERROR, ошибка компилятора *)
END_IF;


сама структура
Code:
TYPE DUT_0 :
STRUCT
  el1 : BOOL;
  el2 : INT;
END_STRUCT
END_TYPE


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 3 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by International PLCforum® Forum Software © PLCforum
Mobile version