Home

Series 90-30 Genius Bus Controller User`s Manual, GFK

image

Contents

1. UP TO 50 FEET gt ae BUS NOTE ALL RACKS MUST BE AT THE SAME GROUND POTENTIAL The remote drop can include any mix of Series 90 70 discrete and analog input and output modules up to a total of 128 bytes of inputs and 128 bytes of outputs 8 discrete points represent one byte and 1 analog channel uses 2 bytes Field Control Station A Field Control station consisting of a Genius Bus Interface Unit IC670GBI001 and the I Omodulesitserves can make up a remote drop on the Genius bus The remote drop can include any mix of Field Control discrete and analog input and output modules up to a total of 128 bytes of inputs and 128 bytes of outputs 8 discrete points represent one byte and 1 analog channel uses 2 bytes For more information see the Field Control I O Module User s Manual GFK 0826 and the Genius Bus Interface Unit User s Manual GFK 0825 TM Series 90 30 Genius Bus Controller User s Manual April 1996 GES ode Genius Bus Controller Description Status LEDs GFK 1034B The GBC is a standard rack mounted Series 90 30 PLC module It plugs easily into the PLC s backplane or into a remote baseplate The latch on the bottom of the module secures it in position The module s Terminal Assembly with its protective hinged cover is removable a43394 OK LED COMM OK LED REMOVABLE TERMINAL ASSEMBLY HINGED There are no DIP switc
2. TM Series 90 30 Genius Bus Controller User s Manual April 1996 GFK 1034B Example A user wants to configure three GBCs the first with 53 segments the second with 26 segments and the third with 11 segments 1 discrete input module 1 analog input module 1 discrete output module and 1 discrete combo input output module First add up the number of segments First GBC 1 for status 53 configured segments Second GBC 1 for status 26 configured segments Third GBC 1 for status 11 configured segments Discrete input module 1 I Analog input module 1 AI Discrete output module 1 Q Discrete I O module 1 for input I 1 for output Q for a total of 98 segments Now add them all up 90 90 3 x 257 771 98 x 40 3 920 4 781 This will fit in a 341 CPU but not in a 331 CPU GFK 1034B Chapter 3 Installation 3 3 Module Installation and Removal Module Installation The GBC module is installed and removed in the same manner as all other Series 90 30 modules Power must be OFF when installing or removing the module To install the GBC in the Series 90 30 PLC baseplate 1 Grasp the module with the terminal board toward you and the rear hook facing away from you 2 Align the module with the desired base slot and connector Tilt the module upward so that the top rear hook on the module engages the slot on the baseplate 3 Swing the module downward until the connectors mate and the lo
3. R8 255 broadcast message R9 32 GENIUS function code R10 19 13Hex GENIUS subfunction code for CLEAR ALL FAULTS R11 0 normal priority R12 0 CLEAR ALL FAULTS message contains no data The status pointer for this COMMREQ is R21 R3 8 R4 20 Note that the status registers are cleared before the COMMREQ function I I I I I I M0001 I BLKMV 00006 I CONST IN1 Q R0001 Tt M0001 BLE A RM INT INT I CONST IN1 0 R0008 I 00255 I I CONST IN2 00000 I CONST IN3 00008 I CONST IN4 00020 I CONST IN5 00000 I CONST IN6 00000 I CONST IN7 00014 I I CONST IN2 00032 I CONST IN3 00019 CONST IN4 00000 I CONST IN5 00000 CONST IN6 00000 CONST IN7 00000 lt lt RUNG 6 STEP 0006 gt gt 1800001 Q0002 MOVE COMM L M I INT REQ I II CONST IN 0 R0021 R0001 IN FT 00000 LEN I I 100002 I CONST SYSID 0003 I I I CONST TASK I 00000001 I I IL END OF PROGRAM LOGIC I Chapter 6 Communication Requests 6 11 6 Using COMMREQs to Send Datagrams
4. 666 eee ee 2 6 TAIT sata edi ile ab lanes ibra oA 2 7 CPU Sweep Time for the Genius Bus Controller 2 7 Bus Scan Time for Global Data 0 6 6 cee 2 11 Device to Device Response Time cece cece 2 11 How Other Devices Handle Global Data Sent by the Genius Bus Controller 2 12 Chapter 3 Installation lava eas oa 3 1 Choosing a Rack Location for the GBC eee 3 2 Module Installation and Removal nnna unner arrera 3 4 Module Installation LL 3 4 Module Removal sire i sifone Sea at pra ing pieni ae li papa 3 5 BusiInstallationi rinata ri een Pira pieni 3 6 Terminal Assembly Removal and Installation 3 9 Installing a Hand held Monitor Connector 3 11 GFK 1034B Series 9074 30 Genius Bus Controller User s Manual April 1996 v Contents Chapter 4 Confiplratioli iv s iso alia Diese gala li aio 4 1 Configuration Overview eee eee ees 4 1 Device Types and Assigned Configuration Parameters 4 2 Sending and Receiving Global Data 0 cece eee eens 4 2 Configuration Using Logicmaster 90 Software 4 3 Module specific Data siss ire amkor E EE a a E a E EE eens 4 5 Device specitie Data rollin a 4 6 Entries in REF VU Reference View Option 4 8 Configuration Using the Hand held Programmer 4 9 Hand hel
5. IN6 00000 CONST IN7 00000 _t M0001 INT CONST IN Q R0021 00000 LEN 00002 This COMMREQ disables outputs R9 0 to all devices R8 FFh The status pointer for this COMMREO is R21 R3 8 R4 20 Note that the status registers are cleared before the COMMREO function block is called lt lt RUNG 6 STEP 0007 gt gt 120001 i Pi Q0002 COMM__ SM REQ I I amp R0001 IN FT CONST SYSID 0003 CONST TASK 00000001 I I IL END OF PROGRAM LOGIC TM Series 90 30 Genius Bus Controller User s Manual April 1996 GFK 1034B GFK 1034B 6 Example 2 Using a COMMREQ to Clear All Circuit Faults The following example shows how a COMMREQ can be used to clear all circuit faults on the Genius I O bus 1 RE RE AE RE KK e RR RK KKK KK KKK KKK KK KKK KEK KKK KKK KEK KKK KKK KERR KKK KKK REE e He e He ke He e ke ke ke KKK KKK block is called fi KR RK KKK KK KKK KKK KKK KKK KKK KKK KKK KR EK KKK KKK REE II He He He He e He e ke ke ke ke lt lt RUNG 5 STEP 0002 gt gt This rung sets up a send datagram COMMREQ to a GBC30 in rack 0 slot 3 This COMMREQ will broadcast a clear all faults message to all devices on the GENIUS bus Fone sa R7 14 send datagram command
6. The table on page 6 13 lists datagrams with their Subfunction Codes lists possible ways to send datagrams and explains what happens to datagrams received from other devices COMMREQ 14 Send Datagram and COMMREO 15 Request Datagram Reply are the only way to send messages to or from the GBC Also COMMREQ 13 Dequeue Datagram must be used to handle datagrams that are not handled automatically All datagrams can be sent using COMMREO 14 Send Datagram If COMMREO 14 is used to send a datagram that has a reply COMMREO 13 Dequeue Datagram must also be used to obtain the reply from the GBC s queue of unsolicited incoming datagrams TM Series 90 30 Genius Bus Controller User s Manual April 1996 GFK 1034B GFK 1034B Using COMMREGs to Send Datagrams 6 Datagram hex code Ways to Send It How Incoming Datagram is Handled Read ID 00 COMMREQ 15 Request Datagram Reply GBC replies automatically to Read ID datagram re ceived from bus device Read ID Reply 01 Sentautomatically Handled automatically if COMMREQ 15 was used to send Read ID datagram Read Configuration 02 COMMREQ 15 Request Datagram Reply GBC queues it up Use COMMREO 13 Dequeue Data gram to read it Read Configuration Reply 03 Sentautomatically Handled automatically if COMMREQ 15 was used to send Read Configuration datagram Write Configuration 04 COMMREO 14 Send Datagram A
7. Relatively high characteristic impedance 100 to 150 ohms is best 75 ohms is the minimum recommended Low capacitance between wires typically less than 20pF foot 60pF meter This may be accomplished by inner dielectrics of foamed type usually polypropylene or polyethylene having a low dielectric constant Alternatively the conductors may be spaced relatively far apart Lower impedance types have smaller cross sections and provide easier wiring for shorter total transmission distances Shield coverage of 95 or more Solid foil with an overlapped folded seam and drain wire is best Braided copper is less desirable spiral wound foil is least desirable An outer jacket that provides appropriate protection such as water oil or chemical resistance While PVC materials can be used in many installations Teflon polyethelene or polypropylene are usually more durable Electrical characteristics cable manufacturers information about pulse rise time and NRZ data rate is useful for comparing cable types The Genius bit consists of three AC pulses the equivalent NRZ bit rate is about three times as great For assistance in selecting a specific cable type please consult your local GE Fanuc application engineer Prefabricated Cables For applications using 150 ohm cables such as Belden 9182 prefabricated cables in 15 IC660BLC001 and 36 IC660BLC003 lengths are available These cables terminate in mating connectors that simpl
8. The GBC does not have a built in connector for a Genius Hand held Monitor However a Hand held Monitor connector can be added directly to the serial bus at any location The unit shown below catalog number 44A736310 001 R001 provides a Hand held Monitor connector and serial bus terminals in a single convenient package 5 in 1 673 in 46357 1 27 cm 4 249cm 00 00 Sf 0 0 000 gt g lt Hand held Monitor Connector Panel Mounting Ear 2 834 in A y 7 198 cm x N 0000 oy X1 X2 SA SB oe 2 D Q zi Serial Bus Terminals ATL X1 Seriali SEIN X2 Serial 2 SA Shield In shown at 100 of actual size SB Shield Out Mounting the HHM Connector This unit can be easily mounted on a rail such as a standard 35mm or 15mm DIN rail The panel mounting ears are not used if the unit is installed on a DIN rail 46358 35mm DIN rail ie sai a j L Removable DIN rail Mounting Feet side view shown at 50 of actual size Altematively it can be installed directly on a panel using screws through its mounting ears The DIN rail feet on the back of the unit are removed when the unit is panel mounted GFK 1034B Chapter 3 Installation 3 11 3 12 Making the Bus Connections The Hand held Monitor connector has two sets of terminals one for incoming cable and the other for outgoing cable Connect the Serial
9. 0 31 or 255 to broadcast the message vice to receive the mes sage Address 8 Function code For any datagram listed below 32 decimal 20 hex Address 9 Subfunction code hex See the list on page 6 12 Address 10 Priority Enter 0 for normalpriority or 1 for high priority Address 11 Datagram length in bytes Enter the actual length of the Datagram beginning at address 12 Address 12 to Address n Datagramcontent Enter the entire datagram as part of the Command Block The Genius I O System User s Manual shows datagramstructures If the Send Datagram command is used to broadcast a Write Device datagram and that datagram should be IGNORED by another Series 90 30 GBC set the first byte of the datagram as shown in the System User s Manual this byte is normally 0 to FE hex Datagram Priority AGBC can send one datagram per bus scan That datagram may be assigned either normal priority or high priority Therefore during one bus scan there may be one normal priority datagram followed by up to 31 high priority datagrams or up to 32 high priority datagrams sent by the devices on the bus In one bus scan one complete rotation of the bus token among all devices on the bus there can be only one normal priority datagram sent by any device If a normal priority datagram or similar system message such as a fault report has already been sent by any device including itself a device must
10. Command Block for the Dequeue Datagram Command Location Parameter Contents Address CommandLength 7 Address 1 No Wait 0 Address 2 Status Block memory type 70 1 72 Q 8 YR 10 XAI or 12 AQ Address 3 Status Block offset Beginning address for the COMMREO status Address 4 Idle timeout value 0 Address 5 Max communicationstime 0 Address 6 Commandnumber 13 Address 7 Maximum datamemory Enter bit or word value depends on the length memory type selected below This entry tells the CPU how much memory will be needed to store all the data If the length of data returned by the device exceeds this length the GBC writes as much data as possible to the PLC CPU and returns a data error to the COMMREO status location Address 8 Memory type Enter the number that represents the location where the GBC will place the data in the CPU 70 1 72 Q 8 YR 10 AI or 12 AQ Addresses Not used Notused 9 12 Number of Dequeue Datagram Commands Needed One Dequeue Datagram command is needed for each incoming datagram If multiple incoming Datagrams are expected during one CPU sweep it will be necessary to place multiple Dequeue Datagram commands in the program to assure their efficient transfer to the CPU The number of Dequeue Datagram commands needed depends on whether the Datagrams have been sent using Normal or High Priority and the relative lengths of the
11. Hand held Monitor 1 2 connector Hand held Programmer compatibility Headend fault 5 5 GFK 1034B GFK 1034B I Oblocks L 2 1 2 m E ma a on bus 2 13 I Obus a I Odata I OFault Table capacity Illegal memory type fault 6 8 Input default state Input Short fault 54 Inputs and outputs Installation Genius Bus Controller 34 35 Internal fault Intrnal Ckt fault Isolation L LEDs Channel OK Comm OK Module OK LL Analog faults 5 4 Location Genius Bus Controller Logicmaster 90 software configuration with 4 3 en icmaster 90 30 software compatibility Loss Power fault 5 4 Memory for I O blocks Memory types for global data 1 6 po in other hosts 2 Modulation technique Module Genius Bus Controller descrip tion 1 5 Module OK LED Series 9070 30 Genius Bus Controller User s Manual Index N No Load fault 5 4 No Wait mode O Open Wire fault 5 4 Operation Genius Bus Controller Output data operation p 4 Outputs Enable Disable COMMREO 14 Outputs enable disable at start override 6 14 Over Temp fault Overload fault P Passwords Levels suitable for COMM REQs Phone numbers 5 6 PLC Hotline 5 6 PLC sweep scan time contributions b 7 Point fault 5 4 Priority datagram Programming fora COMMREQ 6 2 R Racks installing GBC in 3 4 7 Read Configuration datagram Read Dat
12. Series 90 30 The GBC can be configured using a Series 90 30 Hand held Programmer IC693PRG300 Hand held any version Version 1 1 IC693PRG300D or later of the Hand held Programmer allows Programmer the use of M discrete internal references Genius I O Genius I O blocks can be present on the same bus as the GBC However because the Bus Blocks Controller is not compatible with older phase A blocks they should not be installed on the same bus GFK 1034B Chapter 1 Introduction 1 7 The Genius Bus Genius Bus Specifications Bus Type Daisy chained bus cable single twisted pair plus shield or Twinax Fiber optics cable and modems can also be used Bus Termination 75 100 120 or 150 ohm resistor at both ends of electrical bus cable BaudRate Configurable 153 6 Kbaud standard 153 6 Kbaud extended 76 8 Kbaud or 38 4 Kbaud MaximumBusLength 7500 feet at 38 4 Kbaud 4500 feet at 76 8 Kbaud 3500 feet at 153 6 Kbaud extended 2000 feet at 153 6 Kbaud standard Maximum length at each baud rate also depends on cable type The Genius I O System User s Manual provides a complete list of cable types showing corresponding bus lengths and baud rates Greater bus lengths are possible using sections of fiber optics cable with modems See Chapter 2 of the Genius I O System User s Manua GEK 90486 1 MaximumNumberof 32 devices at 153 6 Kbaud standard 153 6 Kbaud extended or 76 8 Devices Kbaud 16 devices at 38 4 Kbaud Includes GBC
13. 22 0 36 364m 516m 909m 1364m B 89855 M M64230 A 9814C 243in 75 ohms 2 20 0 54 150V 60C 800ft 1500ft 2500ft 3500ft B 9463 6 17mm 242m 455m 758m 1061m M M4154 A 5902C 244in 75 ohms 4 two pair 300V 80C 200ft 500ft 1200ft 2500ft B 9302 6 20mm 22 0 36 60m 152m 333m 758m M M17002 Notes A Alpha B Belden C Consolidated M Manhattan Limited to 16 taps at 38 4 Kbaud Notes The 89182 89207 4794 89696 and 89855 types are high temperature cables for use in severe environments and are qualified for use in air plenums The 9815 type is water resistant and can be used where direct burial is required Similar cables of equivalent terminating resistance such as 9207 89207 and 9815 can be mixed GFK 1034B Chapter 1 Introduction 1 9 Using Other Cable Types The cable types listed in the preceding table are recommended for use If the cable types listed above are not available the cable selected must meet the following guidelines 1 High quality construction Most important is uniformity of cross section along the length of the cable Poor quality cable may cause signal distortion and increase the possibility of damage during installation Precision twisted shielded wire of EIA RS 422 standard type having a uniform number of twists per unit of length In a catalog this type of cable may also be listed as twinaxial cable data cable or computer cable
14. 70 1 72 YQ 8 R 10 XAI or 12 AQ type Address 3 Status Block offset Beginning address for the COMMREO status Address 4 Idle timeoutvalue 0 Address 5 Max communications 0 time Address 6 Commandnumber 8 Address 7 DeviceNumber Enter 0 31 to enable or disable outputs to one block To enable or disable outputs to ALL devices on the bus enter the number 255 Address 8 Enable Disableom To disable outputs to the device s specified in address mand 7 enter 0 To enable outputs enter 1 Note that this COMMREO overrides the configuration parameter outputs enable disable at start For example if outputs were initially disabled to all blocks during configuration this COMMREO could be used to enable outputs to specific devices or to all devices TM Series 90 30 Genius Bus Controller User s Manual April 1996 GES ode COMMREQ 13 Dequeue Datagram Command GFK 1034B 6 The GBC handles most incoming datagrams automatically with no additional programming required Under certain circumstances however the Dequeue Datagram command must be used to transfer incoming datagrams to the CPU Program the Dequeue Datagram command for the following m Replies that are received after sending Reply type datagrams with the Send Datagram command If Send Datagram with Reply is used instead it automatically handles replies m Unsolicited datagrams that are not recognized by the GBC Function Code not 20
15. CPU sweep time and the scan time of the bus as explained below Chapter 6 Communication Requests 6 15 If the Bus Scan Time is Greater than the CPU Sweep Time If all Datagrams on the bus are sent with Normal Priority there is a limit of one incoming Datagram per CPU sweep Therefore only one Dequeue Datagram command per sweep will be needed to handle incoming Datagrams If all Datagrams on the bus are sent with High Priority the GBC can potentially receive one Datagram from each transmitting device during a scan The program should include the same number of Dequeue Datagram commands as incoming Datagrams See page 6 19 for a description of datagram priority If the Bus Scan Time is Less than the CPU Sweep Time If the bus scan time is significantly shorter than the CPU sweep time you can estimate the number of Dequeue Datagram commands that must be sent to the GBC to accommodate incoming Datagrams on that bus First determine how many scans can occur in one CPU sweep For example if the bus scan were 20mS and the CPU sweep were 90mS the ratio between them would be 4 5 to 1 This should be rounded upward to 5 This is the maximum number of Normal Priority Datagrams that might be received in a single CPU sweep Plan to have the same number of Dequeue Datagram commands to that GBC in the program to handle the incoming Datagrams For High Priority Datagrams multiply the number found above by the total number of devices on th
16. Failure to install the jumper will cause the entire bus to be disrupted whenever the faceplate is removed Terminating the Bus The bus must be terminated at both ends by its characteristic impedance The list of suitable cable types in the Genius I O System and Communications User s Manual includes the termination requirements for each cable type If the GBC is at the end of the bus install a resistor of the appropriate impedance across its Serial 1 and Serial 2 terminals as shown below If you need to install the terminating resistor across terminals different than those used for the signal wires attach jumper wires between the signal wire terminals and the resistor terminals to prevent the bus from becoming unterminated if the Terminal Assembly is removed Failure to do so will cause the entire bus to be disrupted whenever the faceplate is removed Signal Wires and Resistor Connected to Same Terminals preferred Serial 1 signal wire resistor Serial 2 signal wire Serial 1 and 2 terminals TM Series 90 30 Genius Bus Controller User s Manual April 1996 Signal Wires and Resistor Connected to Different Terminals jumpers Serial 1 signal wire resistor Serial 2 a signal wire Serial 1 and 2 terminals GFK 1034B Terminal Assembly Removal and Installation The Terminal Assembly of all Series 90 30 modules can be removed or installed from the module as described below Terminal Assembly
17. Len Length associated with Output Ref starting location You can change the length using the HHP keypad When the desired length is displayed press the ENTer key Lengths should be entered as the number of bits for I Q G and as the number of words for AI AQ and R R0 04 GBC 00I1 lt S 08 _ Output 1 Start Ref Starting location for output data You can change the address using the HHP keypad When the desired address is displayed press the ENTer amp key R0 04 GBC 00I1 lt S 08 0001 0008 TM Series 90 30 Genius Bus Controller User s Manual April 1996 GEE Output2 Ref Type See Outputl Ref Type Output2 Len Length associated with Output2 starting reference Output 2 Start Ref See Output1 Start Ref Note For a device to be configured correctly using the generic device type the number of input points channels and the number of output points configured must match exactly the amount of I O the device is transmitting or expecting to receive Otherwise the device will be considered mismatched and the device s status bit will be set to off 0 GFK 1034B Chapter 4 Configuration 4 15 Chapter 5 Status Bits GFK 1034B Diagnostics This chapter describes the following diagnostics capabilities in Series 90 30 PLC systems that use Genius I O and communications m Display of Genius faults in the programmer I O Fault table I O Table faults related to the GBC and Genius devices are liste
18. binary bit DESCRIPTION word MSB 0 000000000000 GBC has not yet processed COMMREQ 1 000000000001 Command not accepted GBC busy with previous request 4 000000000100 Commandcompletedsuccessfully 8 000000001000 Command terminated due to syntax error 16 000000010000 Commandterminated due to data error 32 000000100000 Command terminated due to suspended activity on bus 64 000001000000 No data to transfer 128 000010000000 Command not supported by target device 256 000100000000 Only No Wait commands may be sent to the target device 512 001000000000 MaximumComms Time must be greater than or equal to 5mS 1024 010000000000 Text buffer invalid in wait mode 2048 100000000000 Device did not accept the message or timed out The upper word of the status location provides additional status information VALUE decimal word DESCRIPTION 11 21 51 71 101 102 121 141 142 143 144 201 202 203 204 205 206 207 208 209 210 211 212 213 Non discrete block specified for Pulse Test Non I Odevicespecified for Read Configuration Invalid circuitnumber Non controller device specified for Assign Monitor Switch BSM device not BSM Switch BSM bus position greater than 1 P and L access not available Function code greater than 111 Sub function code greater than 255 Priority greater than 1 Datagram length greater than 134 Invalid Device Number greater than 31 but not 255 Incorrect length for t
19. change it When the correct baud rate appears press the ENTer key Press the gt key to display the next configurable feature of the module Chapter 4 Configuration 4 11 Series Six Reference If there is a Series Six or Series Five PLC on the bus that should listen to the global data sent by the GBC a beginning register address for the data must be supplied The range of registers available for global data use is 1 to 16 383 The Series Five or Series Six PLC will figure out the length automatically Default 0 R0 04 GBC 1 0 lt S S6 REF 0 If there is a Series Five or Series Six PLC on the bus that should receive global data from the GBC enter a register number here Then press the gt key to continue If a previously configured Series Five or Series Six PLC should no longer receive global data from the GBC enter 0 Press the gt key to continue Input Default The next selection determines how the GBC will respond if it loses communications with a device or devices Data will either HOLD its last state or be set to 0 OFF If the GBC stops receiving data from one or more devices on the bus it applies the data default to the corresponding data being passed back to the CPU Default OFF RO 04 GBC 1 0 lt S INPUT DEF OFF If data should hold its last state when communications are lost select HOLD If data should be set to 0 select OFE Press the key to make the selection then press the ENTe
20. data is 1 2ms 1 20 NJ incoming base time Because the GBC always supplies its status bits to the CPU the incoming data base time must be included in the sweep time calculation regardless of whether or not the GBC passes incoming global input data to the CPU A sweep time example illustrating this is on the next page Chapter 2 Operation and Timing 2 If the GBC passes incoming global input data from one or more bus devices to the CPU multiply the total of the number of global data bytes passed to the CPU by the corresponding per byte time in microseconds as listed in the table For the model 331 PLC CPU only incoming bit data has a slightly greater per byte rate than word data For destination tables G I and Q use the bit per byte time For R AI or AQ use the word per byte rate In the same example if the GBC passes 16 bytes of global input data each from 6 other devices to the model 331 CPU s R AI or AQ memory the base time plus the time required to transfer the data is 1 20 96 0 017 2 83ms incoming per byte rate for R Al or AQ base time for model 331 CPU incoming global data 16 bytes x 6 devices 96 3 If the GBC will also send global output data find the additional base time for outgoing global data Add bytes of output data for each output device To this base time add the number of bytes sent multiplied by a per byte time
21. global data but does not pass any incoming global data to the CPU the time required to transfer its status bits still impacts the CPU sweep The base time for incoming data described in step 1 must always be included in the sweep time calculation For example a GBC in an expansion rack passes no incoming global data to the CPU but sends 48 bytes each bus scan The sweep time impact is 1 2 1 3 48 0 021 3 51 ms incoming DA Seli l per byte rate for R Al or AQ base time for model 331 CPU outgoing outgoing global data base time 48 bytes GFK 1034B Chapter 2 Operation and Timing 2 9 Example with No Outgoing Global Output Data Genius Bus Controller Receives both Bit and Word Data If the GBC passes incoming global data to the CPU but does not send any the sweep time calculation includes only the incoming data base time and per byte time Again if the PLC CPU is a model 331 incoming data sent to G I or Q has a slightly greater per byte rate than data sent to R AI or AQ so the two data types are separated in the calculation In this example a GBC in a local rack of a model 331 passes 32 words and 256 bits of incoming global data to its CPU It does not send any global data The sweep time impact is 1 2 64 0 017 32 0 019 2 90 ms incoming per byte rate for G l or base time Q for model 331 CPU incoming wo
22. in microseconds as shown in the table Again for the model 331 use the bit per byte time for destination tables G I and Q or the word per byte rate for R AI or AQ If the same GBC sends 64 bytes of global data the CPU sweep time impact of sending the data is 1 30 64 0 021 2 64ms outgoing NE per byte rate for R AI or AQ base time for model 331 CPU outgoing global data 64 bytes If the GBC does not send global data or output data no base time or per byte time is included in the CPU sweep This is different from the incoming global data calculation where incoming base time is always included 4 The total sweep time impact for a GBC is the sum of its read and write times For the same example 2 83 2 64 5 47ms TM Series 90 30 Genius Bus Controller User s Manual April 1996 GFK 1034B Example with Genius Bus Controller in a Remote Rack If the same GBC was installed in a remote rack exchanging the same amounts of data with the CPU would take considerably longer The complete calculation is 2 0 96 0 070 2 5 64 0 069 8 72 6 92 15 64ms incoming DE outgoing global data base time A 64 bytes incoming global data outgoing 96 bytes base time per byte rate for R Al or AQ for model 331 CPU Example with No Incoming Global Data or Input Data If a GBC sends
23. may change before they are sent out on the Genius bus The Timing section in this chapter explains how to estimate bus scan time and CPU sweep time 2 6 GFK 1034B TM Series 90 30 Genius Bus Controller User s Manual April 1996 T CPU Sweep Time for the Genius Bus Controller GFK 1034B iming Global input and output data adds to both the CPU sweep time in the Series 90 30 and to the scan time of the Genius bus You can estimate the CPU sweep time and bus scan time added by data transmissions and the time it can take for a Series 90 30 PLC to send data and then receive a response based on that data The impact of global input and output data on CPU sweep time depends on the type of PLC the GBC rack location and the types and amounts of data transferred Refer to the following table Base Contribution Per Byte Contribution CPU Model Rack Location milliseconds microseconds byte 311 313 N A 0 887 13 331 main 0 967 21 expansion 1 164 29 remote 1 920 76 340 341 main 0 666 17 expansion 0 901 24 remote 1 626 72 1 Once configured the GBC always provides 32 status bits to the CPU adding to the CPU sweep time The time required for this is listed in the table above as the base time under Status Bits Incoming Global Input Data For example if a GBC is installed in a local or expansion rack of a model 331 PLC the base time for status bits and incoming global
24. page 8 6 14 O disable 6 14 Dequeue 7 0 see page 6 15 0 0 13 Add 7 to Add 12 Datagram see page 6 15 13 Send 6 to 70 0 see page 6 19 0 0 14 Add 7 to Add n Datagram words see page 6 19 14 Request 10 to 78 0 see page 6 22 0 0 15 Add 7 to Add n Datagram words see page 6 22 Reply 15 Chapter 6 Communication Requests 6 5 6 The COMMREQ Instruction After supplying the content of the communication in the Command Block the application program uses a COMMREO instruction to request communications with the GBC Application Program Sends COMMREQ Genius Bus to Device Controller COMMREQ Inputs and Outputs The COMMREQ instruction has four inputs and two outputs enable comm function OK logic Pointer to the Command Block IN FT function faulted logic Location of the GBC SYSID Must be 1 for the GBC TASK TM Series 90 30 Genius Bus Controller User s Manual April 1996 GEE GFK 1034B 6 COMMREQ Inputs enable Permissive logic that controls power flow to the COMMREQ function block IN The memory location of the Command Block which contains the specific command information The Command Block may be located in any word oriented area of memory P L R AI or AQ SYSID A hex value that gives the rack and slot location of the GBC Use this format RS 1 2 rack a rack 1 si slot slot 2 Examples Rack Slot Hex word value 0 4 0004h 7
25. page 6 19 for important information about datagram priority Command Block for the Request Datagram Reply Command Address Command Length 10 78 Enter the number of words from Address 6 to Address n Address 1 No Wait 0 Address 2 Status Block memory type 70 1 72 Q 8 R 10 AT or 12 AQ Address 3 Status Block offset Beginning address for the COMMREO status Address 4 Idle timeout value 0 Address 5 Max communicationstime 0 Address 6 Command number 15 Address 7 Device Number of the de 0 31 vice to receive the message Address 8 Function code For any datagram listed below 32 decimal 20 hex Address 9 Subfunction code hex of 00 Read ID the datagram to be sent 02 Read Configuration 08 Read Diagnostics OC Read BlockI O 1E Read Device 27 Read Data Address 10 Priority Enter 0 for normal priority or 1 for high priority Address 11 Datagram length inbytes Enter the actual length of the Datagram beginning at ad dress 16 Address 12 Subfunction code hex of 01 Read ID Reply the reply 03 Read Configuration Reply 09 Read Diagnostics Reply 0D Read BlockI O Reply 1F Read Device Reply 28 Read Data Reply Address 13 Memory type for the reply Enter a number 8 R 10 AI or 12 AQ Address 14 Memory offset Starting address within this memory type Address 15 Maximum data memory Enter a value in bits or words dependi
26. see below from the GBC Series 90 30 Memory WG Vl Q VAI AQ R In this example the PLC CPU copies global data from the GBC into the memory locations configured for the devices at bus addresses 18 and 22 Series 90 30 Memory GBC G l AAA SBA 20 SBA 18 SBA 22 X AQ R M TM Series 90 30 Genius Bus Controller User s Manual April 1996 Gi dese What Happens If Incoming Global or Input Data Stops As part of the GBC configuration a data default OFF or HOLD Last State must be selected If the GBC stops receiving data from any device s for which a global or input data length has been configured the GBC sets the corresponding memory locations to the selected default If the default is OFF the GBC supplies Os for the missing data If the default is HOLD the GBC continues to supply the last set of valid data it received from the device Status Bits The GBC maintains a status bit for every potential bus device Bit 0 of the 32 bits of status corresponds to SBAO Bit 31 corresponds to SBA31 These bits are set to a value of 1 for every correctly configured device that is present on the bus The bit corresponding to the module itself is always 1 if the module is working If the GBC does not receive or stops receiving communications from a device or if the device is not configured or incorrectly configured its bit is set to 0 In addition the GBC defaults the data as described above The configura
27. to Timing Considerations in the Genius I O System and Communications User s Manual GEK 90486 1 for instructions on how to estimate bus scan time You will need to add up the time needed to service all devices on the bus including the GBC at the bus baud rate All 32 possible bus addresses including unused bus addresses must be accounted for See the table below Contribution time in mS at each baud rate Device Type 153 6 Kb std 153 6 Kb ext 76 8Kb 38 4 Kb GBC 0 586 0 658 1 324 2 655 Unused Bus Address 0 026 0 052 0 104 0 208 Reducing Bus Scan Time Bus scan time can be shortened by reducing the number of devices on the bus reducing the amount of global data transmitted or both Device to Device Response Time If you want to find out approximately how long it will take for one module to send global data to another and to receive a response based upon that data add together the maximum times that may be required for each portion of the input to output cycle Refer to Timing Considerations in the Genius I O System and Communications User s Manual GEK 90486 1 for more information GFK 1034B Chapter 2 Operation and Timing 2 11 How Other Devices Handle Global Data Sent by the Genius Bus Controller Global data sent by a GBC can be received by any other Bus Controller Genius Communications Module GCM Personal Computer Interface Module PCIM or Q Bus Interface Module QBIM on the bus All devices
28. 1 Serial 2 and Shield In terminal of either connector to the previous device Connect the Serial 1 Serial 2 and Shield In terminal of the other connector to the next device The following illustration shows connections for incoming and outgoing serial bus cable As with other devices the HHM connector can be at either end of its bus If it is there will only be one bus cable attached Bus In Bus Out DIED ae X1 Seriali DAG G SA Shieldin xt xe sa SB SB Shield Out As with other devices if the Hand held Monitor Connector is at either end of its bus install an appropriate terminating resistor across the Serial 1 and Serial 2 terminals The Genius I O System and Communications User s Manual GEK 90486 1 lists appropriate terminating resistors for each recommended bus cable type TM Series 90 30 Genius Bus Controller User s Manual April 1996 GFK 1034B Installing the Hand held Monitor D Shell Connector on the Bus You have the option of installing the D shell connector that is supplied with the Hand held Monitor if you do not wish to use the connector described on page 3 11 You will need a mounting plate IC660MPH509 for this type of installation 1 Using the mounting plate as a template cut an opening in the panel for the mating connector Also drill two holes for the mounting hardware 2 Attach the mounting plate and mating connector to the panel using the mounting hard
29. 1 System Overview ri poi lella ni lo veli ila Puch 1 1 O Devices onthe Bus ni esate ein biased mate s ala 1 3 Memory Required for Genius Blocks 0 00 cece 1 3 Memory Required for a Remote Drop 6 60 cc cece eee eee 1 4 Field Control station 00 2 5 ili GA Geni gr Rena 1 4 Genius Bus Controller Description saranen ra renerne 1 5 status LEDS brorta nie ii a a ae Pa Riese ee Sige ion 1 5 Module Specifications eee eee eee 1 6 Compatibility ose i fori the Pia pio i praga 1 7 The Gen us Bus gt rerperr pra pner ria ra eR EDER es whee Gna te ee 1 8 Genius Bus Specifications 0 eee eee 1 8 Selecting a Cable Ty peste svariati dre a 1 8 Genius Bus Controller Operation L0 eee eee eee 1 11 The Genius Bus Scan i enrete ei eens 1 11 Input Data from Devices on the Bus cece eee eee 1 12 Output Data from the CPU 1 12 DIASNOSHES Li EC i ia 1 13 Datagrams ilaria eil ie A 1 14 Global Data e ili e Oa 1 15 Chapter 2 Operation and Timing Lee eee ee ire eno 2 1 How the Genius Bus Controller Handles Global and Input Data 2 1 Genius Bus Controller Receives Global or Input Data 2 2 Genius Bus Controller Sends Output Data 2 4 Genius Bus Controller Sends Global Data 25 Global Data Without an Application Program 2 5 Data Transmission on the Genius Bus
30. 2 0702h TASK The task is always 1 COMMREQOutputs The function s OK and FT outputs can provide power flow to optional logic which can verify successful completion of the COMMREO The OK and FT outputs may have these states ENable Error OK output FT output active no true false active yes false true not active no execution false false The OK and FT outputs are never both true at the same time OK indicates correct execution while FT indicates a fault condition The COMMREO passes power flow to OK unless m The specified module in rack slot is not present m The specified task is not valid for the device This is not checked if the specified device is a GBC m The data length is zero If any fault above occurs the function passes power flow to FT instead If there are errors in the portion of the Command Block used specifically by the GBC for example the Device Number entered is incorrect these errors are reflected in the value returned in the status location not in the FT output Chapter 6 Communication Requests 6 7 e COMMREQ Status Block When the GBC receives the communication from the CPU it returns its current status to the CPU at the two word memory location reserved for the Status Block Possible status values that can be returned are listed on the next page When a command is complete the GBC writes any resulting data into the area designated in the command and sets the st
31. 21 Inputi Ref 210033 Inputi Len 8 Device Type ial InputZ Ref NA Inputz Len N A Dutput1 Ref N A Dutputi Len N A OutputZ Ref N A Output Len N A lt lt More Devices Exist PgDn for Next Device PgUp for Previous Device gt gt 0 NLMIONSYSTEMI a ONFIG VALID _ dais iy TM Series 90 30 Genius Bus Controller User s Manual April 1996 GES ode GFK 1034B GENERIC Devices Note For a device to be configured correctly using the generic device type the number of input points channels and the number of output points configured must match exactly the amount of I O the device is transmitting or expecting to receive Otherwise the device will be considered mismatched and the device s status bit will be set to off 0 When using a GE Fanuc Genius I O block the Input 1 Ref and Output1 Ref must be set to the same starting address Failure to set these addresses correctly can lead to Bus Controller errors and incorrectl O mapping Note For Input and Output Ref the allowed memory types are I AI Q AQ G and R Input1 Ref A GENERIC device can be configured with two independent starting Input2 Ref locations for input data with associated lengths for each location The input data received from the device by the GBC is extracted and deposited into the PLC memory areas starting at these specified locations Default next available I reference Input1 Len Associated lengths for input starting l
32. 32 bit status area maintained by the GBC Each bit of this area represents the online offline status of a device on the bus Default I0001 Enter the beginning reference in I memory for the GBC module s 32 status bits It is not necessary to enter leading zeros After entering the number press the ENTer key The HHP displays the range of selected status bit addresses For example RO 04 GBC 1 0 lt S I032 10001 0032 Press the gt key to go to the next configuration screen GBCBus Address The following screen is used to configure the Bus Address SBA of the GBC If the Bus Address shown is not correct type in the new number from the keypad then press the ENTer key Press the gt key to continue Default 31 RO 04 GBC 1 0 lt S SBA 31 Baud Rate The following screen can be used to change the baud rate for the GBC All devices on a bus must use the same baud rate 153 6 Kbaud standard 153 6 Kbaud extended 76 8 Kbaud or 38 4 Kbaud Selection of a baud rate depends on the application as explained in the Genius I O System User s Manual Usually the bus length determines the baud rate The entry made here establishes the baud rate for the GBC only If the default baud rate 153 6 Kbaud extended will not be used the baud rate of other devices on the bus must also be changed Default 153K STD RO 04 GBC 1 0 lt S BAUD 153 6 EXT If the baud rate shown is not correct press the key to
33. 5 4 configuration Circuit number Bulletin board B 6 Clearing faults Bus Comm OK LED 1 5 cable characteristics cble iypes 18 Command block COMMREQ 6 3 how to disconnect Command numbers 6 4 installation 3 6 COMMREQ length L8 command block 6 3 NOISE I command numbers ror ay cman Dequeue Datagram 6 5 6 13 6 15 Maing Ge takei pes Outputs Enable Disable 6 5 6 13 Bus address Outputs Enabled Bus controller operation si Datagram Reply 6 5 Bus error rate Send mess Bus fault 5 5 atts x inputs 6 Bus Out Disable fault 5 5 rice 6 6 Bus scan outputs 6 7 description 2 6 quick reference reducing time of Status Block 6 8 6 11 inter 6 4 Bus scan time dai COMMREQs and Passwords allowable password levels 6 1 C Communication Request See COMMREQ Communications stopped Cable types ani characteristics Compatibility high temperature Computer receives global data from GBC prefabricated 1 10 recommended Config Mem fault Cal Mem fault 5 5 Confi onfiguration Catalog numbers devices 4 11 cables generic devices b7 IC660BLC001 1 10 I Oblocks 4 1 IC660BLC003 remote drops GFK 1034B Series 90 30 Genius Bus Controller User s Manual April 1996 Index 1 Index Index 2 using Hand held Programmer 4 9 using Logicmaster 90 software 4 3 4 15 Connector Hand held Monitor CPU sweep 2 2 6 16 CS Feedback Error fault 5 4 D Data block Data default Data q
34. FANUC GE Fanuc Automation Programmable Control Products Series 90 30 Genius Bus Controller User s Manual GFK1034B April 1996 GFL 002 Warnings Cautions and Notes as Used in this Publication Warning notices are used in this publication to emphasize that hazardous voltages currents temperatures or other conditions that could cause personal injury exist in this equipment or may be associated with its use In situations where inattention could cause either personal injury or damage to equipment a Warning notice is used Caution notices are used where equipment might be damaged if care is not taken Note Notes merely call attention to information that is especially significant to understanding and operating the equipment This document is based on information available at the time of its publication While efforts have been made to be accurate the information contained herein does not purport to cover all details or variations in hardware or software nor to provide for every possible contingency in connection with installation operation or maintenance Features may be described herein which are not present in all hardware and software systems GE Fanuc Automation assumes no obligation of notice to holders of this document with respect to changes subsequently made GE Fanuc Automation makes no representation or warranty expressed implied or statutory with respect to and assumes no responsibility for the accurac
35. Genius Bus Controller GBC and its operation The following topics are presented System overview I O Devices on the Bus Genius Bus Controller description Compatibility with specific equipment or software versions The Genius Bus Genius Bus Controller operation Datagrams Sending and receiving global data System Overview The Series 90 30 Genius Bus Controller catalog number IC693BEM331 is used to interface a Genius I O serial bus to a Series 90 30 PLC The GBC receives and transmits control data of up to 128 bytes for up to 31 devices on the Genius bus GFK 1034B a42453 CPU BUS NTROLLER oe HAND HELD MONITOR COMMUNICATIONS REMOTE DROP nv IMZZD gt OWHD O J YO BLOCKS 1 1 A Genius bus may serve m Genius blocks which provide interface to a broad range of discrete analog and special purpose field devices Genius blocks are self contained modules with advanced diagnostics capabilities and many software configurable features Remote Drops Series 90 70 I O racks that are interfaced to the bus via Remote I O Scanner Modules Each remote drop can include any mix of discrete and analog I O modules providing up to 128 bytes of input data and 128 bytes of output data m Field Control I O Station consisting a Bus Interface U
36. NA crete point LL Faultona AILOWALARM Input channel low alarm low level AIHIALARM Input channel high alarm analog chan nel AIUNDERRANGE Input channel under range AIOVERRANGE Input channel over range OPEN WIRE Open wire detected on input channel WIRINGERROR improperRTD connection or thermocouple reversejunction fault INTERNALFAULT Cold junction sensor fault on thermocouple block or inter nal error in RTDblock INPUTSHORT Input channel shorted REMOTE Fault ona n a Any fault detected by a Remote FAULT Remotel O I O Scanner and sent to the Scanner PLC TM Fi Series 90 30 Genius Bus Controller User s Manual April 1996 GEE Fault Table Definitions continued Diag Fault or Indicates Fault Indicates Fault Indicates Category Fatal Type Description Geniusbus BUSFAULT Geniusbus fault fault BusControllerdisabled DISABLE all outputs on the bus becausecommunications timed out between the PLC CPU and the Bus Controller EEPROM fault HEADEND Block Fault EEPROM CONFIG MEM Genius EEPROM or FAULT Watchdog etc NVRAM failure dog timeout CALMEM Geniuscalibration FAIL memory failure SHARERAM Genius Shared RAM FAIL fault INTRNAL Genius internal circuit CKT FLT fault WDTIMEOUT Watchdog Timeout dis creteI Omodulesonly POINT FAULT Point fault also indi cated for CIRCUIT FAULT category FUSE BLOWN Integral outputfuse blown also indicated for CIRCUIT FAULT catego ry Analog to dig
37. PLC GFK 0402 Hand Held Programmer Series 90 30 and 90 20 Programmable Controllers User s Manual Describes the Hand held Programmer displays and explains operator procedures for module configuration programming and data monitoring GFK 1034B 4 1 Device Types and Assigned Configuration Parameters Device Type Input1 Ref Length Input2 Ref Length Output1 Ref Length Output2 Ref Length GENERIC User Input up to 128 bytes User Input up to 128 bytes User Input up to 128 bytes User Input up to 128 bytes 8 I 8 I 0 0 0 16 I 16 I 0 32 I 32 I 0 8 Q 0 8 Q 16 Q 0 16 Q 32 Q 0 32 Q 8 IO 8 IO 8 IO 16 IQ 16 IQ 16 IQ 32 IQ 32 IQ 32 IQ 6 AI 6 AI 0 6 AQ 0 6 AQ 4A A T2 AQ 4 AI Cl Ol O O O O O O O o o 2 AQ HSC 15 AI 16 I 16 Q PWRTRACA 16 I 18 AI 16 Q PWRTRACB 16 I 30 AI 16 Q CI1Ol Ol OJO O O O JO Jo o o o o CONTROL this GBC 0 0 User Input User Input up to 128 bytes Note When configuring GENERIC devices with mixed data types discrete data must be assigned to Input1 and Output locations Analog data must be assigned to Input2 and Output2 locations Sending and Receiving Global Data 4 2 To transmit global data a device must be configured as CONTROL Only the SBA of t
38. PU sweep bus scan time CPU sweep time device to device response time Token passing U User Scaling Error fault 5 5 V Versions cPu 1 7 software W WD watchdog Timeout fault 5 5 Wiring Error fault 54 GFK 1034B
39. Removal 1 Open the hinged cover on the front of the module 2 There is a jacking lever above the wiring terminals on the left Push this lever upward to release the terminal block a43061 ao LEVER a 3 Grasp the narrower pull tab located at the right of the retaining tab Pull the tab toward you until the contacts have separated from the module housing and the hook has disengaged PULL a43715 GFK 1034B Chapter 3 Installation 3 9 Terminal Assembly Installation To replace the Terminal Assembly follow the steps below If wiring is already in place be sure that the Terminal Assembly is being connected to the proper type of module Check the label on the hinged door and the label on the module to be sure they match If a wired Terminal Assembly is installed on the wrong module type damage to the module may result 1 Ifthe pull tab at the top of the Terminal Assembly is extended push it back Close the Terminal Assembly door 2 Place the hook at the bottom of the Terminal Assembly into the corresponding slot at the bottom of the module 3 Pivot the Terminal Assembly upward and firmly press it into position 4 Open the door and check to be sure that the latch is securely holding the Terminal Assembly in place eee a43062 REFER TO TEXT FOR INSTALLATION PROCEDURE TM Series 90 30 Genius Bus Controller User s Manual April 1996 GEE Installing a Hand held Monitor Connector
40. Send a datagram containing a Reply Datagram Request to a device on the bus Transfer an unsolicited incoming datagram from the GBC to the CPU For additional information see the Genius I O System and Communications Manual GEK 90486 1 which describes Genius Datagrams in detail COMMREQs and Passwords Level 1 and 2 Logicmaster passwords which prevent write access cannot be used in applications that include COMMREQs COMMREOs require write access to return their completion status e Programming for a Communication Request In order to communicate with an intelligent module such as a GBC the application program should perform the following actions 1 Supply the content of the communication Block Moves or similar program instructions can be used to place the information into CPU memory This content is called the Command Block CPU Memory Application Program Command Block Edit content of communication 2 Clear status block The program should set the status block to all zeroes see page 6 9 Establishing this initial condition allows the program to differentiate between the result of an earlier command and the currently executing command CPU Memory Application Program Status Block Block PE aa status block to PE aa value 3 Use a COMMREO instruction to perform the intended function Application Program Sends BEE EE GG Gia Bus to Device Controller 4 Check the status of the requested task COMMREQs sh
41. a datagram Read Device datagram Read Diagnostics datagram Reference address Reference view Remote drop memory required for Remote drops configuration 4 1 Removing the module 3 5 Request Datagram Reply COMMREQ April 1996 Index 3 Index Index 4 S6 See Series 6 Series Six ssa EJET See also Bus address configuring devices for Scan time contributions 2 7 Selecting a cable type 1 8 Send Datagram COMMREQ 6 5 Serial Bus Address See SBA Series 90 30 PLC receives global data from GBC Series 90 30 PLC compatibility 1 7 Series Five PLC See also Series Six PLC reference address Series Six PLC compatibility 1 7 receives global data from GBC reference address Series Six Reference Share RAM fault 5 5 Short Circuit fault 5 4 Signal noiseratio I 8 Slot number Specifications Genius bus Genius Bus Controller Status of COMMREQ 6 8 6 11 starting reference 4 5 4 11 Status bits meaning 2 3 memory for transferring to CPU 2 7 Status block clearing COMMREQ Series 90 30 Genius Bus Controller User s Manual April 1996 Status LEDs 1 5 Subfunction code 6 12 6 22 Sweep time 2 6 minimizing Sweep PLC scan time contributions 2 7 Switch Fail fault System design 3 2 B 4 T Technical help 5 6 Terminal assembl installation removal 3 9 Terminating the bus Timing additional information bus scan and C
42. and typically a Hand held Monitor DataEncoding Each bit is encoded into three dipulses majority voted at the receiver to correct any single dipulse errors A dipulse is an AC code consist ing of a positive then negative excursion of voltage Dipulses are in dividually sampled to reject low and high frequency interference ModulationTechnique Frequency Shift Keying FSK 0 to 460 8 KHz max 153 6 Kilobaud Isolationfrom 2000 volts Hi Pot 1500 volts transient common mode rejection Backplane Signal noiseRatio 60 dB Selecting a Cable Type 1 8 The Genius bus is a shielded twisted pair wire that is daisy chained from block to block and terminated at both ends Proper cable selection is critical to successful operation of the system Each bus in the system can be of any cable type listed in the table below Do not mix cables of different impedances regardless of cable run length The maximum run for mixed cable type equals the shortest length recommended for any of the types used Other small size twisted pair shielded wire of unspecified impedance can be used for short runs of 50 feet or less using 75 ohm terminations The excellent noise reduction of these cable types and of the Genius communications system allow the communications bus to be mixed with other signalling systems and 120 volt AC con trol circuits without added shielding or conduits Conservative wiring practices and national and local codes require phys
43. ated with the old address is automatically copied to the new address value and cleared from the old address Default 31 All devices on a bus must use the same baud rate 153 6 Kbaud standard 153 6 Kbaud extended 76 8 Kbaud or 38 4 Kbaud Selection of a baud rate depends on the application as explained in the Genius I O System User s Manual Usually the bus length determines the baud rate The entry made here establishes the baud rate for the GBC only If the default baud rate 153 6 Kbaud extended will not be used the baud rate of other devices on the bus must also be changed Typically this is done using a Hand held Programmer Default 153K STD The S6 reference specifies the register location in a Series Six or a Series Five CPU that should be reserved for the global data that will be transmitted to it by the GBC A value of zero indicates that no register location should be reserved The allowed range for Module Series Six Reference is 0 to 16383 inclusive Default 0 This field contains the starting reference for the 32 bit status area maintained by the GBC Each bit of this area represents the online offline status of a device on the bus Default Next available I0001 address The input default state can be either set to HOLD or OFE Default OFF Device outputs can be initially ENABLED or DISABLED when the GBC is powered up Default ENABLED GFK 1034B Chapter 4 Configuration 4 5 Device specific Data A GBC module can supp
44. atus to Complete 4 Note Because COMMREQs require write access to return their status level 1 and 2 Logicmaster software passwords which prevent write access cannot be used with COMMREQs If an illegal memory type is specified a fault will be generated If one of the bit oriented memories I or Q is used as the status location its bits can be monitored These bits correspond to the binary values listed below For example if 1048 were selected as the beginning location reference I050 would be set to 1 each time the COMMREO completed successfully Clearing the Status Block COMMREQs to the GBC should be executed sequentially Before sending a COMMREQ to the GBC the application program should check the status of any previous COMMREQ to that GBC CPU Memory Application Program Status Block Check completion of communication When the previous COMMREO has completed the program should set the Status Block to a value not in the list on the next page Establishing this initial condition allows the program to differentiate between the result of an earlier command and the currently executing command TM Series 90 30 Genius Bus Controller User s Manual April 1996 GFK 1034B Contents of the Status Block The Status Block is two words of memory to which the GBC returns the status of the COMMREQ 6 The lower word is used for general information about the execution of the COMMREO VALUE decimal
45. ch should be ignored by another Series 90 30 GBC m Datagrams that must be guaranteed transmission during the next bus scan This should be done with restraint for the reasons explained on the following pages m Datagrams which do not cause another device to send back a reply such as Pulse Test or Write Configuration m Messages that the 90 70 GBC has COMMREQs for but the 90 30 GBC does not Datagrams which DO cause another device to send back a reply such as Read Diagnostics or Read Configuration are usually programmed using their assigned COMMREQ numbers or the Request Datagram Reply command COMMREQ 15 However if Send Datagram is used to send datagrams that cause replies the Dequeue Datagram command must be used to transfer the replies back to the CPU Before using Send Datagram refer to the table on page 6 12 for more information about COMMREQs and datagrams TM Series 90 30 Genius Bus Controller User s Manual April 1996 GEE 6 Command Block for the Send Datagram Command Address CommandLength 6 70 Enter the number of words from Ad dress 6 to Address n Address 1 No Wait 0 Address 2 Status Blockmemory type 70 lI 72 Q 8 YR 10 AI or 12 AQ Address 3 Status Block offset Beginning address for the COMMREO status Address 4 Idle timeout value 0 Address 5 Max communicationstime 0 Address 6 Commandnumber 14 Address 7 Device Number of the de
46. cking lever on the bottom of the module snaps into place engaging the baseplate notch a43055 TM Series 90 30 Genius Bus Controller User s Manual April 1996 GEE Module Removal The module can be removed without powering down the communications bus provided the incoming and outgoing Serial 1 wires have been connected to one terminal and the Serial 2 wires have been connected to one terminal or jumpered as described on the next page If this has been done do not disconnect the bus cable or any terminating resistor Before removing the GBC carefully remove the Terminal Assembly from the front of the GBC see page 3 9 Avoid contact with exposed cable wiring Place the Terminal Assembly with the bus wiring still attached in a protected location If exposed wiring comes in contact with conductive material data on the bus may be corrupted possibly causing the system to shut down If the rest of the bus is powered down the bus wiring can be removed from the module To remove the module 1 Locate the release lever on the bottom of the module Firmly press it up toward the module 2 While holding the module firmly at the top continue fully depressing the release lever and swing the module upward 3 Disengage the hook at the top of the module by raising the module up and moving it away from the baseplate a43056 e RELEASELEVER GFK 1034B Chapter 3 Installation 3 5 3 Bus Installation The Gen
47. cribed below Further details are given in the table on page 6 5 Length The first word of the Command Block indicates the data block length This is the amount of data from address 6 to the end of the Command Block Each type of COMMREQ command has a unique Data Block Wait No Wait This must be set to 0 for No Wait Flag GFK 1034B Chapter 6 Communication Requests 6 3 Status Point er Memory Type Status Point er Offset Idle Timeout Value Maximum Communica tion Time Data Block TM Series 90 30 Genius Bus Controller User s Manual April 1996 The Status Pointer Memory Type and Offset see below identify the location of the function s associated Status Block The Status Block is where the COMMREO will return its status If one of the bit oriented memories I or Q is used as the status location its bits can be monitored see page 6 9 Location Data address 1 Status Pointer Memory address 2 Status Pointer offset The high byte of address 2 of the pointer is not used it must be zero The low byte of address 2 specifies the type of memory where the Status Pointer will be located For This Memory Type Enter This Number I discrete input table 70 Q discrete output table 72 R register memory 8 AI analog input table 10 AQ analog output table 12 Address 3 of the Command Block contains the address within the memory type select
48. d Counter block The automatic reply to a Read Data datagram Sendstemporary data to a High speed Counter block Requests the I O map configuration of a Remote I O Scanner or Field Control Automatic response to a Read Map datagram SendsI Omap configuration to a Remote I O Scanner or Field Con trol TM Series 90 30 Genius Bus Controller User s Manual April 1996 GFK 1034B Global Data Global Data is data that is automatically and repeatedly broadcast by a bus controller The Series 90 30 GBC can send up to 128 bytes of Global Data and receive up to 128 bytes of Global Data each bus scan from each GCM or other GBC on its bus Sending Global Data Once set up by configuration see Chapter 4 Global Data is broadcast automatically Other devices that receive the Global Data place it in these memory locations Series 90 30 Sends Other CPU Places Global Data in this Memory Location Global Data To Series 90 30 PLC I Q G R HAI AQ and M HHP configuration only Memory type and beginning address are chosen during configuration of the receiving GBC Series 90 70 PLC I Q G R HAI WAQ Memory type and beginning address are chosen during configuration of the receiving GBC Series 90 30 GCM I Q G R HAI WAQ Memory type and beginning address are chosen during configuration of the receiving GCM Series90 30PLC G memory location corresponding to Device Number 16 23 of the GCM Seri
49. d Programmer Error Messages 4 9 Select the GBC ia era Beas 4 10 Configure GBC specific Parameters ee eee 4 11 Configure Device specific Parameters 2 2 0 cece eee eee 4 13 Chapter 5 Diagnostics irradia 5 1 Status Bif sgriuposstti atleta ia ei 5 1 Fault Tablet eta 2 rca e eE n a Ie e ln 5 2 Fault Table Definitions i nenn ei oy Giles i le it 5 4 Technical Felp esultare E A EE a N 5 6 Chapter 6 Communication Requests Lerro 6 1 COMMREQs and Passwords 0 00 ccc ccc cece teen ene eens 6 1 Programming for a Communication Request 6 2 COMMREQ Command Block Format L LL 6 3 Command Block Contents 6 3 Command Block Quick Reference cence 6 5 The COMMREO Instruction 6 6 COMMREQ Inputs and Outputs L 6 6 COMMREO Status Block 6 8 Programming Examples cece nee eens 6 10 Using COMMREQs to Send Datagrams 6 6 66 6 12 COMMREO Descriptions 0 nee eens 6 14 COMMREO 8 Enable Disable Outputs Command 6 14 COMMREQ 13 Dequeue Datagram Command 6 15 COMMREQ 14 Send Datagram Command 6 18 COMMREQ 15 Request Datagram Reply Command 6 22 vi Series 90 30 Genius Bus Controller User s Manual April 1996 GFK 1034B Chapter 1 Introduction This chapter provides an overview of the Series 90 30
50. d at the end of this chapter m Status bits that reflect the presence or absence of other devices on the bus and confirm the operating status of the GBC itself The GBC uses 32 reference address bits in I memory to supply status information for the PLC A default beginning reference the next available lI for the status bits is automatically supplied by Logicmaster 90 30 or by a Hand held Monitor but a different I reference can be selected Status bits are assigned in ascending order of the devices Bus Addresses SBAs beginning at the first I status reference Low reference Status Bits High reference DEscES Re DIE ORI First l status reference Last l status reference for example l0001 for example 10032 Monitoring GBC and Bus Device Status Once per bus scan the Series 90 30 PLC reads the status bits from the GBC An application program logic can monitor the selected I memory area regularly to check on the operating status of the GBC and the devices on its bus This is especially recommended it the data default parameter has been set to HOLD hold last state If the GBC status bit 1 the GBC is on the bus and configured If the GBC status bit 0 the GBC is either not present or not configured For devices m If the status bit 1 the device is configured and present on the bus m Ifthe status bit 0 at least one of the following conditions exists the device is not present on the bus the device is not con
51. d system message traffic on the bus If the Bus Scan Time is Less than the CPU Sweep Time If the bus scan time is significantly shorter than the CPU sweep time the bus may be able to transmit multiple datagrams during one execution of the application program Effect of Datagrams on the Genius I O Bus Timing Normal Priority Datagrams allow fault reports and Hand held Monitor communications on a bus to continue undisturbed Only one Normal Priority Datagram is allowed each bus scan so the scan time stays relatively constant and I O update timing varies only by small increments If High Priority Datagrams are being transmitted constantly the Hand held Monitor will not function properly fault reports from blocks will be prevented from being transmitted on the bus and regular COMMREO commands such as Write Configuration commands to that GBC will fail with a transmission error For these reasons use of High Priority Datagrams on a bus with I O blocks should be avoided if possible If High Priority Datagrams are transmitted infrequently they will cause some delay in the Hand held Monitor communications and other normal system messages but the delay should not be noticeable High Priority Datagrams will typically put more pressure on the GBC to transfer multiple Datagrams per CPU sweep However this can also occur with Normal Priority Datagrams if the bus scan time is much shorter than the CPU sweep time TM Series 90 30 Genius Bus C
52. e all global data from the GBC and place it in that register location See Series Six PLC Data from the GBC is placed into the PCIM or QBIM Input Table Segment corresponding to the bus address of the GBC The computer s application program is responsible for transferring global data between the CPU and the PCIM or QBIM I O blocks controlled by another host can be present on the bus but cannot receive global data GFK 1034B Chapter 3 Installation This chapter explains how to determine the maximum number of GBCs and Genius blocks that can be configured for your system install and remove a GBC module connect and terminate the communications bus remove and install the module s Terminal Assembly install an extra connector on the Genius bus for a Hand held Monitor Note If the Genius bus is operating at 76 8Kbaud the bus must be properly terminated before powering up the GBC module The module will not power up on an unterminated bus at 76 8Kbaud The GBC operates only on a correctly terminated Genius bus If you want to test it without any bus connections place a 75 ohm resistor across the Serial 1 and Serial 2 terminals to ensure that the module will power up GFK 1034B Choosinga Rack Location for the GBC The GBC module can be located in any I O slot in Series 90 30 CPU expansion and remote baseplates or I O racks including remote racks For the most efficient system operation the main baseplate is
53. e bus that might send a High Priority Datagram to the GBC in one bus scan This is the total number of incoming Datagrams from that bus the program might have to handle in a single CPU sweep Plan on this number of Dequeue Datagram commands to the GBC Additional Logic for Incoming Datagrams The GBC can place up to 16 datagrams into an internal queue These include any unsolicited reply type datagrams This permits the program to for example send a Read ID Send Datagram and dequeue the Read ID Reply with the Dequeue Datagram COMMREQ If the 16 item queue becomes filled an informational fault GBC_SOFTWR_EXCPTN is logged Fault Type is DQ_QUEUE_FULL in the I O Fault Table If the Dequeue Datagram is issued and there are no datagrams in the queue the Status Pointer is set to NO DATA TO TRANSFER Program logic should be used to assure that no datagrams are accidentally written over This might be done by copying each datagram to another memory location or by changing the data memory location specified in the Command Block after each incoming datagram is received Note that the Dequeue Datagram queue is operated as a first in first out FIFO queue Specific datagrams within the queue can not be dequeued without first dequeueing datagrams received earlier This feature is different from the Series 90 70 GBC operation TM Series 90 30 Genius Bus Controller User s Manual April 1996 GFK 1034B Format of Returned Data The Dequeue Data
54. e the reference type by pressing the I AI Q AQ R or G keys When the desired reference type is displayed press the ENTer key R0 04 GBC 00I1 lt S SI_ Input1 Len Length associated with Input1 Ref type above You can change the length using the HHP keypad When the desired length is displayed press the ENTer key Lengths should be entered as the number of bits for I Q G and as the number of words for AI AQ and R R0 04 GBC 00I1 lt S SI8 _ Input1 Start Ref Starting reference associated with Input1 Ref Type and Input1 Len above You can change the start reference using the HHP keypad When the desired address is displayed press the ENTer amp key R0 04 GBC 00I1 lt S I8 I001 008 Chapter 4 Configuration 4 13 Input2 Ref Type See Inputl Ref Type Input2 Len Length associated with Input2 Ref starting location below Input2 Start Ref Starting reference associated with Input2 Ref Type and Input2 Len above Output1 Ref Type A GENERIC device can be configured with two independent starting locations for output data with associated lengths for each location The output data transmitted to the device by the GBC is extracted from the PLC memory areas starting at these specified locations You can change the reference type by pressing the I AI Q AQ R or G keys on the HHP keypad When the desired reference is displayed press the ENTer amp key R0 04 GBC 00I1 lt S Q Output1
55. ed The offset of the status location is 0 based For example if the Status Block was located at R099 memory type would be specified as 08 for R memory and the offset would be 98 Note that if a bit oriented memory is specified a byte boundary must be used for the offset This field is not used for the No Wait mode of communication This field is not used for the No Wait mode of communication The Data Block contains the parameters of the command Complete descriptions of all commands appear later in this chapter see pages 6 14 through 6 22 The Data Block begins with a Command Number in Address 6 The Command Number identifies the type of communications function to be performed The following Command Numbers are used for the Genius GBC Command Function 8 Enable disableoutputscommand 13 Dequeue datagram 14 Send datagram 15 Request datagram reply GFK 1034B GFK 1034B Command Block Quick Reference The following table summarizes the content of the COMMREQ commands for a GBC Command Block Content Add Add Add Add Add Add Add Add Add 8 to COMMREO 1 2 3 4 5 6 7 Add Description n Length Wait Status Status Idle Max COM Additional Content No Pointer Pointer Timeout Comms MREQ Wait Memory Offset Value Time Type Outputs 3 0 see page 6 14 0 0 8 see 1 enable see Enable Disable page or
56. ed earlier these devices may include other GBCs or Remote I O Scanners in addition to or instead of the Genius blocks illustrated above During a bus scan the GBC automatically m receives all input data that has been sent by devices on the bus m broadcasts global data m updates outputs as permitted to the devices on the bus Transmission of outputs from the GBC can be disabled for one or more devices on the bus m receives any fault messages issued by devices on the bus and issues fault reports to the CPU that can be displayed using the Logicmaster software m sends a single command received from the CPU for example a Clear Circuit Fault datagram to the appropriate devices The amount of time it takes for the communications token to pass to all devices depends on the baud rate the number and types of devices on the bus and the use of global data and datagram communications GFK 1034B Chapter 1 Introduction 1 11 Input Data from Devices on the Bus The GBC receives input data or global data from each input block I O block remote drop or bus controller each time the block or Remote I O Scanner has the communications token Because this data is broadcast it may be received by any other bus interface module operating on the bus INPUTS a43559 FROM BLOCK 4 GBC o n o n 1 2 3 4 TOKEN The GBC store
57. entered by pressing the REF VU softkey shift F3 in the rack menu As shown in the example I reference view screen below every configured device that has I memory configured has an entry Here the first entry corresponds to the Status Area of the GBC module with SBA 31 The second entry corresponds to the configured device 8 I with SBA 21 The third entry corresponds to a GCM module in slot 4 of the rack with SBA 16 Press the appropriate function key to see the other reference views Q F4 AI F5 AQ F6 R F7 and G F8 00041 00072 gt SLNSONS YS TEN1 0 3 1 31 90033 00040 0 3 1 21 0 4 1 16 90 30 GBC GENCOM Rack U l i ve Brg vu A aT a fig vu o gt DISCRETE INPUT Cz II UIEU TOTAL I Q 72 HIGHEST REF CONFIGURED 72 REFERENCE PHYSICAL IO MODULE START END ADDRESS TYPE TYPE DESCRIPTION 00001 00032 0 3 1 90 30 GBC 9030 GENIUS BUS CONTROLLER 9030 GENIUS BUS CONTROLLER ENHANCED GENIUS COMM MODULE ADDR OVERLAPS N ONFIG VALID ENTRY SBTOTAL ENTRIES NEREELACE TM Series 90 30 Genius Bus Controller User s Manual April 1996 GEK 1034B 4 8 Configuration Using the Hand held Programmer With the GBC installed in its proper rack slot location a Hand held Programmer can be used to configure the module in the offline mode The Hand held Programmer must be attached to and interfacing with the PLC The PLC must be in Stop mode Hand held Programmer Err
58. er Sends Global Data If there is an application program running in the 90 30 it executes before the PLC CPU updates outputs During the output portion of the sweep if the GBC is configured to send global data to the Genius bus the PLC CPU also writes the contents of the selected memory locations to the GBC In the following example the CPU sends new global data to its GBC from the memory location configured for bus address 20 Series 90 30 Memory GBC SBA 20 SBA 18 SBA 22 The GBC module stores this data until it receives the bus token At that time it broadcasts the global data to all the other devices on the bus In the example system both bus addresses 18 and 22 receive the global data sent from bus address 20 Series 90 30 Memory GBC gt SBA 20 SBA 18 SBA 22 Global data from SBA 20 What Happens If the CPU Stops Supplying Global Data or Output Data When the CPU stops the GBC stops sending global data and output data Global Data Without an Application Program The Series 90 30 can transmit and receive global data with or without running an application program Configuring I O modules in the Series 90 30 to have the same reference addresses used for global or input data allows the I O modules to effectively exchange I O data with another device on the bus Thus where it is desired to set up the Series 90 30 PLC without a program data coming into the GBC will be mapped to Q and AQ where output mod
59. es 90 30 GBC that sent the data Series Six PLC Register memory Beginning S6 address selected during configuration of the Series 90 30 GBC that sent the data Series Five PLC Registermemory Beginning S6 address selected during configuration of the Series 90 30 GBC that sent the data Computer PCIM or QBIM Input Table Segment corresponding to Device Number of the Series 90 30 GBC that sent the data Receiving Global Data The GBC can be configured to receive or ignore Global Data from any other GBC The memory type and length for incoming Global Data are also selected during configuration as described in Chapter 4 The Series 90 30 CPU can place incoming Global Data in I Q G R AI AQ or M HHP configuration only memory Example In the following example a Series 90 30 PLC PLC 1 sends 64 bits of Global Data beginning at I0105 to another Series 90 30 PLC PLC 2 PLC 2 places this data into its own memory beginning at 10017 PLC 2 sends 8 words of AQ data beginning at AQ0001 to PLC 1 PLC 1 places this data into its own memory beginning at AI0032 Series 90 30 Series 90 30 PLC 1 PLC 2 10105 10169 gt 10017 10081 AI0032 AI0039 AQ00004 AQ00008 GFK 1034B Chapter 1 Introduction 1 15 Chapter Operation and Timing 2 This chapter explains m How the GBC sends and receives global and input data m What happens to global input and output data if certain communications stop
60. es 90 30 PLC Refer to GFK 0867B or later for product standards and general specifications TM La Series 90 30 Genius Bus Controller User s Manual April 1996 GEE Compatibility Specific equipment or software versions required for compatibility with the GBC module are listed below Series 90 30 The GBC can be used with the following CPU models and versions of Logicmaster 90 30 PLC software In each case later models or versions can be used CPU Models CPU Firmware Logicmaster 90 Software IC693CPU__ IC641SWP___ 311S release5 0 or later release 5 0 or later 331T 301R 313H 306K 323H 311A 340B 341K 351 AA release 6 0 or later release 6 0 or later 301S 306L 311A 351AB release 6 02 or later release 6 0 or later Series Six PLC To exchange global data with a Genius Bus Controller the Series Six Bus Controller must be catalog number IC660CBB902F 903F firmware version 1 5 or later Genius Hand A Genius Hand held Monitor can be used to display the GBC bus address its software held Monitor version and the Series Six register address configured for global data HHM version IC660HHM501K rev 4 7 or later is required There is no Hand held Monitor connector on the GBC module but a Hand held Monitor can communicate with the GBC while connected to any other device on the bus Optionally an additional HHM mating connector catalog number 44A736310 001 R001 can be installed on the bus near the GBC
61. figured the device is configured but I O lengths are mismatched Fault Table Remote Drop Faul Drop ID rack slot 5 2 Faults and alarms from I O devices Bus Controller faults and bus faults are automatically logged into the Series 90 30 PLC sI OFault Table Faults can be displayed in On Line or in Monitor mode GBC faults can not be cleared using the HHP Note that the 90 30 GBC does not provide addn of deviceorloss of device faults as the 90 70 PLC does This information is contained in the status bits which are also set to off 0 if there is a configuration or device mismatch See page 2 3 fora discussion of status bits PROGRM TABLES Eyy Wauee im SETUP FOLDER UTILTY patta ilo1crun Ppasswd Eplofit Plio f1t Bo cem blkmem M refsiz Fisweep clear gt I O FAULT TABLE TOP FAULT DISPLAYED 0001 TABLE LAST CLEARED 09 21 08 00 00 TOTAL FAULTS 0007 ENTRIES OVERFLOWED 0000 FAULT DESCRIPTION OPEN WIRE PLC DATE TIME 10 14 10 05 13 FAULT LOCATION CIRC REFERENCE FAULT NO ADDR CATEGORY MAINPLC PLC C LESSON REPLACE 6 AI010124 CIRCUIT FAULT ANALOG FAULT 10 12 08 12 20 RUN ENABLE 7MS_SCAN ONLINE L4 ACC WRITE CONFIG BCONFIG EQUAL PRG LESSON For a Genius bus fault the display shows the date and time the fault occurred and the following information Fault For a Genius bus fault the formatisrack slot bus busaddress Location For a Remote Drop fault the formatis Drop ID rac
62. gram returns data in the following format Location High Byte Low Byte Memory Address Data Length Status byte Memory address 1 Subfunction code Function code Memory address 2 Data byte 2 Data byte 1 gt gt gt gt gt gt gt gt gt Memory address 69 Data byte 134 Data byte 133 Returned Data items are explained below Status Byte Data Length Function Code Subfunction Code The status byte reports the Device Number of the device that sent the datagram It also indicates whether the message was broadcast or directed by the other device bit 7 6 9 4 3 2 I 0 DeviceNumber Sits 0 31ldecimal Unused Broadcast1 Directed0 The number 0 to 134 of data bytes after the subfunction code The function code of the received message 0 to 111 decimal or 0 to 6F hex The subfunction code of the received message 0 to 255 decimal or 0 to FF hex GFK 1034B Chapter 6 Communication Requests 6 17 e COMMREQ 14 Send Datagram Command Most datagrams are normally programmed using their assigned COMMREO command numbers However datagrams can also be sent using the Send Datagram command and the Request Datagram Reply command The Send Datagram command might be used to send m Datagrams for which no COMMREO command number is defined such as Begin Packet Sequence End Packet Sequence and Write Point m Read Device and Write Device datagrams that are broadcast but whi
63. gured it appears in the slot location For example R0 04 GBC 1 0 lt S I032 I0001 0032 The top line indicates the baseplate RO and slot 04 selected GBC stands for Genius Bus Controller The number 1 0 identifies the firmware revision The bottom line shows the addresses in I memory that are assigned to the status bits If you press the gt key the following screen appears RO 04 GBC 1 0 lt S SBA 31 Line 2 of the screen shows the module s Serial Bus Address SBA If the GBC was not previously configured but is present in the rack and slot it does not appear at first The HHP indicates that the slot is empty RO 04 EMPTY lt S To add the GBC to the configuration press the READ VRFY and ENTer amp keys The following screen the first in a series of parameter configuration screens ap pears RO 04 GBC 1 0 lt S I32 I TM Series 90 30 Genius Bus Controller User s Manual April 1996 GEK 1034B ConfigureGBC specific Parameters GFK 1034B Using the HHP configure the following pressing the gt key to go through the module parameters in sequence Pressing the key toggles through the values for the parameter being configured Or you can use the HHP keypad to enter a value Press the ENTer key to actually make each selection If you want to go back to an earlier parameter use the lt key GBC Status Reference This field contains the starting reference for the
64. he GBC module itself can be configured as CONTROL Set up the output lengths to transmit global data Up to 128 bytes can be configured for the total of Output1 and Output2 Lengths Discrete Q data will automatically be adjusted to multiples of 8 for byte alignment For a device to receive global data configure it as GENERIC and specify memory types and lengths for the incoming data Up to 128 bytes can be configured for the total of Input1 and Input2 Lengths Discrete I data will automatically be adjusted to multiples of 8 for byte alignment For a complete description of Global Data and how it works refer to Chapter 7 of Genius I O System and Communications User s Manual GEK 90486 1 TM Series 90 30 Genius Bus Controller User s Manual April 1996 GFK 1034B Configuration Using Logicmaster 90 Software With the GBC installed in its proper rack slot location the Logicmaster 90 30 configurator software program release 5 or later can be used to configure the module in the offline mode Once the complete set of configuration data has been entered it must then be downloaded to the PLC in the online mode to become effective in the GBC Module The GBC is configured by completing setup screens in the configurator software The setup screens that are used for this module are shown and described below In the I O configuration screen place the cursor at the slot representation corresponding to the GBC s installed locati
65. he command type Device Number not configured or not active Previous No Wait command in progress current No Wait command not accepted Invalid status pointer location specified Command number is out of range Subcommand code is out of range Only partial data transferred Device Number 255 not allowed for this command Command specified is not valid for GBC Command specified is only valid for controller devices Command specified is not supported by the device to which it was sent InvalidAlarmEnable Disablemask GFK 1034B Chapter 6 Communication Requests 6 9 6 Programming Examples Example 1 Using a COMMREQ to Clear a Circuit Fault The following example shows how a COMMREO can be used to clear a circuit fault on point 4 of a Genius I O block whose Device Number is 20 This rung sets up an Enable Outputs COMMREO to a GBC in rack 0 slot 3 lt lt RUNG 5 STEP 0002 gt gt 3M0001 _ _ BLKMV AHA A KKV ___ Mt RM INT I I I CONST IN1 0 R0001 CONST IN1 Q R0008 00003 l CONST IN2 00000 I CONST IN3 00008 I CONST IN4 00020 I CONST IN5 00000 I CONST IN6 00000 I CONST IN7 00008 I INT 00255 I CONST IN2 00000 I CONST IN3 00000 I CONST IN4 00000 CONST IN5 00000 CONST
66. hes or jumpers to set on the module Its configuration is completed using the Hand held Programmer or the Logicmaster 90 30 software Configuration steps are in Chapter 3 The LEDs on the front of the GBC indicate its operating status and should be on during normal operation Module OK Shows the status of the GBC This LED turns on after power up diagnostics are completed Comm OK Shows the status of the bus This LED is on steadily when the bus is operating properly It blinks for intermittent bus errors and is off for a failed bus It is also off when no configuration has been received from the PLC CPU Chapter 1 Introduction 1 5 Module Specifications Orderinginformation IC693BEM331 Moduletypet Series 90 30 PLC module providing Genius Global Data communications Geniusbackground communications and I O control with up to 31 other devices Quantity per PLC Up to 8 GBCs ina PLC system with release 5 0 or later firmware and Logicmaster 90 software Currentconsumption lt 300mA at 5VDC Global datalength perGBC Transmitted Up to 128 bytes Received Up to 128 bytes each from up to 31 other devices Output datalength perGBC Up to 128 bytes transmitted to each of up to 31 other de vices Input data length per GBC Up to 128 bytes received from each of up to 31 other de vices Series 90 30 PLC memory types for G I Q VAI WAQ R globaldata LEDs OK COMM OK Softwarediagnostics Status bits Fault Reporting to Seri
67. ical separation between control circuits and power distribution or motor power Refer to sections 430 and 725 of the National Electric Code TM Series 90 30 Genius Bus Controller User s Manual April 1996 GEE Cable Types Cable Outer Terminating Numberof Dielectric Ambient Maximum Length Cable Run amp Make Diameter Resistor Conductors Voltage Temp feet meters atbaud rate 10 to 20 AWG mm Rating Rating 1 2 Watt 153 68 153 66 76 8 38 40 A 9823 350in 150 ohms 2 22 0 36 30V 60C 2000ft 3500ft 4500ft 7500ft B 9182 8 89mm 606m 1061m 1364m 2283m C 4596 M M39240 B 89182 322in 150 ohms 2 22 0 36 150V 200C 2000f 3500ft 4500ft 7500ft 8 18mm 606m 1061m 1364m 2283m B 9841 270in 120 ohms 2 24 0 22 30V 80C 1000ft 1500ft 2500f 3500ft M M3993 6 86mm 303m 455m 758m 1061m A 9818C 330in 100 ohms 2 20 0 54 300V 80C 1500ft 2500ft 3500ft 6000ft B 9207 8 38mm 455m 758m 1061m 1818m M M4270 A 9109 282in 100 ohms 2 20 0 54 150V 200C 1500ft 2500ft 3500ft 6000ft B 89207 7 16mm 455m 758m 1061m 1818m C 4798 M M44270 A 9818D 330in 100 ohms 2 20 0 54 1500ft 2500ft 3500ft 6000ft B 9815 8 38mm 455m 758m 1061m 1818m A 9818 315in 100 ohms 4 two pair 150V 60C 1200ft 1700ft 3000ft 4500ft B 9855 8 00mm 22 0 36 364m 516m 909m 1364m M M4230 A 9110 274in 100 ohms 4 two pair 150V 200C 1200ft 1700ft 3000ft 4500ft B 89696 6 96mm
68. ify wiring between I O blocks TM Series 90 30 Genius Bus Controller User s Manual April 1996 GFK 1034B Genius Bus Controller Operation The GBC handles all data transfer between the PLC and the devices on its bus In order to do this the GBC must interface two completely separate and asynchronous activities A The Genius bus scan a cycle of communications among the devices on a bus including the GBC itself The cycle follows the order of bus addresses 0 31 B The CPU sweep the cycle of actions that includes communications between the CPU and the GBC The GBC manages data transfer between the bus and the CPU by maintaining an on board RAM and a serial backplane interface The GBC places inputs in the on board RAM when they are received from the Genius bus When the input sweep of the PLC CPU occurs inputs from the on board RAM are transferred via the serial backplane to the CPU When the output sweep of the PLC CPU occurs outputs are received from the CPU via the serial backplane and placed in the on board RAM When the GBC receives the token on the Genius bus outputs from the on board RAM are transmitted onto the Genius bus The Genius Bus Scan A bus scan consists of one complete rotation of a token among the devices on the bus a43528 GBC eee e0cercc000000000000000000000000 TOKEN PATH e DEVICE 31 000000000000000000000000000000000000 As mention
69. ital com munications fault or cal ibrationerror USER Scaling error cause out SCALING ofrange values ERROR Additional Fault Information If you need more information about a listing in the Fault Table move the cursor to that fault and press the CTRL and F keys A number string will appear above the command line The Series 90 30 PLC Installation and Operation Manual GFK 0356 explains how to interpret this additional fault information If you find it necessary to contact Field Service concerning a fault you should be prepared to tell them the information that is provided in the Fault Table and the hexadecimal information you see when you press the Ctrl F keys Field Service personnel will give you further instructions GFK 1034B Chapter 5 Diagnostics 5 5 Technical Help 5 6 PLCHotline Phone numbers 1 800 828 5747 0r804 978 5747 Internetaddress PLCHOTLINE CHO GE COM Faxnumber 804 978 5099 GE Fanuc Bulletin Board Files on this bulletin board are provided by GE Fanuc as is and no warrantiesapply The phone number is 804 978 5458 up to 19200 baud 8 bits no parity Fax Link 804 978 5824 TM Series 90 30 Genius Bus Controller User s Manual April 1996 GFK 1034B Chapter GFK 1034B 6 Communication Requests This chapter explains how to use Communication Requests COMMREQs to Enable disable all outputs from the GBC to devices on the bus Send a datagram to a device on the bus
70. ius bus is connected to the terminal assembly on the front of the GBC module For the GBC module these terminals have the following assignments GENIUS BUS CONTROL OK a47051 SISIS S O S S S S o TF SISISISISISISISISIS GENIUS BUS CONTROLLER INTERCONNECTED ONLY WHEN ATTACHED TO CIRCUIT EGARD SER S Cid i or SHD IN 2 PETE SHD Dare OUT LJ 44A729182 068R01 FOR USE WITH IC693BEM331 Connection can be made to any of the terminals in a group The cable is routed to and from the terminals via the bottom of the Terminal Assembly cavity TM Series 90 30 Genius Bus Controller User s Manual April 1996 GFK 1034B Using the cable type selected for the application connect the devices as shown in the following figure Each terminal accepts up to one AWG 14 2 10mm wire or two AWG 16 1 32mm wires using ring or lug type connectors The bus shield wires are not insulated do not permit them to touch other wires or terminals Spaghetti tubing should be used to cover these wires 4 Connect Serial 1 terminals of adjacent devices and the Serial 2 terminals of ad
71. jacent devices 5 Connect Shield In to the Shield Out terminal of the previous device For the first device on the bus Shield In is not connected 6 Connect Shield Out to the Shield In terminal of the next device For the last device on the bus Shield Out is not connected a43391 First Last Device Device SERIAL SERIAL SERIAL SERIAL R SERIAL SERIAL SERIAL SERIAL R SHIELD SHIELD SHIELD SHIELD N I I SHIELD SHIELD SHIELD SHIELD OUT OUT OUT OLT GFK 1034B Chapter 3 Installation 3 7 3 8 Serial Wire Connections The Serial 1 and Serial 2 terminals are interconnected on the circuit board not on the terminal strip Incoming and outgoing signal wire pairs can be connected to either one or two Serial 1 or Serial 2 terminals Signal Wires Connected to One Terminal serata 7 signal wires Serial 1 terminals Signal Wires Connected to Two Terminals jumper a Serial 1 ae signal wires Serial 1 terminals If you are connecting two signal wires to the same terminal use spade or lug type connectors or twist the exposed ends of the wires together before inserting them This will allow future removal of the Terminal Assembly without disrupting other devices on the bus see Module Removal in this chapter If you are connecting two signal wires to separate terminals install a jumper between the two terminals as shown on the right above
72. k slot Circ No The relative position of a point within its module Reference The I O reference address where the fault was detected It consists of Addr the memory type I Q IO AI AQ and a five digit offset Fault The general type of fault that has occurred For diagnostic faults the Category CPU sets fault references For fatal faults the CPU sets fault references and places itself in STOP mode Fault Type Further explains fault categories Circuit Fault Module Fault I OBus Fault Loss of Block and GBC Software Exception These categories are defined in the table on page 5 4 Fault Provides additional information if the highlighted fault is one of the Description Circuit Faults or a Module Fault TM Series 90 30 Genius Bus Controller User s Manual April 1996 GFK 1034B Number of Faults in the I O Fault Table TheI OFault Table can contain up to 32 faults Additional faults cause the table to overflow and faults are lost The system reference IO_FULL S00010 is set to indicate that the fault table is full As faults occur the first 16 are logged into the table and remain there until the table is cleared again none of these 16 faults will be dropped if the table overflows For faults 17 through 32 the Fault Table operates as a First In First Out stack When fault 33 occurs fault 17 is dropped from the table Clearing the Fault Table removes all the fault listings Fault 1 Fault 16 Fault 17 Faul
73. kI O Read BlockI OReply Report Fault Pulse Test Pulse Test Complete Clear Circuit Fault Clear All Circuit Faults Switch BSM Read Device Read Device Reply Write Device Read Data Read Data Reply Write Data Read Map Read Map Reply Write Map Description Requestsidentifyinginformation from a device on the bus The automatic response to a Read ID datagram Requests configuration data from a device on the bus The automatic response to a Read Configuration datagram Sends configuration data to a device on the bus Commands a device on the bus to direct an extra copy of each Fault Report to another device on the bus Requests diagnostics data from a device on the bus The automatic response to a Read Diagnostics datagram Sends up to 1 word of bit data to a Series Six or Series Five PLC or to a host computer Requests I O data from some types of Genius blocks The automatic response to a Read BlockI O datagram Anautomatic diagnostic message received from a device on the bus Commands a discrete block to pulse its outputs Automatic indication that outputs have been pulsed Clears one specific circuit fault Clears all circuit faults on bus devices Causes a Bus Switching Module to switch to alternate bus if opera tional Reads up to 128 bytes of CPU data via another GBC The response to a Read Device datagram Sends up to 128 bytes of data to a CPU via its GBC Requeststemporary data from a High spee
74. m Application programming needed for global data m The relationship between the bus scan and the CPU sweep m How other devices handle global data received from the GBC m How to estimate bus scan time m How to estimate data response time m How to avoid unnecessarily slowing down either the CPU sweep time or the scan time of the Genius bus How the Genius Bus Controller Handles Global and Input Data The GBC can send global data to all other global Genius devices on the bus It can also receive and pass to the CPU global data that has been sent by other devices on the bus Global data can be sent from and received into G Q AQ R I AI and M HHP configuration only memories in the Series 90 30 PLC Status data uses I memory GFK 1034B Genius Bus Controller Receives Global or Input Data The GBC passes global data and input data from all devices for which a length has been configured to the CPU In the following example two devices at serial bus addresses SBAs 18 and 22 send global data on the bus Each module broadcasts its global data while it has the bus token The global data is received by a GBC module 20 in the diagram in a Series 90 30 PLC system GBC SBA 20 SBA 18 SBA 22 Global data Global data from SBA 22 from SBA 22 The GBC module stores the global data it receives When the Series 90 30 CPU executes the input update portion of its sweep it reads global data input data and status bits
75. mor y Required for Genius Blocks Memory requirements for Genius I O blocks are shown below For I and Q memory the sizes shown are in bits For AI and AQ memory the sizes shown are in words Maximum Memory Requirements I bits Q bits AI words AQ words 8 8 Block Type 115 VACGroupedI Oblocks 115 VACIsolatedI Oblocks 16 Ckt AC Input Block 16CktDCSink sourceblocks 32CktDCSink sourceblocks Relay Output blocks 4Input 2OutputAnalog Blocks 2 Current sourceAnalogI OBlocks 2 Current source Analog Output Blocks 6 RTD Inputblocks Thermocoupleblocks High speedCounter PowerTRAC Module A PowerTRAC Module B 30 Many Genius I O blocks have a configurable number of inputs or outputs for example the 16 circuit DC Sink Source Block can be configured for either 16 outputs 16 inputs or 16 outputs with input feedback When configuring the GBC using either Logicmaster 90 or the HHP the number of inputs and outputs configured for the device must match what is configured in the block Chapter 1 Introduction 1 3 Memor y Required for a Remote Drop Together one 90 70 Remote I O Scanner IC697BEM733 and the modules it serves make up a remote drop on the Genius bus REMOTE DROP a44875 A Cc DI RACK 0 RACK 1 RACK 6 RACK 7 nu DMZZrown
76. n 4 This chapter describes configuration procedures for the GBC Topics include m Configuration overview m Configuration using the Logicmaster 90 software m Configuration using the Hand held Programmer Configuration Overview A GBC module can support up to 31 devices on its bus Each device has an SBA and a device type associated with it The GBC and the devices on its bus must be configured in two basic different procedures 1 The GBC must be configured as part of the Series 90 30 PLC system using the Logicmaster 90 30 software release 5 or later or a Hand held Programmer HHP This includes A parameters for the GBC module itself and B parameters specific to the devices on the GBC s bus 2 The devices on the bus must be configured separately This includes A I Oblocks withan HHM and or Write Configuration COMMREQs and B remote drops using Logicmaster 90 70 Eight point devices can not be configured in word memories For additional information on the configuration of devices and remote drops see Genius I O System and Communications User s Manual GEK 90486 1 Explains how Global Data works Details the data that can be transferred using Read Configuration and Write Configuration COMMREQs Genius Discrete and Analog Blocks User s Manual GEK 90486 2 includes instructions for configuring most I O blocks Logicmaster 90 70 Software User s Manual GFK 0579 covers configuration of the entire
77. ng on the memory length needed type selected This entry tells the CPU how much memory If the length of the memory will be needed to store all the reply data The length de is smaller than the amount pends on the message and device type of reply data received the for Read Configuration Reply see COMMREO 2 extra portion of the data for Read Diagnostics Reply see COMMREO 4 will be lost and a data error for Read Device Reply message length depends on 16 will be returned to the device type May be up to 64 words statuslocation for Read Data Reply message length is 5 words for Read ID Reply message length depends on device type See the Genius I O System User s Manual Address 16 to Datagram Content Enter the entire datagram as shown in the Genius I O Sys Address n tem User s Manual Format of Returned Data Returned data format is the same as for the Dequeue Datagram See page 6 17 TM Series 90 30 Genius Bus Controller User s Manual April 1996 GFK 1034B Index A a GBC IC693BEM331 1 1 1 6 AtoDC fault 5 Genius Bus Interface Unit SE IC760GBI001 AIHi LowAlarm fault Hand Held Programmer IC693PRG300 ATUnder Overrange fault 17 2 HHM IC660HHMS501 Analog faults inline HHM port 44A736310 001 RO001 AQUnder Overrange fault mounting plate IC660MPH509 3 13 Series Six Bus Controller B IC660CBB902F 903F 1 7 software Baud rate Circuit faults
78. nit BIU and up to eight additional Field Control modules The BIU provides intelligent processing I O scanning and feature configuration for the IO Station m Hand held Monitor which can be used as a portable device or permanently mounted A HHM provides a convenient operator interface for block setup data monitoring and diagnostics Multiple hosts for communications using datagrams and Global Data A bus may feature I O control enhanced by communications commands in the program Or a bus may be used entirely for I O control with many I O devices and no additional communications Or a bus may be dedicated to CPU communications with multiple CPUs and noI O devices More complex systems can also be developed with dual CPUs and one or more additional CPUs for data monitoring Number of Genius Bus Controllers Up to eight GBCs or Enhanced Genius Control Modules GCM can be installed in a Series 90 30 PLC system that has release 5 0 or later Logicmaster 90 software and release 5 0 or later CPU firmware The GBC can not be installed in a system with a GCM TM Series 90 30 Genius Bus Controller User s Manual April 1996 GES ode I O Devices on the Bus The I O devices on a bus may be Genius I O blocks or standard Series 90 70 I O modules in one or more remote drops The total number of I O circuits that can be served by one Genius bus depends on the types of I O devices that are used and the memory available in the CPU Me
79. nius Hand held Monitor User s Guide GFK 0121 SeriesSix Bus ControllerUser s Manual GFK 0171 SeriesFive Bus ControllerUser s Manual GFK 0248 Series 90 30 ProgrammableController Installation Manual GFK 0356 Series 90 70 Remote I O Scanner User s Manual GFK 0579 Series 90 70 Genius Bus ControllerUser s Manual GFK 0398 Logicmaster 90 Series 90 30 20 Micro Programming Software User s Manual GFK 0466 Series 90 30 20 Micro ProgrammableControllersReference Manual GFK 0467 Logicmaster 90 70 Software User s Manual GFK 0579 Hand Held Programmer Series 90 30 and 90 20 User s Manual GFK 0402 Field Control I O Module User s Manual GFK 0826 Genius Bus Interface Unit User s Manual GFK 0825 Series 90 30 70 PLC Products Genius I O Products Field Control Distributed I O amp Control Products GE Fanuc Product Approvals Standards General Specifications GFK 0867B or later We Welcome Your Comments and Suggestions At GE Fanuc Automation we strive to produce quality technical documentation After you have used this manual please take a few moments to complete and return the Reader s Comment Card located on the next page Libby Allen Senior Technical Writer Geniusis a registered trademark of GE Fanuc Automation North America Inc TM Series 90 30 Genius Bus Controller User s Manual April 1996 PRE Contents Chapter 1 Intoduetion ansia lata aaa ia aes 1
80. ocations above Default 0 Input2 Len Output1 Ref A device can be configured with two independent starting locations for Output2 Ref output data with associated lengths for each location The output data transmitted to the device by the GBC is extracted from the PLC memory areas starting at these specified locations Default next available I reference Outputl Len Associated lengths for input starting locations above Default 0 Output2 Len Data from Output1 Ref will be sent to a device first then data from Output2 Ref will be sent Example Outputl Ref Len Q1 16 Output2 Ref Len R1 1 If the configured device is a 32 point output block points 1 16 on the block are controlled by Q1 16 and points 17 32 are controlled by R1 Data received as inputs from a device are placed first into Input Ref1 then into Input Ref2 Example Input1 Ref Len I1 8 Input2 Ref Len 133 41 If the configured device is a 16 point input block points 1 8 on the block are put into I1 8 and points 9 16 on the block are put into I33 41 Chapter 4 Configuration 4 7 After configuring all desired devices press the Esc key to exit the detail configuration screens The following screen will appear REF UU DELETE UNDEL Fis e a Br a o RES copy ACCO AE 3 ONFIG VALID OFFLINE iSNLM9O SYSTEMO PRG SYSTEMO Aitina Entries in REF VU Reference View Option The reference view screen can be
81. og MEERN 9030 GENIUS 1 40 4G lengths are bits BUS CONTROLLER zI ZAQ ZR are words i ea an aaa BUS CONTROLLER MODULE DATA Module SBA 31 Baud Rate 153K EXT S6 Ref Q Status xIO001 Device SB 1 Inputi Ref 210033 Device Type GENERIC InputZ Ref AIOOO1 Outputi Ref Q0001 Output2 Ref AQOO1 INLM9OxSYSTEM3 P ie ee e DEVICE DATA Input Def DFF Out at strt ENABLED Input1 Len Inputz Len 0 Qutputi Len 0 Output Len 0 lt lt More Devices Exist PgDn for Next Device PgUp for Previous Device gt gt ONFIG VALID x Note that the configuration screen consists of two parts module specific data BUS CONTROLLER MODULE DATA and device specific data DEVICE DATA The default entries can be used as is or changed Until a valid configuration is stored to the PLC CPU the GBC will not operate on the bus and its Channel OK LED will not light TM Series 90 30 Genius Bus Controller User s Manual April 1996 GFK 1034B Module specific Data Module SBA serial bus address Baud Rate Series Six S6 Reference Status Input Def Out at strt Ordinarily the Device Number bus address assigned to a bus controller is 31 Any number from 0 to 31 can be used however each must be unique on that Genius bus no configured device already present at that address Whenever a Module SBA value is changed to a new value the DEVICE DATA for the GBC associ
82. on in the PLC rack e cory REF UU DELETE UNDEL_ SO TS SE TR OTS CTS A iptrer SO 30 Inactive key a 2 1 6 7 8 9 10 P R i G r 23 HIM E F I n N IGURAT I 0 N PUR3Z1 CPUS31 D NLMIONSYSTEM3 Pree SUSE ONFIG VALID ARRE J Select F2 genius The following screen will appear om l inc Bim E E E E kE pie SERIES 90 30 MODULE IN RACK J SLOT SOFTWARE CONFIGURATION SLOT Catalog a RE 3 NLMIONSYSTEMI Pe Sisto ONFIG VALID i EPLACE GFK 1034B Chapter 4 Configuration 4 3 Press F1 gbc and then the Enter key to select the GBC The following screen will appear Note that the defalt softkey F9 is inactive for the GBC module frac l oc Bir Bra gt SERIES 90 30 MODULE IN RACK 9 SLOT SOFTWARE CONFIGURATION SLOT Catalog 3 CATALOG DESCRIPTION TYPE 1 IC693BEM331 9030 GENIUS BUS CONTROLLER GBC lt lt CURSOR TO THE DESIRED CATALOG NUMBER AND PRESS THE ENTER KEY gt gt lt lt PRESS PGDN KEY FOR NEXT PAGE PGUP KEY FOR PREVIOUS PAGE gt gt ONFIG VALID l NLMIONSYSTEM3 To d EPLACE L Press the Enter key to select the GBC Complete the GBC configuration entries in the following screen gt SERIES 90 30 MODULE IN RACK 9 SLOT SOFTWARE CONFIGURATION pack AAS Bir E E E E kE A oE Oe Catal
83. ontroller User s Manual April 1996 GES ode 6 Maximum CPU Sweep Time Increase for Datagrams To estimate the impact of Datagrams on CPU sweep time add together the times required for all Datagrams that might be sent between the GBC and the CPU during one sweep if No Wait mode is selected Repeat this for each GBC in the PLC that sends or receives Datagrams Total Datagram Bytes Sent x 031mS may be none LARGEST incoming Normal Priority Datagram Received bytes x 031mS OR Total incoming High Priority Datagrams Bytes Received x 031mS z 1 200mS mS Additional Information about Timing If you need more information about timing for datagrams Global Data I O devices and remote drops refer to the Genius I O System User s Manual GEK 90486 1 GFK 1034B Chapter 6 Communication Requests 6 21 e COMMREQ 15 Request Datagram Reply Command The Request Datagram Reply command can be used to send any datagram that causes the target device to return a reply such as Read Configuration or Read Diagnostics With this command the GBC automatically transfers replies to the CPU no separate Dequeue Datagram command is needed to handle them 6 22 These datagrams are normally programmed using their assigned COMMREQ command numbers The primary reason for sending any of these datagrams using COMMREQ 15 would be to assign it high priority guaranteeing that it would be sent on the next bus scan Before doing this see
84. or Messages The Hand held Programmer will display a message if you make an error during configuration or if the GBC is not present or not communicating with the host PLC May indicate either of the following A The reference address assigned to that SBA exceeds the reference limit for the PLC model B The SBA message offset plus the length of the reference assigned to the SBA exceeds 128 bytes REF ADJ May indicate either of the following A References have been adjusted rounded down to a byte boundary B For discrete references the reference length for the SBA has been rounded up to a byte boundary IOM eRR The GBC module has stopped responding I O ERR You have assigned reference addresses that overlap references already assigned DAT ERR A parameter such as the Series Six reference address is out of bounds GCM ERR AGCM has already been configured A GBC can not be config ured in this system GFK 1034B Chapter 4 Configuration 4 9 Select the GBC From the Program Data screen select module configuration by pressing the 4 key then the ENTer key Press the Down Arrow key to reach the configuration screen for the rack and slot location of the GBC Use the HHP keypad to select the slot in which the GBC is installed For example if the GBC is to be configured in rack 0 slot 4 press the following keys in sequence 0 ENTer J 4 ENTer The following display will appear If the GBC is already confi
85. ort up to 31 devices on its bus Each device will have the following parameters associated with it Device SBA A Device SBA can be between 0 and 31 Select by tabbing through the parameter or by setting to the desired value Pressing the PgDn key increments this parameter pressing the PgUp key decrements this parameter If you enter a Device SBA that is the same as the Module SBA the input area parameters cannot be filled in and the Device Type will be fixed to CONTROL Default 0 Device Type Each device is associated with a device type The device type selection can be tabbed through The allowed device types and their associated input output lengths are shown in the table on page 4 2 Default GENERIC If you select a Device Type other than GENERIC the input and output starting references and lengths are automatically filled in Fields that contain N A represent 0 The length parameter can not be edited In the following example screen an 8I device type is configured at SBA 21 am inc Bim E E E E kE Rie gt SERIES 90 30 MODULE IN RACK J SLOT SOFTWARE CONFIGURATION SLOT Catalog IC693BEN331 9030 GENIUS BUS CONTROLLER 3 1 40 G lengths are bits AI AQ 2R are words BEN331 sette BUS CONTROLLER MODULE DATA GBC Module SBA 31 Baud Rate 153K EXT Input Def OFF 56 Ref E o Status 19001 Out at strt ENABLED eee DEVICE DATA Device SBA
86. ould be executed sequentially The application program should check that the status of the previous COMMREO to a GBC is complete before sending it another one Failure to do this may result in improper operation of the GBC CPU Memory Application Program Status Block Check completion of communication Series 90 30 Genius Bus Controller User s Manual April 1996 GES ode 6 COMMREQ Command Block Format The first step in programming communications requests is to set up the contents of the communication This can be done using Block Moves or similar program instructions as shown later in this chapter CPU Memory Application Program Command Block Edit content of communication Data is placed together in adjacent locations in CPU memory to form a Command Block Location Data address Data Block Length address 1 Wait NoWait Flag address 2 Status Pointer Memory Type address 3 Status Pointer Offset address 4 Idle Timeout Value address 5 Max Communication Time address 6 to Data Block address 70 The length of the Command Block depends on the type of COMMREQ being sent Although 70 words is the maximum for a COMMREO that transfers a 128 byte datagram most Command Blocks are much shorter The table on page 6 5 gives an overview of the contents of each type of COMMREO that may be sent to a Series 90 30 GBC Command Block Contents Command Block contents are des
87. preferred See the Timing section of Chapter 2 for details A maximum of eight GBC modules can be used in the same Series 90 30 PLC However depending on the number of I O devices configured on the GBCs and the number of other I O modules in your system your system may not be able to handle all eight GBCs Note Up to four references can be configured for each SBA on a GBC bus To estimate whether the system you want to design is possible follow steps 1 3 below 1 The I O configuration block uses a base of 90 bytes of user memory Each smart module uses 257 bytes of user memory for parameter data Finally everyI O segment uses an additional 40 bytes of user memory Example of segments A GBC with SBA 0I1 and SBA 2 Q2 configured has three I O segments the status in l and the two configured under the SBAs A discrete input module has one segment l 2 The total user memory required by a configuration is the sum of all these parts base configuration size 90 number of smart modules 257 number of segments 40 total user memory required for the configuration 3 The total user memory available for configuration varies with CPU model If the number derived from the formula above is greater than the number next to the CPU that you are using the system will not work due to memory limitations CPU Available Memory bytes 311 4 720 313 4 720 323 4 720 331 4 656 340 341 8 176 351 16 368
88. r key Outputs Powerup Enable Disable R0 04 GBC 1 0 lt S OUTPUTS ENABLE Device outputs can be initially ENABLED or DISABLED when the GBC is powered up To change the outputs powerup parameter to DISABLE press the key followed by the ENTer key Default ENABLE This completes the GBC module specific portion of GBC configuration The following screens are used to complete the device specific portion of GBC configuration Press the gt key to continue TM Series 90 30 Genius Bus Controller User s Manual April 1996 GEE Configure Device specific Parameters GFK 1034B A GBC module can support up to 31 devices on its bus One of the 32 bus addresses is used by the GBC module Enter the appropriate parameters for each serial bus address SBA that has a device assigned to it If there is no device configured at an SBA the second line will read UNASSIGNED Pressing the gt key will cause the next parameter for the SBA to be displayed If you want to go back to an earlier address use the key RO 04 GBC 00I1 lt S UNASSIGNED GENERIC Devices Alldevices entered using the HHP are of the Generic type Input1 Ref Type A GENERIC device can be configured with two independent starting locations for input data with associated lengths for each location The input data received from the device by the GBC is extracted and deposited into the PLC memory areas starting at these specified locations You can chang
89. rd data incoming discrete data 32 words 64 bytes 256 bits 32 bytes per byte rate for R Al or AQ for model 331 CPU Reducing the Sweep Time Impact To minimize the impact of global data transfer on the CPU sweep time you can m Install GBC modules in the main rack or an expansion rack not in a remote rack m Eliminate unwanted incoming global data If there is global data being transferred on the bus that the Series 90 30 does not need do not configure to receive it Timing is not affected by the number or type of memory assignments made for incoming global data TM Series 90 30 Genius Bus Controller User s Manual April 1996 GFK 1034B Bus Scan Time for Global Data The minimum amount of time required for the token to make a complete bus rotation is 3mS This minimum time limit is imposed by the GBC and other types of bus interface modules The maximum bus scan time is 400mS but this will not be reached under normal circumstances The presence of other PLCs a host computer I O blocks or datagrams on the bus adds to the bus scan time although the time required for each individual message transmission remains the same Using one of the slower baud rates also increases bus scan time The scan time increase from 153 6 Kbaud standard to 153 6 Kbaud extended is slight But scan time is about twice as long at 76 8 Kbaud and four times as long at 38 4 Kbaud Estimating Bus Scan Time Refer
90. receive the same global data message from the GBC How each type of device handles the message is summarized below See the table on page 1 15 for a list of memory locations for each module type Series 90 30 PLC GBC Module Series 90 30 PLC GCM Module Series 90 30 PLC GCM Module Series 90 30 PLC Series 90 70 PLC Series Six PLC Series Five PLC Computer I O Blocks TM Series 90 30 Genius Bus Controller User s Manual April 1996 A GBC in another Series 90 30 PLC places the data in the memory location specified when that GBC is configured A GCM on another Series 90 30 PLC places the data in the memory location specified when that GCM is configured If the GCM does not need all the data a message offset and length can be specified The Series 90 30 Genius Communications Module uses specific G memory locations for global data It places incoming global data in the G memory location corresponding to the Device Number 16 23 of the Series 90 30 GBC that sent the data The GCM will not receive global data sent from SBAs 0 15 or 24 31 The Series 90 30 PLC places incoming global data into the memory location selected during configuration of its GBC The Series 90 70 PLC places incoming global data into the memory location selected during configuration of its GBC If a Series Six Reference is specified during GBC configuration any Series Six and or Series Five PLC on the bus will automatically receiv
91. s all the input data it receives Once per CPU sweep the CPU reads all discrete and analog inputs from the GBC Analog data is not multiplexed Output Data from the CPU Asthe application program executes the CPU sends outputs and any commands to the GBC The GBC stores this data transmitting it on the bus each time it has the communications token Unlike inputs which are broadcast outputs are directed to the specific device that should receive them 43557 ia OUTPUTS READS STORED INPUTS lt gt eae gt STORES NEW OUTPUTS gt e GBC o 1 o n n 4 HAS e 3 TOKEN TOKEN j j TM Series 90 30 Genius Bus Controller User s Manual April 1996 GEE Diagnostics Genius blocks and other devices on the bus automatically report faults alarms and certain other predefined conditions to the PLC INPUTS AND FAULT MESSAGE a43556 FROM BLOCK 3 asce KI 4 TOKEN FAULT Only one diagnostic message can be sent during any bus scan If a fault message has already been sent by another device during that scan a device saves its own diagnostic message until the next available bus scan For example if the communications token is currently at device 3 and faults occur at devices 3 and 4 at the same time device 3 can send its diagnostic mes
92. sage if another message has not already been sent Device 4 must wait at least one more bus scan to send its diagnostic message The GBC stores any diagnostic messages it receives They are read automatically by the Series 90 30 CPU Faults can then be displayed in the fault table using the Logicmaster 90 30 software Faults on the Genius device can be cleared using the Genius HHM Faults in the PLC s I O fault table and on the Genius device can be cleared from Logicmaster 90 30 For more details about these diagnostics features see Chapter 5 Additional datagrams not listed in the table on page 1 14 are sent as system messages they do not involve any application programming The Genius I O System User s Manual explains datagrams in detail It also shows the formats of the data that is transferred by datagrams In an application program communication request COMMREO instructions are used to send datagrams and to read any unsolicited datagrams that have been received See Chapter 6 for instructions GFK 1034B Chapter 1 Introduction 1 13 Datagrams 1 14 The Series 90 30 GBC supports all Genius datagrams Refer to Chapter 3 of the Genius I O System and Communications User s Manual GEK 90486E 1 for further details on the use of datagrams Datagram Type Read ID Read ID Reply ReadConfiguration ReadConfigurationReply WriteConfiguration AssignMonitor ReadDiagnostics Read Diagnostics Reply Write Point ReadBloc
93. ssign Monitor 05 COMMREQ 14 Send Datagram Begin Packet Sequence 06 COMMREQ 14 Send Datagram GBC queues it up Use COMMREO 13 Dequeue Data gram to read it End Packet Sequence 07 COMMREQ 14 Send Datagram Read Diagnostics 08 COMMREQ 15 Request Datagram Reply GBCreplies automatically Read Diagnostics Reply Sentautomatically Handled automatically if COMMREQ 15 was used to 09 send Read Diagnostics datagram Write Point OB COMMREQ 14 Send Datagram GBC queues it up Use COMMREQ 13 Dequeue Data gram to read it Read BlockI O 0C COMMREO 15 Request Datagram Reply Read BlockI O Reply 0D Sentautomatically Handled automatically if COMMREO 15 was used to send Read Block I O datagram Report Fault OF Sentautomatically Received from bus devices GBC automatically places the fault in the Fault Table Pulse Test 10 COMMREQ 14 Send Datagram GBC queues it up Use COMMREO 13 Dequeue Data gram to read it Pulse Test Complete 11 Sentautomatically Handled automatically if COMMREQ 14 was used to send Pulse Test datagram Clear Circuit Faults 12 COMMREQ 14 Send Datagram Clear All Circuit Faults 13 COMMREQ 14 Send Datagram GBC queues it up Use COMMREO 13 Dequeue Data gram to read it Switch BSM 1C COMMREQ 14 Send Datagram Read Device 1E COMMREQ 15 Request Datagram Reply GBC au
94. tion supplied to the GBC must provide a location in I in which to place the 32 status bits The status bits are updated every PLC sweep Note The GBC can been configured to receive global data from a Series 90 30 or 90 70 PLC on the Genius bus If this external 90 30 or 90 70 is put in STOP mode global data is no longer sent The GBC configured to receive this global data will default the device s data to OFF or to HOLD LAST STATE as configured but will not set the device s status bit to 0 GFK 1034B Chapter 2 Operation and Timing 2 3 Genius Bus Controller Sends Output Data If there is an application program running in the 90 30 it executes before the PLC CPU updates outputs During the output portion of the sweep if the GBC is configured to send output data to devices on the Genius bus the PLC CPU also writes the contents of the selected memory locations to the GBC Example Series 90 30 Memory GBC si SBA 31 SBA 18 SBA 19 AQ R The CPU sends new output data to its GBC from the memory locations configured as outputs for devices 18 and 19 The GBC module stores the data until it receives the bus token At that time it directs the output data for device 18 to device 18 and then directs the output data for device 19 to device 19 Series 90 30 Memory GBC SA SBA 31 SBA 8 gt SBA 19 AQ R 2 4 GFK 1034B TM Series 90 30 Genius Bus Controller User s Manual April 1996 Genius Bus Controll
95. tomatically sends reply Read Device Reply 1F Sentautomatically Handled automatically if COMMREO 15 was used to send Read Device datagram Write Device 20 COMMREQ 14 Send Datagram GBC processesautomatically Read Data 27 COMMREQ 15 Request Datagram Reply GBC queues it up Use COMMREO 13 Dequeue Data gram to read it Read Data Reply 28 Sentautomatically Handled automatically if COMMREO 15 was used to send Read Data datagram Write Data 29 COMMREQ 14 Send Datagram GBC queues it up Use COMMREO 13 Dequeue Data gram to read it Read Map 2A COMMREQ 15 Request Datagram Reply Read Map Reply 2B Sentautomatically Handled automatically if COMMREO 15 was used to send Read Map datagram Write Map 2C COMMREQ 14 Send Datagram GBC queues it up Use COMMREQ 13 Dequeue Data gram to read it All datagrams can be sent using COMMREQ 14 Send Datagram If COMMREQ 14 is used to send a datagram that has a reply COMMREQ 13 Dequeue Datagram must also be used to obtain the reply from the GBC s queue of unsolicited incoming datagrams Chapter 6 Communication Requests 6 13 e COMMREQ Descriptions COMMREQ 8 Enable Disable Outputs Command The Enable Disable Outputs command can be sent to the GBC to disable sending outputs to any block Command Block for the Enable Disable Outputs Command Address CommandLength 3 Address 1 No Wait 0 Address 2 Status Block memory
96. troller Description Compatibility The Genius Bus Genius Bus Controller Operation Datagrams and Sending and Receiving Global Data Chapter 2 Operation and Timing explains the relationship between the operation of the bus controller and global data transmission on the Genius bus Also describes timing and how other devices on the bus handle global data Chapter 3 Installation explains how to install and remove a GBC module connect and terminate the communications bus remove and install the module s Terminal Assembly and install an extra connector on the Genius bus for a Hand held Monitor Chapter 4 Bus Controller Configuration explains how to complete the Logicmaster configuration steps for a Bus Controller and its bus Chapter 5 Diagnostics describes diagnostic capabilities in Series 90 30 PLC systems that use Genius I O and communications Topics include Displaying and Clearing Genius Faults From The ProgrammerI OFault Table Status Bits and Diagnostic Messages Chapter 6 Communication Requests describes the use of the COMMREO Commu nication Request program instruction for fault handling and communications functions TM tee ties Series 90 30 Genius Bus Controller User s Manual April 1996 dii Preface Related Publications For more information refer to these publications Genius I O System and Communications User s Manual GEK 90486 1 Genius I O Discrete and Analog Blocks User s Manual GEK 90486 2 Ge
97. ts overflow here a Fault 33 4 New faults are added here Clearing Faults Faults can be cleared from the fault table using Logicmaster 90 30 in the online mode using a Hand held Monitor on the Genius bus or by sending a Clear All Faults datagram see example on page 6 11 Clearing the fault table removes all fault entries Also clearing faults only removes them from the table it does not clear fault conditions in the system If the condition that caused a fault still exists and is detected the fault will be reported again Note If you have a GCM and a 90 30 GBC in the same CPU system and on the same Genius bus you must turn the report faults configuration parameter on the GCM to no If you enable report faults on the GCM in such a system a single fault that occurs on the Genius bus or inside the 90 30 system will be reported endlessly causing the fault table to be filled with multiple reports of the same fault GFK 1034B Chapter 5 Diagnostics 5 3 Fault Table Definitions Diag or Indicates Fault Indicates Fault Indicates Category Fatal Type Description CIRCUIT Shortcir DISCRETE Circuitfault m a a eres o o AI OVERRANGE Input channel over range OPEN WIRE Open wire detected on input channel AQUNDERRANGE Output channel under range AQ OVERRANGE Output channel over range CSFEEDBACKERR Feedbackerror from Current source Analogblock GENA Faultona GENACKTELT Faulton a GENA analog or dis FAULT GE
98. uantities 1 4 Datagrams 1 14 incoming 6 12 number per CPU sweep 6 20 6 21 priority 6 18 ET ways to send Default input state 5 Definitions faults 5 4 Dequeue Datagram COMMREO 6 5 Device number 4 5 Device outputs enabled disabled atstart up Device type 4 6 Diagnostics 1 13 5 1 5 7 Discrete faults 54 D shell connector installing 3 13 E E mail address Enable Disable Outputs COMMREQ 14 End of bus terminating 3 12 Error messages Hand held Programmer 4 Errors number on bus 4 4 F Fault table Faults categories 5 2 Series 90 30 Genius Bus Controller User s Manual April 1996 clearing 5 3 descriptions 5 2 as additional information about 5 5 identification 5 4 illegal memory type location number of types Field controlI O hd Field Control station Fuse Blown fault 5 4 G GBC See Genius Bus Controller GCM See Genius Communications Mod ule GE Fanuc bulletin board 5 6 GENA faults 5 4 Generic devices configuring 4 7 4 13 Genius blocks Genius Bus Controller description number in system 1 2 operation specifications Genius bus scan description 1 11 Genius Communications Module 2 13 receives global data from GBC ae Hand held Monitor compatibility 1 7 Genius I Oblocks compatibility 1 7 Global data memory ty pes 2 1 operation 2 5 sending and receiving 4 2 H
99. ules are also mapped and outgoing global data and output data will be mapped to I or AI where input modules are also mapped GFK 1034B Chapter 2 Operation and Timing 2 5 Data Transmission on the Genius Bus Communications on the Genius bus occur by a method called token passing The devices on the bus pass an implicit token which rotates among the devices in sequence from address 0 to address 31 Unused addresses are passed with very slight delays This sequence is called a bus scan After device 31 has had its turn the scan restarts at device 0 a43393 TOKEN PATH gt 0000 Each device on the bus can receive messages at all times not just when it has the token A GBC module receives all broadcast messages These are messages that are sent to all devices on the bus Global data and input data are types of broadcast messages When a device holds the token it can send messages To end its turn the transmitting device sends one specific broadcast message which acts as a sign off message and the token passes to the next device If CPU sweep time is slower than bus scan time it is possible that some incoming global data might change before it is picked up by the CPU It is important to be sure that the data will not be sent so briefly that it will be missed If program execution time is faster than bus scan time the CPU may process the same data repeatedly Also if output data changes too quickly some outputs
100. wait until its next turn on the bus before it can send a normal priority datagram GFK 1034B Chapter 6 Communication Requests 6 19 Datagrams and I O Blocks If the bus will also be used for I O block control normal priority datagrams are recommended to allow other messages such as fault reports which the system handles as normal priority datagrams to get through In addition normal priority datagrams ensure that bus scan time is only modestly delayed for communications Bus scan time affects the response time of any I O data on the bus If there are I O blocks on the bus use high priority only if the datagram transmission cannot be delayed Normal priority will work satisfactorily except when there are many devices attempting to send datagrams simultaneously Number of Datagrams per CPU Sweep The application program should include logic that verifies successful completion of earlier datagrams before requesting new ones Because a GBC can only send one datagram per bus scan the number of datagrams that can be executed during the same CPU sweep of program logic depends on the relative lengths of the CPU sweep and the bus scan If the Bus Scan Time is Greater than the CPU Sweep Time If the bus scan time is greater than the CPU sweep time the GBC will be able to send no more than one datagram during one execution of the application program Successful transmission of a normal priority datagram will depend on the absence of datagram an
101. ware supplied 3 Secure the two ends of the serial bus cable to the back of the panel using strain relief brackets 4 Strip the ends of the wires Twist the two Serial 1 wires together and attach them to pin 5 of the connector Twist the Serial 2 wires together and attach them to pin 9 Similarly attach the Shield wire s to pin 4 The following illustration shows connections for incoming and outgoing serial bus cable As with other devices the HHM connector may be at either end of its bus If it is there will only be one bus cable attached Bus Strain Bus Cable Reliefs Cable Mounting a42240c Hardware n Hand held Mating Mounting Monitor Connector Plate Connector Aolola i IC 5Y h el o G lt 0 a tia Mounting Surface rear view When making bus connections the maximum exposed length of bare wires should be two inches For added protection each shield drain wire should be insulated with spaghetti tubing to prevent the Shield In and Shield Out wires from touching each other If the Hand held Monitor connector is at either end of its bus it is necessary to install an appropriate terminating resistor across the Serial 1 and Serial 2 wires The Genius I O System and Communications User s Manual lists appropriate terminating resistors for each recommended bus cable type GFK 1034B Chapter 3 Installation 3 13 Chapter Configuratio
102. y completeness sufficiency or usefulness of the information contained herein No warranties of merchantability or fitness for purpose shall apply The following are trademarks of GE Fanuc Automation North America Inc Alarm Master GEnet PowerMotion Series One CIMPLICITY Genius ProLoop Series Six CIMPLICITY PowerTRAC Genius PowerTRAC PROMACRO Series Three CIMPLICITY 90 ADS Helpmate Series Five VuMaster CIMSTAR Logicmaster Series 90 Workmaster Field Control Modelmaster Copyright 1996 GE Fanuc Automation North America Inc All Rights Reserved Preface This manual describes the features and operation of the Series 90 30 Genius Bus Con troller GBC It also provides the configuration and programming information needed to complete the interface between a Series 90 30 PLC and a Genius I O bus Revisions to this Manual Changes made to this manual as compared to the previous version GFK 1034A consist of the following e Updated compatibility information which includes new releases of Series 90 30 hardware and Logicmaster 90 30 20 Micro software see page 1 7 A reference to the run disable mode which does not apply to the GBC was deleted from page 6 14 e Other corrections and clarifications have been made as necessary Content of this Manual Chapter 1 Introduction describes the Series 90 30 Genius Bus Controller and explains how it operates Topics include System Overview I O Devices on the Bus Genius Bus Con

Download Pdf Manuals

image

Related Search

Related Contents

Aggiornato - WordPress.com  PDFダウンロード  Kerio Tech Firewall6 User's Manual  売みください 三さい  USER MANUAL - Comparison.com.au  Sea Gull Lighting 65115-962 Installation Guide  EpsonStylus Pro 9890 SpectroProofer UV  DSL-322T User Manual - D-Link  Clarity C4230 telephone  Descargar PDF  

Copyright © All rights reserved.
DMCA: DMCA_mwitty#outlook.com.