BASEstartm Classic DAS
for Allen-Bradley
Data Highwaytm Protocol
Installation and User's Guide


Previous Contents Index

3.2.4.5 SLC

Address syntax and supported device connection management data types for read and write operations vary between the SLC-5/04 and SLC-5/03 and other models of the SLC family of devices.

The following sections describe the use of the read data and write data functions by specific devices, including addressing and data type formats. Addressing and data type formats are necessary for performing the read data and write data functions for the SLC family of devices.

Data Type Formats

Table 3-26 shows which data type formats are supported for reading from and writing to the various file types of the SLC family.

Table 3-26 SLC Data Format General Reference
Device File Type Bit Word Long Float String
Status X X      
Binary X X      
Timer X X      
Counter X X      
Control X X      
Integer X X X   X
Floating Point       X  
ASCII         X
String         X

Note

ASCII, String and Floating Point are available only on SLC 5/03 Series C with OS301 and SLC 5/04 Series A with OS400.

General Address Formats

The general format for specifying addresses for the SLC family devices is:


           FSf:nn/bb  or  FSf:nn.mne 
 

where:

Specific Address Formats

The following tables describe address specifications and data types for specific SLC family file types. Refer to the general address formats listed above for a description of the conventions used to describe address specifications.

Status File Addresses

Table 3-27 describes address specifications and data types for status file addresses.

Table 3-27 Status File Addresses
Address Format Comment
mS:nn Word Status file word
mS:nn/bb Bit Status file bit

Binary File Addresses

Table 3-28 describes address specifications and data types for binary file addresses.

Table 3-28 Binary File Addresses
Address Format Comment
mBf:nn Word Binary file word
mBf:nn/bb Bit Binary file bit

Timer File Addresses

Table 3-29 describes address specifications and data types for timer file addresses. Timers can be read as entire structures or addressed at the sub-element level.

Table 3-29 Timer File Addresses
Address Format Comment
Tf:nn Struct(Array[3]:word) Timer structure
Tf:PRE Word Timer preset
mTf:PRE/bb Bit Timer preset bit
Tf:ACC Word Timer accumulator
mTf:ACC/bb Bit Timer accumulator bit
mTf:EN 1 Bit Timer enable bit
mTf:TT 1 Bit Timer timing bit
mTf:DN 1 Bit Timer done bit


1 Control bits should be treated as read only and modified only under PLC program control. Modifying these bits from a computer can give unpredictable results.

Counter File Addresses

Table 3-30 describes address specifications and data types for counter file addresses. Counters can be read as entire structures or addressed at the sub-element level.

Table 3-30 Counter File Addresses
Address Format Comment
mCf:nn Struct(Array[3]:word) Entire counter structure
mCf:PRE Word Counter preset
mCf:PRE/bb Bit Counter preset bit
mCf:ACC Word Counter accumulator
mCf:ACC/bb Bit Counter accumulator bit
mCf:CU 1 Bit Counter up enable bit
mCf:CD 1 Bit Counter down enable bit
mCf:DN 1 Bit Counter done bit
mCf:OV 1 Bit Counter overflow bit
mCf:UN 1 Bit Counter underflow bit
mCf:UA 1 Bit Counter update accumulator bit


1 Control bits should be treated as read only and modified only under PLC program control. Modifying these bits from a computer can give unpredictable results.

Control File Addresses

Table 3-31 describes address specifications and data types for control file addresses.

Table 3-31 Control File Addresses
Address Format Comment
mRf:nn Struct(Array[3]:word) Entire control structure
mRf:nn.LEN Word Control expression files length
mRf:nn.LEN/bb Bit Length bit
mRf:nn.POS Word Control expression file position
mRf:nn.POS/bb Bit Position bit
mRf:nn.EN 1 Bit Enabled bit
mRf:nn.EU 1 Bit Enabled unloading bit
mRf:nn.DN 1 Bit Done bit
mRf:nn.EM 1 Bit Empty bit
mRf:nn.ER 1 Bit Error bit
mRf:nn.UL 1 Bit Unload bit
mRf:nn.IN 1 Bit Inhibit comparisons bit
mRf:nn.FD 1 Bit Found bit


1 Control bits should be treated as read only and modified only under PLC program control. Modifying these bits from a computer can give unpredictable results.


Previous Next Contents Index