12.07.2015 Views

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ASCII String <strong>Instructions</strong> (CONCAT, DELETE, FIND, INSERT, MID) 609Execution:Condition Relay Ladder Action Structured Text Actionprescan The rung-condition-out is set to false. No action taken.rung-condition-in is false The rung-condition-out is set to false. narung-condition-in is true The instruction executes.naThe rung-condition-out is set to true.EnableIn is set na EnableIn is always set.The instruction executes.instruction execution The instruction concatenates the strings.postscan The rung-condition-out is set to false. No action taken.Example:To trigger a message in a MessageView terminal, the controller mustsend an ASCII string that contains a message number and nodenumber. String_1 contains the message number. When add_node isset, the CONCAT instruction adds the characters in node_num_ascii(node number) to the end of the characters in string_1 and then storesthe result in msg.Relay Ladderadd_nodeCONCATString ConcatenateSource A string_1'$1423\'Source B node_num_ascii'1'Destmsg'$1423\1'Structured TextIF add_node THENCONCAT(string_1,node_num_ascii,msg);add_node := 0;END_IF;Publication 1756-RM003I-EN-P - January 2007

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!