Panasonic GT02 Manual Download Page 50

5.1.8 Error Codes 

The error codes are as follows. 

For GT01, GT11 and GT21 

Error code 

Error name 

Measures 

ER00 

BCC error 

The value of BCC may be incorrect. Check if there is no 
calculation mistake. 

ER01 

Format error 

A command format may be incorrect. Check if it is correct. 

ER02 

NOT supported error 

A command used is not supported with the version of the GT. 
Upgrade the version of the GT, or use another command. 

ER03 

Address error 

The address specified does not exist in the GT. Check the 
address of the transmitted command. 

ER04 

Receive buffer 
overflow 

The sent command exceeds the receivable number of bytes. 
Check the number of bytes of the sent command. 

ER05 

Requested overflow  

The sent readout command exceeds the number of bytes that 
can send back. Check the number of the read words. 

ER06 

Data error 

The communication condition for the GT may be unmatched 
with the condition for a destination device. Check the 
communication conditions. 

ER07 

Data write inhibit 
error 

A command for the address that writingn is not available was 
sent. Check the address of the sent command. 

 

For GT02, GT02L, GT05, GT12, GT32 and GT32-E 

Error code 

Error name 

Measures 

**0000 

BCC error 

The value of BCC may be incorrect. Check if there is no 
calculation mistake. 

**0001 

Format error 

A command format may be incorrect. Check if it is correct. 

**0002 

NOT supported error 

A command used is not supported with the version of the GT. 
Upgrade the version of the GT, or use another command. 

**0003 

Address error 

The address specified does not exist in the GT. Check the 
address of the transmitted command. 

**0004 

Receive buffer 
overflow 

The sent command exceeds the receivable number of bytes. 
Check the number of bytes of the sent command. 

**0005 

Requested overflow  

The sent readout command exceeds the number of bytes that 
can send back. Check the number of the read words. 

**0006 

Data error 

The communication condition for the GT may be unmatched 
with the condition for a destination device. Check the 
communication conditions. 

**0007 

Data write inhibit 
error 

A command for the address that writingn is not available was 
sent. Check the address of the sent command. 

Note) These are the error codes related to communicaiton. 
 

 

5.1.9 Restrictions 

Allowable bytes sent and received 

The allowable number of bytes to be sent and received in the GT is up to 512 bytes (including CR). 
Therefore, a command or response of which size is more than 513 bytes cannot be sent from the 
external device. 

Restrictions on transmitting messages 

In the two-way 2 mode, a message will not be sent if the following changes occur in the bit device. When 
readout is necessary, use the readout command. 

Number of displayed screen 
BAT bit 
Data input in progress flag 
BAT LOW flag 

Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]

Summary of Contents for GT02

Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 2: ...antle or remodel the product It could cause excessive exothermic heat or smoke generation Do not touch the terminal while turning on electricity It could lead to an electric shock Use the external devices to function the emergency stop and interlock circuit Connect the wires or connectors securely The loose connection could cause excessive exothermic heat or smoke generation Do not allow foreign m...

Page 3: ...e 3 2 3 1 1 Overview of Communication Mode 3 2 3 1 2 Setting Communication Conditions 3 2 3 1 3 Basic Formats 3 3 3 1 4 Control Codes 3 4 3 1 5 Command Codes 3 4 3 1 6 BCC Block Check Code 3 5 3 1 7 Error Codes 3 6 3 1 8 Restrictions 3 6 3 2 Command Code Reference 3 7 4 Two way 1 Mode 4 1 4 1 What is Two way 1 Mode 4 2 4 1 1 Overview of Communication Mode 4 2 4 1 2 Setting Communication Conditions...

Page 4: ...CC Block Check Code 5 7 5 1 8 Error Codes 5 8 5 1 9 Restrictions 5 8 5 2 Command Code Reference 5 9 5 2 1 Transmitting Commands From External Device 5 9 5 2 2 Transmitting Messages From GT 5 15 6 Documentation 6 1 6 1 ASCII Code Table 6 2 6 2 Error Codes Table 6 3 6 3 Sheet for Basic Communication Area Allocation 6 4 6 4 Connection Diagrams 6 7 6 4 1 Precautions when connecting GT 6 7 6 4 2 RS232C...

Page 5: ...Chapter 1 Communication Methods Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 6: ...ernal device can control screens or display data by reading writing the GT internal memories Reference For the details on the commands to read write the internal memories refer to Chapter 3 4 and 5 Depending on the communication mode settings the GT can send a message informing the external device when a switch was pressed Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr co...

