The Home of PLC    
Home | PLC Fundamental | PLC Program | Siemens PLC | Mitsubishi PLC | Omron PLC | Panasonic PLC | PLC Articles
  Current Position:Home>A-B PLC>Content
Introduction for String Manipulation Functions
Source: Author: Date: 2009-05-06  

Many of the remaining string functions are illustrated in See String Manipulation Functions. When A is true the ABL and ACB functions will check for characters that have arrived on channel 1, but have not been retrieved with an ARD function. If the characters "ABC<CR>" have arrived (<CR> is an ASCII carriage return) the ACB would count the three characters, and store the value in R6:0.POS. The ABL function would also count the <CR> and store a value of four in R6:1.POS. If B is true, and the string in ST9:0 is "ABCDEFGHIJKL", then "EF" will be stored in ST9:1. The last function will compare the strings in ST9:2 and ST9:3, and if they are equal, output O:001/2 will be turned on.

 

String Manipulation Functions

The AHL function can be used to do handshaking with a remote serial device.


 
[Add to Favorit] [Refer to] [Comment(0Item)] Back to Top Print Close this Window  
Username:New UserPassword: Anonymous
Contents: Less than 250 words. Please follow the applicable rules and laws.
  Latest Comment:
  Popular Articles
·Example of Connecting to an Al
·EXCEL applications in Symbols
·How to use Bit Shifts (BSL) in
·Upgrade Allen Bradley Panel Vi
·Symbol Programming with Allen
·Usage of OSF in a SLC 5/03
·Photoeye Make and Break Logic
·ABB PLC software
·Anti Tie Down Logic
·An Example of Connecting a Us
·Programming Application - Dial
·Ladder Logic to Control an Ana
  Related Articles
·Communicating with Devicenet I
·Data Highway and it's applicat
·Security problem of Internet
·Introduction of PLC Enclosures
·Programming Application - Dial
·Functional Alarms with Allen B
·How to use Bit Shifts (BSL) in
·3 Phase Motor Startup beginner
·Anti Tie Down Logic
·Photoeye Make and Break Logic
·EXCEL applications in Symbols
·Usage of OSF in a SLC 5/03