西门子 200plc 通过 modbus 协议与组态王通讯时,组态王中定义的寄存器地址与plc 地址是如何对应的?
映射关系如下:0-Q,1-I,3、4、8、9-V;
3,4,8,9 的 dd 号与 PLC 中 V 寄存器的偏移地址(实际地址-1000)的对应关系:组态王中(寄存器的 dd 号-1)*2=PLC 中的 V 寄存器的偏移地址。组态王中 40031对应 PLC:VW1060 (组态王中寄存器 4 表示 SHORT 型变量)组态王中 90640 对应 PLC:VD2278 (组态王中寄存器 9 表示 FLOAT 型变量)。
西门子 200plc 通过 modbus 协议与组态王通讯,需要注意哪些事项?
需要注意如下几点:
1)需要向 PLC 中下载对应的初始化程序(KVmoddbus.mwp),由亚控提供。此程序默认的 plc 通讯端口为 port0,地址为 2,波特率 9600,无校验(地址和波特率可由程SBR0 中的 VB8,SMB30 进行修改);
2)由于 PLCModbus 协议程序占用 V1000 及以前的地址,所以用户在编写逻辑控制程序中用到的寄存器不能和亚控提供的协议中所占用的 V 区地址冲突;
3)西门子 S7200PLC 和通过 modbus 协议和组态王通讯时,CPU 上的开关必须拨在RUN 状态,否则 PLC 中的 modbus 通讯程序没有处于运行状态,组态王和设备通过自由口协议肯定通讯失败。
福州卓凯电子科技有限公司联系人:林工
公司地址:福州市闽侯西江滨大道77号正荣润园一号楼1205
公司主营产品有:AB,ABB,GE,西门子,力士乐,施耐德,福克斯,等工业自动化控制配件及各种停产备件。诚信经营,质量可靠,请放心购买,我们将竭诚为您服务!
Generic US-600XHD Extra Heavy Duty Zinc Cast Windlass Tensioner 3/4
GENERIC WIRE RG-59 B/U 100M Coaxial Video Cable
Generic WPA60 Motor Gearbox 1:30
Generic WPA70-30-B Motor
Generic WYH95-221 Heating Element Assembly
Generic X131798-01 50ft Chain 08B Links
Generic YST5612/DF-3B Fan Motor 2840 RPM 75 DB .12 KW
Genovation TMP-00231 Numeric Keypad
Gettys 11-0062-32 Tach Circuit Card
Getty's 11-0092-23 Motor Drive Circuit Board
Gettys 11-0094-04 Circuit Board
Gettys 11-0120-00 Servo Controller Card
Gettys 14-0018-02 Firing Circuit Module Board
Gettys 175-011-0005 Servo Controller Board Assembly
Gettys 44-0046-00 Fault Board
Gettys 55-005000 Circuit Board Module
Getty's 55-0050-00 Servo Supply Board
GF Signet 3-2507.100-6S Mini Flow CABLE ONLY for Sensor 2507
GF Signet 3-2507.100-6S Mini Flow Sensor 2507
GFC Faxmodem PC Controller Card
GFC GHOF-2DA-OVP Power Supply 12-15VDC
GFC GHOF-3-12 Power Supply 7 Amp 12VDC
GFC HAMMOND GFOF-2-12 Linear Power Supply
GFC HAMMOND GFOF-2-12 Linear Power Supply
GFC Power GHOF-3-12 Power Supply 110/120V 2Amp 220/240V 1Amp 175W NOP
GFM GVME-600SC PLC Controller Module
GFM GVME-610-I/O VME I/O Module
GHIRRI MVQ05 F2 | 63C/4 Motor + Gearbox 0.30Hp
GIC G7DDT9 Genie NX Smart Relay 12I/O 110-240V
GIC G8DDT9 Genie NX Smart Relay 12I/O 12-24VDC
Giddings & Lewis DSM-1-00 Digital Servo Drive 120/240VAC
Giddings & Lewis M.1017.3095.R3 M10173095R3 Output Module 16Pt 24VDC
Giddings & Lewis M.1302.8206 T70 Graphic Touch Operator Terminal 640x480
Giddings&Lewis DSM75/1-00 Dynamic Shunt Module 1Ph 7FLA 460V
Gleason 25970000 PC Board
Gleason 25970010 Circuit Board
Gleason 25970011 Circuit Board AS IS
Gleason 26024213 PC Board
Gleason 26024213/51297020 Circuit Board AS IS
Gleason 26024215 PC Board
Gleason 51297010 PC Board
Gleason 51297030/26024214 Circuit Board Module AS IS
Gleason 51297130 PC Board
Glentek GA369-1 240VDC CMA Servo DC Amplifier
Global GHOF-N24 N Series Power Supply 24V 3.6amp
Global Industrial Encoder IH950-AE50R63-10000-T025
Global Power Supply GHOF-2-5 Power Supply 100-240V 6.0A 5V
Globar 7217-2277-055 Electric Heating Element LL29x12x3/4
Glory MOH-01056 External Display for GFB-500
Gloucester 35937 EPROM PC Board
GMA 7712.1000 PC Board
GMS 91/102X/E PLC Controller Card
GMS 91/102X/E PLC Controller Card
Go-Dove 2922061 Measuring Tool
Goodyear B2-JCFX45-1010 Hydraulic Fitting 10-Pack
Gorman-Rupp 16001-003 Gear Pump 90RPM 115V 50/60Hz
Gossen Konstanter S166-N Power Supply Module
GoSwitch 73-13526-A1 Limit Switch 120VAC 4Amp
GoSwitch 73-13526-A1 Limit Switch 120VAC 4Amp
Gould 085B Program Controller Module 24VDC
Gould 1ST1H6A4 NPE Series Centrifugal Pump 3Hp 575V 3450RPM
Gould 66523 Power Distribution Block 3PMIN
Gould 68161 Power Distribution Block
Gould A7OQ250-4 Fuse 250A 700V Semi Conductor
Gould A7OQ250-4 Fuse 250A 700V Semi Conductor
Gould AS-B804-016 Output Module 16PT 115VAC REMAN
Gould AS-B821-001 Isolated I/O Module
Gould AS-B872-011 Output Module Analog with Connector
Gould AS-M84A-002 Controller Module 64 Bit IN BOX
Gould AS-P453-612 Module Remote Interface 110/120VAC
Gould Brush 220 Strip Chart Recorder
Gould CRN-500 Fuse 500Amps 250Volts
Gould CRS-400 Fuse 400A 600V
Gould CRS-600 Class RK5 time Delay Fuse 600A 600V
Gould CRS-600 Time Delay Type D Fuse 600Amp 600V
Gould K220073 Fuse Holder 3P 300A 1000V 50/60Hz
Gould M84A-001 Controller Module Micro 1 Amp 120/240 Vac
Gould Modicon AS-884A-211 3.5K Processor Control Module w/ MBus Port
Gould Modicon AS-9593-000 Exec Cart
Gould Modicon AS-B802-008 Output Module 115VAC
Gould Modicon AS-P190-212 Portable Control Terminal 115VAC
Gould Modicon AS-P800-003 Power Supply Module 115-220V 60/50Hz
Gould PC-0984-680 Controller Module 115/220VAC
Gould Shawmut A100P900-4GTI Semiconductor Fuse 900amp
Gould Shawmut A4J30 Fuse 30A 600V Box of 10 pcs
Gould Shawmut Amptrap AJT-600 Fuse 600A 600V
Gould Shawmut CJ-150 Fuse 150A 600V
Gould Shawmut Tri-onic Time Delay Fuse TRSR 250
Gould TRS-R-6-1/4 Fuse 6.25 Amp 600 Vac Time Delay Box Of 10
Gould/Modicon AS-B553-101 Input Module 9-56VDC
Goulds 1SVBK5 Stainless Steel Vertical Pump 360PSI * No Motor*
Goulds RPKSSHM Mechanical Pump Seal Kit
Goyen TBC-04 Sequential Timer Card
Graco 189903-F07 Repair Kit
Graco 207-352 Pneumatic Air Motor
Graco 222651 47 G07A Repair Kit For Pressure Regulator
Graco 235-587 Flow Meter 3050 PPM 2000 PSI 140 Bar
Graco 236923-F08 Repair Kit
Graco 240830-03-F07 Pump Seal Repair Kit
Graco 240830-06-G07 Repair Kit
Graco 240830-06-H07 Pump Seal Repair Kit
Graco 240830-12-E08 Pump Seal Repair Kit
Graco 241916-24-L04 Pump Seal Repair Kit