Page 7: ...mation on the switch input data settings of the GT 2 Two Way 1 mode In the two way 1 mode an external device sends a command to the GT and the GT sends a message for transmitting the information on the switch input data settings In this mode the GT does not send back a response for a command to the external device It sends back a response for a readout command The external device and the GT both h...

Page 8: ...rnal device and the GT both have the transmission right Therefore the external device waits for the message transmission from the GT by interruption etc in order to receive a message for transmitting the information on the switch input data settings Key Point In the two way 2 mode that the response function is available the external device can detect errors because no response is returned Phone 80...

Page 9: ...5 Data register GDT0 to GDT2047 Special Data Register GDT9080 to GDT9086 Built in clock data GDT GDT is a device memory area that is convenient to be used for the data treated in word unit and it is called data register The device size is 0000 to 2047 WGR WGR is a device memory area that is convenient to be used for the data treated in bit unit and it is called internal relay The device size is 00...

Page 10: ...t be adjusted from the external device Change the mode of the GT to the setting mode and select Clock from the menu to adjust the time Reference For the detailed procedure refer to GT Series Technical Manual The clock function is not available for the models that a battery cannot be installed The values of era name stored in GDT9085 are the last two digits of the year Phone 800 894 0412 Fax 888 72...

Page 11: ...Chapter 2 Settings and Connections Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 12: ...general purpose serial communication select General Purpose Serial for PLC Model Selecting Create New File from the start up menu displays the following dialog box to select models Click on the button at the window of the PLC model and select General Purpose Serial from the pull down menu Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 13: ...licking the Basic Setup tab displays the following screen Select the communication mode for the general purpose serial communication Basic Setup screen Selecting Communication Mode Select any one of the communication modes Command Response Two Way 1 and Two Way 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 14: ... GT05 GT12 GT32 GT32 E Unit numbers Specify unit numbers when more than one GTs are connected using C NET COM Port Connected to PLC External device This is used to specify the baud rate and transmission format when the GT is connected to an external device Clicking on the button displays a pull down menu from which the value to be set can be selected Baud rate Data length Stop bit Parity Select 96...

Page 15: ...This setting is available for the RS232C type Key Point GT01 does not have the terminal for CS RS signal control When replacing GT01 with GT02 GT02L GT05 GT12 GT32 or GT32 E setting the CS RS control to Off enables to replace the models without changing the wirings for external devices Note When Transfer Data After Clear GT Screen is performed or Clear F ROM is performed from the setting mode of t...

Page 16: ...eived data signals are exchanged 1 n connection 1 n connection is to connect one external device and more than two GTs The connection is multi dropped connection using devices such as C NET adapter Note For 1 n communication the usable communication mode is the command response mode only Note A RS485 RS232C converter that enables the connection with a maximum of 63 units is necessary to use up to ...

Page 17: ...Chapter 3 Command Response Mode Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 18: ... on the external device It is not necessary to use the CS RS control signals in the command response mode When connecting an external device that does not control them short circuit the RS and CS terminals of the COM port on the GT side or set CS RS Control to Off Item Settings Caution Unit number 00 to 63 Do not specify the same unit number for multiple GTs Baud rate 115200 57600 38400 19200 9600...

Page 19: ...rom the external device Create this command according to the format on the computer Response 1 In normal condition This is a message to be sent back to the external device from the GT Analyze this message according to the format and check the operation results or retrieve the data 2 When an error occurred Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 20: ... data area in word unit SRR 53 52 52 Read single relay bit PRR 50 52 52 Read multiple relay bits WRR 57 52 52 Read relay in word unit Write WDW 57 44 57 Write data area in word unit BDW 42 44 57 Write data area in byte unit DDW 44 44 57 Write data area in digit unit SDW 53 44 57 Write data area in bit unit WRW 57 52 57 Write relay in word unit BRW 42 52 57 Write relay in byte unit DRW 44 52 57 Wri...

Page 21: ...is two characters of ASCII code which the exclusive OR of the data in the subject range was convreted to When the BCC check is not performed in the communication conditions for the GT use instead of BCC Calculation example of BCC Calculation example of BCC in Basic program Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 22: ...000 BCC error The value of BCC may be incorrect Check if there is no calculation mistake 0001 Format error A command format may be incorrect Check if it is correct 0002 NOT supported error A command used is not supported with the version of the GT Upgrade the version of the GT or use another command 0003 Address error The address specified does not exist in the GT Check the address of the transmit...

