VB编写PC与S7 200通讯软件.doc
6 g9 _+ k; W$ V: oPublic plcadr As plcadrtype1 j' b" F" X2 Q+ }, B) xPublic gb_PlcConnected As Boolean# y2 E( S, A) j5 g {# WType plcadrtype# l* G9 g( z: F! G) Y adr As Byte ‘站地址,默认值为27 z& t8 F: X: y, b SEGMENTID As Byte ‘段标识符,固定值为0- v" K, X4 _4 T% `- X- k* B7 U SLO