
B-64164EN/01 SPECIFICATION 2.CYCLIC TRANSMISSION
- 29 -
Static DI data allocation of common memory area 2
This allocation method fixes the DI data area. With this method, an
area larger than that allocated with the dynamic allocation method can
be allocated in the PMC area.
Only node status information can be read by dynamic change.
Related parameters
(1) Pa42: PMC start address (for DI)
(2) Pa43: Allocation condition setting (for DI/DO)
(3) Pa44: Condition switch flag (for DI/DO)
(4) Pa45: Area 2 start address (for DI)
(5) Pa46: Allocation size (for DI)
(6) Pa61: Bit 2 (DTL) of parameter 2 = 1
NOTE
When node status information is unnecessary, Pa43
and Pa44 need not be set.
Furthermore, "Allocation condition setting
organization" and "Procedure" given below are
unnecessary.
Allocation condition setting organization
Organization of area 2 data exchange condition allocation:
7 0
Dxxxx+0 Node number
Dxxxx+2 DI offset (in words)
Dxxxx+4 Data size (in words)
Dxxxx+6 DO offset (in words)
NOTE
The parts except the shaded part are not used by
this function.
Procedure
Procedure of node information change by the user program:
(1) The user program specifies the following in the PMC D area
specified by Pa43 (allocation condition setting (for DI/DO)):
- Node number
(2) Then, the user program writes FFh to the area (switch flag) in the
PMC E area or the PMC R area specified by Pa44 (condition
switch flag (for DI/DO)).
Pa43→