文档介绍:Training \ TASC \ Driving Control Products
1
参数通道说明
以上说明仅供参考,详细内容请参看SEW样本
《Fieldbus Unit Profile with Parameter List 》
TASC / Malijun / May 8, 2003 Driving the world
Training \ TASC \ Driving Control Products
2
参数通道说明参数通道说明
管理字节无用无用无用参数代码参数的设定值
参数通道由管理字节、、保留字节保留字节((无用无用)、参数代码((二个字节二个字节))和和
参数设定值((四个字节四个字节))组成组成;
参数通道共8个字节组成,,需要在需要在S7-300 硬件组态中定义;
管理字节由一个字节组成,,用于定义写操作或读操作用于定义写操作或读操作、、激活参数通道等激活参数通道等;
参数代码由二个字节组成,,每个参数都有自己单独的代码每个参数都有自己单独的代码,,曲线曲线0点--- 曲线512 点的
代码为20000----20513 ;
参数的设定值由四个字节组成;
参数通道为非周期性的传递,,由管理字节的握手位来触发参数通道由管理字节的握手位来触发参数通道。
TASC / Malijun / May 8, 2003 Driving the world
Training \ TASC \ Driving Control Products
管理字节说明管理字节说明:: 3
管理字节管理字节::::
写操作 32 / 72hex 切换切换切换
读操作 01 / 41hex 切换切换切换
读参数---0001
写参数---0010
握手位握手位::::
0 / 1 切换切换切换--- 激活参数通道
状态位状态位::::
0 --- 参数通道正确
1---- 参数通道错误
TASC / Malijun / May 8, 2003 Driving the world
Training \ TASC \ Driving Control Products
4
举例说明明: ::通过通过PLC修改P221 参数
P221 参数的代码为:2136Hex 或8502dec ;
将P221 参数修改为:8888dec 或 22B8hex ;
PLC 分配给参数通道的地址为:PQW256----PQW263
PQW256 PQW257 PQW258 PQW259 PQW260 PQW261 PQW262 PQW263
32 / 72 00 21 36 00 00 22 B8
管理字节未用未用未用参数代码参数设定植
TASC / Malijun / May 8, 2003 Driving the world
Training \ TASC \ Driving Control Products
5
写参数写参数P221P221 ::
TASC / Malijun / May 8, 2003 Driving the world
Training \ TASC \ Driving Control Products
6
举例说明明: ::通过通过PLC读取P130 参数
P130 参数的代码为:2116Hex 或8470dec ;
PLC 分配给参数通道的地址为:PIW256----PIW263
PIW256 PIW257 PIW258 PIW259 PIW260 PIW261 PIW262 PIW263
01 / 41 00 21 16
管理字节未用未用未用参数代码参数设定植
TASC / Malijun / May 8, 2003 Driving the world
Training \ TASC \ Driving Control Products
7
读参数读参数P130P130 ::
TASC / Malijun / May 8, 2003 Driving the world
Training \ TASC \ Driving Control Products
1
SEW-传动动设备(天津)有限公司
电子技术中心
TASC / Zhangxiaobing /October, 2005 Driving the world
Training \ TASC \ Driving Control Products
2