GE CCM Serial communication driver

 

GE CCM Serial communication driver is the driver to communicate(serial,  RS-232C or RS-422/485) with PLC of GE Fanuc Automation in U.S.A.

 

Note)  In order to use the GE CCM Serial communication driver, you should be installed CMM311 communication module(or compatible) to 90 Series ( 90-30, 90-70 etc ).

 CMM311 communication module supports 3 type of protocol. So you have to set  such as protocol type by using PLC ladder program. ( Refer to chapter 4 )

CCM protocol : default Serial communication.

SNP protocol  :  protocol for Ladder connector =  you can communicate with 'GE-SNP' communication driver.

RTU protocol :  standard Modbus protocol.  you can communicate with 'DLL-MODBUS2' etc.  

R0001 ~ R9999 = Modbus Holding Register 0000 ~ 9998,  (Function 3 = read, Function 6/16 = write )

I0001 ~ =  Modbus Input Register 0000 ~ ,  ( Function 1 = read, Function 5 = write )

Q0001 ~ =  Modbus Input Status 0000 ~ ,  ( Function 2 = read )

 

 

1. Read settings

 

<Figure 1> is read setting example of GE CCM Serial communication driver. 

<Figure 1>  Read setting example of  GE CCM Serial communication driver

Device part of  <Figure 1> input Com Port(COM1), Baud Rate(19200), Parity Bit(1), Data Bit(8), Stop Bit(1) respectively according to setting of PLC.

Also you can set 'communication mode'( 0 : Master/Slave, 1 : Peer-To-Peer , default = 0) and 'source station address of computer'( 1 ~ 255, default = 1 ) by using option part.

 

Note) You can set communication mode, baud rate, parity bit, data Bit, stop bit, etc by using 'VersaPro' that is Ladder program of GE PLC. ( Refer to chapter 4 )

 

GE CCM Serial communication driver read schedule

Read schedule setting parameters are as follows:

1) STATION – Station number of GE PLC.

Mater/Slave mode : 1 ~ 255,

Peer-To-Peer mode : 1 ~ 90.

2) Read command – Memory type of PLC = R, IX, QX, I, Q, CS, DS. ( Refer to <Table 1> )

3) Read start addresst – Read start address of PLC' memory. ( 1 ~ )

4) Save Start Address for Communication Server – saveing start address of Communication Server.

5) Read Size – Read size of Word, 10bit, byte unit.

R, CS, DS : WORD unit,

IX, QX : 10 Bit unit, ( 10 = 100 Bit )

I, Q : Byte unit.

 

Read schedule example)

READ,     1,  R,       1,       1,   200,

READ,     1,  R,  5001,  201,    50,

READ,     1,  IX,        1,  300,    10,

 

<Table 1> is read command and contents of GE CCM Serial communication driver.

 

Read command

Contents

Remarks

R

CPU Register Table(Word unit)

 

IX

10 bit unit read of CPU Input Table

I, Q memory area.

differ 'read unit' or

'data saving method'

QX

10 bit unit read of CPU Output Table

I

Byte unit read of CPU Input Table

Q

Byte unit read of CPU Output Table

CS

CPU Scratchpad(Word unit)

 

DS

CCM Diagnostic Status Word(Word unit)

 

<Table 1> Read command and contents of GE CCM Serial communication driver

Note) AI, AQ, T, M, SA, SB, SC, S, G memory area of GE PLC can't read by CCM serial protocol.

So you can read that memory value by moving to R memory area. (using the Ladder program of GE PLC)

If you click the icon  in protocol option part, you can see the dialogue box such as <Figure 2>. you can also set read schedule by using this part.

<Figure 2> Example of GE CCM Serial communication driver¡¯s Option dialogue box

You can set read schedule by using , , button and listbox of <Figure 2>. 

Also you can set communication mode and source station address of computer at the part of ¡®Communication Mode¡¯ and ¡®PC(Source) Station¡¯ shown in <Figure 2>.

<Figure 3> Example of GE CCM Serial communication driver¡¯s read schedule Add/Edit dialogue box

