32 •
••
• Allen-Bradley QUICKDESIGNER
Protocol Button
Click the Protocol button to display the dialog box associated with the selected PLC.
Enter Timeout in seconds. Click OK to return to the Project Setup dialog box.
PLC2 Variable Names
Format Variable Type Range
WUBa_d Word Unsigned Binary 0 to 65535
WUBa/00-07_d
WUBa/10-17_d
Bit Read 0 to 1
WUB200/00-07_d
WUB200/10-17_d
Bit Read/Write (above 200 ONLY) 0 to 1
WSDa_d Word Signed Decimal -999 to 999
WUDa_d Word Unsigned Decimal 0 to 9999
WSOa_d Word Signed Octal -4095 to 4095
WTCa_d Word Timer Counter 0 to 999
LSDa_d Long Signed Decimal -999999 to 999999
LSDFa_d Long Signed Decimal Fixed Point -999.999 to 999.999
MSGa_d ASCII Message String 0 to 65535
LHDa_d Extended Precision BCD -79999999 to +79999999
In the above table, "a" is a one to five digit octal address that specifies the address in the data table.
The "_d" is the PLC Destination Address on the Data Highway.
WUB - Word Unsigned Binary
A WUB variable type is used to read an unsigned binary word from the PLC data table, which is
converted to a decimal value between 0 and 65535. The WUB variable is used to read input, output and
control relay points. All sixteen I/O or control points are read at one time.
Example:
The following binary value is present in a PLC2/15 at address 250.
17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0
1010000000111111
Reading this variable would result in the value 21845 because this is the decimal equivalent of the
binary value shown in the example.