Example - WAGO I/O-SYSTEM 750 Manual

Fieldbus independent i/o modules serial interface rs 485
Table of Contents

Advertisement

2.1.1.9.1

Example

The module is initialized.
The initialization bit in the control byte is set.
After the initialization has been executed, the status byte will give back
000.0100.
Sending of the data string "Hello"
The first 3 characters and the buffer length of 3 are transmitted.
The transmission request bit (TR) is inverted.
WAGO-I/O-SYSTEM 750
I/O Modules
Output byte 0
0x00
Input byte 0
Status byte
XX
'0XXX. X0XX'
XX
'0XXX. X1XX'
Output byte 0
"H" (0x48)
Output byte 0
"H"
750-653 (/xxx-xxx) [Serial Interface RS 485]
Control byte
Output byte 2
'0000.0100'
Input byte 2
XX
XX
Control byte
Output byte 2
'0011.0000'
Control byte
Output byte 2
'0011.0001'
Data transfer
Output byte 1
0x00
Input byte 1
XX
Module is still being
XX
Initialization
completed.
Output byte 1
"1" (0x6C)
"a" (0x60)
Output byte 1
"1"
• 15
0x00
reset.
"a"

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents