Home
DIGITRONIK CPL Communications User`s Manual SDC30/31
Contents
1. Master station Master station RS 232C RS 232C RS 485 converter CMC10L001A000 RS 485 3 wire system 2 RS 485 5 wire system Connection between master Slave Connection between master Slave station and slave station station station and slave station station The high performance communication controller CMC410A102 is available for conversion between the RS 232C and RS 485 interfaces 1 When the master station is an MA500 DIM or CMC410 it can be connected to up to 16 slave stations 2 The CMC10L001A000 communication controller is an RS 232C RS 485 3 wires type converter available from Yamatake Corporation 1 1 2 WIRING 2 1 RS 485 Connection E 5 wire system When the DIGITRONIK instruments with the communication functions in compliance with the RS 485 are used in the 5 wires system they are connected for example as follows 5 wire system DIGITRONIK instrument slave station Terminating 3 P SDA resistor lt o SDB Terminating g RDA resistor i J e RDB d SG pee fe das ZIT Shielded cable E Fe Master station RDA lt RDB SDA SDB mo FGO 4 Shielded f 170 f T gt 5 wire system cable i 4 F4 DIGITRONIK instrument slave station SDA SDB lt l RDA C gt __ RDB SG FLL FG ZIT Shielded cabl
2. Description If 0 is set as a station address the communication function is stopped Therefore to make communication be sure to set an address value of 1 or more 2 hexadecimal characters For details see the example For the details of setting of the station address see the SETTING Example When the station address of the mate is 10 1 10 decimal OAH hexadecimal 2 When converted into character codes 0 30H A 41H 3 OA 30H 41H found in 2 is used as the station address Caution e Note that the function of the station address differs absolutely from that of the data address of the application layer 4 3 4 Communication procedure Sub address Description The sub address is meaningless in this instrument Be sure to set 00 30H 30H as the sub address in the same format as in the station address Device ID code Description The character code X 58H or x 78H only can be designated in this instrument O ETX End of Text Role Indicates that the application layer existed up to immediately before Description Fixed at 03H O Check sum Role A value to be used to check whether or not the message has been changed due to any error such as noise on the course of communication Description Two hexadecimal characters The preparing method for the check sum is as follows 1 The character codes of the message from STX to ETX are added byte by byte
3. 123W 4 lication layer in response messag id 20 O 40 lication layer in request messag 234W i 1 lication layer in response messag Example of indication of execution result O Setting for communication Set the station address of a mate instrument to ADDRESS Open the RS 232C and call the subroutine INIT DATA O Data reading After setting the read start data address to READ ADRS and the read data count to READ LEN call the subroutine DATA READ This program permits four data to be read from the data address 123 Change the setting so as to meet the instrument used O Data writing After setting the write start data address to WRITE ADRS the write data count to WRITE LEN and the write data to WRITE DATA call the subroutine DATA WRITE This program permits two data to be written from the data address 234 Change the setting so as to meet the instrument used 6 2 6 Communication program for master station M Data read write sample program B Handling Precautions Yamatake Corporation won t be absolutely responsible for any trouble caused by applying this program sample VK KK KK KK KK KKK KK KK RK KK RK KKK KK RK KK KR KK KKK KR KKK KKK KK KK KKK KKK Data Read Write Sample Program Ver 1 00 Vk OS Windows 95 98 Language Fujitsu F BASIC V6 0 OR All rights reserved Copyright C 1999 Yamatake Corporation VK KK KK KKK KKK KKK KR KKK K
4. OJO ss OJO an 3 onesetting en ass OJO ss OJO ana onesetting na as OJO ssa OJO ms lzoneseting emn ass OJO sss OJO me lzoneseting n 6 gt ass OJO sw OJO mr lzoneseting an 7 as OJO ss OJO ca sPrampupgracient 27 OJO ss OJO 4 __ sPrampdown gradient 2528 JO JO ss OO For the setting range and read write conditions see the instruction manual CP UM 1586E for the main instrument 5 Communication data table SETUP relation addresses Display Gr PV indicator Address R w Address R w cor seecionotkeylocksans 3009 OJO oor OTO 02 selection oftemperatureunie 2002 OJO 6002 OJO os selection ofcontotaction 2008 OJO se OJO oa selection ofinputrenge ye 3008 O JO svor OJO eee APA position os Setting ofPvrangelowiime 3006 O O e06 OTO c 07 setting of ev range high limit 3007 OJO 6007 OJO cos Selection of sPsettingaystem 3008 O O 6008 OJO cos Setting oflowlimitotselimie 3008 O O e009 TOTO c 10 O soo OJO C 11 1 Je PP variable at input error 2 Setting of manipulated JET variable in READY mode or at PV input error O 6013 OJO O em OJO e Pr manipulated variable MIS initialize O i O O i i O i O Selection of disturbance 3019 suppression function action Selection of neural network 3020 magia C type action type action READY mode Setting of the number of LSPs which can be se
5. cece e eee eee erraren 6 1 6 2 Examples of communication program 00 00 eee eee eee eee eee es 6 2 E Before executing the program 2 ccc e cece eens 6 2 E Executing the program 2 000 cece eee eee teens 6 2 E Data read write sample program 0 00000 c eee eee ees 6 3 Troubleshooting M Check items in case communicationis disabled 2 02 7 1 Specifications E RS 485 specifications 1 0 20 0 cent e eee 8 1 Appendix M Codetable 00 ccc eee eens Appendix 1 E Connection with CMC10L ooo Appendix 2 1 Communication functions In the RS 485 system up to 31 instruments see 1 can be connected with one master station The station addresses are then used to identify mate stations for communication e When the following procedure is completed during communication various data for the instrument can be read or written 1 The master station host computer transmits a request message to a slave station instrument 2 The master station receives a response message from the slave station Instructions from master station to slave station are classified into two types read and write The type of ready write data can be optionally selected by data address e CPL Control Peripheral Link communications network is the Yamatake Corporation s host communications system RS 485 connection example RS 485 connection example
6. 0000 1 0000 1 0001 AT stop 0001 LOCAL 0001 RUN 0001 AUTO 0010 AT start 0010 REMOTE 0010 READY 0010 MANUAL 0100 1 0100 1 0100 1 0100 1 1000 1 1000 1 1000 1 1000 1 Cautions e For details see the instruction manual CP UM 1586E for the main instrument eEven when the value of 1 is written the status of the instrument is kept unchanged e In each mode reading the current status of the instrument is read but the value written previously cannot be read e As for AT the start stop of AT is read but the display on the console by the mode key cannot be read e Even when both RUN and AT start are executed at the same time by one request message with the instrument put in the AUTO and READY modes the instrument is not started After running the instrument by the first message transmit an AT execution request in the next message 1 When 4 bits each are set to 0000 2 each mode status of the instrument is kept unchanged 2 When 4 bits each are set to 0001 2 or 0010 2 the instrument is changed into each mode status 3 When 4 bits each are set to 0100 2 or 1000 2 each mode status of the instrument is kept unchanged 4 The mode may not the changed depending upon the status of the instrument See the following table Conditions for write disable AUTO MANUAL Allocated to the remote switch input AT is stopped when set to MANUAL RUN READY Allocated to the remote switch input AT is stopped when set to READ
7. 2 The two s complement of the result of addition is taken 3 The above value is converted into character codes Example Description is given below citing the example of the above request message on the preceding page 1 The character codes from STX to ETX are added byte by bytes The one lower byte of the result of calculation is 76H 2 The two s complement of the result of addition is taken The result is 8AH 3 The 85H is converted into character codes this value is used as the check sum The result is 8A 38H and 41H For the conversion into character codes see the example of the station address on the preceding page Caution The check sum in the request message can be omitted but no check sum is then included in the response message The check sum should not be omitted to assure the proper reception of a message 4 4 4 Communication procedure CRandLF Carriage Return Line Feed Role Indicates the end of a message O Description CR is 0DH and LF is OAH Be sure to use CR and LF in pair Caution e if any of the following errors has occurred in the contents of the data link layer the instrument does not respond to them The communication conditions for both stations do not meet each other such as different transmission speeds or parity error occurrence The transmitted station address differs from the station address of the object instrument The station address
8. If the power supply is turned off after writing data into RAM and then it is turned on again the data in EEPROM is copied on RAM so the data in RAM becomes the same as in EEPROM e EEPROM Data are written in both RAM and EEPROM 5 1 5 Communication data table PRECAUTION The write count in EEPROM is 100 000 times or less i When such data as an SP must be written frequently and I repeatedly by communication select RAM as an object memory 5sc sx 14 E Data address The data addresses are allocated as shown in the table below Communication date EEPROM Offset value Offset value Address E Data read write count The number of data which can be continuously read written by once communication is as shown in the table below Among the continuous data any data which do not exist due to difference in model number are handled as shown below e Read 0Oisread as a dummy data normal end e Write Not written warning end M Data unit and decimal point position A decimal point is not added to read write data The unit or decimal point position is predetermined every data For the unit and decimal point position of each data see the user s manual for the main unit of instrument Example When data to be read written is numeric value 105 its unit or decimal point position is automatically determined by the data address the SETUP item of
9. is 00 STX ETX CR and LF are not placed at the specified positions The device distinction code is neither X nor x The station address sub address or check sum is not two characters long The calculation result of the check sum does not meet the check sum of the message Non designated characters are included in the message e As for the contents of the data link layer the same message as the request message of an instrument is set as a response message except for the check sum e Use the upper case characters A to F in the hexadecimal numeric part to be used for the station address and check sum 4 5 4 Communication procedure 4 3 Application layer E Outline of application layer e The application layer includes a request data data count and message decision information status code e The application layers of the request message and response message differ in structure from each other e There are two types of request messages a read request and a write request The response message includes a response corresponding to each request e It can be identified by a Status code how the request message has been processed Contents Application layer Request message Read request Request code RS Start data address Read data count Write request Request code WS Start data address Write data Read data 4 Communication procedure E Description of read request e This request permits the cont
10. the instrument and the others Therefore the numeric data 105 is expressed as 10 5 105 C or the like according to the data address of data to be read written 5 2 5 Communication data table 5 2 Communication data table The address and read write R W enable status of each data are determined as shown in the table below e Meaning of symbols in R W column O Read write enable x Read write disable O Run status relation addresses The asterisked items are detailed later as bit information data indicator Address R w Address R w C an PTE MEC CEA se EE ens aversas so JO x se fx fx 503 JO x 350 x x SP X SP Group No in use 3504 Notes 1 3 and 4 SP value in use 3505 Notes 2 4 and 5 ondsay vencen varani soe O x 3506 x X vondsplay Mv manipulated variable sor OJO 2507 xx to mororfeedbackvavete som O x 3500 x x onder mio groupinuse noter soo O x 3500 x x_ won display Mode actionstatus motes s10 OJO aso O10 Notes 1 An SP group in use is read written 2 AnSP value selected is read written In the case of EEPROM write an SP value is written in the EEPROM of the SP group currently in use 3 Ifa value other than 0 SP selection is set to C26 in a model having the remote input switch function the remote input switch has priority so the written SP Group No is rejected and an error response is returned During AT operation an SP group canno
11. time 1ms min Transmit end of slave station Driver disable time 10ms max Receive end of master station Driver enable time 10ms min E Other cautions 1 If the number of characters per message exceeds 200 characters upon receipt of a message the instrument ceases to take in the message and it is placed in an STX wait status The instrument ignores the message and does not return a response 2 The instrument returns an error response whenever the total character count of the STX address instrument code status code and application layer exceeds 190 bytes 3 The maximum number of word address is not specially designated during execution of the RS or WS command However when there are many set words in a message and the case is relevant to either of the above mentioned items 1 and 2 no response or an error response is returned 4 The maximum word count for EEPROM write or read is limited to 5 words per message to assure the update cycle of 200ms 5 The maximum word count for RAM write or read is limited to 10 words to assure the update cycle of 200ms 6 When the above mentioned cautions are observed the response time is 1sec max from the end of receive of the whole messages to the beginning of response return 4 15 5 Communication data table 5 1 Preliminary knowledge of communication data handling E Types and formats of communication data Types of communication data The communication data are
12. word address The read result with no zone used is the same as in the 504W 5 Communication data table 5 4 When an SP group and SP value are rewritten in the remote SP the SP to be executed by the instrument is kept unchanged However when the LOCAL mode is restored the written values become effective The status code is 00 When data is written at 3510W the current mode status is all stored in EEPROM When data is written at 510W the status is set only to RAM Even when AT is executed from either 3510W or 510W the PID constants of the AT result are stored in EEPROM Even when AT is executed by communication the AT display indicated with the MODE key pressed on the console is kept unchanged If mode write cannot be executed due to setting of the remote input switch or the status of another parameter or the instrument etc the status code 21 is indicated 5 Communication data table O Bitinformation data The information data of 16 bit data is a character code in decimal notation For the details of each bit information see the instruetion manual CP UM 1586E for the main instrument No 1 Alarm staus 15 214 213 212 211 210 29 28 27 26 25 24 23 22 21 20 ejejejejejojejejejejejejejeje jo ALO7 Twire disconnection or FB wire input error ALO3 C wire or CJ wire input error ALO1 PV input overrange ALO2 PV input underrange gt ALOS RSP overrange indicated only with remote SP AL06 RSP under
13. 1 SENDS RETURN 1 VARKKAKKKAKKKAKKKKKKK KK KK Recive Subroutine VK KKK KKK KKKKKKKKKKKK KKK COM_ERROR 0 Normal 1 Time out error 2 Check sum error lt 0 Data link layer error RECEIVE_COMMAND Waiting for STX 6 4 6 Communication program for master station AS um WHILE AS lt gt STXS RECEIVES GOSUB RECV_SUB IF COM_ERROR THEN RETURN WEND Waiting for ETX WHILE AS lt gt ETXS GOSUB RECV_SUB IF COM_ERROR THEN RETURN WEND IF SUM FLAG 0 THEN SUMS GOTO RECV CR 1 Waiting for 1 st character in check sum GOSUB RECV_SUB IF COM_ERROR THEN RETURN 2 Waiting for 2 nd character in check sum GOSUB RECV_SUB IF COM_ERROR THEN RETURN AS LEFTS RECEIVES LEN RECEIVES 2 GOSUB MAKE SUM IF RIGHTS RECEIVES 2 lt gt SUMS THEN COM_ERROR 2 RETURN Waiting for CR RECV_CR GOSUB RECV SUB IF COM ERROR THEN RETURN IF A lt gt CR THEN COM ERROR 2 RETURN 1 Waiting for LF GOSUB RECV_SUB IF COM_ERROR THEN RETURN IF A lt gt LF THEN COM ERROR 3 RETURN 1 Checking data link layer IF MIDS SENDS 2 5 lt gt MIDS RECEIVES 2 5 THEN COM ERROR 1 RETURN RECEIVES MIDS RECEIVES 7 LEN RECEIVES LEN SUMS 9 RESPONSE VAL LEFTS RECEIVES 2 RETURN Waiting for 1 character subroutine Same routine as time out monitoring RECV SUB A 0 WHILE 1 AS TIMES WHILE AS TIMES IF
14. 9 4 Communication procedure 4 5 Data Write E Description of write request e This request permits the contents of continuous data addresses starting with the designated write start data address to be simultaneously written in one message e The application layer of a write request consists of the following three types of data Write request code Write data 1st data Write start data address j Write data 2nd data T sx o ofo x w s o o w e ede pin see CC er Data link layer e Individual data are partitioned with a comma character code 2CH respectively e The write data count need not be designated e An upper case character code is used for each numeric or character in the application layer e Decimal number is used for each numeric e Unnecessary 0 30H or a space cannot be added to each data Example The underlined part of WS 01001W 2 is wrong Example The underlined parts of WS 1001W 02 are wrong Example The above figure shows an example that 2 and 65 are written at addresses 1001W and 1002W respectively in one message Write request code WS 9 Role command which indicates write O Description Two characters WS 57H 53H Write start data address Role Designates the start data address for write For the correspondence between the data address and write data see the Communication Data Table Be sure to add W 57H
15. A I VAL MIDS A Jl J2 Jl PQ gt 5 Q 6 3 6 Communication program for master station Jl J2 1 NEXT RETURN t VAXKKKKXKKKKKXKKKXKKKkXkkk Write Subroutine VK KK KKK KKK tr DATA WRITE A WRITE_ADRS GOSUB BIN_TO_ASCII CMDS WS AS ny FOR I 0 TO WRITE_LEN 1 A WRITE_DATA I GOSUB BIN_TO_ASCII CMD CMD A NEXT GOSUB COMMUNICATION RETURN ASCII character conversion subroutine 1 BIN_TO_ASCII AS STR A IF LEFT AS 1 THEN A RIGHTS A LEN A 1 RETURN 1 VK KKK KKK KKK KK KK KK KK KK KK KKK Communication Subroutine VARKKAKKKAKKKKKKKKKKKKKKKK KK KA COMMUNICATION COM_RETRY 3 COM_ERROR 1 WHILE COM RETRY gt 0 AND COM ERROR lt gt 0 COM_ERROR 0 WHILE eof 1 0 AS INPUTS 1 1 WEND GOSUB SEND COMMAND y PRINT Application layer in response message PRINT CMDS GOSUB RECEIVE_COMMAND i IF COM_ERROR 0 THEN PRINT Application layer in response message PRINT RECEIVES IF COM_ERROR 1 THEN PRINT Time out error IF COM_ERROR 2 THEN PRINT Check sum error IF COM_ERROR lt 0 THEN PRINT Data link layer error PRINT COM_RETRY COM_RETRY 1 WEND RETURN 1 ITkkkkxkxkxkkkkkkkkxkkkkkk Send Subroutine VkkkkKKKKKKKKKKKKKKKK SEND COMMAND AS RIGHTS 0 HEXS ADDRESS 2 AS STXS AS SUB_ADR DEVICES CMD ETXS GOSUB MAKE_SUM SEND AS SUM CR LFS PRINT
16. EOF 1 0 THEN A INPUTS 1 1 RECEIVES RECEIVES AS RETURN A A 1 IF A TIME_CNT THEN RECV_ERR WEND WEND RECV_ERR COM ERROR 1 RETURN Check sum subroutine MAKE SUM A 0 SUMS IF SUM_FLAG 0 THEN RETURN FOR I 1 TO LEN AS A A ASC MIDS AS I 1 NEXT SUM RIGHTS 0 HEXS A AND amp HFF 2 RETURN Data initializeing subroutine TNIT DATA STXS CHRS 2 STX code ETXS CHRS 3 ETX code 6 5 6 Communication program for master station 6 6 CRS CHRS 13 CR code LFS CHRS 10 LF code SUB_ADR 00 DEVICES x SUM_FLAG 1 TIME OUT 2000 TIME CNT 0 Time out monitoring Same routine as waiting for 1 charcter subroutine A 0 while eof 1 0 AS input 1 1 wend AS TIMES WHILE AS TIMES WEND AS TIMES WHILE AS TIMES if eof 1 0 then I LOOP1 I_LOOP TIME CNT TIME CNT 1 IF TIME CNT A THEN I LOOP2 I LOOP2 WEND TIME CNT TIME OUT 1000 TIME CNT 1 Round up RETURN Last Line 7 Troubleshooting E Check items in case communication is disabled 1 2 3 Check if the communication conditions for the DIGITRONIK instrument meet those for the host computer If any one of the below setting items is different between both stations communication is disabled The underlined items mean that they can be set o
17. KK KK KK RK KK RK KR KKK RK KK RK KK KKK KK KKK Initilize data INITIALIZE DEFLNG A Z dim READ_DATA 100 WRITE DATA 100 Read write data area ADDRESS 1 Device address OPEN COMO S8E1N8NN SD200 RB4096 AS 1 Open RS 232C 8bit Even parity 1 stop bit 8bit No Parity 2stop bit S8N2N8NN baud 0 9600 Transmission Speed 9600bps GOSUB INIT_DATA Main routine MAIN Reading 4 data from the data address 123 READ_ADRS 123 Read start data address READ_LEN 4 Read count GOSUB DATA_READ lt Output gt COM_ERROR Communication error RESPONSE End code y READ DATA i i 0 to READ_LEN 1 Read data 1 Writing 4 data from the data address 234 WRITE_ADRS 234 Write start data address WRITE_LEN 2 Write count WRITE_DATA 0 1 Write data No 1 WRITE_DATA 1 1 Write data No 2 gosub DATA_WRITE lt Output gt COM ERROR Communication error j RESPONSE End code goto PROCESS_END Ending routine PROCESS_END CLOSE 1 Close RS 232C INPUT Press any key x END VK KKK KK KKK KR KK KKK KKK Read Subroutine X VAXKKKKXKKKKKKXKKKXKKKkkkk DATA_READ READ_ADRS gosub BIN_TO_ASCII E RS AS 28 W READ_LEN gosub BIN_TO_ASCII MD cmd A GOSUB COMMUNICATION IF COM ERROR lt gt 0 OR RESPONSE lt gt 0 THEN RETURN AS RIGHTS RECEIVES LEN RECEIVES 3 Jl 1 FOR I 0 TO READ LEN 1 J2 INSTR Jl AS READ DAT
18. The slave station processes the request message and executes read and write 3 Further the slave station transmits a response message according to the contents of processing 4 The master station receives the response message and executes processing E Configuration of message One message consists of two layers as shown below This is common to the request message from the master station and response message from a slave station e Data link layer This layer has the basic information required for communication This layer has the destination of communication message and message check information e Application layer Alayer for data read and write The contents change depending upon the purpose The individual layers are detailed in the following items Many mate stations i ments max Application layer Slave stations The driver of the data link layer knows The load data of the application layer Destination station address changes every time depending upon the Load check sheet check sum purpose 4 1 4 Communication procedure E Definite examples Definitely the messages are as shown below Incase of read request Request message Data link layer Application layer Data link layer Response message s fofrfofofxfofof o fafrfemfofafof Data link layer Application layer Data link layer Incase of write request Request message sx ots fo fo xfw s eleli v
19. Y LOCAL REMOTE Allocated to the remote switch input A model having no REMOTE function AT Allocated to the remote switch input In MANUAL mode In READY mode 5 Communication data table O SPrelation addresses Display of PV Peer ae aat PD seo setpoint seo 100 OO 4001 OJO ser eto ser o JO JO er JO TO ser setpoint s o OO ao OJO ses setpoint sea 1008 JO JO or OJO sea eto sea oos JOJO aos OJO ses setpoint ses oo JO O oe OJO see setpoint see ver JO OY er OJO ser seta s 1008 JO OJ os JO LO For the setting range and read write conditions see the instruction manual CP UM 1586E for the main instrument Event relation addresses Display oF PV indicator tem Address R w Address R w er feventtsetvalue 15014 OJO aso OJO 22 Jevent2setvave 102 JOJO 502 OJO For the setting range and read write conditions see the instruction manual CP UM 1586E for the main instrument O PiDrelation addresses indicator Address R w Address R W P Proportionalband Po 200 OJO so OJO E Fintegrattine 10 2002 OO soe OJO 4 Joerivavetime D of 2002 OJO sos OJO oL Manipulated variable low limit 2004 5004 OL 0 Operation use high limit 2005 5005 DOTE 0 Te manualreset Re 0 2006 TOTO sos OIO Joana or aor OJO stor TOTO e Proporionaiband e 1 2008 OJO se JOTO Pa meone 11 2009 OJO sem JO O 44
20. YAMATAKE No CP UM 1589E DIGITRONIK CPL Communications User s Manual SDC30 31 Yamatake Corporation RESTRICTIONS ON USE When using this product in applications that require particular safety or when using this product in important facilities pay attention to the safety of the overall system and equipment For example install fail safe mechanisms carry out redundancy checks and periodic inspections and adopt other appropriate safety measures as required REQUEST Ensure that this User s Manual is handed over to the user before the product is used Copying or duplicating this User s Manual in part or in whole is forbid den The information and specifications in this User s Manual are sub ject to change without notice Considerable effort has been made to ensure that this User s Manual is free from inaccuracies and omissions If you should find any inaccuracies or omissions please contact Yamatake Corporation In no event is Yamatake Corporation liable to anyone for any indirect special or consequential damages as a result of using this product 1994 Yamatake Corporation ALL RIGHTS RESERVED The DIGITRONIK is a registered trademark of Yamatake Corporation Windows Windows NT and Microsoft are registered trademark of Microsoft Co Ltd Other company names and product names listed in this manual are registered trademark or trademark of respective companies Introduction Thanks for th
21. a mroportonalband aP 4 2076 OJO sem OTO aa fintegrarime aa 2077 OJO som OJO daa oematvetme ad a 2018 OJO som OJO es mroportonalband a 5 208 OJO som OJO as fintegrarime ars 2000 OJO som OJO das foermatvetme s 5 201 OJO so OJO as 6 mroportonalband aP 6 2082 OJO sos OJO ars fintegrarime a 6 me OJO sm OJO ads ervativewme s 6 2080 OJO sos OJO ae r mroportonalband aP 7 208 OJO sos OJO 47 fintegrarime a 7 2006 OJO ss OJO ae 7 oervativewme ad 7 2087 OJO sr OJO e mroportonalband aP 2088 OJO sos OJO a fintegrarime ar 2009 OJO so OJO a _ erivatvewme as 200 OJO se OO Cautions e For the setting range and read write conditions see the instruction manual CP UM 1586E for the main instrument e Data can be written within 2064 to 2090W and 5064 to 5090W by setting C19 0 1 respectively O Parameter relation addresses 5 10 indicator Address R w Address R w Hys 1 eventibysteresis 2501 OJO ss OJO an event rondeley ase OJO so OTO Cms 2 fevent2nysteress ase OJO 50 OJO a2 fevent2ondelay as OJO so OJO ee fevainer ass OJO ss OO ra vos ass OJO ss OO rara pera faser OJO ss OJO ey foutputgee ass OJO sos OJO outL Manipulated variable change 2509 5509 nese ma Zn mo Zone Zonesetting Zn 0 Zn 0 2510 5510 ION EDI Cod RES e an 2 ronesetting en as
22. after the numeric representing the data address 4 10 4 Communication procedure Write data Role Data to be written at continuous addresses starting with the designated data address Description The range of a numeric to be written differs depending upon each data address Individual data are partitioned with a comma 2CH respectively The data address at which the corresponding data is written is incremented by 1 sequentially starting with the start data address see the example given on the preceding page The number of data which can be written in one message is limited For details see the Communication Data Table M Write response Role When the message in the data link layer is proper the status code only is sent back Description The status codes are classified as follows Status code The status code is expressed in two decimal digits Normal response warning response Role Information concerning the result of processing the write request message is sent back Only the normal status code or warning status code is sent back Description Information in the application layer Status code A numeric by which it can be identified how the request message has been processed on the instrument side Example An example of normal response when all data are properly written Status code 00 normal DDD CODO Data link layer Applic
23. ake Corporation The following diagram shows an example of wiring using a straight cable for a host computer in the terminal mode 5 wire system DIGITRONIK instrument slave station Terminating HA SDA resistor li cable RD di O SD gt o Shielded 3 wire system RS cable if DIGITRONIK instrument s slave station Pe Pr a i HA o i Ed poER NT Q qe Shielded f de T cable 5 wire system Host computer CMC10L DIGITRONIK instrument slave station Terminating 0 resistor ES O d O n U gt A I U gt J Q EZ U o Connect two terminating resistors of 1500 5 1 2W min to the instrument at each end of the transmission line Conduct the wiring externally for the wires marked with an asterisk Appendix 2 Appendix Connect the master station SD to the slave station RD and the master station RD to the slave station SD To execute this connection set the MODE switch provided in the CMC10L as shown in the following table in accordance with the host computer side RS 232C connector pin arrangement modem terminal and the type of cable cross straight used RS 232C Cable type MODE switch TERMINAL Straight MODEM TERMINAL TERMINAL MODEM Straight TERMINAL MODEM MODEN Straight An RS 232C cable with a D Sub 9 pin connector at each end where pins with the same number are mutually connected for example pin 2 to pin 2 and pin 3 to pin 3 O RS 232C cabl
24. ation layer Data link layer 4 Communication procedure Example In case of warning response numeric corresponding to the warning code is put in XO Status code XX warning Data link layer Application layer Data link layer Error response Role Only the error status code is sent back O Description Information in the application layer Status code Indicates that there is an error in the request message and write processing cannot be done For details see the 4 6 Status code Table Example In case of error response numeric corresponding to the error code is put in xx Status code X X Error sp o fo fo x f x fem gt forja Data link layer Application layer Data link layer 4 12 4 Communication procedure 4 6 Status code table E Normal and warning ends Status code Contents and action Warning e Data is written at a protected word address due to an influence of other parameters e Data is written for a parameter which has not been set to the relevant instrument e Data is written for a SETUP parameter during RUN e Processing is continued except for the relevant word address Warning e Readis all stopped since an address out of the range has been accessed e The following write processing is stopped since an address out of the range has been accessed However the write processing so far has been executed Warning e Data is attempted to be wr
25. ave station SDA Terminating E m SDB lt i resistor RDA SG Connect one terminating resistor of 150Q 5 1 2W min to the instrument at each end of the transmission line Also connect the shield wires to FG at one place In the 3 wires system the Yamatake Corporation CMC10L cannot be used as a converter in the master station or slave station In an instrument equipped with only three RS 485 terminals the asterisked wiring is done internally 2 2 2 Wiring 2 2 Terminal Array of SDC30 31 E SDC30 The communication terminal array of the DC30 having the communication functions is as shown below Optional Function SDA SDB RDA RDB SG FG Model No oe sf fe fo s ES om Pst feo s ae Note Terminal Nos 3 and 4 are shorted inside the SDC30 E SDC31 The communication terminal array of the DC31 having the communication functions is as shown below Optional Function SDA SDB RDA RDB SG FG Model No os os ow Pe fe s Poe es Ps ar es os 2a Note Terminal Nos 3 and 4 are shorted inside the SDC31 2 3 3 Setting 3 1 SETUP Items of SDC30 31 Setting at Code Item delivery from Setting range factory 631 Station address 0 poor FF Transmission speed 0 9600bps 4800bps 2400bps 1200bps 8 bi ity 2 stop bits 3 1 3 Setting 3 2 Initialize Before starting communication initialize the communica
26. cerning communication and communication specifications of the DIGITRONIK instruments The instruction manuals for the DIGITRONIK instruments are classified into the following parts DIGITRONIK instrument SDC30 31 DIGITRONIK CPL communications SDC30 31 CP UM 1589E Instruction manual for DIGITRONIK Digital Indicating Controller SDC30 31 CP UM 1586E Persons in charge of hardware design maintenance and operation of control panels or equipment using the DIGITRONIK instruments should read these manuals without fail These manuals outlines the DIGITRONIK instrument products and describes their panel mounting and wiring methods setting and operating methods maintenance and inspection troubleshooting and hardware specifications me me Configuration of this instruction manual This instruction manual consists of eight chapters in which the respective items are described as shown below 1 Communication functions Communication functions and model numbers of the DIGITRONIK instruments 2 Wiring RS 485 wiring methods to make communication between the DIGITRONIK instruments and other equipment 3 Setting Setting for communication of DIGITRONIK instruments 4 Communication procedure Communication procedure message configuration data read write and signal timing 5 Communication data table Table of various data addresses used for communication of DIGITRONIK instruments 6 Communication program for master stati
27. classified into the following types e Runstatus Data indicating the run status of instrument PV alarm etc e SETUP Data for setting the status of instrument before running setting of input range etc e Parameter Data to be changed operated during running PID constants or the like These data are communicated every data type Format of communication data The communication data are classified into the following formats e Numeric data Data indicating numerics PV SP etc e Bit data Data each bit of which is given meaning alarm etc The bit data must be composed during transmit and be decomposed during receive HM Communication data storing memory Types of memory Communication data are stored in the memory storage device The following two types of memory are used in this instrument e RAM Data in RAM are cleared when the power supply is turned off However data can be written in RAM any number of times e EEPROM Data in EEPROM are not cleared even when the power supply is turned off However the data write count is limited due to the characteristics of the device The allowable maximum write count is 10 000 times Communication object memory In communication it is necessary to read write data from into the above mentioned two types of memory according to the purpose and use There is a difference between the object memories as follows e RAM Data is read written from into RAM only
28. e Cross An RS 232C cable with a D Sub 9 pin connector at each end where different number pins are connected for example pin 2 to pin 3 and pin 3 to pin 2 D Sub 25 pin D Sub 9 pin conversion cable An RS 232C cable for conversion between D Sub 25 pin and D Sub 9 pin Appendix 3 Revision History Date 8410 cr um tsselistedion 1 5 2 Data write Count EEPROM 10 000 changed to 100 000 1 1 2 1 2 2 CMA50 changed to CMC10L 2 1 2 2 RS 232C and RS 485 connection diagrams Appendix to3 changed Check sum 35H 5 corrected to A Example of check sum corrected 1 7BH to 76H 2 85H to 8AH 3 85 to 8A 35H to 41H Notes Item5 revised Page 5 4 to 5 11 changed to 5 5 to 5 12 Page added No 3 Control action status corrected 5 OPEN to CLOSE 6 CLOSE to OPEN Sample program changed Page added Page deleted En ae Connection example corrected RS 232C deleted Specifications are subject to change without notice Yamatake Corporation Control Products Division Sales contact Yamatake Corporation IBD Sensing and Control Department Totate International Building 2 12 19 Shibuya Shibuya ku Tokyo 150 8316 Japan Phone 81 3 3486 2380 Fax 81 3 3486 2300 This has been printed on recycled paper WAMATAKE Printed in Japan 1st Edition Issued in June 1994 3rd Edition Issued in Dec 2001 R
29. e SETUP parameters can be written only during the READY mode e When data write at 3036W ends normally the result is stored in EEPROM as well 6 Communication for master station 6 1 Precautions for programming The longest response time of the instrument is 2sec Therefore the response monitor time should be set to 2sec If no response is obtained within 2sec retransmit the same message When no response remains coming even after making retransmission twice 1t should be regarded as a communication error The above mentioned retransmission is required since a message may not be properly transmitted due to noise or the like during communication Note When the device distinction codes X and x are used alternately during message retransmission from the master station the received response message can be conveniently identified to be the latest message or preceding one 6 1 6 Communication program for master station 6 2 Examples of communication program The program examples given in this paragraph are written in FUJITSU F BASIC Ver 6 0 for Windows95 98 NT This program is shown as a reference for making a program M Before executing the program Check the instrument communication conditions and station address M Executing the program This program is used for data read and data write When the program is executed the application layers of the request message and response message communicated are indicated
30. e choice of the DIGITRONIK digital indicating Controller DC30 31 The CPL Control Products Link communication means a base band system simplified communication whose connection object is a personal computer or equivalent This instruction manual not only outlines the CPL communication functions of the SDC30 31 but also describes its wiring methods communication procedure communication data table troubleshooting and communication specifications The items required for the DC30 31 CPL communication functions to be properly used are given in this manual Persons in charge of design or maintenance of operation panels or equipment using the DC30 31 CPL communication functions should read this manual without fail PRECAUTIONS If itis necessary to change the parameters of the SDC30 31 i frequently during communication write data at addresses of not i EEPROM but RAM The guaranteed data write count at the I EEPROM addresses is limited to 100 000 times I I Note that the data in RAM is cleared and the data in EEPROM is copied on RAM if the power supply to the SDC30 31 is interrupted Positioning of this instruction manual This instruction manual is essential to data exchange with a personal computer or the like or a control system configuration using the communication functions of the DIGITRONIK instruments This instruction manual provides descriptions on the wiring methods communication procedure troubleshooting con
31. e f i 5 wire system DIGITRONIK instrument slave station SDA Terminating SDB lt resistor RDA O gt RDB Terminating tH resistor SG Connect two terminating resistors of 150Q 5 1 2W min to the instrument at each end of the transmission line Also connect the shield wires to FG at one place In the 5 wires system the Yamatake Corporation CMC10L can be used as a converter in the master station It can also be used as a converter in the slave station when the number of the slave stations is only one but cannot be used as a converter in a slave station when two or more slave stations are used 2 1 Chapter 2 WIRING E 3 wire system The DIGITRONIK instruments with the communication functions in compliance with the RS 485 can also be used in the 3 wires system An example of connection methods in such a case is shown below 5 wire system DIGITRONIK instrument slave station 3 wire system Shielded gt DIGITRONIK instrument cable a Goal an slave station DA i tL DB Q0 O 77 Terminating SDA resistor SDB lt RDA RDB SG ETTE O FG ue Master station 1 RDA Shielded lt RDBL J cable SDA x SDB SG L SG a Mal li an s N Shielded a cable E Part 5 wire system DIGITRONIK instrument sl
32. ents of continuous data addresses starting with the read start data address designated to be read in one message e The application layer of a read request consists of the following three types of data Read request code Read start data address Read data count s fofrfofofrfefsf frfofofifuf lesa Data link layer Application layer Data link layer e Individual data are partitioned by a comma character code 2CH respectively e An upper case character code is used for each numeric or character in the application layer e Decimal number is used for each numeric e Unnecessary 0 or a space cannot be added to each data Example The underlined part of RS 01001W 2 is wrong Example The underlined parts of RS 1001 W 02 are wrong Example The above figure indicates an example that two data information is read from 1001 W in one message Read request code RS 9 Role command which indicates read O Description Two characters RS 52H 53H Read start data address Role Designates the start data address from which data is to be read Description The correspondence between data address and read data is shown in the Communication Data Table Be sure to add W 57H immediately after the numeric of the data address Read data count Role It is designated how many data are read continuously starting with the designated data address Caution e For the
33. high limit of the read data count see the Communication Data Table 4 7 4 Communication procedure M Read response Role When the message in the data link layer is proper a response message is sent back according to the contents of the request message Description All the data in the application layer are expressed in decimal character codes Status code Role A numeric by which it can be identified how the request message has been processed on the instrument side Different value is set according to the result of processing Description The response message includes a Status code without fail The status codes are classified as follows Status code The status code is two decimal digits Normal response warning response Role Sends back the read data Description Information in the application layer Status code For the details of the status code see the Status code Table Read data Data are put in by the designated count The decimal point is removed from a numeric to be put in Example 55 6 is converted into 556 when it is put in Individual data are partitioned with a comma 2CH respectively The range and number of digits of each data depend upon the read data Example In case of normal response when there are two read data and all the data are read properly Status code 00 normal Read data Data link layer Applicatio
34. itten at a protected word address of RAM Write is continued without writing any data at the relevant word address Warning e Data is attempted to be written at a protected word address of EEPROM Write is continued without writing any data at the relevant word address Error e W and have not been set at a word addresses All messages are aborted Error e ETX 03H is not set at a proper position e after a word address is not set All messages are aborted Error e There isan error in a word address there is a character string other Error e There is an error in the read word count during read there is a character string other than a numeric All messages are aborted 8 Error e Aset value exceeds the predetermined range e Processing is continued except for the relevant address A Error e An undefined command e Other message error 21 23 27 28 43 47 3 4 13 4 Communication procedure 4 7 Timing specifications M Timing specifications for request message and response message The following precautions should be observed concerning the transmit timings of an request message from the master station and a response message from the slave station Response monitor time The maximum response time required from the end of transmitting an request message from the master station to the start of receiving a response message from the slave station is 2sec section 1 Therefore the response monitor time sho
35. l fs fe fen s a for or Data link layer Application layer Data link layer Response message sm o s Jo o x ofo jen a fo fer uF Data link layer Application layer Data link layer The data link layer and application layer are detailed in and after the next paragraph E Concept of data address This instrument uses the concept of data address to facilitate reading or writing each intended data by addressing 501W 502W 503W For the actual correspondence between data and address see the Communication Data Table 4 Communication procedure 4 2 Data link layer E Description of data link layer e The data link layer includes eight basic information for transmitting a message e The data link layers of a request message and response message have the same structure The underlined characters __ are always constant ETX STX when used by this instrument Station address Check sum Sub address ER s hi Device ID code ENS NS Nd AAA Data link layer Application layer Data link layer Each function of the data link layer is shown below O STX Start of Text Role Indicates the head of a message Description Fixed at 02H When the instrument receives STX it is identified as the first character of a new request message even on the course of any message Station address Role Designates the destination instrument Communication with one instrument designated is permitted
36. lication layer 0 ernaar rrarena erare eranen 4 6 E Outline of application layer 0 cece ees 4 6 4 4 Dataread cc 4 7 E Description of read request 00 eect eee ees 4 7 M Read response 2 2 0 cece anurun errara rekanan erara 4 8 E Expression of decimal numeric numeric data 222 ooo 4 9 4 5 Datawrite o 4 10 E Description of write request 0 eee eeees 4 10 M Write response 2 00 cece eee eee eeeees 4 11 4 6 Statuscodetable 00 ees 4 13 E Normalandwarningends cece cnn 4 13 4 7 Timing specifications 0 cee eee eee eeees 4 14 E Timing specifications for request message and response message 4 14 E RS 485 driver control timing specification 2 c cece eee eee 4 15 E Othercautions 2 0 00 cee rreraren 4 15 iv Communication data table 5 1 Preliminary knowledge of communication data handling 5 1 E Types and formats of communication data ooccoococccccccccc 5 1 E Communication data storing Memory o ccccccocccccccn eee 5 1 E Dataaddress oooooocccocccccc eee e ene eenees 5 2 E Dataread write count 2 cece eee tenet eee 5 2 E Data unit and decimal point position eee ee 5 2 5 2 Communication datatable aua ccc eee eens 5 3 Communication program for master station 6 1 Precautions for programming
37. n layer Data link layer 4 8 4 Communication procedure Example In case of warning response numeric corresponding to the warning code is put in xx Status code XX warning Read data supo rpopo xf ol fefrfofmfr rfafu Data link layer Application layer Data link layer Error response Role Indicates that there is an error in the request message and it cannot be normally read Therefore there is no data herein O Description Information in the application layer Status code Indicates an error type For details see the Status code Table Example In case of error response Status code XX error CONO Data link layer Application layer Data link layer E Expression of decimal numeric numeric data Role All the numeric part read count write value described in WS command and read data at the data address follow the rules given below 1 When a numeric is negative add a minus sign 2DH before the numeric Example 123 2DH 31H 32H 33H 2 When a numeric is 0 use one 0 Example 0 30H Example 00 30H 30H is wrong 3 When a numeric is positive never add a plus sign before the numeric Example 123 2BH 31H 32H 33H is wrong 4 Never add unnecessary 0 or a space before a numeric Example 0123 30H 31H 32H 33H is wrong Example 123 20H 31H 32H 33H 4
38. n the DIGITRONIK side Transmission speed 1200 2400 4800 9600bps Data length 7 8bits Stop bit 1 stop bit 2 stop bits Parity No parity odd parity even parity Check if the destination address of the command frame transmitted from the host computer meets the address set to the SDC30 The address of the SDC30 is set to 0 at delivery from the factory Even when the destination address of the command frame is set to 00 30H 30H the SDC30 does not respond to such a message Use the upper case character codes for all the character codes other than the device distinction code X or x in this instrument 7 1 8 Specifications E RS 485 Specifications Transmission mode Unbalanced type Transmission line 5 wires 3 wires system 1200 2400 4800 9600 bps Transmission 500m max 300m when connected with the MA500 DIGITRONIK interface module Communication Half duplex Start stop transmission method 8 data bits 1 stop bit even parity 8 data bits 2 stop bits no parity Parity check check sum Station address Oto 127 Communication functions are disabled when set to 0 Network type 1 N 31 units max Appendix E Code Table o Bits DI T The shaded areas are not used by this communication system The codes depend on the station Appendix 1 Appendix E Connection with CMC10L The CMC10L001A000 is available as an RS 232C RS 485 3 wire system con verter from Yamat
39. o OJO re imegrattme 6 20 JOO som OJO as pemomenme o 208 OTST s OJO Manipulated variable low limit 2046 5046 OL 6 Operation use high limit 2047 5047 OE 6 OL se rE re6 Manual reset RE 6 reset RE 6 2048 5048 910 5050 O sos JO g Proportional band P 7 2050 O Integral time l 7 2051 O Derivative time D 7 2052 O 5052 O 5053 Manipulated variable low limit 2053 OL 7 5 Communication data table Display or PV indicator e address R w Address r w Operation use high limit A 7 2054 5054 E7 O 7 Manual reset RE 7 RE 7 2055 5055 A joto TOTO er mroportonalband P 2057 OJO sos OJO Pr mtegrattme 1 205s JO TO ses OJO ar foerivativetme 0 2 OJO se OJO oL r Manipulated variable low limit 2060 5060 OL r operaron S ii per Po OO OH r ramas re ae OJO se OJO arr piernas or me OJO som OJO eo mroportonalband aP 0 204 OJO som OJO aro fintegrarime aro 2068 OJO ss OJO ado oerivativewme ado 2066 OJO sos OJO asi mroportonalband a 1 2087 OJO ss OJO av fintegratime a 1 208 OJO sos OJO day foermatvetme ad 1 2060 OJO so OJO ae 2 rroportionalbend a 2 200 OJO som OJO ara fintegrarime a 2 mm OJO son OJO ae 2 _ ervativewme as 2 202 OJO som OTO asa mroportonalband ara 203 OJO sem OTO ara fintegrarime aa 27 OJO som OO aa oeruatvetme as a 205 OJO so OO as
40. oervatvetime o 1 210 OO sow JOJO oL 1 Manipulated variable om im 2011 OL ae Operation use high me re 1 Manualreset RE 1 reset ees ee 2 Proporionaiband e 2 2015 O 12 megle 12 2016 O D gt O 5 Communication data table Display of PV item EEPROM indicator Address R w Address R w Manipulated variable low limit oL 2 2018 5018 OL 2 oH 2 Operation use high limit 2019 5019 OH 2 vea mnuslrest e 2 200 JO O som OO ar 2 ore om 2 221 OJO som OJO a Proportonaiband P 3 202 OJO so OJO 3 megrattme 1 3 28 OJO sem OO aa oervativeime o a 200 OJO som OJO ol 3 Manipulated variable low limit 2025 5025 OL 3 Operation use high limit 2026 5026 mase 3 rE re3 Manual reset RE 3 RE 3 2027 2027 OJO 5027 OJO ara ditferentiat ors 2028 OJO so OJO Fa reporionltand pe 2009 OJO so OO va integrattime 1 4 200 O O sem OJO ae peas o a f a OJO so JO TO Manipulated variable low limit 2032 5032 OL 4 Operation use high limit 2033 5033 OH 4 vea amarre a more OJO soe OJO ara oreren oF a 2038 OJO ses OJO 5 Proporionaiband P s 208 OJO ses OJO 5 regale 15 207 OJO so OJO 45 oervatvetine bs 208 OJO sos OJO ol 5 Manipulated variable low limit 2039 5039 OL 5 Operation use high limit 2040 5040 CTO 5 rE O E5 O Manualreset RE 5 RE 5 20m 5041 ars oasis ojo too 6 Proportonalband pe 2003 OJO s
41. on Communication program example of DIGITRONIK instruments using N88BASIC in PC 9800 series personal computer 7 Troubleshooting Check points required if the DIGITRONIK instrument communication should not operate normally 8 Specifications Communication specifications for the DIGITRONIK instruments APPENDIX Code table and network configuration using the RS 232C RS 485 converter CMA50 hs hs Contents Introduction Positioning of this instruction manual Configuration of this instruction manual 1 Communication functions 2 Wiring 2 1 RS 485 Connection oooccc eee es 2 1 HM 5 wiressystem o 2 1 HM 3 wiressystem o 2 2 2 2 Terminal Array of SDC30 31 oooooccccccccccccn eens 2 3 EE 2 3 E SDC31 llnan aaaeeeaa eeaeee arara a aaraa a aneen 2 3 3 Setting 3 1 SETUP Items of DC30 31 o 3 1 3 2 Initialize o 3 2 M Station address oo ooooo cen nent eens 3 2 E Baudrate 22 0 teen eee eee n enn nine 3 2 M Character format o 3 2 4 Communication procedure 4 1 Outline of communication procedure and messages 222200ee eee 4 1 E Communication procedure 0 eect eens 4 1 E Configuration of message 0 eee eees 4 1 E Definiteexamples 0 eee teens 4 2 E Conceptofdata address 0 cece eee eens 4 2 4 2 Datalinklayer 0 arv nuuuuuennuununnnnnnnnnn 4 3 E Description of data link layer 2 cece eee eens 4 3 4 3 App
42. range occurs only with remote SP ALO8 Motor adjustment error position proportional model ALxx Alarm occurrence AL96 Parameter error communication RAM area AL91 Illegal loader communication message AL97 Parameter error check sum AL98 Adjustment data error check sum SSS80S88009008000 Cautions e For details see the instruction manual CP UM 1586E for the main instrument D ALxx goes to 1 if any one alarm occurs in the instrument No 2 Event status EVI Event 1 status EV2 Event 2 status emote switch input 1 status emote switch input 2 status emote switch input 3 status R R R Remote switch input 4 status Cautions e For details see the instruction manual CP UM 1586E for the main instrument e The EV status and RSW status go to 1 in the ON status 5 Communication data table No 3 Control action status 215 214 213 212 211 210 29 28 927 26 25 24 93 22 921 20 PID 0 PID control 1 ON OFF control Al 0 Learning stop status 1 During learning over shoot control function NFB 0 A motor feedback value is in use 1 A motor feedback presumed value is in use CLOSE Close relay ON position proportional model OPEN Open relay ON position proportional model SOBLSIGOVGOIVOL Cautions e For details see the instruction manual CP UM 1586E for the main instrument No 4 Mode action status 215 9214 213 212 211 210 29 28 27 26 25 24 23 22 21 20 em Qt 0000 1 0000 1
43. t be selected so an error response is returned if it is selected 4 The result of read from RAM may differ from that of read from EEPROM depending upon the status of the remote input switch SP selection or SP setting This difference is caused by that the status of the remote input switch or an SP value is written in RAM but not written in EEPROM 5 Incase of the RAM read an SP value in a ramp segment is read during an SP ramp action When SP ramp is not used the SP value is same for addresses 505 and 3505 When SP ramp is used the SP value is the SP value for address 3505 SP value of currently selected SP group for either one of addresses 4001 to 4008 and is the current SP value for address 505 After reaching the SP value the value becomes the same for addresses 505 and 3505 However if the value of RAM address 1001 to 1008 for the SP value of currently selected SP group is rewritten the value becomes the SP value of SP ramp If SP is frequently changed while using SP ramp rewrite the value of RAM In this case rewriting cannot be executed for the ROM address 3505 6 Each changeover of AUTO MANUAL LOCAL REMOTE RUN READY and AT start stop is done by turning OFF ON the relevant bit When EEPROM write is executed the current status is all preserved In the case of EEPROM read the same result as the RAM read is returned 7 When the zone is used the SP group and PID group in use change The PID group in use is read from this
44. t by remote switch input Selection of remote switch input 1 function Selection of remote switch input 2 function Cc 13 C 14 Cc 15 C 16 C 17 C 18 Cc 19 cC 20 cC 21 C 22 C 23 C 24 C 25 26 C C 27 28 C 5 11 5 Communication data table 5 12 indicator Address R w Address R w 62 isman 3 JOJO OJO C 29 3029 6029 input 3 function C 30 Selection of remote switch 3030 6030 pS ition PPO ee Pe Cc 31 Communicationaddress 3031 O x 6031 O x Pc 32 rramsmisionspeed 302 JO x so ON cs oateformet 30 JO x so Ox c sa seringotdeadzone sosa OJO eae OO 35 setecionormamconmar 203s OJO es OTO C 36 Automatic M M adjustment 3036 6036 x x start C 37 Setting of M M adjustment 3037 6037 value fully close C 38 Setting of M M adjustment 3038 6038 value fully open C 39 Setting of M M fully close fully 3039 6039 open time Setting of SP ramp up gradient 3040 O O 604 OJO Setting of SP ramp down 3041 6041 gradient ca selection ofsrrampemeunt 30 O O s O seting oraren veranse 300 O OT oo TOJO Setting of auxiliary output 3045 6045 4mA Setting of auxiliary output 3046 MN 6046 C 47 Setting of RSP 0 4mA 1V 5V C 49 Selection of cold junction 3049 6049 compensation action Cautions e For the setting range and read write conditions see the instruction manual CP UM 1586E for the main instrument e All th
45. tion conditions for the DIGITRONIK instrument and master station E Station address E Baud rate E Character format 3 2 Set a decimal number within 0 to 127 to the SETUP item C31 of the DIGITRONIK instrument In the RS 485 system set a different address value from the addresses of the other slave stations connected in multi drop on the same transmission line Address 0 is set as an station address at delivery from the factory Since the communication function is not activated at address 0 be sure to set a value other than 0 to execute communication Set one of 0 to 3 to the SETUP item C32 of the DIGITRONIK instrument At this time set the same transmission speed value as in the master station 0 9600bps factory setting 1 4800bps 2 2400bps 3 1200bps Set 0 or 1 to the SETUP item C33 of the DIGITRONIK instrument At this time set the same data format as the DIGITRONIK instrument in the master station 0 8 data bits even parity 1 stop bit factory setting 1 8 data bits no parity 2 stop bits 4 Communication procedure 4 1 Outline of communication procedure and messages The outline of communication procedure and the concept of message configuration are given in this paragraph E Communication procedure The communication procedure used is given below in simple expression 1 The master station transmits a request message to a slave station to designate the mate instrument for communication 2
46. uld be set to 2sec Generally when the response monitor time reaches time up the request message is retransmitted For details see the 6 Communication Program for Master Station Transmit start time A wait time of 10ms or more is required before the master station starts to transmit the next request message to the same slave station or a different slave station after the end of receiving a response message section 2 e RS 485 3 wires system Request message e RS 485 5 wires system Request Request message mm message Response Response message message End of master station transmit Request interval time of slave station 2000ms max End of slave station transmit Request interval time of master station 10ms min Q Transmission line Response Request Response message message message Master station transmission line Slave station transmission line 4 14 4 Communication procedure E RS 485 driver control timing specification When the transmit receive of the RS 485 3 wires system is directly controlled by the master station utmost care should be exercised about the following timing Master station Driver control Transmission line Slave station End of master station End of slave station transmit transmit Transmit end of master station Driver disable time 500 ys max Receive end of slave station Driver enable
Download Pdf Manuals
Related Search
Related Contents
TCP/IP-INT-PTX - RVR Elettronica SpA Documentation Server AEG VAMPYRETTE 330 User's Manual Manuale utente - American Diagnostic Corporation Commission Implementing Regulation (EU) No 909/2013 of "service manual" NEC E655 Mechanical Drawings PrimeProbe2 User Manual 1 SPECIFICATIONS - Maharashtra Energy Development Agency Copyright © All rights reserved.
Failed to retrieve file