!

Link To Us




 

 

 

FFXI Haven - #1.


 

 

 


If they are equal then X will be true, otherwise it will be false. If the strings are different lengths then the bit S2:17/8 will be set.
Status Bits: S2:17/8 ascii minor fault bit -this bit will be set if the string lengths
dont match.
Registers: none

Available on: Micrologix, PLC-5

plc function ref -34.42

AWT, AWA -Ascii WriTe, Ascii Write Append
A AWT
ASCII WRITE
Channel 0
Source ST11:9
Control R6:3
String Length 14
Characters Sent

Description: The AWT instruction will send a character string. In this example, when A goes from false to true, up to 14 characters will be sent from ST11:9 to channel 0. This does not append any end of line characters.

The AWA function has a similar operation, except that the channel configuration characters are added -by default these are CR and LF.
Status Bits: EN enable -this will be set while the instruction is active
DN done -this will be set after the string has been sent
ER error bit -set when an error has occurred
UL unload
EM empty -set if no string was found
EU queue
Registers: POS the number of characters sent instructions

Available on: Micrologix, PLC-5

34.2 DATA TYPES

The following table describes the arguments and return values for functions. Some notes are;

* immediate values are numerical, not memory addresses.
* returns indicates that the function returns that data value.
* numbers between [ and ] indicate a range of values.
* values such as yes and no are typed in literally.

plc function ref -34.43

Table 1: Instruction Data Types
Function Argument Data Types Edge Triggered
ABL channel control characters immediate int [0-4] R returns N yes
ACB channel control characters immediate int [0-4] R returns N yes
ACI source destination ST N no
ACN source A source B ST ST no
ACS source destination N,F,immediate N,F no
ADD source A source B destination N,F,immediate N,F,immediate N,F no
AEX source index number destination ST immediate int [0-82] immediate int [0-82] ST no
AFI no
AHL channel AND mask OR mask control immediate int [0-4] immediate hex [0000-ffff] immediate hex [0000-ffff] R yes
AIC source destination N, immediate int ST no
ARD channel destination control string length characters read immediate int [0-4] ST R immediate int [0-83] returns N yes

plc function ref -34.44

Table 1: Instruction Data Types
Function Argument Data Types Edge Triggered
ARL channel destination control string length characters read immediate int [0-4] ST R immediate int [0-83] returns N yes
ASC source index search result ST N, immediate ST R no
ASN source destination N,F,immediate N,F no
ASR source A source B ST ST no
ATN source destination N,F,immediate N,F no
AVE file destination control length position #F,#N F,N R N,immediate int returns N yes
AWA channel source control string length characters sent immediate int [0-4] ST R immediate int [0-82] returns N yes
AWT channel source control length characters sent N, immediate int ST R immediate int [0-82] returns N yes
BSL file control bit address length #B,#N R any bit immediate int [0-16000] yes

plc function ref -34.45

Table 1: Instruction Data Types
Function Argument Data Types Edge Triggered
BSR file control bit address length #B,#N R any bit immediate int [0-16000] yes
BTD source source bit destination destination bit length N,B,immediate N,immediate int [0-15] N immediate int [0-15] immediate int [0-15] no
BTR rack group module control block data file length continuous immediate octal [000-277] immediate octal [0-7] immediate octal [0-1] BT,N N immediate int [0-64] yes,no yes
BTW rack group module control block data file length continuous immediate octal [000-277] immediate octal [0-7] immediate octal [0-1] BT,N N immediate int [0-64] yes,no yes
CLR destination N,F no
CMP expression expression no
COP source destination length #any #any immediate int [0-1000] no
COS source destination F,immediate F no
CPT destination expression N,F expression no
CTD counter preset accumulated C returns N returns N yes

plc function ref -34.46

Table 1: Instruction Data Types
Function Argument Data Types Edge Triggered
CTU counter preset accumulated C returns N returns N yes
DDT source reference result compare control length position result control length position binary


plc function ref -34.47

Table 1: Instruction Data Types
Function Argument Data Types Edge Triggered


plc function ref -34.48

BACK

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.