Page 23: ...rd unit The word device area in the GT is read in word unit Command Response SRR Read single relay bit The bit device area in the GT is read specifying one bit Command Response Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 24: ...bit device area in the GT is read in bit unit Command Response WRR Read relay in word unit The bit device area in the GT is read in word unit Command Response Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 25: ...device area in the GT is written in word unit Command Response BDW Write data area in byte unit The word device area in the GT is written in byte unit Command Response Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 26: ... device area in the GT is written in digit unit Command Response SDW Write data area in bit unit The word device area in the GT is written in bit unit Command Response Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 27: ...device area in the GT is written in word unit Command Response BRW Write relay in byte unit The bit device area in the GT is written in byte unit Command Response Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 28: ... device area in the GT is written in digit unit Command Response SRW Write relay in bit unit The bit device area in the GT is written in bit unit Command Response Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 29: ...Chapter 4 Two way 1 Mode Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 30: ...ection and specify the unit numbers within a range of 00 to 63 The settings for Baud rate Data length and Parity check should be the same as the communication settings specified on the external device Connect the CS RS on the GT and external device when the CS RS control is necessary When unnecessary short circuit the RS and CS terminals on the GT side or set CS RS Control to Off Item Settings Cau...

Page 31: ...o L and then send a response to the received command 2 If a command is sent from the external device during a message is being sent when the CS CTS is L the GT will continue the message transmission being receiving the command 3 If commands are sent successively during a message being sent under the condition that a response cannot be sent back and the CS CTS is L the GT will send back a response ...

Page 32: ... according to the format and check the operation results or retrieve the data For write commands there is no response confirmation for the write result 2 In normal condition 2 When an error occurred Message This is a message to be sent to the external device when the switch operation was performed on the GT Analyze this message according to the format and check the operation results or retrieve th...

Page 33: ...te relay in byte unit DRW 44 52 57 Write relay in digit unit SRW 53 52 57 Write relay in bit unit Command codes included in messages transmitted from GT to external device Type Character ASCII code Function Send message WDR 57 44 52 Send information on data area in word unit SRR 53 52 52 Send information on single relay bit WRR 57 52 52 Send information on relay in word unit Note By touching the f...

Page 34: ...is two characters of ASCII code which the exclusive OR of the data in the subject range was convreted to When the BCC check is not performed in the communication conditions for the GT use instead of BCC Calculation example of BCC Calculation example of BCC in Basic program Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 35: ...t is correct 0002 NOT supported error A command used is not supported with the version of the GT Upgrade the version of the GT or use another command 0003 Address error The address specified does not exist in the GT Check the address of the transmitted command 0004 Receive buffer overflow The sent command exceeds the receivable number of bytes Check the number of bytes of the sent command 0005 Req...

Page 36: ...WDR Read data area in word unit The word device area in the GT is read in word unit Command Response SRR Read single relay bit The bit device area in the GT is read specifying one bit Command Response Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 37: ...bit device area in the GT is read in bit unit Command Response WRR Read relay in word unit The bit device area in the GT is read in word unit Command Response Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 38: ...written in the word device area of the GT in byte unit Command DDW Write data area in digit unit Data is written in the word device area of the GT in digit unit Command SDW Write data area in bit unit Data is written in the word device area of the GT in bit unit Command Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 39: ... The bit device area in the GT is written in word unit Command BRW Write relay in byte unit The bit device area in the GT is written in byte unit Command Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 40: ...t The bit device area in the GT is written in digit unit Command SRW Write relay in bit unit The bit device area in the GT is written in bit unit Command Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 41: ...e message sent from the GT and the response to the readout command sent from the external device WDR SRR WRR In order to distinguish them adjust the numbers of words and contacts of the readout command sent from the external device The GT sends 1 word message when the data format of the write destination that is specified in the switch part or data part is 1 word When the format is 2 words the GT ...

Page 42: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 43: ...Chapter 5 Two way 2 Mode Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 44: ...nd to the external device The readout commands in the word device area and the bit device area with responses can be used Key Point In the two way 2 mode that the response function is available the external device can detect errors because no response is returned Using two way 2 mode on GT01 GT02L The external device should support full duplex transmission to use the two way 2 mode on the GT01 GT0...

Page 45: ... GT are sent at the same time Item Settings Caution Unit number 00 to 63 Do not specify the same unit number for multiple GTs Baud rate 115200 57600 38400 19200 9600 bps These settings should be the same as the settings specified on the external device Data length 7 8 bits Stop bits Fixed 1 bit Parity check Odd Even Invalid CS RS signal control No CS RS signal GT01 Fixed On GT11 GT21 On Off Other ...

