Table Of Shared Memory Areas - Panasonic FP2 User Manual

Serial data unit
Hide thumbs Also See for FP2:
Table of Contents

Advertisement

FP2 Serial Data Unit
7.2

Table of Shared Memory Areas

Shared memory configuration
The configuration of the shared memory in the serial data unit is shown below.
Addresses are expressed as decimal numbers, so to specify address 501 in the
program, "K501" should be specified in the program.
Address
Contents of allocation
1 to 250
COM.1 Sent buffer (500 characters)
251 to 500
COM.1 Received buffer (500 characters)
501 to 750
COM.2 Sent buffer (500 characters)
751 to 1000
COM.2 Received buffer (500 characters)
1001
COM.1 End code setting area
1002
COM.2 End code setting area
1003
COM.1 Transmission format setting area
1004
COM.2 Transmission format setting area
1005
COM.1 Number of byte of received data
1006
COM.2 Number of byte of received data
Notes
The addresses of the sent buffer for CH1 start from address 1.
Do not write data so that it starts from address 0.
The setting areas for addresses 1001 ~ 1004 are used when an
end code and transmission format are specified in the shared
memory. Normally, it is not necessary to write anything to
these areas.
7.2
Table of Shared Memory Areas
Description
This is the area to which the data to be
sent to the RS232C device is written.
This is the area in which data already re-
ceived from the RS232C device is stored.
This is the area to which the data to be
sent to the RS232C device is written.
This is the area in which data already re-
ceived from the RS232C device is stored.
If "Any code" is specified only in the trans-
mission format, any desired end code
ss o
o
at, a y des ed e d code
should be specified in the lower byte of this
h
ld b
ifi d i
h l
address.
To change the transmission format, set any
desired transmission format value for this
desired transmission format value for this
address.
The number of received data bytes is
sto ed e e
stored here.
Th
The end code segment is also counted as
d
d
i
part of the number of bytes.
Specifications
b
f hi
l
d
7 − 5

Advertisement

Table of Contents
loading

Table of Contents