Vai al contenuto

Example

Thinking of having the following strings:id1: Zone %1 maximum temp alarmid2: Test string %1 and %2id3: a new string %3And the following extra.ini:[CHANGESTR]DEST=111FROM=1VAR=STR1DEST=112FROM=1VAR=STR2;This is a commentDEST=113FROM=1VAR=”My const string 3″DEST=114FROM=1VAR=STR4DEST=115FROM=2VAR=STR5,”Hello”DEST=116FROM=3VAR=STR1,STR2,STR7And the following PLC variables:STR1: STRING = “my str 1”STR2: STRING = “STR_2”STR4: STRING = “hello”STR5: STRING = “world”STR7: STRING = “to show”At runtime the following strings will be changed:id111: Zone my str 1 maximum temp alarmid112: Zone STR_2 maximum temp alarmid113: Zone My const string 3 maximum temp alarmid114: Zone hello maximum temp alarmid115: Test string world and Helloid116: a new string to show