PLC輸出線圈Y0為首的2個字節的數據為例,編寫一個通信程序。查PLC軟元件地址表可知,輸出線圈Y0的首地址為00A0H,2個字節的數據即為Y0-Y7和Y10-Y17,根據返回的數據,就可以知道PLC此時的狀態,以實現對PLC的監控。在每一次讀操作之前,先要進行握手聯絡。對PLC發請求訊號ENQ,然后讀PLC的響應訊號。如果讀到的響應訊號為ACK,則表示PLC已準備就緒,等待接收通訊數據。 
  =======================================================
    姓名:蘇烈格
    手機:15359408275
    企業QQ:3004859263    
    傳真0592-5165561   
    電子郵箱:3004859263@qq
  =======================================================
  【15天包退換】【一年質保】【大量現貨】【順豐包郵】
   ——————-專業銷售進口PLCDCS備件系列模塊。
   ——————-PLC模塊,可編程控制器,CPU模塊,IO模塊,DO模塊,AI模塊,DI模塊,網通信模塊
   ——————-有詢價的沖我來
   ——————-不要為難我同行
   ——————-他們很辛苦
   15天包退換 一年質保 大量現貨
   AB/施耐德/ABB/GE/本特利/西屋/英維思/霍尼韋爾/黑馬/福克斯波羅                  
  
 =====================================================
SierraMonitorCorporation4101-2 
MicroPump12A-60-3168069320759W/F33ZZFNJ-2608 
SquareDQMB321TW3PH240V30ATWINPANELBOARD 
SquareDQMB322TW3PH240V60ATWINPANELBOARD 
AutomationDirectGS2-45P05HP460V 
ISS047423PrintedCircuit 
MCC2139-9PrintedCircuit 
Conductix80SeriesHoistPushbuttonSwitchType34281
ACJA1034200RSAppleton100ampPowertiteReceptacle+BackBox3W4P 
SurplusDevarIncHighLevelIsolatedTransmitter18-1194/20MA
PhoenixContactPLC-RSC-24DC/21PLC 
CutlerHammer3Pole150Amp240VoltCircuitBreakerCat:ED3150
PhoenixContactEC-E110Ampcircuitbreakers24VDC 
ACOPIANA24MT350Regulated 
AllenBradley800H-3HW7-25052NemaType7&9S6 
RosemountKEMA99ATEX8715 
CUTLERHAMMER4A35629G01 
ABBSACES5N300aS53P600vw/24VAC/VDC 
TelemechaniqueElectronicMotorProtectionCat:LR9F5571132-220Amps
AllenBradley700DC-PK800Z1SerA
HubbellHBL52622Pole3WireGrounding15A125VNEMA5-15R
AllenBradley700DC-P400Z1 
RussellstollHazardousLocationPlug3338-72100amp480volt4Wire333872
AllenBradley1606-XL2240EPDC 
GEFANUCVERSAMAX IC200PWR102B120/240v27VA
HubbellHBL563P6W 
ELECTROSWITCH2441D
SurplusConductix80SeriesHoistPushbuttonSwitchType34281
HoffmanLEDLightDCMotionMeg351mmCat:LEDD2M35 
PENTAIRE-100-L2-A 
ABBT3S225CircuitBreaker225A240/480/600V3P
NIBSquareD9065SEO-9B2SeriesA 
ABBSACES3N122160043-002150amp600voltSACES3 
308TXN-TronEthernet 
AppletonPowertiteReceptacle100Amp3Pole4WireCat:ARC1034CD
ABBT3S225CircuitBreaker225A240/480/600V3P 
BaldorRelianceMVM5550DTEFC1.0HP208-230/460 
Hubbell560P7Plug60amp480volt4pole5wire 
ABBSACETmaxT2L16032amp690 
SurplusRelianceRectifierPowerCube701819-27AW
SiemensSitransCU027MH7562-2AA115VSiemens 
WestinghoueDU16U30AMP600VoltDS 
EatonCutlerHammerACAdjustableFrequencyDriveAF93AG0C003D 
SierraMonitorCorporation4101-02 
STIMinisafems4312BRRange1-30ft
SurplusMotorSavor400MS400208208VAC60HZ
CutlerHammer3Pole15Amp480VoltCat:EHC3015 
CrouseHindsAR1031w/Base100Amp3Wire3Pole600VAC 
TurckNi30-Q130-VP4X2-B2141 
MTSTemposonics311000000RBU0120LDT 
TelemecaniqueD10S2&D10S2HDisconnectSwitch3Pole60AMP600VAC 
appleton60Amp4Wire4PoleCat:ARC6044BCNIB
HoneywellmodutrolIVMotorActuator24voltCat:M9164D1009
ElectroswitchtypeW600V20AmpCat8329A726G01
CutlerHammerEHC309090Amp3Pole480Volt
AECMicroElectronicsApplicationsEngineering Board53i803
AEC477718ApplicationsEngineeringChillerControlBoard0104607
Masterflex7553-07 
SiemensHF324N3P240V200A 
FerrazShawmut200AmpGeneralPurposeSwitch3P600V200A 
ABBTF32253P600V225ATypeFSCircuitBreakerAux+48VDC
MTSTemposonics311000000RBU0140LDT 
TaylorInstrument155S740-1Mod301741FZ14700A-6353
TelemecaniqueD10S2&D10S2H 
N-Tron308TXEthernet 
TelemecaniqueXY2CE4A010H7
DRANETZ626PA6003-1
SporlanValveCoCVE-4-CP100 
SOLASDN20-24-480480VACTO24VDC 
Leviton32412-DS3Transient 
ABBS4N250AmpSACEPR21124VAC/VDC 
InvensysFoxboroP0926HT8Channel 
CutlerHammerFC3125FC3P600V125A 
PCEStecker32a3P6HTWISTplug230v50/60hz2P+Ground~(LOTOF40!)
InvensysFOXBOROFBM241
InvensysFoxboroP0926JM8Channel 
Toshiba2ERelayCat:RC820-HP1Y72Rating7ATSourceAC120-240Freq.50/60Hz
CrouseHindsTMCX414011/4"TerminatorCableFittingQTY:2
FINCOR2350-DCMotorControl
ITESIEMENSFXD63B225FXD3PH600V225A
13Ton2/3JawMechanicalGrip-O-MaticPullerOTC1041
SurplusSquareD9070TF750D1 
NIBSquareD9001KR9P1RH13SeriesH 
Electroswitch2452Drotaryswitch20A600VAC 
YOKOGAWAAMN33PLCRackChassisBaseUnitStyleS2
9007C66B2SquareDLimit 
ABB1SVR430884R1300CM-MPS 
RussellstolllReceptacleJRSA1034H100amp600vac
ED63A030SiemensMotorCircuitProtectorwithA01ED64 
Squ