Home
GT Series General Purpose Serial Communication Manual
Contents
1. How to distinguish between message data and response data from the GT When using the two way communication mode in some cases it is hard to distinguish between the 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 sends 2 word message It depends on the digit numbers for ASCII of the data part Try to make the length of the message sent from the GT different from the length of the response to the readout command sent from the external device to enable to distinguish them according to the length 5 15 5 16 Chapter 6 Documentation 6 1 ASCII Code Table 6 2 6 2 Error Codes Table An error code will be displayed in the upper right corner of the screen when an error occurs The error code will be disappeared when the error is solved For GT01 GT11 and GT21 Error code Error name Measures EROO BCC error The value of BCC may be incorrect Check if there is no calculation mistake
2. 3 I O 4 digits fica H tion digit digit Highest order digit is always 0 3 WGR0000 to WGR0255 Specify 0 to 3 FEDC BA98 7654 3210 l I I Il 3 2 1 0 SRW Write relay in bit unit The bit device area in the GT is written in bit unit Command l Destinati oF BCC estination 71H O S R W Contact number spec H L CR fication 1 digit BCD HEX 3 digits 1 digit To OFF 1 ON 4 12 4 2 2 Transmitting Messages From GT WDR Send information on data area in word unit Data in word unit is sent to a host computer from the GT Message bai Starting address of Destination W D R reference data area Number of om Data Data ni BCC CR H O 4 digits 4 digits 4 digits 4 digits H O SRR Send information on single relay bit The information on On Off of relay is sent to a host computer from the GT Message I Destinati OF BCC estination 71H O S R R Contact number speci H L CR fication l ___ 2 digits BCD HEX 3 digits 1 digit 00 OFF L_01 ON WRR Send information on relay in word unit Data in the relay area in word unit is sent to a host computer from the GT Message biz Starting address of Destination Number of words Data 1 PON Data n BCC
3. Command Starting address of Destination Number of words Data 1 nae Data n BCC TI ov Pw arn alee 4 digits 4 digits 4 digits Ho Higher Lower Response Source BCC gt 100 i p i H o F BDW Write data area in byte unit The word device area in the GT is written in byte unit Command Po TT 0 Starting address of Upper lower Destination B D W reference data area HA er Data BCC CR J 4 digits Od 2 digits H U Response Source BCC 71m wl B HW o Lower byte 00 Upper byte 01 DDW Write data area in digit unit The word device area in the GT is written in digit unit Command Drain Starting address of Digit nn gt D D W reference data area Peci Data CR I O 4 digits fica H tion 1 digit 1 digit Specify 0 to 3 FEDE BA98 7654 3210 l Il 3 2 1 0 Response Source BCC gt 060 P l H o SDW Write data area in bit unit The word device area in the GT is written in bit unit Command T Desiri Starting address of Bit ON 2 sunauon S D W reference data area speci GSH BCC CR i H 0 4 digits fication en H 0 1 digit 1 digit 0 OFF _1 ON Specify
4. Type Character ASCII code Function WDR 57 44 52 Read data area in word unit Read 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 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 Write 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 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 WDR 57 44 52 Send information on data area in word unit oe 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 function switch to change the screen number on the GT screen the value of the N 2 word device in the basic communication area changes from the value of the screen number before the change to the value after the change At that time a message is sent by the WDR command to the external device from the GT Even when the GT internal device is not directly operated like this the information on the internal device changed by the GT internal operation may be sent to the external device as a message 5 6 5 1 7 BCC Block Check Code BCC is the horizontal parity that is from the beginning of the command and response to th
5. RS232C C NET adapter AFP8532 AFP8536 External device Commercial PC C NET adapter ead Ee AFP8532 units can be AFP8536 connected C NET adapter AFP8532 AFP8536 Note A RS485 RS232C converter that enables the connection with a maximum of 63 units is necessary to use up to 63 GTs A maximum of 32 units are connected with the C NET adapter 2 6 Chapter 3 Command Response Mode 3 1 What is Command Response Mode 3 1 1 Overview of Communication Mode In the command response mode once a command is sent to the GT from an external device a response will be sent back to the external device from the GT The GT always sends back a response when it received a command When any response is not sent back check if the connection of the communication cable is correct or the sent command is correct External device Sends commands Desti Header nation Text Communication cable Sends back responses Check Termi code nator Desti nation Text 3 1 2 Setting Communication Conditions e Specify the unit numbers within a range of 00 to 63 When making 1 n connection with the external device do not specify the same unit number for multiple GTs e The settings for Baud rate Data length and Parity check should be the same as the communication settings specified on the external device e It
6. o p RD Short o RS m A SG Note The CS RS at the GT side should be short circuited However short circuiting is not required when setting CS RS Control to Off in the Communication Parameter tab in the GTWIN GT Configuration dialog box When performing CS RS control except GT01 eGT side RS232C eExternal equipment side Signal 24V or 5V ov FG SD O O RD RS nnen Cs SG 6 7 6 4 3 RS422 Connection To power supply eGT side RS422 24 V or 5 V OV FG or NC SD eExternal equipment side 0000 1 a o 000000 6 4 4 RS485 Connection In Command Response Mode Only 1 1 connection To power supply eGT side RS485 eExternal equipment side 24 V or 5 V OV O SD RD Set the terminal unit setting RD E When connecting more than one GT Only when the communication mode is the command response mode To power supply To power supply eGeneral unit on GT side eTerminal unit on GT side External equipment side 24 V or 5 V 24 V or 5 V FG or NC o FG or NC e eoe Set the terminal unit setting Short Wiring should extend from one unit to the next Never run two wires from a single unit to two other units Correct wiring OL KAR Incorr
7. Address Application 9 8 7 6 6 6 6 4 Connection Diagrams 6 4 1 Precautions when connecting GT If noise is a problem use a shielded cable and employ countermeasures such as installing a ferrite core if necessary Also take measures so that the shielding doesn t peel off and noise such as static electricity does not interfere The number of units transmission distance and baud rate may differ depending on the device connected Verify with the device being used The maximum cable length for RS232C type is 15 m also RS422 5 V type is 30 m The maximum transmission distance is 500 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 To power supply OGTside RS232C Signal O External equipment side 24 V or 5 V O OV O NC en O SD o O RD o NC t NC SG When not performing CS RS control except GT01 To GT side power supply 4 24V or 5V External equipment side OV o FG or O SD
8. Command Hesston Starting address of Digit en gt D D W reference data area Peci Data CR 00 4 digits fica HH tion 1 digit digit Specify 0 to 3 FEDC BA98 7654 3210 l l Il 3 2 1 0 SDW Write data area in bit unit Data is written in the word device area of the GT in bit unit Command ON ffs Starting address of Bit 2 Destination S D W reference data area speci SN BCC CR i H 0 4 digits fication BA H D 1 digit 1 digit 0 OFF _1 ON Specify 0 to F 4 10 WRW Write relay in word unit The bit device area in the GT is written in word unit Command da Starting address of 5 Destination w Rw reference dala area Number of words Data 1 En Data n BCC i H O 4 digits 4 digits 4 digits 4 digits H Highest order digit is always 0 WGRO0000 to WGRO255 BRW Write relay in byte unit The bit device area in the GT is written in byte unit Command se Starting address of Upper lower 2 ae B R W reference data area ion Data BCC CR 4 digits Qdigits dais DW Lower byte 00 Highest order digit is always 0 a Upper byte 01 WGRO0000 to WGR0255 DRW Write relay in digit unit The bit device area in the GT is written in digit unit Command Ee Starting address of Digit Destination D R W reference data area P C Data BCC CR
9. 1 digit Fo OFF _1 ON Response Source BCC al la a S i o WH oO 3 12 Chapter 4 Two way 1 Mode 4 1 What is Two way 1 Mode 4 1 1 Overview of Communication 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 The GT does not send back a response for a command to the external device If you need to send back responses use the two way 2 mode It sends back a response for a readout command As the RS and CS signals are not available for the GT01 it is recommended to use the two way 2 mode Note As no response is returned in the two way 1 mode the external device cannot detect errors In the two way 2 mode that the response function is available the external device can detect errors because no response is returned Sends commands External device Desti Check Termi nation Text code nator Header Communication cable Sends messages of switch input data settings External device Desti Check Termi Header ration mexi code nator 4 GT m Communication cable ma on 4 1 2 Setting Communication Conditions e The communication in the two way 1 mode is only available for 1 1 connection and sp
10. The communication condition for the GT may be unmatched 0006 Data error with the condition for a destination device Check the communication conditions 0007 Data write inhibit 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 basic communication area When readout is necessary use the readout command Number of dis played screen BAT bit Data input in progress flag BAT LOW flag 5 8 5 2 Command Code Reference 5 2 1 Transmitting Commands From External Device WDR Read data area in word unit The word device area in the GT is read in word unit Command inati Starting address of E W D R reference data area baa vet gt qu caf CR 4 digits 4 digits H D Response 5 Destination w D R Data 1 En Data n BCC H D 4 digits 4 digits H L Higher Lower SRR Read single relay b
11. ae SRR 53 52 52 Send information on single relay bit WRR 57 52 52 Send information on relay in word unit ai Note By touching the function switch to change the screen number on the GT screen the value of the N 2 word device in the basic communication area changes from the value of the screen number before the change to the value after the change At that time a message is sent by the WDR command to the external device from the GT Even when the GT internal device is not directly operated like this the information on the internal device changed by the GT internal operation may be sent to the external device as a message 4 5 4 1 7 BCC Block Check Code BCC is the horizontal parity that is from the beginning of the command and response to the end of the text data and that 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 0 1 B DICW Jo jo o 1 0 0 0 2 6 C Header Destination Command Reference data area of Lower byte Data BCC write destination specification A Character ASCII code 3 30 31 42 44 a Exclusive OR 30 30 30 31 30 30 30 32 njolojol ojojo S uU u 0 6C BCC H 6 BC
12. jm o W RR ee 4 digits 4 digits 4 digits Ho e How to distinguish between message data and response data from the GT When using the two way communication mode in some cases it is hard to distinguish between the 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 sends 2 word message It depends on the digit numbers for ASCII of the data part Try to make the length of the message sent from the GT different from the length of the response to the readout command sent from the external device to enable to distinguish them according to the length 4 13 4 14 Chapter 5 Two way 2 Mode 5 1 What is Two way 2 Mode 5 1 1 Overview of Communication Mode In the two way 2 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 sends back a response for a command 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 th
13. 0 to F Response Source BCC gt lo wo B a Ho 5 12 WRW Write relay in word unit The bit device area in the GT is written in word unit Command I POES Starting address of Destination Number of words Data 1 Data n BCC le of Y RW Bk alee 4 digits 4 digits 4 digits wo Highest order digit is always 0 WGRO000 to WGRO255 Response Destination BCC gt jo wl R 7 ew BRW Write relay in byte unit The bit device area in the GT is written in byte unit Command o Starting address of Upper lower 2 Destination gt gt y reference data area a Data BCC oR 1H 4 digits specificalion 2 digits H L 2 digits Highest order digit is always 0 WGR0000 to WGRO255 Response Destination BCC gt 100 En D H o Lower byte 00 Upper byte 01 5 13 DRW Write relay in digit unit The bit device area in the GT is written in digit unit Command Drain Starting address of Digit nn gt D R W reference data area Peci Data CR I Q 4 digits fica H O tion digit digit Highest order digit is always 0 3 WGR0000 to WGR0255 Specify
14. 3 7 PRR Read multiple relay bits The bit device area in the GT is read in bit unit Command eat Number of gt Pesiraien p gop m popup ss le H D 2 digits H L IL l BCD HEX BCD HEX 8 digits 1 digit 3 digit 1 digit gt 01 to 08 Response Destinati Contact 1 Contact n e eN P R R data data BCC CR H 2 digits 2 digits H l When OFF 00 When ON 01 WRR Read relay in word unit The bit device area in the GT is read in word unit Command I sid Starting word address Destination Vee Number of words BCC Ww R R of output destination he CR H D 4 digits 4 digits H L Response Destination Data of contact 1 Data of contact n BCC 71m vi RR 4 digits 4 digits Hole Example of read data 3 F 5 1 0011 1111 0101 0001 3 8 WDW Write data area in word unit The word device area in the GT is written in word unit Command Starting address of Destination Number of words Data 1 nae Data n BCC TI ov Pw arn alee 4 digits 4 digits 4 digits Ho Higher Lower Response Source BCC gt 100 i p i H o F BDW Write data area in byte uni
15. ERO1 Format error A command format may be incorrect Check if it is correct A command used is not supported with the version of the GT ERJE NOT supported emer Upgrade the version of the GT or use another command EROS EN The address specified does not exist in the GT Check the address of the transmitted command ERO4 Receive buffer The sent command exceeds the receivable number of bytes overflow Check the number of bytes of the sent command The sent readout command exceeds the number of bytes that EROS Requested Overiiow can send back Check the number of the read words The communication condition for the GT may be unmatched ERO6 Data error with the condition for a destination device Check the communication conditions ERO7 Data write inhibit A command for the address that writingn is not available was error sent Check the address of the sent command For GT02 GTO 2L GT03 E GT05 GT1 2 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 ee A command used is not supported with the version of the GT 0092 NOT stnperted enol Upgrade the version of the GT or use another command 0003 Aaen The address specified does not exist in the GT Check the address of the transmitted command 0004 Receive buffer The sent command exceeds the receivable
16. following changes occur in the output relay of destination When readout is necessary use the readout command Number of displayed screen BAT bit Data input in progress flag BAT LOW flag 4 2 Command Code Reference 4 2 1 Transmitting Commands From External Device WDR Read data area in word unit The word device area in the GT is read in word unit Command inati Starting address of poner W D R reference data area M 4 digits g Response Destination Data 1 Data n lm o W P R 4 digits la 4 digits Higher Lower SRR Read single relay bit The bit device area in the GT is read specifying one bit Command Destination BCC H 0 S R R Contact number H O CR l IL BCD HEX 3 digits 1 digit Response Contact Destination BCC R data CR H 2 digits When OFF 00 When ON 01 4 8 PRR Read multiple relay bits The bit device area in the GT is read in bit unit Command gt Destination p R R pd Contact Contact BCC ER WwW WD 2 digits number 1 number n H D IL BCD HEX BCD HEX 3 digits 1 digit d
17. in the GT Check the ress error address of the transmitted command ERO4 Receive buffer The sent command exceeds the receivable number of bytes overflow Check the number of bytes of the sent command EROS Requested overflow The sent readout command exceeds the number of bytes that can send back Check the number of the read words The communication condition for the GT may be unmatched ERO6 Data error with the condition for a destination device Check the communication conditions ERO7 Data write inhibit A command for the address that writingn is not available was error sent Check the address of the sent command For GT02 GTO 2L GT03 E GT05 GT1 2 GT32 and GT32 E error 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 RAdrese shr The address specified does not exist in the GT Check the address of the transmitted command 0004 Receive buffer The sent command exceeds the receivable number of bytes overflow Check the number of bytes of the sent command pn The sent readout command exceeds the number of bytes that 0005 Requested OVO can send back Check the number of the read RRN
18. 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 Do not specify the same unit Unit number ict number for multiple GTs Baud rate 115200 57600 38400 19200 9600 bps These settings should be the same el Zeo as the settings specified on the Stop bits Fixed 1 bit gs Sp external device Parity check Odd Even Invalid No CS RS signal GT01 CS RS signal control Fixed On GT11 GT21 On Off Other models The CS RS signals are not used in the command response mode Note CS RS signal control is not available for GT01 gt Reference For the details of the communication parameters of GT refer to lt 2 1 Setting on GTWIN gt 3 2 3 1 3 Basic Formats The formats of the commands sent from the external device and the responses sent back from the GT are as follows Command This is a message to be sent to the GT from the external device Create this command according to the format on the computer Horizontal parity Y Destination Command BCC _ Termi Header ware code Textidata H L _ nator 1byte 2 bytes 3 bytes 2bytes 1 byte Response 1 In normal condition This is a message to be sent back to the external
19. 0 to 3 FEDC BA98 7654 3210 l I I Il 3 2 1 0 Response Source BCC la E R i wo SRW Write relay in bit unit The bit device area in the GT is written in bit unit Command Destinati oF BCC estination 71H O S R W Contact number speci H L CR fication 1 digit BCD HEX Response G digits di Source gt 7 H D S R W BCC H 1 CR 5 14 1 ON ait 0 OFF 5 2 2 Transmitting Messages From GT WDR Send information on data area in word unit Data in word unit is sent to a host computer from the GT Message bai Starting address of Destination W D R reference data area Number of om Data Data ni BCC CR H O 4 digits 4 digits 4 digits 4 digits H O SRR Send information on single relay bit The information on On Off of relay is sent to a host computer from the GT Message I Destinati OF BCC estination 71H O S R R Contact number speci H L CR fication l ___ 2 digits BCD HEX 3 digits 1 digit 00 OFF L_01 ON WRR Send information on relay in word unit Data in the relay area in word unit is sent to a host computer from the GT Message biz Starting address of Destination Number of words Data 1 PON Data n BCC jm o W RR ee 4 digits 4 digits 4 digits Ho e
20. 8 Error Codes 4 1 9 Restrictions 4 2 Command Code Reference 2 2 2 2 2 4 2 5 4 2 4 2 4 3 4 4 4 5 4 6 4 7 4 8 5 4 2 1 Transmitting Commands From External Device 4 2 2 Transmitting Messages From GT Two way 2 Mode 5 1 What is Two way 2 Mode 5 1 1 Overview of Communication Mode 5 1 2 Setting Communication Conditions 5 1 3 Change in CTS Signal When Responded from GT Except GT01 5 1 4 Basic Formats 5 1 5 Control Codes 5 1 6 Command Codes 5 1 7 BCC Block Check Code 5 1 8 Error Codes 5 1 9 Restrictions 5 2 Command Code Reference 5 2 1 Transmitting Commands From External Device 5 2 2 Transmitting Messages From GT 6 Documentation 6 1 ASCII Code Table 6 2 Error Codes Table 6 3 Sheet for Basic Communication Area Allocation 6 4 Connection Diagrams 6 4 1 Precautions when connecting GT 6 4 2 RS232C Connection 6 4 3 RS422 Connection 6 4 4 RS485 Connection In Command Response Mode Only 4 8 4 13 5 1 5 2 5 2 5 3 5 4 5 5 5 8 6 4 6 7 6 7 6 7 6 8 6 8 Chapter 1 Communication Methods 1 1 Communicating with External Devices 1 1 1 Communication Between GT and External Devices The communication between the GT and an external device is carried out via the GT internal memories The external device can control screens or display data by reading writing the GT internal memories fa Reference For the details on the commands to read write the interna
21. ARCT1F356E 11 Panasonic PROGRAMMABLE DISPLAY GT series General purpose serial communication Manual 2013 7 panasonic net id pidsx global Safety Precautions Observe the following notices to ensure personal safety or to prevent accidents To ensure that you use this product correctly read this User s Manual thoroughly before use Make sure that you fully understand the product and information on safety This manual uses two safety flags to indicate different levels of danger WARNING If critical situations that could lead to user s death or serious injury is assumed by mishandling of the product Always take precautions to ensure the overall safety of your system so that the whole system remains safe in the event of failure of this product or other external factor DO NOT USE THE PROGRAMMABLE DISPLAY TO CONTROL SAFETY FEATURES OR OTHER CRITICAL OPERATIONS OF EQUIPMENT OR SYSTEMS A COMMUNICATION ERROR FOR ANY REASON MIGHT PREVENT SUCH SAFETY FEATURES OR CRITICAL OPERATIONS FROM FUNCTIONING PROPERLY Do not use this product in areas with inflammable gas It could lead to an explosion Exposing this product to excessive heat or open flames could cause damage to the lithium battery or other electronic parts Battery may explode if mistreated Do not recharge disassemble or dispose of fire CAUTION If critical situations that could lead to user s injury or only property damage is assumed by mishand
22. C L C Calculation example of BCC in Basic program 10 INPUT AS 20 ANS 0 30 FOR I 1 TO LEN AS 40 ANS ANS XOR ASC MIDS AS I 1 50 NEXT I 55 PRINT HEXS ASC 60 GOTO 10 run gt 01BDW00010002 6C 4 1 8 Error Codes The error codes are as follows For GT01 GT11 and GT21 Error code Error name Measures EROO BCC error The value of BCC may be incorrect Check if there is no calculation mistake ERO1 Format error A command format may be incorrect Check if it is correct A command used is not supported with the version of the GT ER02 NOT supported error Upgrade the version of the GT or use another command ERO3 Add The address specified does not exist in the GT Check the ress error i address of the transmitted command ER04 Receive buffer The sent command exceeds the receivable number of bytes overflow Check the number of bytes of the sent command EROS Requested overflow The sent readout command exceeds the number of bytes that can send back Check the number of the read words The communication condition for the GT may be unmatched ERO6 Data error with the condition for a destination device Check the communication conditions ERO7 Data write inhibit A command for the address that writingn is not available was error sent Check the address of the sent command For GT02 GTO 2L GT03 E GT05 GT1 2 GT32 and GT32 E Erro
23. For the detailed procedure refer to lt GT Series Technical Manual gt e The clock function is not available for the models that a battery cannot be installed e The values of era name stored in GDT9085 are the last two digits of the year Chapter 2 Settings and Connections 2 1 Setting on GTWIN The general purpose serial communication is set using the screen creation tool software Terminal GTWIN 2 1 1 Selecting PLC Model For using the 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 el button at the window of the PLC model and select General Purpose Serial from the pull down menu Select Modet x GT Model ata E 320 x 240 Color Extended ing PLC Madel Panasonic FP Series hd General Purpose Serial Mitsubishi MELSEC FX Series Mitsubishi MELSEC FX2N Series Mitsubishi MELSEC Q Serial Communication Seri Mitsubishi MELSEC GQ CPU Series Mitsubishi MELSEC 4 Computer Link Series Omron SYSMAC C Series Omron SYSMAC CS CJ Series Allen Bradley SLC500 Micro Logix Series Siemens 57 200 Series LG MASTER K Cnet Series Modbus Slave RTU Mode Modbus RTU Mode Modbus RTU Mode modicon PLC HITACHI EH EHY Series TOSHIBA MACHINE PROVISOR TCmini Series Yokogawa FA M3 Series Keyence K 10 1 6 24 40 Series Keyence KV700 Series Keyence KW1000 Series Ke
24. S RS control is set to On garbage data is sent to the external device from the GT Except GT01 GT11 and GT21 2 1 4 Transmission of GT Configuration Data The settings specified in 2 1 1 to 2 1 4 will be effective when the GT Configuration data is transferred to the GT The GT Configuration data will be automatically transferred once all the data are transferred Transfer Data Untitled Data to Transfer Direction F All Data I Bases Configuration GTWIN gt GT EE GT gt GTWIN I Keyboard Screen COM Settings I Login Screen I Flow Display Password I Write Device Zee IP Address I Data Logging I SD Recipe I Recipe I Operation Security Password 2 5 2 2 Connecting to External Devices The GT is connected to an external device with a RS232C or RS422 RS485 interface The RS485 communication can be used in the command response mode only 1 1 connection 1 1 connection is to connect one external device with one GT The connection is cross connection that each other s sent data signals and received data signals are exchanged RS232C External device Commercial PC 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 nes Note For 1 n communication the usable communication mode is the command response mode only
25. communication will be maintained The communication program for the two way 1 mode should be created at the external device side considering the points below 1 When the CS CTS changes from L to H during a message being sent the GT will stop sending the message at the time that the CS CTS changes to H and then restart sending the rest of the message after it changes to L If acommand to request a response is sent from the external device during a message is being sent when the CS CTS is H the GT will resend the rest of the message at the time that the CTS changes to L and then send a response to the received command GT receives Command ST sends Message Rest of message Response os 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 However in that case it is not assured to which command the response was sent back 4 When sending commands successively the next command should be sent after intervals of more than 50 ms 5 If a screen where to jump is complicated it may need a long time for GT to change the screen If commands are sent successively when changing a screen confirm the time interval of the c
26. device from the GT Analyze this message according to the format and check the operation results or retrieve the data Horizontal parity Destination Command BCC _ Termi Header ne 4 code Tete H L _ nator 1byte 2 bytes 3 bytes 2 bytes 1 byte 2 When an error occurred Horizontal parity Destination N Error BCC Termi Header A H O K code H L nator 1byte 2bytes byte 2 bytes 2bytes 1 byte Y 3 1 4 Control Codes The control codes header and terminator are as follows Name Character ASCII code Function Header 2 3F Beginning of a message Terminator CR OD Completion of a message NAK NAK 15 Response when an error occurs 3 1 5 Command Codes The command codes are as follows Type Character ASCII code Function WDR 57 44 52 Read data area in word unit Read 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 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 Write 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 Write relay in digit unit SRW 53 52 57 Write relay in bit unit 3 4 3 1 6 BCC Block Check Code BCC is t
27. e end of the text data and that 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 0 1 B D w Jo jo o 1 0 0 0 2 6 C Header Destination Command Reference data area of Lower byte Data BCC write destination specification A Character ASCII code 3 30 31 42 44 Sy Exclusive OR 30 30 30 31 30 30 30 32 njolojoj lo ololi jolwj gt loj 6C BCC H 6 BCC L C _ Calculation example of BCC in Basic program 10 INPUT AS 20 ANS 0 30 FOR I 1 TO LEN AS 40 ANS ANS XOR ASC MIDS AS I 1 50 NEXT I 55 PRINT HEXS ASC 60 GOTO 10 run gt 01BDW00010002 6C gt 5 1 8 Error Codes The error codes are as follows For GT01 GT11 and GT21 Error code Error name Measures EROO BCC error The value of BCC may be incorrect Check if there is no calculation mistake ERO1 Format error A command format may be incorrect Check if it is correct A command used is not supported with the version of the GT EROS NOT supported error Upgrade the version of the GT or use another command ERO3 Add The address specified does not exist
28. e two way 2 mode that the response function is available the external device can detect errors because no response is returned External device Sends commands Desti Header nation Text Communication cable Sends back responses Desti Check Termi nation Text code nator Sends messages of switch input data settings Desti Check Termi q Header nation Text code nator lt Communication cable External device Using two way 2 mode on GT01 e The external device should support full duplex transmission to use the two way 2 mode on the GTO1 5 1 2 Setting Communication Conditions e The communication in the two way 2 mode is only available for 1 1 connection and specify the unit numbers within a range of 00 to 63 e The settings for Baud rate Data length and Parity check should be the same as the communication settings specified on the external device e In the two way 2 mode it is recommended to perform the CS RS signal control to prepare for the case that the response to a command from an external device and a message from the GT are sent at the same time Item Settings Caution Unithumb r 00 to 63 Do not specify the same unit number for multiple GTs Baud rate 115200 57600 38400 19200 9600 bps These setings should be Te same Data length 7 8 bits te ET ERT as the settings specified on
29. ecify the unit numbers within a range of 00 to 63 e The settings for Baud rate Data length and Parity check should be the same as the communication settings specified on the external device e 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 Caution ribnumber 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 he Same Data length 7 8 bits i pa aa ae as the settings specified on the Stop bits Fixed 1 bit extemaldevic Parity check Odd Even Invalid No CS RS signal GT01 CSIRS signal control Fixed On GT11 GT21 Visi ans a DAAE in On Off Other models P i Note CS RS signal control is not available for GT01 Y Reference For the details of the communication parameters of GT refer to lt 2 1 Setting on GTWIN gt 42 4 1 3 Change in CTS Signal When Responded from GT Except GT01 In the two way 1 mode the external device and the GT both have the transmission right so if a command is sent from the external device when a message is being sent from the GT the normal communication may be interfered The GT monitors the L H level Note of the CS CTS and in the above case it temporarily interrupts the message transmission so that the normal
30. ect wiring xO OO 6 8 Record of changes Manual No Date Desceiption of changes ARCT1F356E JAN 2005 First Edition ARCT1F356E 1 JAN 2006 2 Edition Additions GT21 ARCT1F356E 2 NOV 2006 3th Edition Additions GT32 GTO1R ARCT1F356E 3 OCT 2007 4 Edition Additions GT05 ARCT1F356E 4 FEB 2009 5 Edition Change of Company name ARCT1F356E 5 JUL 2009 6 Edition Additions GT12 ARCT1F356E 6 Sep 2009 7 Edition ARCT1F356E 7 JUL 2010 8 Edition Additions GT02 ARCT1F356E 8 DEC 2010 9 Edition Additions GTO2L Change of Company name ARCT1F356E 9 AUG 2011 10 Edition Additions GT32 E ARCT1F356E 10 DEC 2011 11 Edition ARCT1F356E 10 JUL 2013 12 Edition Additions GT03 E Please contact Panasonic Industrial Devices SUNX Co Ltd E Overseas Sales Division Head Office 2431 1 Ushiyama cho Kasugai shi Aichi 486 0901 Japan E Telephone 81 568 33 7861 W Facsimile 81 568 33 8591 panasonic net id pidsx global About our sale network please visit our website Panasonic Industrial Devices SUNX Co Ltd 2013 July 2013 PRINTED IN JAPAN ARCT1F356E 11
31. ends Message Rest of message Response cs 4 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 However in that case it is not assured to which command the response was sent back 4 When sending commands successively the next command should be sent after intervals of more than 50 ms 5 If a screen where to jump is complicated it may need a long time for GT to change the screen If commands are sent successively when changing a screen confirm the time interval of the consecutive commands using the screen data used The time interval may need to be more than 50 ms depending on the complexity of a screen Note The L H level shows the signal at the microcomputer port level It means that L 0 and H 1 For the voltage of the RS232C port the plus voltage is output at the level L and the minus voltage at the level H 5 1 4 Basic Formats Command This is a message to be sent to the GT from the external device Create this command according to the format on the computer Horizontal parity Y Destination Command BCC lermi o ay code Teta H L _ nator 1byte 2 bytes 3 b
32. er of bytes that can send back Check the number of the read words The communication condition for the GT may be 0006 Data error 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 3 1 8 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 3 2 Command Code Reference WDR Read data area in word unit The word device area in the GT is read in word unit Command inati Starting address of Farce w D R reference data area S a a dl CR 4 digits 4 digits H L Response Destination Data 1 Data n BCC jm mo W DP R 4 digits 4 digits mu SS Higher Lower SRR Read single relay bit The bit device area in the GT is read specifying one bit Command Destination BCC H 0 S R R Contact number H D CR l IL BCD HEX 3 digits 1 digit Response I s nis Contact Destination data BCC CR lo ofS NS When OFF 00 When ON 01
33. eration was performed on the GT Analyze this message according to the format and check the operation results or retrieve the data Horizontal parity Destination Command BCC _ Termi en 1 code dea H a nator 1byte 2 bytes 3 bytes 2bytes 1 byte 4 4 4 1 5 Control Codes The control codes header and terminator are as follows Name Character ASCII code Function Header 3F Beginning of a message Terminator CR oD Completion of a message NAK NAK 15 Response when an error occurs 4 1 6 Command Codes The command codes are as follows Command codes used for commands transmitted from external device to GT Type Character ASCII code Function WDR 57 44 52 Read data area in word unit Read 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 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 Write 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 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 WDR 57 44 52 Send information on data area in word unit
34. for a command to the external device The external 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 y 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 External device External device Send commands lt A ee gt Send back responses Operation for switch input data settings 1 4 1 2 Internal Memory Configuration There are two types of memories such as GDT and WGR in the internal memories of the GT These internal memories are called internal devices Bit Word devices No Remarks Bit device Internal relay GRO to GR255F Internal relay WGRO to WGR255 Word device Data register GDTO 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 Higher Lower 2 0 FIE D 1 c BIAls s 7161514131211 0 GDT 0000 0001 0002 0003 2046 2047 WGR Byte position Digit p
35. he horizontal parity that is from the beginning of the command and response to the end of the text data and that 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 0 1 B D w Jo jo o 1 0 0 0 2 6 C Header Destination Command Reference data area of Lower byte Data BCC write destination specification A Character ASCII code 3 30 31 42 44 Sy Exclusive OR 30 30 30 31 30 30 30 32 njolojoj lo ololi jolwj gt loj 6C BCC H 6 BCC L C _ Calculation example of BCC in Basic program 10 INPUT AS 20 ANS 0 30 FOR I 1 TO LEN AS 40 ANS ANS XOR ASC MIDS AS I 1 50 NEXT I 55 PRINT HEXS ASC 60 GOTO 10 run gt 01BDW00010002 6C gt 3 1 7 Error Codes The error codes are as follows Error codes For GT01 GT11 and GT21 Error code Error name Measures EROO BCC error The value of BCC may be incorrect Check if there is no calculation mistake ERO1 Format error A command format may be incorrect Check if it is correct A command used is not supported with the version of the ERO2 NOT supported error GT Upgrade t
36. he version of the GT or use another command ERO3 Address eior The address specified does not exist in the GT Check the address of the transmitted command The sent command exceeds the receivable number of ERO Receive puffer overe bytes Check the number of bytes of the sent command EROS Radiestedoveniow The sent readout command exceeds the number of bytes q that can send back Check the number of the read words The communication condition for the GT may be ERO6 Data error unmatched with the condition for a destination device Check the communication conditions ERO7 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 GTO 2L GT03 E 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 A command used is not supported with the version of the 0002 NOT supported error GT Upgrade the version of the GT or use another command 0003 Kddrese snor 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 numb
37. ice Value Recipe AlarmHistory Line Graph OK Cancel Basic Setup Communication Parameters Auto Paging Startup Screen f COM Port Connected to PLC External Device Baud Rate v bps Handle Communication Error Retry 3times 4 seconds Initialize Data Length 8 Y bit Display Error Codes On Unhold Stop Bits u bit Parity Bit odd X oma Delay bo a TOOL Port Connected to GTWIN Baud Rate 115200 kd Data Length 8 i Stop Bits u ii Parity Bit odd ba Communication Parameters screen GT02 GT02L GT03 E GT05 GT12 GT32 GT32 E GT Configuration Untitled x Hold Device Value Recipe Alarm History Line Graph Operation Security Index registration OK Basic Setup Communication Parameters Auto Paging startup Screen Setup1 Setup2 Cancel GTUnitNo 0 63 A COM Port Connected to PLC External Device Baud Rate 19200 v bps Communication System C_RS232CIRS422 Comm Full duplex Indialize Data Length 8 vi bit RS485 Comm Half duplex Stop Bits Transmission Delay f Poriy Ba 0 1000 o Em CSIRS Control 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 el button displays a pull down menu from which the value to be set can be selec
38. igits 1 digit gt 01 to 08 Response I Destinati Contact 1 Contact n Pm na e P R R data On data BCC CR Hh 2 digits 2 digits H l When OFF 00 When ON 01 WRR Read relay in word unit The bit device area in the GT is read in word unit Command P Starting word address Destination il Number of words BCC 2 W R R of output destination hy CR H D 4 digits 4 digits H L Response Destination Data of contact 1 Data of contact n BCC lm oO RR 4 digits 4 digits mu Example of read data 3 F 5 1 0011 1111 0101 0001 4 9 WDW Write data area in word unit Data is written in the word device area of the GT in word unit Command i eis Starting address of Destination Number of words Data 1 Data n BCC ala Oo PW han rey aea 4 digits 4 digits 4 digits op Higher Lower BDW Write data area in byte unit Data is written in the word device area of the GT in byte unit Command I ie Ne Starting address of Upper lower ae B D W reference data area ean 00 Data BCC CR 4 digits 2 digits 2 digits H L Lower byte 00 Upper byte 01 DDW Write data area in digit unit Data is written in the word device area of the GT in digit unit
39. it The bit device area in the GT is read specifying one bit Command Destination BCC H 0 S R R Contact number H O CR l IL BCD HEX 3 digits 1 digit Response Destination Soritast BCC S R R data CR H 2 digits D L l When OFF 00 When ON 01 PRR Read multiple relay bits The bit device area in the GT is read in bit unit Command eat Number of gt Pesiraien p gop m popup ss le H D 2 digits H L IL l BCD HEX BCD HEX 8 digits 1 digit 3 digit 1 digit gt 01 to 08 Response Destinati Contact 1 Contact n e eN P R R data data BCC CR H 2 digits 2 digits H l When OFF 00 When ON 01 WRR Read relay in word unit The bit device area in the GT is read in word unit Command I sid Starting word address Destination Vee Number of words BCC Ww R R of output destination he CR H D 4 digits 4 digits H L Response Destination Data of contact 1 Data of contact n BCC 71m vi RR 4 digits 4 digits Hole Example of read data 3 F 5 1 0011 1111 0101 0001 5 10 WDW Write data area in word unit The word device area in the GT is written in word unit
40. l memories refer to lt Chapter 3 4 and 5 gt External device Ill Display the No 10 l l screen The screen Write 10 in is switched Internal memory address N 1 0 I 1 l 2 l l l I N 1 1 i i Writing has been completed This is an example of writing _ The value of the internal memory can be read by performing reading Depending on the communication mode settings the GT can send a message informing the external device when a switch was pressed External device The value of the internal memory will be changed when the switch is pressed l The switch was pressed 1 1 2 Communication Mode Type The general purpose serial communication for the GT supports three types of communication modes Select one of them as usage 1 Command Response mode The command response mode is an interactive communication mode that an external device sends a command to the GT and the GT sends back a response A maximum of 63 GTs can be connected to one external device A maximum of 32 units can be connected when using Matsushita C NET adapter In the command response mode the external device has always the transmission right and the GT only sends back a response to a command from the external device Therefore the external device wait
41. ling of the product To prevent excessive exothermic heat or smoke generation use this product at the values less than the maximum of the characteristics and performance that are assured in these specifications Do not dismantle 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 matters such as liquid flammable materials metals to go into the inside of the product It could cause excessive exothermic heat or smoke generation Do not undertake construction such as connection and disconnection while the power supply is on It could lead to an electric shock The control force of the touch switches should be less than the specification of the product Failure to do so could lead to a damage to the product or a personal injury These touch switches operate using analog resistance membrane Do not press more than one point on the screen at a time Doing so might operate a switch located in the middle of the points pressed if one exists and could lead to a damage to the facility or an accident Copyright Trademarks This manual and its contents are copyrighted You may not co
42. number of bytes overflow Check the number of bytes of the sent command ee The sent readout command exceeds the number of bytes that Sen REUSS even can send back Check the number of the read words The communication condition for the GT may be unmatched 0006 Data error with the condition for a destination device Check the communication conditions 0007 Data write inhibit A command for the address that writingn is not available was error sent Check the address of the sent command Note These are the error codes related to communicaiton ye Reference Other error codes lt GT series User s Manual No ARCT1F511E gt 6 3 Sheet for Basic Communication Area Allocation Word device area Part bit area Size words Address Application F E D 9 8 7 6 4 3 6 4 Word device area Part area Size words Address Application F E D 9 8 7 6 6 5 Bit device Size words
43. onsecutive commands using the screen data used The time interval may need to be more than 50 ms depending on the complexity of a screen Note The L H level shows the signal at the microcomputer port level It means that L 0 and H 1 For the voltage of the RS232C port the plus voltage is output at the level L and the minus voltage at the level H 4 1 4 Basic Formats Command This is a message to be sent to the GT from the external device Create this command according to the format on the computer Horizontal parity Y Destination Command BCC _ Termi Header de a code T xtdata bt nator 1byte 2 bytes 3 bytes 2 bytes 1 byte Response This is a message to be sent back to the external device from the GT when a readout command was sent Analyze this message 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 Horizontal parity Y Destination Command BCC _ Termi Heal code Tindal H O nator 1 byte 2 bytes 3 bytes 2 bytes 1 byte 2 When an error occurred Horizontal parity Y Head Destination 7 Error BCC _ Termi 14 B k da H 0 nator 1byte 2bytes 1byte 2 bytes 2bytes 1 byte Message This is a message to be sent to the external device when the switch op
44. osition Bit position 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 0000 to 0255 Higher Lower 3 0 2 1 F E DICIBIAI9 1817 6 51413 2 0 WGR 0000 0001 0002 0003 0254 0255 Byte position Digit position Bit position Specified in bits FEDCBA9876543210 wer3 M111 Bit A of WGR3 GR3A LLJ Decimal Address number Hexadecimal Bit position 1 5 Clock data storage devices GDT9080 to GDT9086 The data of the clock built in the GT is stored in the data registers GDT9080 to GDT9086 The data can be read by using the readout command of the data registers Higher Lower Byte position 3 2 1 0 Digit position FJE DIC BJAI91817 61514 31211 0 Bit position GDT 9080 Second 9081 Minute 9082 Hour 9083 Date Values are stored by BCD 9084 Month 9085 Year 9086 Day 0000 Sunday 0001 Monday 0002 Tuesday 0003 Wednesday 0004 Thursday 0005 Friday 0006 Saturday Note e The built in clock in the GT cannot 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 l S Reference
45. py this manual in whole or part without written consent of Panasonic Industrial Devices SUNX Co Ltd Windows is a registered trademark of Microsoft Corporation in the United States and other countries Ethernet is a registered trademark of Fuji Xerox Co Ltd and Xerox Corp SDHC logo and SD logo are trademarks All other company names and product names are trademarks or registered trademarks of their respective owners POT_GT Table of Contents 1 Communication Methods 1 1 Communicating with External Devices 1 1 1 Communication Between GT and External Devices 1 1 2 Communication Mode Type 1 2 Internal Memory Configuration 2 Settings and Connections 2 1 Setting on GTWIN 2 1 1 Selecting PLC Model 2 1 2 Selecting Communication Mode 2 1 3 Communication Parameters 2 1 4 Transmission of GT Configuration Data 2 2 Connecting to External Devices 3 Command Response Mode 3 1 What is Command Response Mode 3 1 1 Overview of Communication Mode 3 1 2 Setting Communication Conditions 3 1 3 Basic Formats 3 1 4 Control Codes 3 1 5 Command Codes 3 1 6 BCC Block Check Code 3 1 7 Error Codes 3 1 8 Restrictions 3 2 Command Code Reference 4 Two way 1 Mode 4 1 What is Two way 1 Mode 4 1 1 Overview of Communication Mode 4 1 2 Setting Communication Conditions 4 1 3 Change in CTS Signal When Responded from GT Except GT01 4 1 4 Basic Formats 4 1 5 Control Codes 4 1 6 Command Codes 4 1 7 BCC Block Check Code 4 1
46. r 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 Shor The address specified does not exist in the GT Check the address of the transmitted command 0004 Receive buffer The sent command exceeds the receivable number of bytes overflow Check the number of bytes of the sent command sc The sent readout command exceeds the number of bytes that 9005 Requested overflow can send back Check the number of the read AN The communication condition for the GT may be unmatched 0006 Data error with the condition for a destination device Check the communication conditions 0007 Data write inhibit A command for the address that writingn is not available was error sent Check the address of the sent command Note These are the error codes related to communicaiton 4 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 communication mode a message will not be sent if the
47. s for a response from the GT after sending a command to read the information on the switch input data settings of the GT External device Send commands gt Ann ss E Send back responses 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 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 Ll a Note As no response is returned in the two way 1 mode the external device cannot detect errors In the two way 2 mode that the response function is available the external device can detect errors because no response is returned External device External device Messages Command Operation for switch input data settings 1 3 3 Two Way 2 mode In the two way 2 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 sends back a response
48. ss of Destination Number of words Data 1 Data n BCC le of Y RW Bk alee 4 digits 4 digits 4 digits wo Highest order digit is always 0 WGRO000 to WGRO255 Response Destination BCC gt jo wl R 7 ew BRW Write relay in byte unit The bit device area in the GT is written in byte unit Command o Starting address of Upper lower 2 Destination gt gt y reference data area a Data BCC oR 1H 4 digits specificalion 2 digits H L 2 digits Highest order digit is always 0 WGR0000 to WGRO255 Response Destination BCC gt 100 En D H o Lower byte 00 Upper byte 01 3 11 DRW Write relay in digit unit The bit device area in the GT is written in digit unit Command Drain Starting address of Digit nn gt D R W reference data area Peci Data CR I W 4 digits fica H tion digit digit Highest order digit is always 0 3 WGR0000 to WGR0255 Specify 0 to 3 FEDC BA98 7654 3210 l I I Il 3 2 1 0 Response Source BCC gt 60 R i e SRW Write relay in bit unit The bit device area in the GT is written in bit unit Command Destinati BCC estination 71H O S R W Contact number speci H L CR fication 1 digit BCD HEX 3 digits
49. t The word device area in the GT is written in byte unit Command Po TT 0 Starting address of Upper lower Destination B D W reference data area HA er Data BCC CR J 4 digits Od 2 digits H U Response Source BCC 71m wl B HW o Lower byte 00 Upper byte 01 3 9 DDW Write data area in digit unit The word device area in the GT is written in digit unit Command Drain Starting address of Digit nn gt D D W reference data area Peci Data CR I O 4 digits fica H tion 1 digit 1 digit Specify 0 to 3 FEDE BA98 7654 3210 l Il 3 2 1 0 Response Source BCC gt 060 P l H o SDW Write data area in bit unit The word device area in the GT is written in bit unit Command T Desiri Starting address of Bit ON 2 sunauon S D W reference data area speci GSH BCC CR i H 0 4 digits fication en H 0 1 digit 1 digit 0 OFF _1 ON Specify 0 to F Response Source BCC gt lo wo S B a Ho 3 10 WRW Write relay in word unit The bit device area in the GT is written in word unit Command I POES Starting addre
50. ted e Baud rate Select 9600 19200 38400 57600 or 115200 e Data length Select either 7 bits or 8 bits e Stop bit This is fixed at 1 bit e Parity Select None Odd or Even Communication System Select a communication system according to the used communication system The RS485 communication can be used in the command response mode only Transmission Delay The time taken to send the next data from receiving data from an external equipment can be adjusted with the GT The delay time longer than the preset value can be held by specifying the time until sending data Set it when the external equipment cannot receive data properly as data transmission is too quick from the GT CS RS Control GT02 GTO2L GT03 E GT05 GT12 GT32 GT32 E Select either Off or On When selecting On RS RTS always outputs LOW and the transmission is interrupted according to the input status LOW HIGH of CS CTS This setting is available for the RS232C type y Key Point GT01 does not have the terminal for CS RS signal control When replacing GTO1 with GT02 GTO2L GT03 E 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 n a Note When Transfer Data After Clear GT Screen is performed or Clear F ROM is performed from the setting mode of the system menu without connecting a CS RS signal line although the C
51. the Stop bits Fixed 1 bit extemal device Parity check Odd Even Invalid i No CS RS signal GT01 CSIRS signal control Fixed On GT11 GT21 ci de i On Off Other models P i Note CS RS signal control is not available for GT01 p Reference For the details of the communication parameters of GT refer to lt 2 1 Setting on GTWIN gt 5 3 5 1 3 Change in CTS Signal When Responded from GT Except GT01 In the two way 2 mode the external device and the GT both have the transmission right so if a command is sent from the external device when a message is being sent from the GT the normal communication may be interfered The GT monitors the L H level Note of the CS CTS and in the above case it temporarily interrupts the message transmission so that the normal communication will be maintained The communication program for the two way 2 mode should be created at the external device side considering the points below 1 When the CS CTS changes from L to H during a message being sent the GT will stop sending the message at the time that the CS CTS changes to H and then restart sending the rest of the message after it changes to L If a command to request a response is sent from the external device during a message is being sent when the CS CTS is H the GT will resend the rest of the message at the time that the CTS changes to L and then send a response to the received command GT receives Commana GT s
52. yence KV3000 5000 Series FT Keep Curre 2 2 2 1 2 Selecting Communication Mode Terminal GTWIN Select File gt Configuration gt GT Configuration The GT Configuration dialog box is displayed Clicking the Basic Setup tab displays the following screen Select the communication mode for the general purpose serial communication Basic Setup screen GT Configuration Untitled Setup 2 Hold Device Value Recipe Alarm History Line Graph Sound Basic Setup Communication Parameters Auto Paging Start up Screen Setup 1 Cancel Title GT Model GT32 Color Extended PLC Model General Purpose Serial Initialize Basic Communication Area to PLC Communication Mode Command Response Word Area E Two Way GDTO E to Por C Two Way 2 Bit Area wara E te werz Selecting Communication Mode Select any one of the communication modes Command Response Two Way 1 and Two Way 2 2 1 3 Communication Parameters Selecting File gt Configuration gt GT Configuration of GTWIN displays the GT configuration dialog box Clicking the Communication Parameters tab displays the following screen This is where communication parameters for the external device connected to the GT are set Communication Parameters screen GT01 GT11 GT21 GT Configuration Untitled Setup1 Setup2 HoldDev
53. ytes 2 bytes 1 byte Response 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 1 In normal condition Horizontal parity Y Destination Command BCC _ lermi Head y code Txtdata H 0 nator 1byte 2 bytes 3 bytes 2 bytes 1 byte 2 When an error occurred Horizontal parity ly Head Destination da Error BCC Termi E A OL code Hd U nator 1byte 2bytes 1byte 2 bytes 2bytes 1 byte 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 Horizontal parity Y Destination Command BCC _ lermi peast y 4 code Bik H nator 1byte 2 bytes 3 bytes 2 bytes 1 byte 5 5 5 1 5 Control Codes The control codes header and terminator are as follows Name Character ASCII code Function Header 3F Beginning of a message Terminator CR 0D Completion of a message NAK NAK 15 Response when an error occurs 5 1 6 Command Codes The command codes are as follows Command codes used for commands transmitted from external device to GT
Download Pdf Manuals
Related Search
Related Contents
Fiche Technique (FT) 無機ELシート フィルム光源 取り付け説明書 ご使用上の注意 Capítulo 11 価格につきましては、カタログをご参照ください。 ZySCAN Manual 取扱説明書(保証書) - 携帯電話・スマートフォン My Book User Manual Téléchargez 2.28 Mo - Conseil général de la Creuse 施工部材 テーブル脚 NH-145 取付・取扱説明書 7章 温室換気システム Copyright © All rights reserved.
Failed to retrieve file