Ссылка на нас!

Link To Us




 

 

 

FFXI Haven - Ваш Источник #1.


 

 

 


The basic functions are listed in Figure 27.8.

plc serial -27.10

ABL(channel, control)-reports the number of ASCII characters including line endings ACB(channel, control) -reports the numbers of ASCII characters in buffer ACI(string, dest) -convert ASCII string to integer ACN(string, string,dest) -concatenate strings AEX(string, start, length, dest) -this will cut a segment of a string out of a larger string AIC(integer, string) -convert an integer to a string AHL(channel, mask, mask, control) -does data handshaking ARD(channel, dest, control, length) -will get characters from the ASCII buffer ARL(channel, dest, control, length) -will get characters from an ASCII buffer ASC(string, start, string, result) -this will look for one string inside another ASR(string, string) -compares two strings AWT(channel, string, control, length) -will write characters to an ASCII output

Figure 27.8 PLC-5 ASCII Functions

In the example in Figure 27.9, the characters "Hi " are placed into string memory ST10:1. The ACB function checks to see how many characters have been received, and are waiting in channel 0. When the number of characters equals 2, the ARD (Ascii ReaD) function will then copy those characters into memory ST10:0, and bit R6:0/DN will be set. This done bit will cause the two characters to be concatenated to the "Hi ", and the result written back to the serial port.

BACK | NEXT

Easy Access To All Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106











 

 

 

 

Automation

 

Part I

Part II

Part III

Part IV

Part V

 

Foods Overview


Hunting

 

Symbols

 

Part I

Part II

Part III

Part IV

 

 

 
Copyright @ FFXI Haven, 2004-2005.