• No results found

Before proceeding, verify that the OK LED on the PCM is on. If the LED is off, refer to the information in section 1 of this chapter.

This procedure is used to determine if there is a hardware problem with the programmer serial ports.

1. Verify that both the PCM and the programmer are using the same baud rate, parity, number of data bits, number of stop bits, and the same type of handshaking ( HARDWARE, SOFTWARE, or NONE ).

Note

If you configured the PCM using Logicmaster 90 software, review section 2 of this chapter. If you used the Series 90-30 Hand-Held Programmer, review section 3 of this chapter. When verifying the programmer serial port configuration, review section 5 of this chapter.

2. Verify that the cable connections, described in appendix A, PCM Cabling Information, are correct and that the cable is firmly secured at both ends.

3. Press the PCM Restart/Reset pushbutton for 10 seconds. The middle light on the PCM should blink. If it does not, remove the connector from the PCM, jumper pins 4 and 5 on the PCM with a paper clip, and press the Reset/Restart pushbutton again for 10 seconds. If the LED still does not blink at least once, there is a problem with the PCM. Otherwise, the cable, programmer configuration, or programmer hardware is the problem; continue with step 4.

4. Reconnect the cable to the PCM. If the programmer has more than one serial port, be sure the cable is connected to COM1. Set the programmer serial port to the PCM default settings. To do this when using a computer as the programmer, type TERMF DEFAULT.DAT at the MS-DOS prompt and press the Enter key.

5. Press and hold the Restart/Reset pushbutton for 10 seconds to initialize the PCM to its factory default settings.

6. Press the programmer Enter key while watching the USER1 LED for serial port 1 or USER2 LED for serial port 2. Each time the key is pressed the LED should blink. If the PCM has been configured by Logicmaster 90 in BASIC or BAS/CCM mode, the

“Ready” prompt should also be repeated on the programmer screen; other wise the

“> ” prompt should appear. If the LED does not blink or the “Ready” or “> ” prompt is not displayed, either the connection from the programmer to the PCM is bad or the programmer hardware is defective.

7. Cycle power on the programmer to make sure its serial port hardware is fully reset.

Problems with the programmer are very rare. When they do occur, they can often be fixed with a power cycle. If your programmer is a computer, type TERMF DEFAULT.DAT again. If the LED still does not blink when a key is pressed, it is likely that there is a problem with the cable. See appendix A, PCM Cabling

Information, for information on PCM cables. Occasionally, problems occur with the PCM or PC serial port hardware.

8. Press CTRL-BREAK or ALT-Z to exit TERMF.

3

figure bi level 1 table_big level 1

This chapter contains information relevant to the operation of the CCM communication protocol on the Series 90 PCM. The PCM must be configured for CCM operation, using Logicmaster 90 configuration software or PCOP, before attempting CCM

communication. Refer to chapter 2, section 2 of this manual for a guide to configuring the PCM.

This chapter contains the following sections:

Section Title Description Page

1 Series 90 CCM Target

Memory Types Section 1 defines the memory types for the Series 90 PLC. Memory allocation for the CCM scratch pad and diagnostic status words is also described in this section.

3-2

2 Series 90 CCM Memory Addressing Conventions

Section 2 explains the addressing conventions and

data lengths for each memory type. 3-7 3 Communications

Request (COMMREQ)

Section 3 describes the Communications Request

(COMMREQ) function. 3-12

4 CCM COMMREQ

Data Block Section 4 describes the CCM COMMREQ data block and includes a summary of the data blocks for the Series 90 command set.

3-19

5 CCM COMMREQ

Status Word Section 5 describes the status word returned by a CCM COMMREQ. Also included is a table of return status error codes.

3-23

6 CCM COMMREQ

Example Section 6 provides a complete Series 90 PLC ladder logic program containing CCM COMMREQ function blocks for the PCM. The sample program is suitable for both Series 90-30 and Series 90-70 PLCs.

3-25

7 PLC System Communications Window

Section 7 describes the effect this configurable portion of the Series 90-70 PLC CPU execution sweep can have on CCM communication. Also included is how to adjust the window time from the PLC program.

