1-8
Variable Areas Section 1-4
CompoWay/F
Communications
1-4 Variable Areas
The area used for data exchange when communicating with the K3HB is
called the āvariable area.ā The PV is read and various setting data are read
and written using the variable area of the K3HB.
Operation commands and reading of machine attributes do not use the vari-
able area.
A variable area is accessed by specifying the position of a variable within the
variable area using the variable type and address.
Variable Types Variable types in variable areas are as follows:
Addresses (CompoWay/F
Communications)
Each variable type has an address. Addresses are 2 bytes long and written in
hexadecimal. Addresses are assigned according to units of access size.
For more information on addresses, refer to List of Settings on page 2-1.
Number of Elements The number of elements is expressed as a 2-byte hexadecimal number. The
specification range for the number of elements varies depending on the com-
mand. See 1-9 Commands and Responses (CompoWay/F Communications)
(page 1-13) for more information.
For example, if the number of elements is 0010, the first 16 elements of data
(H'10) from the address are specified.
Set Values Values read and written to the variable area are expressed in hexadecimal
and disregard the decimal point position (negative values are expressed as a
two's complement).
Example: D'105.0
ā H'0000041A
The variable is an 8-digit number in hexadecimal. Negative values are ex-
pressed as a two's complement. The decimal is disregarded.
Microprocessor
K3HB
Variable area
Operation
commands, etc.
Read/write
Variable type Description Area
C0 Read-only parameters Setting area 0
(during operation)
C1 Protect level
C2 RUN level
C4 Initial setting level Setting area 1
(during stop)
C5 Input adjustment level
C6 Display adjustment level
C7 Scaling level
C8 Comparative set value level
C9 Linear output level
CA Communications setting level
CB Advanced function setting level
000000##0A
6
A
5
A
4
A
3
A
2
A
1
A
0
Address (2 bytes)