[西门子] Modbus RTU Slave for S7-200 CPU

[复制链接]
ye_w | 2008-4-24 09:27:00 | 显示全部楼层

Modbus RTU Slave for S7-200 CPU

This program example includes a group of subroutines and interrupt routines which create a Modbus RTU slave using the Freeport functions of the S7-200. Modbus RTU is a binary protocol.
This program supports the following Modbus functions:

1 Read outputs (coils).

2 Read inputs (contacts).

3 Read holding registers (V memory).

4 Read input registers.

5 Write single output.

6 Write single holding register.

15 Write multiple outputs.

16 Write multiple holding registers.


Project Example:tip041b.rar

您需要登录后才可以回帖 登录 | 注册哦

本版积分规则