Example Of Function Call; Data Reading; Data Receiving - WAGO 750-640 Manual

Fieldbus independent i/o modules, rtc module
Table of Contents

Advertisement

22 •
750-640 [RTC Module]
RTC Module Functions
2.1.1.8.2

Example of Function Call

2.1.1.8.2.1

Data Reading

• Writing the data to be transmitted in output byte D0 ... D3
• Specifying the function with ID or reversing TR
• Transfer to the transmit buffer is complete when TA == TR
Example:
Write 0x12345678 as address offset (SET_ADDR, ID 0x21)
Original values:
Output data
Writing data:
Output data
Writing ID (SET_ADDR, ID 0x21) or reversing TR (Bit 0 in control byte C),
data is transmitted:
(to make sure that the data is transmitted correctly, ID or TR should only be
modified simultaneously or after setting D0...D3.)
Output data
2.1.1.8.2.2

Data Receiving

• Specifying the function with ID or reversing TR
• Getting data is complete when TA == TR
• Data available in input bytes D0 ... D3
C
Value
0x00
Input Data
S
Value
0x00
C
Value
0x00
Input Data
S
0x00
Value
C
0x01
Value
Input Data
S
Value
0x01
ID
D0
0x00
0x00
ID
D0
0x00
0x00
ID
D0
0x00
0x78
ID
D0
0x00
0x00
ID
D0
0x21
0x78
ID
D0
0x21
0x00
D1
D2
0x00
0x00
D1
D2
0x00
0x00
D1
D2
0x56
0x34
D1
D2
0x00
0x00
D1
D2
0x56
0x34
D1
D2
0x00
0x00
WAGO-I/O-SYSTEM 750
I/O-Modules
D3
0x00
D3
0x00
D3
0x12
D3
0x00
D3
0x12
D3
0x00

Advertisement

Table of Contents
loading

Table of Contents