[Program structure]
The program structure is shown below. With the module having the node number 1
(FL.NET module for LPU/CMU01) and the module having the node number 2 (FL.NET
module for LPU/CMU02) interconnected, cyclic transfer operations are performed
between the FL-net modules. (The FL.NET modules perform cyclic transfer operations.
The user does not have to pay attention to the operations.)
Subsequently, the node 1 module transmits a 1,024-byte transparent message (TCD
number = 11000) to the node 2 module. The node 2 module receives the transparent
message from node 1. This program example operates in this manner.
When running this user program, be sure to start it from LPU/CMU01.
User program
Transparent
transmission
buffer
FL.NET (node 1)
module
C mode handler
Item
Function
Transmission buffer
Reception buffer
C mode handler
starting address
LPU/CMU01
Node 1
Node 2
transmission
reception
area
area
LPU/CMU
Transparent message transmission.
Address
0x450000
Number of bytes
1,024
Address
Number of bytes
toukaread( )
0xD60160
toukasend( )
0xD60180
Node 1
reception
area
Cyclic transfer
Message transfer
LPU/CMU01
⎯⎯
⎯⎯
5-93
5 USER GUIDE
LPU/CMU02
User program
Node 2
Transparent
transmission
reception
area
buffer
FL.NET (node 2)
module
C mode handler
LPU/CMU02
Transparent message reception.
⎯⎯
⎯⎯
0x450000
1,024
0xD60160
0xD60180