Page 46: ...o L and then send a response to the received command 2 If a command is sent from the external device during a message is being sent when the CS CTS is L the GT will continue the message transmission being receiving the command 3 If commands are sent successively during a message being sent under the condition that a response cannot be sent back and the CS CTS is L the GT will send back a response ...

Page 47: ... Analyze this message according to the format and check the operation results or retrieve the data 3 In normal condition 2 When an error occurred Message This is a message to be sent to the external device when the switch operation was performed on the GT Analyze this message according to the format and check the operation results or retrieve the data Phone 800 894 0412 Fax 888 723 4773 Web www cl...

Page 48: ...te relay in byte unit DRW 44 52 57 Write relay in digit unit SRW 53 52 57 Write relay in bit unit Command codes included in messages transmitted from GT to external device Type Character ASCII code Function Sent message WDR 57 44 52 Send information on data area in word unit SRR 53 52 52 Send information on single relay bit WRR 57 52 52 Send information on relay in word unit Note By touching the f...

Page 49: ...is two characters of ASCII code which the exclusive OR of the data in the subject range was convreted to When the BCC check is not performed in the communication conditions for the GT use instead of BCC Calculation example of BCC Calculation example of BCC in Basic program Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 50: ...ect Check if it is correct 0002 NOT supported error A command used is not supported with the version of the GT Upgrade the version of the GT or use another command 0003 Address error The address specified does not exist in the GT Check the address of the transmitted command 0004 Receive buffer overflow The sent command exceeds the receivable number of bytes Check the number of bytes of the sent co...

Page 51: ...WDR Read data area in word unit The word device area in the GT is read in word unit Command Response SRR Read single relay bit The bit device area in the GT is read specifying one bit Command Response Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 52: ...bit device area in the GT is read in bit unit Command Response WRR Read relay in word unit The bit device area in the GT is read in word unit Command Response Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 53: ...device area in the GT is written in word unit Command Response BDW Write data area in byte unit The word device area in the GT is written in byte unit Command Response Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 54: ... device area in the GT is written in digit unit Command Response SDW Write data area in bit unit The word device area in the GT is written in bit unit Command Response Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 55: ...device area in the GT is written in word unit Command Response BRW Write relay in byte unit The bit device area in the GT is written in byte unit Command Response Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 56: ... device area in the GT is written in digit unit Command Response SRW Write relay in bit unit The bit device area in the GT is written in bit unit Command Response Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 57: ...e message sent from the GT and the response to the readout command sent from the external device WDR SRR WRR In order to distinguish them adjust the numbers of words and contacts of the readout command sent from the external device The GT sends 1 word message when the data format of the write destination that is specified in the switch part or data part is 1 word When the format is 2 words the GT ...

Page 58: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 59: ...Chapter 6 Documentation Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 60: ...6 1 ASCII Code Table Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 61: ...s that writingn is not available was sent Check the address of the sent command For GT02 GT02L GT05 GT12 GT32 and GT32 E Error code Error name Measures 0000 BCC error The value of BCC may be incorrect Check if there is no calculation mistake 0001 Format error A command format may be incorrect Check if it is correct 0002 NOT supported error A command used is not supported with the version of the GT...

Page 62: ... for Basic Communication Area Allocation Word device area Part bit area Size words Address Application F E D C B A 9 8 7 6 5 4 3 2 1 0 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 63: ...Word device area Part area Size words Address Application F E D C B A 9 8 7 6 5 4 3 2 1 0 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 64: ...Bit device Size words Address Application F E D C B A 9 8 7 6 5 4 3 2 1 0 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 65: ...m for the 24 V RS422 type When connecting to the RS485 it may not be connected depending on the timing for switching between the transmission and reception at the external device Please check it using the actual equipment The terminal unit setting varies according to the external device to be connected Confirm it before setting a terminal unit 6 4 2 RS232C Connection GT01 When not performing CS RS...

Page 66: ...S485 Connection In Command Response Mode Only 1 1 connection When connecting more than one GT Only when the communication mode is the command response mode Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 67: ...FEB 2009 JUL 2009 Sep 2009 JUL 2010 DEC 2010 AUG 2011 DEC 2011 First Edition 2nd Edition Additions GT21 3th Edition Additions GT32 GT01R 4th Edition Additions GT05 5th Edition Change of Company name 6th Edition Additions GT12 7th Edition 8th Edition Additions GT02 9th Edition Additions GT02L Change of Company name 10th Edition Additions GT32 E 11th Edition Phone 800 894 0412 Fax 888 723 4773 Web w...

Reviews: