Specifications

Table Of Contents
α
2 Simple Application Controllers
The Command String 7
7 - 12
7.3.8 Device Number
The Device Number is used in conjunction with the Device Code. Once the Device has
specified what the internal device represents, then the Device Number is used to select the
appropriate device from the range mentioned above. Each Device Number is comprised of 2
bytes:
Lower byte (LB)
Higher byte (HB)
Example - The user wants to check the status of Input 11. Converting input 11 to a four digit
Hexadecimal number 00 0B. The Higher Byte (HB) = 00. The Lower Byte (LB) = 0B. Thus, the
user will enter the Device Code followed by 0B 00 to read/write data from/to Input 11.
7.3.9 Device Status
1 ) BIT Device - A single byte is allocated to the Device Status when used for both READ and
WRITE operations.
2 ) WORD Device - Two bytes are allocated to the Device Status when used for both READ
and WRITE operations. Therefore, both the lowerbyte (LB) and Higherbyte (HB) of the
device status when used in conjunction with a WORD application can allow the user to
enter a maximum value of: 32767 (decimal) and minimum value of -32768 (decimal). The
counter function block has a minimum value of 0 and the PWM function block has a
minimum value of Period Time.
Table 7.9: Byte representation of the BIT status
State Device Status (Hex)
ON 01
OFF 00