Download 5 - AutomationDirect
Transcript
Chapter 5: GS1 Modbus Communications DL MRX/MWX Communication Program (continued) This rung checks to see if it is time to communicate to slave 2, and also if there are no current write requests to that drive. If not, it reads data from slave 2. Drive #2 Speed Ref Port Busy Write Enable SP116 C40 CTA2 K1 = 5 MRX Drive #2 Drive #2 Direction, Fault, Reset Run CMD Write Enable Write Enable C42 C41 CPU/DCM Slot: CPU Port Number: K2 Slave Address: K2 Function Code: 03 - Read Holding Registers Start Slave Memory Address: K48449 Start Master Memory Address: V2020 Number of Elements: K12 Modbus Data type: 584/984 Mode Exception Response Buffer: V5003 *** The following 21 rungs (6–26) are for slave 1 communications control. *** This rung turns on C1 if there is a fault in drive #1. V2000 K1 욷 6 Drive #1 Fault C1 ( SET ) This rung allows a switch on input X1 to reset the C bit used to indicate a drive #1 fault. Drive #1 Fault Indication Reset X1 Drive #1 Fault C1 ( RST ) 7 This rung turns on C2 if drive #1 has an overload fault. V2000 K4 = 8 This rung allows a switch on input X2 to reset the overload fault bit C2. Drive #1 Overload Indication Reset X2 9 Drive #1 OL C2 ( SET ) Drive #1 OL C2 ( RST ) (Continued next page) 2nd Edition 07/06/2011 GS1 Series AC Drive User Manual 5–39