Home

"VUIPSJTFE %JTUSJCVUPST

image

Contents

1. Note 2 Always 00 Service Response PDU MRC SRC Response 0171012 code 2 2 4 The time data BCD is as follows LL gt CO fe Q c O O Example Command STX 00000070205123123595900 3 9 0 0 L Always 00 59 seconds 59 minutes 23rd hour 31st December 2005 Hesponse STX 0000007020000 Normal response O Year to Seconds The time data expressed in two digits of BCD data is converted to two ASCII characters 30 2 3 Detailed Description of the Services I O Response Code Normal Completion code Normal Normal completion No errors were found Error Occurred EAT ee code 1001 Command too long The command is too long 102 Command too short too short The command is too short command is too short LS 100 Ken LEE error BILL write data is out of the setting range 2203 Operation error Unit error Memory error occurred or unused command was sent O O 3 re O a lt Ti E Echoback Test This service performs an echoback test Service Request PDU Test data 0180 14 LL 2 2 0 to 19 Service Response PDU rglorr 989 2 2 4 0 to 19 O Test Data Set between 0 and 19 bytes of user defined test data Set a value for the test data within the ranges shown below according to the communications data length Communications data length Test Data ASCII data H 20 to H 7E or H A1 to H FE ASCII data H 20 to H 7E Do not set
2. 2 oen m 19 COMPOW A F audistis pies asc ERA 9 D data format iiie eene reete oretnenaen 10 E ENA tt nant 10 M MRC Main Request Code 14 MRES Main Response Code un 14 multi day operation ss 23 N node number eeeeeereer eerte rennen nnne 4 10 normal operation 23 number of elements eese 14 srf nwb Bara s maf ASH amp ALAIN INDIA PVT LTD ASH amp ALAIN 5 100 F I E E Okhla Industrial Area Phase ii New Delhi 110020 India Tel 011 43797575 Fax 011 43797574 E mail sales ashalain com O operation command ss 32 P DO S 5 PDU SUC CUA tania 14 pulse operation ss 23 R read controller attributes sss 26 read controller status 27 read time data 28 read variable area esee 16 reading COMParatOrS nn 18 reading timers counters and comparators 17 reading work bits and HR bits 20 response code list 34 l SDONS TA Muir asnicar 11 Sd Las 3 RS 485 communications submenu setting example 6 S Service Request PDU us 14 Service Response PDU us 14 setting communications parameters 5 E1 D siesta sete cee este AEA E A specs 10 SRC Sub Request Code ss 14 SRES Sub Response Code ss 14 SOD DIES srpnu a 5 structure of command text 14 DR E A 10 sub address ss 10 T timer and countenumber specifi
3. Discharge static electricity from your body e g by touching a grounded metal plate before touching any Unit 4 The exterior of the Units will be damaged if it comes into contact with organic solvents e g benzene or paint thinner strong alkalies or strong acids Never allow such substances to come into contact with the Units 5 Do not apply voltages exceeding the rated voltages Internal elements may be destroyed 6 Shortfailures or open failures may result from the destruction of output elements Do not use loads that exceed the rated output current Maintenance When replacing a CPU Unit transfer to the new Unit and confirm all settings for clock data internal holding bits holding timers and counters before starting operation again Transportation and Storage 1 Use special packaging boxes when transporting the ZEN and do not subject it to excessive shock or vibration or drop it during shipment 2 Store the ZEN at an ambient temperature of 40 to 75 C for LED type CPU Units and 20 to 75 C for all other types of CPU Units If the ZEN has been stored at 10 C or lower allow it to stand at room temperature for 3 hours or longer before turning ON the power supply Xi Precautions Precautions for Correct Use Installation Environment 1 Do not install the ZEN in the following locations Locations subject to radical changes in temperature Location with high humidity subject to condensation Locations subject
4. Number of YP start address Postton elements 0111011 2 2 2 4 2 4 Service Request PDU Read data for number 0111011 code al ements 2 2 4 8 or 12 See note Note The read data 12 indicates the weekly timer LL gt CO fe Q c O O E Variable Type and Read Start Address For details on variable types and read start addresses refer to 3 1 Variable Area Data Range List Variables of type CO are read only E Bit Position Bits positions are always 00 except for work bits and HR bits With the ZEN bit access supported only for work bits and HR bits For details on bits and applications methods refer to 1 4 Memory Areas in the ZEN Programmable Relay Operation Manual Cat No Z211 Note Refer to Reading Work Bits and HR Bits on page 20 for details on reading work bits and HR bits B Number of Elements Always 0001 E Response Code Normal Completion RT me Pee code Error Occurred Response Causa code 1001 Command too long The command is too long 1002 Command too short The command is too short 16 2 3 Detailed Description of the Services I Response Cause code 1 MOD 0 Area Area type error error The variable The variable type is wrong is wrong 1 EH o MINE too long Miele number of elements is greater than 0001 1100 Parameter error Bit position is not OO The bit address is out of range Operation error Unit error memory error occurred or unused command was s
5. O 3 re O a lt Ti O Bit Position Bits positions are always 00 except for work bits and HR bits With the ZEN bit access supported only for work bits and HR bits For details on bits and applications methods refer to 1 4 Memory Areas in the ZEN Programmable Relay Operation Manual Note Refer to Reading Work Bits and HR Bits on page 20 for details on reading work bits and HR bits O Number of Elements Always to 0001 O Response Code Normal Completion Me tame pls code 21 SECTION 2 CompoWay F Communications Protocol Error Occurred Me Erormme case code 1002 Command too short The command is too short 1101 Area type error The variable type is wrong 1003 Number of elements The number of data does not data mismatch match the number of elements Parameter error Bit position is not 00 The write data is out of the set ting range The bit number is out of range 3003 Read only error Variable type CO was written to Operation error Unit error Memory error occurred or unused command was sent LL gt CO fe Q c O O Note With the Write Variable Area service command too long errors do not occur If there is sufficient data for the number of elements in the service request PDU the error is processed as a number of elements data mismatch error E Writing Timer and Counter Set Values O Reading and Writing Timer Set Values Tim
6. e Stop Bits This parameter sets the number of communications stop bits Set either 1 or 2 e Parity This parameter sets the communications parity Set the parity to none even or odd ll Setting Communications Parameters Set the communications parameters for the ZEN from the ZEN Support ooftware or from the RS 485 communications submenu of the CPU Unit e Settings cannot be changed in RUN mode Switch to STOP mode first using the following procedure and then set the communications parameters e Any communications parameters that are set are valid from the next time a communication is received O Changing from RUN Mode to STOP Mode RUN Mode Power The screen to the left is displayed when the power is turned ON ON V OK 4 Press the OK Button to display the Menu Screen Press the Down Button to move the flashing cursor to STOP Press the OK Button to switch the display to RUN Refer to Displaying the RS 485 Communications Submenu on page 6 to display the RS 485 Communications Sub menu lt O lt D z O Z D gt Power ON GO Power ON GO OK 4 OK oc Gc OK 4 See note Main Menu Submenu I SECTION 1 Communications Methods Displaying the RS 485 Communications Submenu STOP Mode The screen at the left will be displayed when the ZEN is in STOP mode Press the OK Button to display the Menu Screen Note This step is not required after
7. 000 to OFOO C6 000 to OF00 Cc 006 to OF06 CS ooo 000 to OFOO 0 CO C1 CO CO C2 CO C5 CO 3 RS 485 communications can be used to read the variable area and perform comparisons with the following three types of comparators 1 Analog Comparators Compare an analog input with a constant or two analog inputs 2 Comparators Compare the present value of a timer holding timer or counter with a constant or the present values of timers holding timers or counters 3 Eight digit comparators Compare the present value of an 8 digit comparator with a constant Note Refer to ntlp 3 70 Analog Inputs Analog Comparators A 3 11 Comparing Timer Counter Present Values Using Compar ators P and 3 12 Comparing the 8 Digit Counter F Present Value Using 8 Digit Comparators G in the ZEN Programmable Relay Operation Manual for details on comparators Comparator Number Specifications There is more one of some types of comparators and more than one analog input and so the leftmost two digits of the address are used to specify the applicable timer or counter The comparator and analog input numbers and corresponding addresses are given in the following table Analog input PV I4 and 15 CO I4 000D 15 010D 18 2 3 Detailed Description of the Services I 0000 to 0300 000E to 030E Analog comparator constant AO to A3 Analog comparator operator 0012 to 0312 0000 to 0300 Comparator operator PO to Pf 000E to OFOE
8. Appendix for a table of ASCII characters B Command Frame LL mu T Text A Node number Sub address SID FINS mini command text BCC e sx Jo oo y y m 8 STX ETX 1 2 2 1 1 1 BCC calculation range This code H 02 indicates the beginning of the communications frame text Always set STX in the first byte When STX is received again during reception reception is carried out again from the point where STX was received Node number This number specifies the transmission destination Specify the ZEN s node number A BCD value between 00 and 99 or an ASCII value of XX can be set Specify XX for a broadcast transmission No responses will be returned for broadcast transmissions No responses will be returned from node numbers other than the ones in the above range The default setting is 01 Sub address The sub address is not used in the ZEN It must be fixed at OO SID e Service ID The service ID is not used in the ZEN Be sure to set it to 00 Command text This is the command text area For details see 2 2 Structure of Command Text This code H 03 indicates the end of the text BCC This is the Block Check Character he BCC result is found by calculating the exclusive OR of the bytes from the node num ber up to ETX 10 2 1 Data Format O BCC Calculation Example The BCC Block Check Character is determined by calculating the exclusive OR of the bytes from t
9. Comparator PV MCCC 0000 to OFOO 8 digit comparator operator GO to G3 8 digit comparator constant Note There is only one 8 digit counter F Use address 00068 for the PV and address 0009 for the counting speed e Comparator Data Formats 1 Comparison Operators for Analog Comparators The comparison pattern and operator in the variable area can be specified when reading Read data Comparison Operator 0 lt Analog comparator bit turns ON when Comparison data 1 lt Comparison data 2 1 2 Analog comparator bit turns ON when Comparison data 1 gt Comparison data 2 with PV of I5 Ib analog input 2 0001 H 1 Compare I4 la analog input 1 with SV constant 0001 H 1 Compare 15 Ib analog input 2 with SV constant 2 Comparison Operators for Comparators The comparison data and operation in the variable area can be specified when reading Comparison Pattern 0000 H 0 Compare PV of I4 la analog input 1 Comparison Operator 0 lt Comparator bit turns ON when Comparison data 1 Comparison data 2 1 2 Comparator bit turns ON when Comparison data 1 gt Comparison data 2 Comparison Data 2 0 Timer T holding timer or counter C PV 1 SV constant 000 H 0 Timer T PV 001 H 0 Holding timer PV Comparison Data 1 010 H 0 Counter C PV 19 4 AeModwoy LL gt O Q e QO SECTION 2 CompoWay
10. Counter SV H 00000001 to H 0000270F Counter number specified by leftmost 2 digits of address 9999 max Variable Type C4 Address Dataname name Data range Datarange uni Page LE 8 digit counter IK e 00000001 to H O5F5EOFF NEN REN max P22 Variable Type C5 Due Due SL Weekly timer SV Normal or Multiple day Operation Timer number specified by left H 000000000000 to most 2 digits of address H 006723592359 Left 12 bytes are used in the Pulse Operation command H 000000000000 to Leftmost 4 Bytes Start End H 006723599959 Day 0 Sunday 1 Monday 2 Tues day 3 Wednesday 4 Thurs day 5 Friday 6 Saturday 7 No designation Middle 4 Bytes Start Time 00 h 00 min to 23 h 59 min Rightmost 4 Bytes End Time 00 h 00 min to 23 h 59 min Rightmost 4 Bytes Output Time 00 min 00 sto 99 min 59 s 00 h 01 min to 99 h 59 min eje uo 39 I SECTION 3 Communications Data Variable Type C6 Calendar H 01010101 to H 12311231 Calendar timer number specified by timer SV leftmost 2 digits of address Leftmost 4 Bytes Start Month Day January 01 to December 31 Rightmost 4 Bytes End Month Day January 01 to December 31 Variable Type C7 Analog com H 00000000 to H 00000069 V Analog comparator number speci parator con fied by leftmost 2 digits of address stant 00 0 to 10 5 V Variable Type C8 RES SE SL Comparator H 00000000 to H 0000270F Comparator number
11. become loose Precautions Precautions for Safe Use Please observe the following precautions for safe use of this products Circuit Design 1 All interface connectors and battery connector are live parts they may not be directly connected to Softy Extra Low Voltage SELV circuit or to accessible conductive parts For the programming units and Personal Computers use only the ZEN CIFO1 Connecting Cable optional accessory manufactured by OMRON ZEN CIFO01 provides safe reinforced insulation between Personal Computers and ZEN 2 Provide emergency stop circuits external interlock circuits limit circuits and other safety circuits in addition to any provided within the ZEN control circuits to ensure safety of the overall system in the event of ZEN failure or external factors 3 Ifthe ZEN discovers an error during self diagnosis operation will be stopped and all outputs will be turned OFF As a countermeasure for such problems external safety measures must be provided to ensure safety in the overall system 4 Outputs from the ZEN may remain ON or OFF due to faults in internal circuits such as output relay fusing or burning or output transistor destruction As a countermeasure for such problems external safety measures must be provided to ensure safety in the overall system 5 Fail safe measures must be taken by the user to ensure overall system safety in the event of broken signal lines or momentary power interruptions 6 The d
12. bit 0014 CPU Unit input bit H 00000000 to H 0000003F status 0015 Expansion l O out H 00000000 to H 00000FFF Bits 0 to 3 Expansion 0 YO to Y3 put bit status Bits 4 to 7 Expansion 1 Y4 to Y7 Bits 8 to 11 Expansion 2 Y8 to YB 0016 Expansion I O input H 00000000 to H 00000FFF Bits O to 3 Expansion 0 X0 to X3 bit status Bits 4 to 7 Expansion 1 X4 to X7 Bits 8 to 11 Expansion 2 X8 to XB fe AS C e O 0017 8 digit comparator H 00000000 to H 0000000F Comparator number specified by bit status leftmost 2 digits of address Bit 0 GO Bit 1 G1 Bit 2 G2 Bit 3 G3 Variable Type C1 Page 0000 Timer SV Timers Other Than Twin Timers Timer number specified by left H 00000001 to H 0000270F S most 2 digits of address H 00000001 to H 000026E7 abu a M S 00 min 01 S to 99 min 998 00 h 01 min to 99 h 59 min H 00000001 to H 000026E7 H M Twin Timers See note H 00010001 to H 270F270F Note The upper limit for twin timers depends on the time unit for the ON time and OFF time settings For min s M S or h min H M the upper limit is 26E7 P 18 P 22 38 3 1 Variable Area Data Range List Variable Type C2 Holding time SV H 00000001 to H 0000270F S Timer number specified by left H 00000001 to H 000026E7 M S most2 digits of address H 00000001 to H 000026E7 H M 00 01 to 99 99 s 00 min 01 s to 99 min 59 s 00 h 01 min to 99 h 59 min Variable Type C3 0000
13. the value H 40 No response will be returned 31 I SECTION 2 CompoWay F Communications Protocol O Response Code Normal Completion code Normal Normal completion No errors were found Error Occurred code 1000 Command too Commandtoolong The command is too The command is too long Les iN error A error Memory error occurred or unused command was sent E Operation Command This service switches between RUN and STOP LL gt fe Q O O Service Request PDU Ml La code tion 015 0 t NM M code 3101015 4 2 2 O Command Code and Related Information Command content Related information RUN STOP 00 Switch to RUN 01 Switch to STOP Normal Completion i me een code O Operation Commands and Precautions Response Case code O Response Code 1001 Command too long The command is too long 1002 Command too short The command is too short 32 2 3 Detailed Description of the Services I 1100 Parameter error Command code and related infor mation are wrong 2203 Operation error LC bus error or memory error 4 AeModwoy 33 LL gt fe Q O O I SECTION 2 CompoWay F Communications Protocol 2 4 Response Code List Normal Completion Response Error a de Description detection priority Error Occurred Response etter a de Description detection priority 0401 Unsupported command The ser
14. to excessive dust or dirt Locations subject to corrosive gas Locations subject to direct sunlight 2 Do not install the ZEN in locations subject to shock or vibration Extended use in such location may cause damage from stress 3 In environments subject to static electricity e g close to pipes conveying forming materials powders or fluid materials separate the ZEN as far as possible from the source of static electricity 4 The ZEN is neither waterproof nor oil proof Do not use it in locations subject to water or oil 5 Usethe ZEN within the allowable power supply voltage range Be particularly careful in locations with bad power supply conditions e g large fluctuations in the power supply voltage 6 Donotinstall the ZEN in locations subject to excessive noise which may cause the ZEN to fail 7 Take appropriate and sufficient countermeasures when installing systems in the following locations Locations subject to strong electromagnetic fields Locations subject to possible exposure to radioactivity Power Supply 1 Alwaysturn OFF the power supply to the ZEN CPU Unit and Expansion l O Units before attempting any of the following Assembling the ZEN e Attaching or removing Expansion I O Units Connecting or disconnecting any cables or wiring e Attaching or removing the Memory Cassette e Attaching or removing the Battery Unit 2 Ifthe power supply is interrupted for 2 days or more at 25 C the internal capac
15. xiv SECTION 1 Communications Methods 1 1 Overview of Communications Methods iii 2 Itt OCU GLO DI vns da 2 Communications Specifications cccooonnnnccconccnncnonncnnnnnononnnnnnnnonnnnanennnos 2 Transmission Procedure uos a ax oe D e 3 A E AETA E E ELS EEA EAE TE NEUTER MEER 3 WINO ecce 3 Communications Parameters ocooccnccncnncnncnccnnonccnconnnnnnncnnnnncnnnnncncnnannannnns 4 Setting Communications Parameters cccconncncccncnncconnncconnnononnnonennnonnnnnnos 5 SECTION 2 CompoWay F Communications Protocol 2d Bala OFAN ER RE OS RE OE DESEE 10 Cotrimancd Frame na les ur tu dde Ld Een su 10 Response Frame sour dira 11 Gomimnunicalons algis ei a ce re 12 22 Structure o Command Text acota 14 DU Si He DUE tres 14 FN 8 zii oic ERR on EE PR TREE 14 Number OT Elements ud US acacia 14 ISFOT SeNICES ET 15 2 3 Detailed Description of the Services ocooonncincionncncnconanocononanoncnonacnnnnnnnannnnos 16 Head Variable Aer as 16 Variable Type and Read Start Address occcccoonccccccnccnccononanononanenononons 16 miU mer oO ENTRE TTE 16 Number of Elements esssseeee HI Imre nere rennen 16 Response COR ui pc Ne NS 16 Reading Timers Counters and Comparators ssss 17 Reading Work Bits and HR BIS asian 20 Write Variable Area iii mmm rmn mnn 21 Writing Timer and Counter Set Values ooonccccccncccnccnocccnnnnnancncnnancnnnns 22 Writing Work Bits and HR Bits ooocccc
16. 1 0 Low speed counting speed 1 High speed 000A 8 El counter bit H 00000000 to H 00000001 MEM 0 FO El 000B Weekly timer oper H 00000000 to H 00000002 NN number specified by left ating mode most 2 digits of address 0 Normal 1 Multiple day 2 Pulse 000C Weekly timer bit H 00000000 to H DOOOFFFF Bit0 00 Bit 8 28 status Bit 1 21 Bit 9 29 Bit2 2 Bit10 Oa Bit3 93 Bit 11 Ob Bit4 04 Bit 12 Oc Bit5 5 Bit 13 d Bit6 96 Bit 14 We Bit 7 07 Bit 15 Of eje uo 000D Analog input value H 00000000 to H 00000069 V Analog number specified by left most 2 digits of address 00 I4 analog input 1 01 15 analog input 2 00 0 to 10 5 V OOOE Analog comparator H 00000000 to H 00000021 Comparator number specified by operator leftmost 2 digits of address Bit 0 AO Bit 1 A1 OOOF Analog comparator H 00000000 to H 0000000F bit status Bit 2 A2 Bit 3 A3 0010 peer opera H 00000000 to H 00000029 Comparator number specified by leftmost 2 digits of address 37 SECTION 3 Communications Data Comparator bit sta H 00000000 to H 0000FFFF PO Bit 8 P8 tus Bit 9 P9 Bit 10 Pa Bit 11 Pb Bit 12 Pc Bit 13 Pd Bit 14 Pe Bit 15 Pf 0012 8 digit comparator H 00000008 to H 00000009 Comparator number specified by P 19 operator leftmost 2 digits of address 0013 CPU Unit output bit H 00000000 to H 0000000F QO status Q1 Q2 Q3 use as work
17. F Communications Protocol 3 Comparison Operators for 8 Digit Comparator The comparison data and operation in the variable area can be specified when reading Read data parra Comparison Operator O lt Comparator bit turns ON when 8 digit counter PV lt Comparison data 2 1 2 Comparator bit turns ON when 8 digit counter PV gt Comparison data 2 Comparison Data 2 1 SV constant Note Always 1 Comparison Data 1 000 H 0 8 digit counter F PV E Reading Work Bits and HR Bits Bit positions are specified when reading Work Bits or HR Bits 0 or 1 Example Command STX 000000101CA000002001 The bit position is specified when reading In this example the bit 02 is specified when reading the status of Work Bit M2 Hesponse STX 0000001 0100000000001 The response says that the specified Work Bit is ON 1 20 2 3 Detailed Description of the Services I B Write Variable Area This service writes data to a variable area Service Request PDU MRC SRC Veriable Start Bit Number of Write Data ype write address elements for number of elements 0 110 2 010 1011 LJ 2 2 2 4 2 4 8 or 12 See note Note The write data 12 indicates the weekly timer Service Response PDU code 011 012 2 2 4 O Variable Type and Write Start Address For details on variable types and write start addresses see 3 1 Variable Area Data Range List Variable type CO is read only O
18. Number The model number is expressed in 10 byte ASCII When 10 bytes are not required pad the remaining bytes with spaces ZEN10CAAR A V2 ZEN10C4A ZEN10CADR D V2 ZEN10C4D O Buffer Size The communications buffer size is expressed in 2 byte hexadecimal and read after being converted to 4 byte ASCII Buffer size 36 bytes H 0024 O Response Code Normal Completion a tame eserinton code 26 2 3 Detailed Description of the Services I Error Occurred code 1000 Command too Commandtoolong The command is too The command is too long ee E error Unit error A c error occurred or unused command was sent B Read Controller Status This service reads the operating status and error status Service Request PDU MRC SRC 016 011 2 2 Service Response PDU MRC SRC Response Operatno Related NE code tion 7 2 2 4 2 O Operating Status ME Description status 01 STOP MC error Verification error loC bus error I O Unit over O bus error Memory error O Related Information O Response Code Normal Completion EMEN code 27 O O 3 re O a lt Ti I SECTION 2 CompoWay F Communications Protocol Error Occurred EMEN code 1001 Command too long The command is too long B Read Time Data This service reads ZEN time data Service Request PDU MRC SRC 0 710 2 2 Service Response PDU 017 0 1 2 2 2 2 2 2 2 2 2 Note Each
19. OF THEIR INTENDED USE OMRON DISCLAIMS ALL OTHER WARRANTIES EXPRESS OR IMPLIED LIMITATIONS OF LIABILITY OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS WHETHER SUCH CLAIM IS BASED ON CONTRACT WARRANT Y NEGLIGENCE OR STRICT LIABILITY In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability is asserted IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY REPAIR OR OTHER CLAIMS REGARDING THE PRODUCTS UNLESS OMRON S ANALYSIS CONFIRMS THAT THE PRODUCTS WERE PROPERLY HANDLED STORED INSTALLED AND MAINTAINED AND NOT SUBJECT TO CONTAMINATION ABUSE MISUSE OR INAPPROPRIATE MODIFICATION OR REPAIR Application Consideration SUITABILITY FOR USE THE PRODUCTS CONTAINED IN THIS DOCUMENT ARE NOT SAFETY RATED THEY ARE NOT DESIGNED OR RATED FOR ENSURING SAFETY OF PERSONS AND SHOULD NOT BE RELIED UPON AS A SAFETY COMPONENT OR PROTECTIVE DEVICE FOR SUCH PURPOSES Please refer to separate catalogs for OMRON s safety rated products OMRON shall not be responsible for conformity with any standards codes or regulations that apply to the combination of products in the customer s application or use of the product At the customer s request OMRON will provide applicable third party certification documents identifying ratings and limitations of use that apply to the products
20. OMRON Programmable Relay COMMUNICATIONS MANUAL ZAN BR ao E a er SE O di i AE e dr de dr E PE QUEM Ge AER e Ge Mi S OES TURN dm X m LE E C4C 0 csaas r UI A i a ay m Eng m Las 2 annon AC 100 248 P e 669988 E f HB so sf ug c C AR T A E t E 1 Sisi a eecece fl srf mb Bar smug EN ASH amp ALAIN INDIA PVT LTD E pra 9n Aq AN i ena S 100 F I E E Okhla Industrial Area Phase ii New Delhi 110020 India pe I va CE Lu cuco acia D ASH amp ALAIN Tel 011 43797575 Fax 011 43797574 E mail saleseashalain com CERES Esa UN rn omes Man No Z212 E1 01 Note Specifications subject to change without notice Printed in Japan 0206 M 0206 Man No Z212 E1 01 Preface OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual The ZEN is a compact and highly functional controller that can be used to easily automate small scale applications Its development has drawn on OMRON s advanced control technology and expertise in manufacturing various types of controllers Version 2 of the ZEN includes Economy type CPU Units and Communications type CPU Units Twin timer operation and operation between days for weekly timers have been added Pulse output operation and 8 digit counters with high speed counting have also been added and Expansion I O Units have been downsiz
21. Response PDU Command Text Not Executed MRES SRES An address is appended to each of the variable types Express addresses in 2 byte hexadecimal and append them for the specified access size B Addresses E Number of Elements Specify the number of elements as 0001 fixed The number of elements is expressed in 2 byte hexadecimal 14 2 2 Structure of Command Text I B List of Services Read Variable Area This service reads from variable areas 02 Write Variable Area Variable Area This service writes to variable areas service writes to variable areas E E Head Aea Attributes 8 service reads the model number and communi cations buffer size 06 01 Read Controller Status This service reads the operating status o o Read Time Data This service reads ZEN time data 07 02 Write Time Data This service sets ZEN time data ww 08 01 Echoback Test This service performs an echoback test Operation Command This service switches between RUN and STOP Note No commands will be accepted and no responses will be returned when a memory error has occurred or the Controller is initializing until normal operation begins after the power is turned ON O O 3 re O a lt Ti 15 I SECTION 2 CompoWay F Communications Protocol 2 3 Detailed Description of the Services B Read Variable Area This service reads data from a variable area oervice Request PDU MRC SRC Variable Read Bt
22. This information by itself is not sufficient for a complete determination of the suitability of the products in combination with the end product machine system or other application or use The following are some examples of applications for which particular attention must be given This is not intended to be an exhaustive list of all possible uses of the products nor is it intended to imply that the uses listed may be suitable for the products Outdoor use uses involving potential chemical contamination or electrical interference or conditions or uses not described in this document Nuclear energy control systems combustion systems railroad systems aviation systems medical equipment amusement machines vehicles safety equipment and installations subject to separate industry or government regulations e Systems machines and equipment that could present a risk to life or property Please know and observe all prohibitions of use applicable to the products NEVER USE THE PRODUCTS FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO ADDRESS THE RISKS AND THAT THE OMRON PRODUCT IS PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM Disclaimers Disclaimers CHANGE IN SPECIFICATIONS Product specifications and accessories may be changed at any time based on improvements and other reasons It is our practice to
23. ZEN 10C4AR A V2 RS 232C Eun ZEN 10CADR D V2 signal E a eri m Wawa B hRsS4e5 A Comm onverter tf ff Ba terminals UT Shield Terminator 120 Q l End node 1 2 W Signal End node B RS 485 comm HH ALADO RS 485 terminals Shield Use a terminator of 120 Q 1 2 W Note Refer to the operation manual for the RS 232C RS 485 Converter for wiring between the Converter and host computer E Communications Parameters Communications are performed with an external host computer The communications parameters that can be set are listed in the following table Note Refer to the ZEN Programmable Helay Version 2 Operation Manual Cat No Z211 for other parameters om pem om ape E wxewo forres p e Node Number For communications with a host computer set a node number for each ZEN so that it can be recognized by the host computer The node numbers can be set from 00 to 99 Note The same node number cannot be set for more than one ZEN If duplicate node numbers are set correct operation will not be possible e Communications Baud Rate This parameter sets the baud rate for communications with the host computer The baud rate can be set to any of the following 4 800 bps 9 600 bps or 19 200 bps 1 1 Overview of Communications Methods e Communications Data Length This parameter sets the number of communications data bits Set either 7 bits or 8 bits
24. ations 1 Normal Operation The bit is turned ON and OFF at the set day and times 2 Multiple day Operation The bit is turned ON and OFF at the set days and times operation across multiple days 3 Pulse Operation The bit is turn ON for the set output time at the set start time and day Note refer to 3 8 Using Weekly Timers in the ZEN Programmable Relay Operation Manual Cat No Z211 for details on Weekly Timers e Weekly Timer Data Format The weekly timer data format consists of the following 12 bytes 1 Normal Operation 2 Multiple day Operation Always 00 Start day End day Start time hour Start time uM End time hour d time minutes 2 1 1 2 2 2 2 The time data is as follows BCD O O 3 re O a lt Ti Sindy CS E CS 23 LL gt CO fe Q e O SECTION 2 CompoWay F Communications Protocol Minutes 00 to 59 Example STX 010000102C5000000001005623592359 0 0 5 6 2 3 5 9 2 3 5 9 End time 59 minutes End time 23 hours Start time 59 minutes Start time 23 hours End day Saturday 6 Start day Friday 5 Always 00 3 Pulse Operation The time data is as follows BCD meme f es sms e mes CS wers E mem CS wr Output time minutes 00 to 99 Output time seconds 00 to 59 24 2 3 Detailed Description of the Services Example STX 010000102C5000000001005623591520 U 0D 5 6 23 9 9 1 5 2 0 Output time 20 seco
25. cations 18 timer set values ss 22 dla a PP 18 timer counter and compaator numberspecifications 23 transmission procedure 3 CIO ME er 17 22 V variable area data range list 36 W Weekly TIME Lecce ui euis UN PRU NI te iei 23 dip 3 WIKIO dagr ai 4 write time data ss 29 write variable area esses 21 writing work bits and HR bits 26 gt 2i iS D x x 1
26. cations functions of CPU Units with com munications For information on using other functions refer to the ZEN Programma ble Relay Operation Manual fi os E zi B Manual Contents Description SECTION 1 This section briefly describes the supported Communications Methods communications methods and how to wire equipment Refer to this section before set ting up equipment SECTION 2 This section describes the protocol for CompoWay F communications using the CompoWay F Communications Protocol format SECTION 3 This section lists the details of the Communications Data communications data in the CompoWay F communications protocol Appendix ASCII list B Related Manuals ZEN Programmable Relay Operation Manual 2211 ZEN Support Software Operation Manual 2184 xiii Revision History B Manual Revision Code A manual revision code appears as a suffix to the catalog number on the front and back cover of the manual Man No Z212 E1 01 B Revision History The following table outlines the changes made to the manual during each revision Page numbers refer to the previous version January 2006 Original production XIV Table of Contents Preface ji Warranty and Application Considerations iii Precautions vil Conventions Used in This Manual xiii Revision History
27. change model numbers when published ratings or features are changed or when significant construction changes are made However some specifications of the products may be changed without any notice When in doubt special model numbers may be assigned to fix or establish key specifications for your application on your request Please consult with your OMRON representative at any time to confirm actual specifications of purchased products DIMENSIONS AND WEIGHTS Dimensions and weights are nominal and are not to be used for manufacturing purposes even when tolerances are shown PERFORMANCE DATA Performance data given in this manual is provided as a guide for the user in determining suitability and does not constitute a warranty It may represent the result of OMRONV s test conditions and the users must correlate it to actual application requirements Actual performance is subject to the OMRON Warranty and Limitations of Liability ERRORS AND OMISSIONS The information in this document has been carefully checked and is believed to be accurate however no responsibility is assumed for clerical typographical or proofreading errors or omissions Copyright and Copy Permission Copyright and Copy Permission COPYRIGHT AND COPY PERMISSION This document shall not be copied for sales or promotions without permission This document is protected by copyright and is intended solely for use in conjunction with the product Please notify us be
28. cncnccccconccncnncnonononnncnconanononanenos 26 Head Controller Attribules sien echoes na 26 Read Controller Status iii nennen 27 Read Mime DATES SE nan E E 28 NV EIS TITIO D AUS ue deoa ti denses deco On ee ca ca dudes 29 ECNODACKk TOS tii UU T TT 31 Operation Command iii 32 24 Response Gode sti a N Ehe veda Node ve D Voc ae 34 SECTION 3 Communications Data 3 1 Variable Area Data Range List 4 36 Appendix 41 PS Gi UN AS RE dize 42 XV XVI SECTION 1 Communications Methods This section briefly describes the supported communications methods and how to wire equipment Refer to this section when setting up equipment 1 1 Overview of Communications Methods 2 HUT OCUIC oic teh ae ne ER 2 Communications Specifications 2 Transmission Procedure 3 Mer aC ranan d teet auti ceca Meedeaie 3 WINO SSSR ne ica tact be diet ootese 3 Communications Parameters eene 4 Setting Communications Parameters 5 I SECTION 1 Communications Methods 1 1 Overview of Communications Methods E Introduction A host computer see note 1 can communicate with the ZEN using the CompoWay F communications protocol The host computer is programmed to monitor and set ZEN settings This manual is thus written from the viewpoint of the host computer Up to 32 nodes including host computers can be connected via CompoWay F CompoWay F is an
29. e ZEN transmits a response frame that corresponds to the command frame A single response frame is returned for each command frame The following diagram shows the operation of the command and response frames Command frame Command frame Hesponse frame Note Allow a wait time of at least 2 ms before the next command is sent after the host computer receives a response from the ZEN Use of the following Converter for RS 232C and RS 485 interface conversion is recommended Interface Con K3SC E E between the host computer verter OMRON and the ZEN conform to the RS 485 interface This section explains how to perform the ZEN s communications wiring For details on the host computer refer to the user documentation provided with the host computer Match the communications specifications of the ZEN and the host computer The connection format can be either one to one or one to N Up to 32 units including the host computer can be connected in a one to N system The total cable length is 500 m max Use a shielded twisted pair cable with wires of a thickness of AWG28 to AWG14 for communications signal wiring Note When using a 1 N connection set the same communications specifications in all of the Units and set a unique node number for each Unit O lt O lt D z O Z D gt I SECTION 1 Communications Methods e Wiring Diagram Host computer Example Personal compuer Host computer RS 485
30. ed to half the width This manual describes the communications functions of Communications type CPU Units When using a Communications type CPU Unit read this manual and be sure to use the communications functions correctly Keep the manual close at hand so that you can refer to it whenever necessary e intended Audience This manual is intended for the following readers Persons in charge of introducing FA devices Persons who design FA systems Persons who install or connect FA devices e Persons who manage working FA installations Persons who use this product must have sufficient knowledge of electrical systems i e an electrical engineer or the equivalent Warranty and Application Considerations Read and Understand this Manual Please read and understand this manual before using the product Please consult your OMRON representative if you have any questions or comments Warranty and Limitations of Liability Warranty and Limitations of Liability WARRANTY OMRON s exclusive warranty is that the products are free from defects in materials and workmanship for a period of one year or other period if specified from date of sale by OMRON OMRON MAKES NO WARRANTY OR REPRESENTATION EXPRESS OR IMPLIED REGARDING NON INFRINGEMENT MERCHANTABILITY OR FITNESS FOR PARTICULAR PURPOSE OF THE PRODUCTS ANY BUYER OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS
31. element of the time data year month day of month hour minutes seconds and day of week is expressed as 2 digit BCD data and converted to ASCI characters Year 00 to Sunday 99 Month 01 to Monday 01 12 LL gt CO fe Q c O O 31 Hour 00 to Wednesday 03 23 Minutes 00 to Thursday 04 59 59 w e 28 2 3 Detailed Description of the Services O Year to Seconds O Response Code B Write Time Data Example Command STX 000000701 Hesponse STX 00000070105112823302006 2 8 2 3 3 0 2 0 0 6 tL Saturday 6 20 seconds 30 minutes 23rd hour 28th November 2005 The time data expressed in two digits of BCD data is converted to two ASCII characters Normal Completion PERS me sees code Error Occurred code 1000 Command too Commandtoolong The command is too The command is too long LS Lr NE error Unit error cda MN error occurred or unused command was sent This service reads ZEN time data Note Refer to ntlp 3 2 Setting the Date and Time in the ZEN Program mable Relay Operation Manual Cat No Z211 for information on setting the date and time 29 O O 3 re O a lt Ti I SECTION 2 CompoWay F Communications Protocol Service Request PDU Note 1 Each element of the time data year month day of month hour minutes seconds and day of week is expressed as 2 digit BCD data and converted to ASCII characters
32. ent E Reading Timers Counters and Comparators O Reading Timer Types and Time Units Timer types and time units can be read For timers other than twin timers normal timer operation the data is set in the rightmost four bytes For twin timers the data is set in the rightmost and leftmost two bytes Example 1 Twin Timer O O 3 re O a lt Ti Command STX 000000101 000001000001 Response STX 000000101000000410002 0041 0 0 0 2 OFF time unit example 2 H M ON time unit example 1 M S Timer type example 4 twin timer Example 2 Other Timers Command STX 000000101C00001000001 Response STX 000000101000000110000 0 0 11 0 9 0 0 ON time unit example 1 H M Timer type example 1 OFF delay timer 17 LL gt fe Q c O O I SECTION 2 CompoWay F Communications Protocol Timer and Counter Number Specifications There is more than one timer and more than one counter and so the leftmost two digits of the address are used to specify the applicable timer or counter The timer and counter numbers and corresponding addresses are given in the following table Timer type and time unit CO 0001 to OFO1 Holding timer PV 0 to 7 8 timers cO 0003 to 0703 Holding timer type and time unit 0 to Ef 16 timers 0 to f 16 timers C6 CO to Cf 16 counters O Reading Comparators 0004 to 0704 0000 to 0700 ES e co 00B to OFOB CS
33. er PV 0004 Holding timer time unit 36 H 00000000 to H 00420002 H 00000000 to H O000FFFF H 00000000 to H 0000270F S H 00000000 to H 000026E7 M S H 00000000 to H 000026E7 H M H 00000000 to H 00000002 Timer number specified by left most 2 digits of address 00 00 to 99 99 s 00 min 00 s to 99 min 59 s 00 h 00 min to 99 h 59 min Note For twin timers the PV of the currently operating timer is read Timer number specified by left most 2 digits of address 3rd Digit from Left Timer Type 0 ON delay 1 OFF delay 2 One shot pulse 3 Flashing pulse 4 Twin timer 4th Digit from Left Time Unit 0 0 015 1 M S 2 H M 8th Digit from Left OFF Time Unit See note 0 0 01s 1 M S 2 H M Note Twin timers only Bit 8 T8 Bit 9 T9 Bit 10 Ta Bit 11 Tb Bit 12 Tc Bit 13 Td Bit 14 Te Bit 15 Tf Timer number specified by left most 2 digits of address 00 00 to 99 99 s 00 min 00 s to 99 min 59 s 00 h 00 min to 99 h 59 min Timer number specified by left most 2 digits of address 0 0 01 s 1 M S 2 H M 3 1 Variable Area Data Range List 0005 Holding timer bit H 00000000 to H 000000FF Status 0007 Counter bit status H 00000000 to H O000FFFF Bit 8 C8 Bit 9 C9 Bit 10 Ca Bit 11 Cb Bit 12 Cc Bit 13 Cd Bit 14 Ce Bit 15 Cf 0008 8 digit counter PV H 00000000 to H O5F5EOFF 99999999 max P49 0009 8 digit counter H 00000000 to H 0000000
34. er set values SVs can be read and written The rightmost and leftmost four bytes contain the ON time and OFF time for twin timers and the rightmost four bytes contain the ON time for other timers Example 1 Writing the SV of Timers Other Than Twin Timers Command STX 000000102C100000000010000270F ON time 9999 H 270F Example 2 Reading the SV of Timers Other Than Twin Timers Command STX 000000101C10000000001 Response STX 00000010100000000270F ON time 9999 H 270F Example 3 Writing the SV of Twin Timers Command STX 000000102C100000000010064 270F OFF time 9999 H 270F ON time 100 H 64 Example 4 Writing the SV of Twin Timers Command STX 000000101C10000000001 22 2 3 Detailed Description of the Services I Hesponse STX 00000010100000064 270F OFF time 9999 H 270F ON time 100 H 64 O Timer Counter and Comparator Number Specifications There is more than one timer and more than one counter and so the leftmost two digits of the address are used to specify the applicable timer or counter Refer to tables in Timer and Counter Number Specifi cations on page 18 and Comparator Number Specifications on page 18 for the timer counter and comparator numbers and corresponding addresses O Weekly Timers Weekly timers are built into the ZEN The following three operations are possible for weekly timers by combining the day of the week time and output time These can be written using RS 485 communic
35. fore copying or reproducing this document in any manner for any other purpose If copying or transmitting this document to another please copy or transmit it in its entirety Precautions This section provides precautions for using the ZEN Programmable Relays This information contained in this section is important for the safe and reliable application of the ZEN You must read this section and understand the information before attempting to set up for a ZEN Dally ELE CACO dS add wa d an sexi Set ut den i e dpi ode ft viii Precautions for Safe Use X Precautions for Correct Use xii Vii Precautions Safety Precautions Definition of Precautionary Information The following notation is used in this manual to provide precautions required to ensure safe usage of the product The safety precautions that are provided are extremely important to safety Always read and heed the information provided in all safety precautions The following notation is used Indicates a potentially hazardous situation which if not avoided will result in minor or ZN WARNING moderate injury or may result in serious injury or death Additionally there may be significant property damage Indicates a potentially hazardous situation which if not avoided may result in minor or ZN CAUTION m moderate injury or in property damage Symbols Meaning General Cautio
36. he node number up to ETX The 8 bit result is written to the BCC byte at the end of the frame BCC H 30 H 30 H 30 H 30 H 30 H 30 H 35 H 30GH 33G H 03 H 35 The result of the calculation 35 hex is written to the BCC byte The symbols indicate XOR exclusive OR operations E Response Frame Node number Sub address End code Command text BCC Sx J y dl i y y y Jem 1 2 2 2 1 1 e End Codes Normal Completion End e Error detection Description s code priority 00 Normal completion The command ended normally without error Error Occurred End Error detection Description ne code priority OF FINS command error The specified FINS command could not be executed The FINS response code should indicate why the command could not be executed 10 Parity error The sum total of bits whose received data is 1 does not 2 match the set value of the communications parity bit 12 Overrun error New data was transferred when the reception data buffer was already full BCC error The calculated BCC value is different from the received BCC value no SID and command text 14 Format error e The command text contains characters other than 0 to 9 7 and A to F Note This error does not apply to Echoback Tests Refer to Echoback Test on page 31 for details There was no SID and command text There was no com mand text MRC SRC not included in command text 16 Sub address error Illegal Unsupported sub addre
37. integrated protocol for OMRON general purpose serial communications Consistent frame formats and commands that are compliant with FINS see note 2 which is widely used with OMRON Programmable Controllers PLCs enable easy communica tions between a host computer and components Note 1 Host computers include personal computers Note 2 FINS Factory Interface Network Service is a message service used between controllers on OMRON FA networks The ZEN supports the following communications functions Reading writing of parameters Operation instructions Note RS 485 communications are not possible when a computer running ZEN Support Software is online with the CPU Unit O Z D gt llCommunications Specifications Communications method RS 485 2 wire half duplex None Synchronization method Start stop synchronization None Communications baud rate 4800 9600 or 19200 bps 9600 bps Communications data bits 7 or 8 bits Communications stop bits 1 or 2 bits 2 bits Error detection Vertical parity none even or odd BCC Block Check Character Flow control Interface Retry function Communications buffer 36 bytes Communications protocol CompoWay F Number of nodes 1 1 connection None 1 node 1 N connections 32 nodes max including host computer 1 1 Overview of Communications Methods B Transmission Procedure Host computer B interface B Wiring When the host computer transmits a command frame th
38. ions using the CompoWay F format 2A Dalila FO ido 10 Command Frame 10 Response Frame aaron 11 Communications Data 12 2 2 Structure of Command Text 14 PDU Structure iii 14 Addresses iaa Re rare 14 Number of Elements 14 PISTOL Sel VICOS anios 15 2 3 Detailed Description of the Services 16 head VariableJALGg sse a 16 Variable Type and Read Start Address 16 DIL TPOSILIODI arica ios 16 Number of Elements 16 Response COUE inner 16 Reading Timers Counters and Comparators 17 Reading Work Bits and HR Bits 20 Write Variable Area nnne 21 Writing Timer and Counter Set Values 22 Writing Work Bits and HR Bits 26 Read Controller Attributes eese 26 Read Controller Status eee 27 Read Mime Data mn dd 28 Write Time Data mm 29 Echoback Tests a Rev Ore vn se 31 Operation Command 32 2 4 Response Code List 34 I SECTION 2 CompoWay F Communications Protocol 2 1 Data Format For CompoWay F numeric values for commands are converted to ASCII and expressed as hexadecimal values e Numbers prefixed with H are hexadecimal e g H 02 is 02 hexadecimal e The numbers below the various parts of a frame specify the number of bytes Unless specified all other numbers are ASCII characters Refer to the
39. itor will discharge and internal bit status and the contents of PV areas will be lost or corrupted and dates and times will be reset When restarting operation after the power supply has been interrupted for an extended period of time check the system in advance to confirm that no errors will occur Handling 1 Connect connectors only after confirming that the direction or polarity is correct 2 Failures could result if dust or dirt enters the ZEN Always connect the connector cover to the computer connector whenever it is not being used 3 Do not remove the label from the left side of the CPU Unit if a Battery Unit is not mounted EEPROM Write Life The EEPROM has a limited write life The write life may be exceeded if communications are used frequently to write settings Consider this in the system design Other 1 The execution of the ladder program in the ZEN is different from that for other PLCs Refer to Appendix B Ladder Program Execution in the ZEN Programmable Relay Operation Manual Cat No Z211 when writing the ladder program 2 Abide by all local ordinances and regulations when disposing of the ZEN 3 The Battery Unit ZEN BATO 1 sold separately contains a lithium battery Observe all applicable legal requirements for your area when disposing of the lithium battery Ke ER 2B ith A BIN XII Conventions Used in This Manual p t ori A guides IS A AA A a a A die 7 This user s manual describes the communi
40. n Indicates non specific general cautions warnings and dangers Electrical Shock Caution Caution Indicates possibility of electric shock under specific conditions Explosion Caution Indicates possibility of explosion under specific conditions Disassembly Prohibition Prohibition Indicates prohibitions when there is a possibility of injury such as from electric shock as the result of disassembly Mandatory General Caution Caution Indicates non specific general cautions warnings and dangers viii Precautions Precautions N WARNING Serious human hazard may occasionally occur due to ignition or rupture of the lithium battery used in the Battery Unit Do not short the battery terminals or charge disassemble deform under pressure or incinerate the battery Never use any battery that has been dropped on the floor or otherwise subjected to excessive shock N CAUTION Electric shock fire or malfunction may occur Do not disassemble modify or repair the ZEN or touch any of the internal parts Electrical shock may occur Never touch the I O terminals computer connector Expansion Unit connector or Battery Unit connector while power is being supplied Electrical shock may occur Do not remove the Expansion Unit connector cover unless an Expansion I O Unit will be permanently installed Fires may occasionally occur Tighten the terminal block screws to the specified torque 0 5 to 0 6 N m so that they do not
41. nds Output time 15 minutes Start time 59 minutes Start time 23 hours End day Saturday 6 Start day Friday 5 Always 00 O Calendar Timers J Aemoduo0 Calendar timers are built into the ZEN The calendar timers turn ON between the specified start and end days of the specified months These can be written using RS 485 communications Note refer to 3 9 Using Calendar Timers in the ZEN Programmable Relay Operation Manual Cat No Z211 for details on Calendar Timers Calendar Timer Data Format The calendar timer data format consists of the following 8 bytes Start month Startday End month End day 2 no 2 2 The time data is as follows BCD Example STX 010000102C5000000000112121230 12 12 12 3 0 IN End day 30th End month December Start day 12th Start month December 25 I SECTION 2 CompoWay F Communications Protocol B Writing Work Bits and HR Bits Bit positions are specified when writing Work Bits or HR Bits Example Command STX 000000102CA000003000100000001 The bit position is specified when writing In this example the bit 03 in HR Bit H2 is turned ON 1 Hesponse STX 0000001 020000 Normal response B Read Controller Attributes This service reads the model number and communications buffer size Service Request PDU 015 043 2 2 Service Response PDU code Size 0151013 0101214 2 2 4 10 LL gt CO fe Q c O O e Model
42. ot affect operation If the cycle time is too long it may become impossible to read input signals accurately The increase in the cycle time will be particularly noticeable when set values are written in RUN mode for a CPU Unit with communications ZEN 10C4 1R L V2 Installation and Wiring 1 Do not allow the ZEN to fall during installation 2 Be sure that the DIN Track mounting levers Expansion I O Units Memory Cassettes Battery Units cable connectors and other items with locking devices are properly locked into place Improper locking may result in malfunction 3 When mounting the ZEN to the surface of the control panel tighten mounting screws to the following torques CPU Units 1 03 N m max Expansion l O Units 0 46 N m max 4 Use wires with cross sectional areas of 0 2 to 2 5 mm equivalent to AWG24 to AWG14 for wiring and strip them for 6 5 mm If using stranded wires always connect straight crimp terminals 0 25 to 2 5 mm Handling 1 The environment of use of ZEN is Pollution degree 2 and Overvoltage category Il specified in IEC60664 1 X Precautions 2 Always use the ZEN within the rated ambient operating temperature and humidity The rated ambient operating temperature is O to 55 C for LCD type CPU Units and 25 to 55 C for LED type CPU Units If the ZEN is used near sources of heat such as a power supply the internal temperature of the ZEN may increase lowering the durability of the ZEN 3
43. specified by P 19 constant leftmost 2 digits of address T 00 00 to 99 99 C 0000 to 9999 ED AS C e O Variable Type C9 RE Romane re stant comparator 8 digit com H 00000000 to H O5F5EOFF Comparator number specified by P 19 parator con leftmost 2 digits of address 8 digit 99999999 max Variable Type CA 0000 Work bit sta H 00000000 to H 00000001 Specify the bit position when read P 20 tus ing or writing bit status P 26 Variable Type CB Dee ee ue Tem re 0000 HR bit status H 00000000 to H 00000001 Specify the bit position when read P 20 ing or writing bit status P 26 40 Appendix O m 42 Appendix ASCII List z Jj ea de ERECHESER EX NBI EI pe bprbeps De os we wr M e Ajued ue 3 xIipuaddy 42 INDEX INDEX A POC OS SSS a peti Br EE treu a v IUe bres iiE RAUS 14 analog comparator eene 18 ASCHE ener EI 42 B a and 10 BCC calculation example 11 DIU POS MON viii 16 21 C calendar timer 25 changing from RUN Mode to STOP Mode 5 command frame eerte tettntnen 10 command iaa 10 communications baud rate ss 4 communications data 12 35 communications data length 5 communications methods ss 2 communications parameters 4 communications specifications
44. ss There was no sub address SID and command text Sub address was less than two characters and there was 11 O O 3 re O a lt Ti I SECTION 2 CompoWay F Communications Protocol 18 Frame length error The received frame exceeds the specified supported num 4 ber of bytes e An end code is returned for each command frame received that was addressed to the local node Noresponse will be returned unless the frame contained all elements up to the ETX and BCC The Error detection priority is the priority when two or more errors occur simultaneously E Communications Data Communications Set monitor Negative Decimal point protocol values values CompoWay F 8 digit hexadeci 2 s complement Decimal point is removed and the result is converted mal to hexadecimal Example conversion 105 0 gt 1050 gt H 0000041A Note Refer to Head Time Data on page 28 and Write Time Data on page 29 for information on time data LL gt CO fe Q c O O O End Code Examples The following examples describe end codes when an error is detected in the command Example 1 Illegal Sub address No SID and No Command Text Command Node number Sub address BCC ex e e Response Node number Sub address End code BCC SX j 0 A 1 6 JEX The end code returned in the response is 16 sub address error The end code 16 is returned in the response when the sub address error has a higher error detec
45. switching from RUN Mode to STOP mode Press the Down Button to move the flashing cursor to RS485 Press the OK Button to display the RS 485 Communica tions Submenu Press the Up and Down Buttons to move the flashing cur sor to the items on the submenu O RS 485 Communications Submenu Setting Examples RS 485 Communications Submenu The RS 485 Communications Submenu Screen will be dis played when the power is turned ON Use the Up and Down Buttons to move the flashing cursor to NODE NO Press the OK Button to display the currently set value The highlighted cursor will flash Again press the OK Button The highlighted cursor will be changed to a flashing cursor and the set value will be ready to be changed Use the Right and Left Buttons to move the flashing cursor to the digit that is to be changed Use the Up and Down Buttons to change the number Press the OK Button A message will be displayed to confirm whether the changed setting is to be saved Note The setting will not be saved if the ESC Button is pressed Press the OK Button to save any changes and return to the RS 485 Communications Submenu Screen 1 1 Overview of Communications Methods I y Main Menu Press the ESC Button to return to the Menu Screen O lt O lt D I SECTION 1 Communications Methods Z D gt O SECTION 2 CompoWay F Communica tions Protocol This section describes the protocol for communicat
46. tion priority than the format error Example 2 No Command Text Command Node number Sub address SID BCC sx j0 0jJo EX Response Node number Sub address End code BCC SX y 0 0 1 4 EX End code 14 format error is returned in the response when there is no command text 12 2 1 Data Format I Example 3 No Node Number Provided Command BCC mx Tex The node number is missing one character Response No response is made Example 4 No Sub address and lllegal BCC Command Node number BCC Response Node number Sub address End code BCC SX 0 0 1 3 EX The sub address is taken as 00 and end code 13 BCC error is returned in the response J Aemodu0 LL gt CO fe Q c O O I SECTION 2 CompoWay F Communications Protocol 2 2 Structure of Command Text E PDU Structure e An MRC Main Request Code and SRC Sub Request Code followed by the various required data are transferred in the command text Service Request PDU wem x e The MRES Main Response Code SRES Sub Response Code followed by the data are transferred following the above MRC SRC in the response frame Service Response PDU Normal Response Moo Pes om NNNM e f the specified command text could not be executed the service response PDU will contain only the MRC SRC and MRES SRES Note MRES SRES provides the response code MRES SRES is not output when processing ends in a normal completion Service
47. urability of the output relays is largely affected by the switching conditions Confirm the operation of the system under actual operating conditions and set the switching frequency to ensure that adequate performance will be provided Insulation faults and burning in the ZEN may result if relays are used after their performance has deteriorated Connecting Expansion l O Units 1 Supply power to both the CPU Unit and Expansion I O Units from the same power supply and turn them ON and OFF at the same time 2 When connecting Expansion l O Units with DC inputs to a CPU Unit with an AC power supply the burst noise immunity will be 1 kV IEC 61000 4 4 3 Expansion I O Units with AC inputs ZEN 8E1AR cannot be connected to a CPU Unit with a DC power supply System Startup and Program Changes 1 Check the user program for proper execution before actually running it on the Unit 2 Disconnect the output lines from the system before testing operation in any system in which incorrect operation can result in injury or equipment damage 3 Confirm safety before attempting any of the following operations Changing the operating mode RUN STOP Using the button switches Changing bit status or parameter settings 4 Double check all wiring before turning ON the power supply 5 Refer to Cycle Time Calculation Method on page 130 in the ZEN Programmable Relay Operation Manual Cat No Z211 and confirm that the increase in the cycle time will n
48. vice function for the relevant commandis 1 not supported 1001 Command too long The command is too long 1002 Command too short The command is too short 1101 Area type error Wrong variable type 1003 Number of elements data mis The amount of data does not match the number match of elements 110B Response too long The response exceeds the communications buffer size when the number of elements is larger than 0002 1100 Parameter error Bit position is not OO 7 The write data is out of the setting range The command code or related information in the operation command is wrong The bit address is out of range 3003 Read only error Variable type C0 was written to 2203 Operation error Unit error Memory error occurred or unused command was sent 34 SECTION 3 Communications Data This section lists the portions of the variable area that can be set with CompoWay F communications 3 1 Variable Area Data Range List 36 39 ED AS a e O SECTION 3 Communications Data 3 1 Variable Area Data Range List The following tables list data ranges by variable type When there is a section reference for a setting item refer to that reference for details Variable TypeCO Read only H 00000000 to H 0000270F S H 00000000 to H 000026E7 i S H 00000000 to H 000026E7 H M 0001 Timer type time unit and monitor 0002 Timer bit status 0003 Holding tim

Download Pdf Manuals

image

Related Search

Related Contents

Artículo completo (PDF — 326 Kb)  TEMPPO Requirement Manager User Manual  ModelSim SE User`s Manual  16 Channel Embedded Digital Video Recorder User Manual  第5次中期経営計画の折り返し地点を迎えて  PURIFICATEUR D`AIR  Amcor AD 400E User's Manual  CONFORT SÚPER Pintura Plástica Mate  Collegamenti e significato dei LED Fig. 1 Introduzione  Tech air TAXN7001  

Copyright © All rights reserved.
Failed to retrieve file