3-28

Comparisons of the CCM implementations in Series 90

t

, Series Six

t

, Series Five

t

,

and Series One

t

PLCs are included in sections 1 and 2 of this chapter to assist those who are already experienced in the operation of CCM on other GE programmable logic controllers. If you need information on Series 90 CCM only, skip to section 3 of this chapter.

Section 1: Series 90 CCM Target Memory Types

Series 90 CCM supports a subset of the memory types available in Series Six CCM.

Tables 3-1 and 3-2 below list the Series 90 CCM memory types. The types for the CCM single bit write function (listed in table 3-2) are functional memory types. They map to the same input and output tables as memory types 1 and 2, but are assigned unique memory type numbers because they are used to perform bit set and bit clear special operations on the input and output tables.

Table 3-1. Memory Types Supported by Series 90 CCM

CCM Memory Type CCM Target Table 1 Register Table (%R)

2 Input Table (%I)

3 Output Table (%Q)

6 CCM Scratch Pad

9 Diagnostic Status Words

Table 3-2. Memory Types for the CCM Single Bit Write Function (6110)

CCM Memory Type CCM Target Table Bit Operation

13 Input Table (%I) Bit Set

14 Output Table (%Q) Bit Set

17 Input Table (%I) Bit Clear

18 Output Table (%Q) Bit Clear

Those Series Six memory types that are not supported are listed in the following table.

Table 3-3. Series Six Memory Types NOT Supported by Series 90 CCM

CCM Memory Type CCM Target Table Bit Operation

0 Absolute

4 Input Override Table

5 Output Override Table

7 User Logic

8 Quick Access Buffer

10 Timers

11 Counters

15 Input Override Table Bit Set

16 Output Override Table Bit Set

19 Input Override Table Bit Clear

The next two tables compare the Series One and Series Five CCM memory types with those supported by the Series 90 CCM.

Table 3-4. Series One Memory Types vs. Series 90 CCM Memory Types

Series One CCM Series 90 CCM

Memory Type Target Table Memory Type Target Table 1 Timer/Counter/Data Register 1 Register Table

3 Discrete I/O 1 2, 3 Input Table, Output Table

6 Scratch Pad 2 6 CCM Scratch Pad

7 User Logic Not Supported 9 Diagnostic Status Words 3 9 Diagnostic Status Words

1 The addressing scheme for the Series One PLC differs from that of the Series 90 PLC when accessing I/O points. Refer to the next section for more information.

2 Scratch pad definitions are not the same in the Series One PLC and the Series 90 PLC.

See table 3-6 for the Series 90 scratch pad layout.

3 Diagnostic status words and error code definitions are different in the Series One PLC and the Series 90 PLC. See table 3-7 for the Series 90 diagnostic status words, and refer to table 3-12 for the Series 90 CCM error code definitions.

Table 3-5. Series Five Memory Types vs. Series 90 CCM Memory Types

Series Five CCM Series 90 CCM

Memory Type Target Table Memory Type Target Table

1 Registers 1 Register Table

2 Inputs 1.3 2 Input Table

3 Outputs 2,3 3 Output Table

6 Scratch Pad 4 6 CCM Scratch Pad

7 User Logic Not Supported 9 Diagnostic Status Words 5 9 Diagnostic Status Words

1 The Series Five local and special inputs do not exist in the Series 90 input table. All inputs are equivalent, and it is up to you to determine their functionality.

2 The Series Five local and internal outputs do not exist in the Series 90 output table. All outputs are equivalent, and it is up to you to determine their functionality. For example, an output to be used as an internal coil must not be tied to a real output.

3 The addressing scheme for the Series Five PLC differs from that of the Series 90 PLC when accessing I/O points. Refer to the next section for more information.

4 Scratch pad definitions are not the same in the Series Five PLC and Series 90 PLC. See table 3-6 for the Series 90 scratch pad layout.

5 Diagnostic status words and error code definitions are different in the Series Five PLC and the Series 90 PLC. See table 3-7 for the Series 90 diagnostic status words, and refer to table 3-12 for the Series 90 CCM error code definitions.