Data Exchange Between Lon Works Interface Module And Cpu Module - IDEC LonWorks FC3A-SX5LS1 User Manual

Interface module
Table of Contents

Advertisement

L
W
I
ON
ORKS
NTERFACE
Data Exchange between L
Communication data, status data, and ID data are exchanged through registers in the L
link registers in the CPU module. The registers correspond to link registers as listed below:
Register Address in
L
W
Interface Module
ON
ORKS
C000h - C001h
C002h - C003h
C004h - C005h
C006h - C007h
C008h - C009h
C00Ah - C00Bh
C00Ch - C00Dh
C00Eh - C00Fh
C012h
C013h
C018h
C019h
Note: A number 1 through 7 comes in place of * depending on the position where the functional module, such as OpenNet
interface module or analog I/O module, is mounted. Consequently, operand numbers are automatically allocated to each
functional module in the order of increasing distance from the CPU module, starting with L100, L200, L300, through L700.
Example 1: Receive Data in Registers C000h and C001h
When receive data enters registers C000h and C001h in the L
register in the CPU module as illustrated below:
Registers in the
L
W
Interface Module
ON
ORKS
Link Register L*00
in the CPU Module
Example 2: Transmit Data in Link Register L*04
When transmit data is stored to link register L*04 in the CPU module, the data is transferred to registers in the L
interface module as illustrated below:
Link Register L*04
in the CPU Module
Registers in the
L
W
Interface Module
ON
ORKS
16
M
ODULE
W
Interface Module and CPU Module
ON
ORKS
Link Register in CPU Module
C001h (8 bits)
b7
b6
b5
b4
MSB
0
0
0
0
b15
b14
b13
b12
MSB
0
0
0
0
b15
b14
b13
b12
MSB
0
1
1
0
C009h (8 bits)
b7
b6
b5
b4
MSB
0
1
1
0
O
N
C
L
PEN
ET
ONTROLLER
ON
L*00
L*01
L*02
L*03
L*04
L*05
L*06
L*07
L*12
L*13
L*24
L*25
Expansion Module ID
W
interface module, the data is transferred to a link
ON
ORKS
b3
b2
b1
b0
LSB
MSB
0
0
1
0
b11
b10
b9
b8
0
0
1
0
b11
b10
b9
b8
0
0
0
0
b3
b2
b1
b0
LSB
MSB
0
0
0
0
W
I
M
U
ORKS
NTERFACE
ODULE
W
interface module and
ON
ORKS
Function
Receive Data
Communication
Transmit Data
Error Data
I/O Counts
Software Version
C000h (8 bits)
b7
b6
b5
b4
b3
0
0
0
0
0
b7
b6
b5
b4
b3
0
0
0
0
0
b7
b6
b5
b4
b3
0
0
1
0
0
C008h (8 bits)
b7
b6
b5
b4
b3
0
0
1
0
0
'
M
SER
S
ANUAL
Area
Data Area
Status Area
ID Area
b2
b1
b0
LSB
0
0
1
b2
b1
b0
LSB
0
0
1
W
ON
ORKS
b2
b1
b0
LSB
0
0
0
b2
b1
b0
LSB
0
0
0

Advertisement

Table of Contents
loading

Table of Contents