Previous | Contents | Index |
The following data types are supported by the DAS for AB INTERCHANGE software:
Not all available data formats will work in a format of STRUCTURE. Table 3-13 lists the supported formats for structured data. See Section 3.3.2 for more restrictions on data formats.
Format | Restrictions |
---|---|
BIT | When writing, the use of the BIT or BOOLEAN format in structures must be in contiguous multiples of eight (8). The length of the structure containing a bit field must be an even number of target elements. |
ARRAY[n]:BIT | When writing, the array size must be a multiple of 16 for PLC-5, PLC-3, PLC-2 and SLC family devices. The array size must be less than or equal to 16 for the PLC-5/250. |
S_BYTE | The size must be an even multiple of 2 bytes or characters. |
U_BYTE | The size must be an even multiple of 2 bytes or characters. |
U_WORD | |
S_WORD | |
U_LONGWORD | |
S_LONGWORD | |
F_FLOAT | |
STRING:n | The size must be an even multiple of 2 bytes or characters. |
ARRAY[n]: | The size of the array must be an even multiple of the target PLC data type. For example: ARRAY[3]:S_WORD for a Longword target would not be valid. The forth word would have to be padded out by making the array size 4 or adding other members to a structure. |
This section describes restrictions and limitations to data format usage.
/FORM=BIT/NUMBER=1
/FORM=BIT/NUMBER=16
/FORM=ARRAY[16]:BIT
Previous | Next | Contents | Index |