When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> is shown.

 

2. Write settings

You can write memory value of PLC by using write settings.

 

Digital Write

Digital write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             Station number of GE PLC.

Mater/Slave mode : 1 ~ 255,

Peer-To-Peer mode : 1 ~ 90.

3)  ADDRESS           Address in memory area.

R, CS, DS memory area : higher 3 ~ 7 digit  = decimal unit Word address ( 1 ~ ),  lower 1 digit = 0 ~ F Bit position(hex-decimal unit),

I, Q memory area : decimal unit Bit address. 

4) Extra1                    Write memory area = R, I, Q, CS, DS. ( ( IX, QX = equal memory area I,  Q )

5) Extra2                    Don't care.

 

Note) Protocol of GE PLC don't support Bit write for R memory area.

So GE CCM Serial communication driver made by using calculation of bit operation( read word data, and bit operation ) for R memory area.

 

Write example 1)

Port : 0  Station : 1  Address : 0010  Extra1 : R, EXTRA2 :

The setting parameter shown above is bit write( ON/OFF ) example for 0(1st) bit of R0001 address(R memory area, 0001 address).

 

Write example 2)

Port : 0  Station : 1  Address : 123F  Extra1 : R, EXTRA2 :

The setting parameter shown above is bit write( ON/OFF ) example for F(16th) bit of R0123 address(R memory area, 0123 address).

 

Write example 3)

Port : 0  Station : 1  Address : 0001  Extra1 : Q, EXTRA2 :

The setting parameter shown above is bit write( ON/OFF ) example of Q0001(1st bit addressof Q memory) memory address.

 

Write example 4)

Port : 0  Station : 1  Address : 0085  Extra1 : Q, EXTRA2 :

The setting parameter shown above is bit write( ON/OFF ) example of Q0085(85th bit of Q memory) memory address.

 

Analog Write

Analog write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             Station number of GE PLC.

Mater/Slave mode : 1 ~ 255,

Peer-To-Peer mode : 1 ~ 90.

3)  ADDRESS           Address in memory area.

R, CS, DS memory area : decimal unit Word address ( 1 ~ ),

I, Q memory area : decimal unit Byte address.

4) Extra1                    Write memory area = R, I, Q, CS, DS. ( ( IX, QX = equal memory area I,  Q )

5) Extra2                    Don't care.

 

Write example 1)

Port : 0  Station : 1  Address : 0001  Extra1 : R, EXTRA2 :

The setting parameter shown above is analog write(word unit) example of R0001 memory address.

 

Write example 2)

Port : 0  Station : 1  Address : 5001  Extra1 : R, EXTRA2 :

The setting parameter shown above is analog write(word unit) example of R5001 memory address.

 

 

Write example 3)

Port : 0  Station : 1  Address : 0001  Extra1 : Q, EXTRA2 :

The setting parameter shown above is analog write(byte unit) example of Q0001 ~ Q0008 memory address.

 

Write example 4)

Port : 0  Station : 1  Address : 0005  Extra1 : Q, EXTRA2 :

The setting parameter shown above is analog write(byte unit) example of Q0033 ~ Q0040 memory address.

 

3. connection of main power and communication cable to GE Series 70 PLC

Connection of main power and communication cable are as follows.

 

Connection of main power

Please connect 100~240 V AC 50/60 HZ main power to main power input connector such as <Figure 4>.

<Figure 4> Connection example of CMM311 communication module and main power to GE Series 70 PLC

Connection of RS-232C communication cable

Please connect RS-232C communication cable(provided by GE Fanuc Automation) to port 1 or port2 of CMM311 such as <Figure 5>.

Port 1 of CMM311 can connect normal cross RS-232C communication cable.(can use full or simple communication cable)

Also you can connect RS-232C communication calbe to port 2 of CMM311. But you should to set RS-232C interface mode of port 2 by using GE Ladder program.

<Figure 4> Port 1, port 2 communication cable connection example to CMM311 module

Connection of RS-485 communication cable

