Download FC5A Modbus Communication Training

Transcript
Table of Contents
1
System Setup ...................................................................................................................... 3
1.1
1:1 Network................................................................................................................ 3
1.2
1:N Network (Up to 31 Slaves).................................................................................. 3
2
Modbus Communication Examples ................................................................................... 4
2.1
Example 1 - Reading 1 word and 1 bit data from a slave .......................................... 4
2.2
Example 2 - Reading 2 words and 3 bits data from a slave ..................................... 11
2.3
Example 3 - Writing 1 word and 1 bit to a slave...................................................... 12
2.4
Example 4 - Using Request Execution Relay .......................................................... 15
2.5
Example 5 - Changing the preset values of Timers or Counters.............................. 20
2