文件名称:CP340_CP341_MODBUS_POLL_SLAVE
介绍说明--下载内容均来自于网络,请自行研究使用
自己写的MODBUS主站程序使用SCL写(含源码)
使用SCL写的,程序显得比较大。还有从站的程序也同时奉上。
Modbus 主站说明
主要程序列表
主站轮询调度程序背景数据块 DB200 POLL_MANAGER2_DB
通信对象数据块 DB203 OBJECT_IMAGES
设备读写的数据数据块 DB204 SUB_STATION_DATAS
主站轮询调度程序 FB200 POLL_MANAGER2
Modbus主站程序 FB201 MOD_POLL
初始化通信对象及主站调用 FC201 POLL_COMMUNICATION2
Modbus Ascii 16进制转换Ascii码 FC203 MOD_HTA
Modbus Ascii Ascii码转换16进制 FC204 MOD_ATH
Modbus RTU CRC程序 FC205 CRC16F
Modbus Ascii LRC程序 FC206 LRC
按位处理的块移动程序 FC220 BBLKMOV
ANY指针数据结构 UDT61 ANY_STRUCT
通信设备对象数据结构 UDT62 DEVICE_OBJECT -MODBUS cp341
使用SCL写的,程序显得比较大。还有从站的程序也同时奉上。
Modbus 主站说明
主要程序列表
主站轮询调度程序背景数据块 DB200 POLL_MANAGER2_DB
通信对象数据块 DB203 OBJECT_IMAGES
设备读写的数据数据块 DB204 SUB_STATION_DATAS
主站轮询调度程序 FB200 POLL_MANAGER2
Modbus主站程序 FB201 MOD_POLL
初始化通信对象及主站调用 FC201 POLL_COMMUNICATION2
Modbus Ascii 16进制转换Ascii码 FC203 MOD_HTA
Modbus Ascii Ascii码转换16进制 FC204 MOD_ATH
Modbus RTU CRC程序 FC205 CRC16F
Modbus Ascii LRC程序 FC206 LRC
按位处理的块移动程序 FC220 BBLKMOV
ANY指针数据结构 UDT61 ANY_STRUCT
通信设备对象数据结构 UDT62 DEVICE_OBJECT -MODBUS cp341
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CP340_CP341_MODBUS_POLL_SLAVE\ApiLog\lock
.............................\......\LogIDs
.............................\......\Step7Bas.ver
.............................\......\Types
.............................\ApiLog
.............................\CONN\LINKVL.dbf
.............................\....\LOCKVL.LCK
.............................\....\VERBLIST.PRO
.............................\....\VERBTAB.DBF
.............................\....\VERBTAB.MDX
.............................\....\VLTAB53.DBF
.............................\....\VLTAB53.MDX
.............................\CONN
.............................\CP340_MO.s7p
.............................\CP340_MO.S7S
.............................\Global\141099_1.txt
.............................\......\141099_1_dp_asi.txt
.............................\......\Font_1
.............................\......\Font_2
.............................\......\Language
.............................\......\S7hCompressedMetadata.cmf
.............................\......\S7hMetaData.umf
.............................\Global
.............................\hOmSave7\s7fk34ax\HATTARY1.DBF
.............................\........\........\HATTARY1.DBT
.............................\........\........\HATTARY1.MDX
.............................\........\........\HATTRIB1.DBF
.............................\........\........\HATTRIB1.MDX
.............................\........\........\HATTRME1.DBF
.............................\........\........\HATTRME1.DBT
.............................\........\........\HATTRME1.MDX
.............................\........\........\HLASTID2.DBF
.............................\........\........\hLockID1
.............................\........\........\HOBJECT1.DBF
.............................\........\........\HOBJECT1.MDX
.............................\........\........\HRELATI1.DBF
.............................\........\........\HRELATI1.MDX
.............................\........\s7fk34ax
.............................\........\S7HDPSSX\HATTARY1.DBF
.............................\........\........\HATTARY1.DBT
.............................\........\........\HATTARY1.MDX
.............................\........\........\HATTRIB1.DBF
.............................\........\........\HATTRIB1.MDX
.............................\........\........\HATTRME1.DBF
.............................\........\........\HATTRME1.DBT
.............................\........\........\HATTRME1.MDX
.............................\........\........\HLASTID2.DBF
.............................\........\........\hLockID1
.............................\........\........\HOBJECT1.DBF
.............................\........\........\HOBJECT1.MDX
.............................\........\........\HRELATI1.DBF
.............................\........\........\HRELATI1.MDX
.............................\........\S7HDPSSX
.............................\........\...K31AX\HATTARY1.DBF
.............................\........\........\HATTARY1.DBT
.............................\........\........\HATTARY1.MDX
.............................\........\........\HATTRIB1.DBF
.............................\........\........\HATTRIB1.MDX
.............................\........\........\HATTRME1.DBF
.............................\........\........\HATTRME1.DBT
.............................\........\........\HATTRME1.MDX
.............................\........\........\HLASTID2.DBF
.............................\........\........\hLockID1
.............................\........\........\HOBJECT1.DBF
.............................\........\........\HOBJECT1.MDX
.............................\........\........\HRELATI1.DBF
.............................\........\........\HRELATI1.MDX
.............................\........\S7HK31AX
.............................\........\s7hkdmax\HATTARY1.DBF
.............................\........\........\HATTARY1.DBT
.............................\........\........\HATTARY1.MDX
.............................\........\........\HATTRIB1.DBF
.............................\........\........\HATTRIB1.MDX
.............................\........
.............................\......\LogIDs
.............................\......\Step7Bas.ver
.............................\......\Types
.............................\ApiLog
.............................\CONN\LINKVL.dbf
.............................\....\LOCKVL.LCK
.............................\....\VERBLIST.PRO
.............................\....\VERBTAB.DBF
.............................\....\VERBTAB.MDX
.............................\....\VLTAB53.DBF
.............................\....\VLTAB53.MDX
.............................\CONN
.............................\CP340_MO.s7p
.............................\CP340_MO.S7S
.............................\Global\141099_1.txt
.............................\......\141099_1_dp_asi.txt
.............................\......\Font_1
.............................\......\Font_2
.............................\......\Language
.............................\......\S7hCompressedMetadata.cmf
.............................\......\S7hMetaData.umf
.............................\Global
.............................\hOmSave7\s7fk34ax\HATTARY1.DBF
.............................\........\........\HATTARY1.DBT
.............................\........\........\HATTARY1.MDX
.............................\........\........\HATTRIB1.DBF
.............................\........\........\HATTRIB1.MDX
.............................\........\........\HATTRME1.DBF
.............................\........\........\HATTRME1.DBT
.............................\........\........\HATTRME1.MDX
.............................\........\........\HLASTID2.DBF
.............................\........\........\hLockID1
.............................\........\........\HOBJECT1.DBF
.............................\........\........\HOBJECT1.MDX
.............................\........\........\HRELATI1.DBF
.............................\........\........\HRELATI1.MDX
.............................\........\s7fk34ax
.............................\........\S7HDPSSX\HATTARY1.DBF
.............................\........\........\HATTARY1.DBT
.............................\........\........\HATTARY1.MDX
.............................\........\........\HATTRIB1.DBF
.............................\........\........\HATTRIB1.MDX
.............................\........\........\HATTRME1.DBF
.............................\........\........\HATTRME1.DBT
.............................\........\........\HATTRME1.MDX
.............................\........\........\HLASTID2.DBF
.............................\........\........\hLockID1
.............................\........\........\HOBJECT1.DBF
.............................\........\........\HOBJECT1.MDX
.............................\........\........\HRELATI1.DBF
.............................\........\........\HRELATI1.MDX
.............................\........\S7HDPSSX
.............................\........\...K31AX\HATTARY1.DBF
.............................\........\........\HATTARY1.DBT
.............................\........\........\HATTARY1.MDX
.............................\........\........\HATTRIB1.DBF
.............................\........\........\HATTRIB1.MDX
.............................\........\........\HATTRME1.DBF
.............................\........\........\HATTRME1.DBT
.............................\........\........\HATTRME1.MDX
.............................\........\........\HLASTID2.DBF
.............................\........\........\hLockID1
.............................\........\........\HOBJECT1.DBF
.............................\........\........\HOBJECT1.MDX
.............................\........\........\HRELATI1.DBF
.............................\........\........\HRELATI1.MDX
.............................\........\S7HK31AX
.............................\........\s7hkdmax\HATTARY1.DBF
.............................\........\........\HATTARY1.DBT
.............................\........\........\HATTARY1.MDX
.............................\........\........\HATTRIB1.DBF
.............................\........\........\HATTRIB1.MDX
.............................\........