Please connect RS-232C communication cable(provided by GE Fanuc Automation) to port 1 or port2 of CMM311 such as <Figure 5>.

Also you can connect RS-485 communication calbe to port 2 of CMM311. But you should to set RS-485 interface mode of port 2 by using GE Ladder program.

 

3. connection of main power and communication cable to GE Series 70 PLC

4. Setting method for GE CCM Serial communication

 

Setting methods of GE CCM serial communication are as follows.

 

Setting of protocol type

CMM311 communication module basically support  CCM, SNP, RTU ( Modbus ) protocol.

Protocol settings for CMM311 module are as follows.

1) Please run 'Versa Pro' program(GE PLC Ladder program).

2) Select ¡®View | Hardware Configuration¡¯ menu at Versa Pro such as <Figure 6>.  ( Also you can select by clickingicon of Folder Browser window )

     Then open HWC setting window such as <Figure 7>.

3) Please set hardware install status such as Power, CPU, DI, DO, AI, AO, communication module, etc at <Figure 7>.

4) When you select(mouse left button double click, ...) CMM311 communication module at <Figure 7> will be opened 'communication setting window' of CMM311 module such as <Figur 8>.

5) When you select(mouse left button double click, ...) 'configuration Mode' at <Figur 8>. Then open 'Configuration Mode' dailog(selection of protocol type) such as <Figure 9>.

6) Please select protocol type(CCM, SNP, RTU, etc) for Port1/Port2 at <Figure 9>.

 

Setting example of protocol 1) CCM only : Port1, Port2 = CCM

Setting example of protocol 2) CCM/SNP : Port1 = CCM, Port2  = SNP

<Figure 6> Selection example of 'View | Hardware Configuration' at Versa Pro Ladder program

 

<Figure 7> Example of HWC window
<Figure 8> Setting window example for CMM311 communication module
<Figure 9> Configuration Mode dialog example for protocol setting

 Baud rate and communication mode setting of CCM protocol

Baud rate and communication mode setting for CMM311 module are as follows.

1) Set the hardware install status such as Power, CPU, DI, DO, AI, AO, communication module, etc at <Figure 7>.

2) When you select(mouse left button double click, ...) CMM311 communication module at <Figure 7> will be opened 'communication setting window' of CMM311 module such as <Figur 8>.

3) When you select(mouse left button double click, ...) 'Port 1' or 'Port 2' tap at <Figur 8> will be displayed 'Parameters setting window' such as <Figure 10>.

4) Please set the baud rate and communication mode at <Figure 10>. ( Refet to reference manual for setting range of each parameter)

5) Download(store) the Hardware Configuration data to PLC by using Versa Pro Ladder program.

<Figure 10> Parameters setting window example for Port 2

 

 Setting range of baud rate and communication mode

Setting range of baud rate and communication mode are as follows.

Note) Bold character = default setting.

 

CCM Enable : YES = use communication port,  NO = don't use communication port.

CCM Mode :  Peer = Peer-To-Peer communication,  Master = PLC - Master ( don't use when communicate with computer ),  Slave = Master/Slave communication.

Interface ( exist only Port 2 ) : RS-232C, RS-485.

Data Rate (bps) : 300 ~ 19200 bps.

Flow  Control : None , Hardware.

Parity : None , Odd.

Retry Count : Normal, Short.

Timeout : Long, Medium, short, None.

Turn Around Delay : None , 10msec, 100msec, 500msec.

CPU ID : 1 ~ 254 decimal unit.

   

Connection of RS-485 communication cable when using the Port 2

Connection of RS-485 communication cable when using th Port 2 is as follows.

Computer side                            Port 2 of CMM311 communication module ( 25 pin connector )

Tx+  -------------------------------------- 25 connector

Tx-  -------------------------------------- 13 connector

Rx+  -------------------------------------- 21 connector

Rx-  -------------------------------------- 9  connector

 

 

Note) Please connect termination resistor(100 ¥Ø) to 24 and 25 pin connector at the end station of CMM311 communication module.