Toshiba T2N User Manual Page 162

  • Download
  • Add to my manuals
  • Print
  • Page
    / 272
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 161
3.User Data
User's manual 149
The area which stores the external input/output data, current values of
timer or counter which are used in user program and the values of the
variables for data processing is called the ‘user data’ area.
For user data, the storage location of the data is expressed by a
combination of ‘function type’ and a sequence of numbers which starts
from 0 (this is called the ‘address’).
Example) XW 005
Address 005 (in this case it is the register address)
Function type XW = Input register
To say that the content of XW005 is 100 is to say that the
numerical value 100 is stored in a location in the user data
memory indicated by XW005.
Also, user data is divided into registers and devices according to the
type of data to be stored. (Although the expression ‘relay’ is also used, a
relay should be regarded as one type of device)
A ‘register’ is area which stores 16 bits of data (provided it is a positive
integer, the register can express any numerical value from 0 to 65535)
and it is expressed as a combination of a function type and a register
address. (the register address is a decimal number)
Example) D 1024
Register address (decimal number)
Function type D = Data register
On the other hand a ‘device’ is an area which stores 1 bit of data (it
expresses 1 or 0, in other words ON or OFF), and it is expressed as a
combination of a function type and a device address. However, a device
does not use an independent memory area. It is allocated as 1 bit in the
16 bits of the corresponding register. Therefore, the device address is
expressed in the form of the corresponding register address + bit position.
Example) X 005 6
Bit position (there are 16 positions 0-F)
Register address (decimal number)
Function type X = Input device (corresponds to
input register XW
{
3.1
Overview
{
{
{
{
{
{
Page view 161
1 2 ... 157 158 159 160 161 162 163 164 165 166 167 ... 271 272

Comments to this Manuals

No comments