background image

Serial Communication

67

ZG2-DSU User’s Manual

 5 

COMMUN

ICATION WITH

 EXTE

R

NAL 

DEVICES

Save All Bank Data on the Data Storage Unit <DATASAVE command>

This command saves all bank data to the Data Storage Unit's flash memory. 

<Command format>

<Response format>

Acquire Version No. <VERGET command>

This command acquires the version information system. 

<Command format>

<Response format>

D A T A S A V E

CR

O K

CR

E R

CR

When processing ends successfully

When processing fails

V E R G E T

CR

Z G 2

D S U

-

X . X X X

CR

E R

CR

When processing ends successfully

Version No.

When processing fails

Summary of Contents for 257553

Page 1: ...User s Manual Cat No Z289 E1 02 Smart Sensor Data Storage Unit ZG2 DSU...

Page 2: ...ing of the product Please keep this manual in a safe place so that it can be referred to whenever necessary How to Switch the Display Language to English Turn the power ON with the MENU key held down...

Page 3: ...nual READ AND UNDERSTAND THIS DOCUMENT Please Read BEFORE USE LOGGING FUNCTIONS EXTERNAL BANK FUNCTIONS SETTING ADDITIONAL FUNC TIONS COMMUNICATION WITH EXTER NAL DEVICES Smart Sensor Data Storage Uni...

Page 4: ...RODUCTS 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 S...

Page 5: ...other reasons It is our practice to change model numbers when published ratings or features are changed or when significant construction changes are made However some specifications of the product may...

Page 6: ...lt in minor or moderate injury or may result in serious injury or death Additionally there may be significant property damage Meanings of Alert Symbols Indicates the possibility of explosion under spe...

Page 7: ...the rated range DC 24 V 10 Reverse connection of the power supply is not allowed Open collector outputs should not be short circuited Use the power supply within the rated load High voltage lines and...

Page 8: ...urge currents are present in the power lines connect surge absorbers that suit the operating environment Before turning ON the power after the product is connected make sure that the power supply volt...

Page 9: ...indows dialog boxes and other GUI elements displayed on the PC are indicated enclosed by brackets Visual Aids Indicates points that are important to achieve the full product performance such as operat...

Page 10: ...8 ZG2 DSU User s Manual MEMO...

Page 11: ...ards 20 Functions of the Data Storage Unit 22 Logging Function 22 External Bank Function 22 Initializing Controller Settings 23 Saving Setup Data 24 2 LOGGING FUNCTIONS Logging Procedure 26 How Loggin...

Page 12: ...NAL BANK FUNCTIONS Saving Bank Data to Memory Cards 38 Transferring Bank Data to the Controller 39 4 SETTING ADDITIONAL FUNCTIONS Judging Measurement Values Alarm Outputs 42 Specifying Tasks 42 Settin...

Page 13: ...cations 58 Communication Commands 59 Measurement Value Acquisition Profile Acquisition Com mands 61 Bank Data Transfer Commands 65 Setting Acquisition Change Commands 66 Bank Control Commands 69 Utili...

Page 14: ...12 ZG2 DSU User s Manual MEMO...

Page 15: ...1 BEFORE USE BEFORE USE Data Storage Unit 14 Mounting and Connecting Devices 17 Functions of the Data Storage Unit 22 Initializing Controller Settings 23 Saving Setup Data 24...

Page 16: ...roller Also thresholds can be set for data currently being logged and used as alarm output functions System Configuration Data on the Data Storage Unit can be easily captured to a PC by serial communi...

Page 17: ...ry Card slot This slot is for inserting the Memory Card 5 Digital display This displays measurement values currently being logged remaining amount of space on the Memory Card and other information 6 L...

Page 18: ...lect this mode when performing logging 9 Threshold selection switch Select which of the HIGH or LOW thresholds is to be set or displayed 10 OUT LED This LED turns ON during alarm output 11 Gang mount...

Page 19: ...rage Unit body Doing so will cause heat to build up inside and result in a malfunction When the temperature inside the control panel exceeds the ambient temperature of 50 C provide forced air cooling...

Page 20: ...the ZG2 series User s Manual CH number when Controllers are gang mounted In the gang mounted arrangement the Data Storage Unit must be located at the leftmost end viewed from the front When the unit...

Page 21: ...le Connecting the Power Supply 1 Connect the power wire brown and GND wire blue of the Sensor Controller s I O cable to the 24 VDC 10 power supply The following power supply is recommended S8VS 03024...

Page 22: ...emory Cards Before removing a Memory Card from the unit make sure that the CF power LED and access LED are both OFF If a Memory Card is removed with these LEDs still ON there is the possibility that d...

Page 23: ...ns OFF 5 Press the EJECT button at the side of the Memory Card slot 6 Remove the Memory Card When Memory Cards are not to be used on the unit for a long time insert the protective dummy card 1 OK Ejec...

Page 24: ...a fixed cycle p 33 At individual fixed counts p 33 At a logging cycle specified by an external signal p 33 External Bank Function The Data Storage Unit can be used as an external bank for the Sensor C...

Page 25: ...ter before performing initialization Acquiring setup data DATAGET command p 66 1 Switch to the FUN mode 2 Select SYSTEM 3 Select INIT The confirmation message is displayed 4 Select OK The final confir...

Page 26: ...u turn the power OFF without saving the data A message prompting you to save data will be displayed if you change the operation mode without saving data after you have changed settings 1 Switch to the...

Page 27: ...NG FUNCTIONS LOGGING FUNCTIONS Logging Procedure 26 How Logging Works 27 Select the Logging Target 31 Setting Logging Conditions 32 Starting and Ending Logging 34 Loading Logging Data to an External D...

Page 28: ...al fixed counts p 33 Specify the logging cycle by an external signal p 33 Starting logging p 34 Ending logging p 34 Removing the Memory Card and copying logging data to a PC p 35 Loading logging data...

Page 29: ...nternal memory in accordance with preset logging conditions 3 Logging end Logging is ended by the STOP signal or by the key 4 Copy to Memory Card Logging data is copied automatically after logging end...

Page 30: ...ected Sensor Controllers and the number of preset tasks Refer to the following table The numerical values in the table above are provided for reference only Please note that the number of saves may fl...

Page 31: ...se folders Folder structure 1 Up to 5 120 profiles can be logged to internal memory However when these profiles are saved to Memory Card the profiles are split up into 256 profiles for each individual...

Page 32: ...each individual file 1 hh mm ss XXXXX XXX XXXXX XXX XXXXX XXX XXXXX XXX 2 hh mm ss XXXXX XXX XXXXX XXX XXXXX XXX XXXXX XXX 3 hh mm ss XXXXX XXX XXXXX XXX XXXXX XXX XXXXX XXX Measurement count max 65 0...

Page 33: ...K8 Logging Profiles X FUN mode SOURCE PROFILE When two Sensor Controllers are gang mounted profiles are logged on only either one of the Sensor Controllers Setting value Description OFF ON Sets the ch...

Page 34: ...all conditions regardless of judgment result X FUN mode SOURCE LOGGING MEAS Setting value Description CH Selects the channel of the Sensor Controller whose judgment result is to be monitored JUDGE NG...

Page 35: ...val X FUN mode SOURCE LOGGING POINT Specify the Logging Cycle by an External Signal All data is logged continuously for the duration that the TRIG signal is ON X FUN mode SOURCE LOGGING TRIGGER Settin...

Page 36: ...a is saved to the Memory Card The Data Storage Unit cannot accept the next logging operation while data is being saved to the Memory Card Whether or not start of logging can be accepted can be known b...

Page 37: ...Memory Card might be lost or the Memory Card or Data Storage Unit might malfunction Removing Memory Cards p 20 Copying Logging Data by Serial Communication Commands Logging data can be copied by inpu...

Page 38: ...Loading Logging Data to an External Device 36 ZG2 DSU User s Manual MEMO...

Page 39: ...3 EXTERNAL BANK FUNCTIONS EXTERNAL BANK FUNCTIONS Saving Bank Data to Memory Cards 38 Transferring Bank Data to the Controller 39...

Page 40: ...it X RUN mode MENU key BANK CONT CF If a file number already containing saved bank settings is selected those bank settings will be overwritten Setting value Description CH Selects the channel of the...

Page 41: ...F without saving the settings the settings will revert to the original settings before the bank data was transferred Save the current settings by saving them on the Sensor Controller of the selected c...

Page 42: ...Transferring Bank Data to the Controller 40 ZG2 DSU User s Manual MEMO...

Page 43: ...4 SETTING ADDITIONAL FUNCTIONS SETTING ADDITIONAL FUNCTIONS Judging Measurement Values Alarm Outputs 42 Setting System Conditions 44 Display Settings during Operation 46 Bank Functions 49...

Page 44: ...output Three judgment results are output HIGH PASS and LOW Set the judgment conditions in the TEACH mode Setting value Description CH Selects the channel of the Sensor Controller targeted for alarm ju...

Page 45: ...the threshold selection switch to H 3 Set the HIGH threshold 4 Press the SET key The numerical value is applied 5 Switch the threshold selection switch to L and set the LOW threshold To change numeric...

Page 46: ...gs from being changed inadvertently Even during a keylock however you can move to the KEYLOCK menu and move between layers of the menu hierarchy with the MENU and ESC keys X FUN mode SYSTEM KEYLOCK Me...

Page 47: ...de SYSTEM CF FILE No Changing the Display Language Set the display language of the LCD screen X FUN mode SYSTEM LANGUAG Displaying Data Storage Unit Information Displays the remaining amount of free s...

Page 48: ...e decimal point on the digital display X RUN mode MENU key DIGITAL DIGIT Hiding the Digital Display To hide the digital display select OFF X RUN mode MENU key DIGITAL ECO When five or less digits are...

Page 49: ...ng value Description ON Displays the LCD screen at all times default value AUTOOFF Hides the LCD screen if the unit has not been operated for one minute OFF Hides the LCD screen at all times This oper...

Page 50: ...tting value Description ON OFF Set this item to ON to display characters set by CUSTOM on the LCD screen default value OFF CUSTOM Edits the characters to display in the LCD screen max 16 digits Call u...

Page 51: ...as the default However other banks 2 to 4 can be selected X FUN mode BANK CHANGE Clearing Banks The content of the currently selected bank is cleared X FUN mode BANK CLEAR SYSTEM settings and the dis...

Page 52: ...Bank Functions 50 ZG2 DSU User s Manual MEMO...

Page 53: ...5 COMMUNICATION WITH EXTERNAL DEVICES COMMUNICATION WITH EXTERNAL DEVICES List of Output Data 52 Communication Using I O Signals 53 Timing Charts 56 Serial Communication 58...

Page 54: ...rement values to be output Judgment value Measurement value Output path Description Controller I O cable Captures the measurement results of tasks specified at I O SET and outputs the results of judgi...

Page 55: ...ion Judgment output HIGH Turns ON when the measurement value of the specified task is greater than the HIGH threshold PASS Turns ON when LOW threshold measurement value HIGH threshold LOW Turns ON whe...

Page 56: ...start START Starts logging Logging end STOP Ends logging Logging trigger TRIG When the logging condition is set to TRIGGER data during input of the TRIG signal is logged and saved Brown Blue Red Gree...

Page 57: ...Manual 5 COMMUNICATION WITH EXTERNAL DEVICES NPN type ZG2 DSU41 Brown Blue Red Green Black Pink Gray Load Load Load Load Load 24 V DC HIGH PASS LOW ERROR BUSY GND 0 V 24 V DC Yellow Light blue Purple...

Page 58: ...ng cycle 3 Copy to Memory Card Logged data is automatically copied to the Memory Card after logging ends Approximate copying times are as follows Profiles Approx 250 ms x number of profiles Measuremen...

Page 59: ...OFF ECO monitor Process Description 1 Transfer of bank data Bank data is transferred between the Sensor Controller and Data Storage Unit Transfer operation is performed by using serial communication...

Page 60: ...orage Unit with those on the Sensor Controller X FUN mode SYSTEM COM Installation of the USB driver is necessary only when connecting an external device to the USB interface for the first time For the...

Page 61: ...ecimal point is set to 5 including delimiters and sign Command data Specifies the command and parameters Response data Stores the acquired data Delimiter This control code indicates the end of the dat...

Page 62: ...the Memory Card p 63 MEASURE or M Acquires measurement values set at I O SET p 64 Command name Description Refere nce BKMC2CTR Transfers bank data stored on the Memory Card to the Sensor Controller p...

Page 63: ...easurement values saved to the specified folder are output This command can be used only when the Data Storage Unit is connected with the USB cable Command format Command name Description Refere nce B...

Page 64: ...CR N O CR Measurement value of CH1 task 1 CR Measurement value of CH1 task 2 Measurement value of CH2 task 8 Measurement value of CH1 task 1 Acquisition time Acquisition time Acquisition time CR Measu...

Page 65: ...XMODEM K is not supported Response format Explanation of parameters Folder No Specify the folder No with a 3 digit number File No Specify the file No with a 3 digit number Measurement value The acqui...

Page 66: ...s command acquires measurement values set at I O SET Command format Response format Explanation of parameters Measurement value Measurement values set at I O SET are acquired M A E S U R E CR CR M or...

Page 67: ...channel to the Memory Card as a single bank file Command format Response format B K M C 2 C T R B K M C 2 C T R CR 2 1 CR Bank file No max 3 digits Target Sensor Controller CH 1 digit Example To tran...

Page 68: ...ET command This command changes the setup data on the Data Storage Unit Command format Response format For details on parameters see Parameter List p 71 For details on parameters see Parameter List p...

Page 69: ...Data Storage Unit s flash memory Command format Response format Acquire Version No VERGET command This command acquires the version information system Command format Response format D A T A S A V E C...

Page 70: ...xplanation of parameters Example of response Parameter No 0 default Total number is acquired 1 Number of connected Sensor Controllers is acquired 2 Number of connected Data Storage Units is acquired P...

Page 71: ...Switch Bank BANKSET command This command switches to the specified bank No Command format Response format Explanation of parameters Bank No The acquired bank No is returned 1 4 Bank No Specifies the...

Page 72: ...User s Manual Utility Commands Initialize Memory Card CFFORMAT command This command initializes the Memory Card Command format Response format C F F O R M T A CR O K CR E R CR When processing ends suc...

Page 73: ...lue of CH1 task 2 17 Measurement value of CH1 task 3 18 Measurement value of CH1 task 4 19 Measurement value of CH1 task 5 20 Measurement value of CH1 task 6 21 Measurement value of CH1 task 7 22 Meas...

Page 74: ...ls targeted by measurement result trigger 3 4 0 CH1 1 CH2 Measurement results targeted by measurement result trigger 3 6 0 ALL 1 NG ERR 2 NG 3 ALL PASS Number of data points specification 3 10 1 to 99...

Page 75: ...6 APPENDICES APPENDICES Specifications and External Dimensions 74 Error Messages and Corrective Actions 77 Menu List 79 Basic Knowledge for Operation 81 Updating the Firmware 83 INDEX 85...

Page 76: ...ax Judgment output HIGH PASS LOW ERROR NPN open collector 30 VDC 50 mA max Residual voltage 1 2 V max PNP open collector 50 mA max Residual voltage 1 2 V max Serial I O USB2 0 1 port FULL SPEED 12 Mbp...

Page 77: ...r of saves when logging is performed under the following conditions One task is measured on one Sensor Controller Only profiles or measurement values are logged 5 A Memory Card of capacity of at least...

Page 78: ...Specifications and External Dimensions 76 ZG2 DSU User s Manual External Dimensions 90 5 2 11 4 8 4 7 4 30 10 80 60 52 50 59 85 3 90 11 7 24 20 13 10 32 90 18 Unit mm...

Page 79: ...found The specified bank file does not exist on the Memory Card Change the bank file number to an existing file name Setting failed The specified setting value is out of range Set within the allowable...

Page 80: ...dia for saving and storing logging data The Data Storage Unit uses compact flash cards CSV file CSV stands for Comma Separated Values CSV files are documents containing individual data elements separa...

Page 81: ...ALUE PROFILE LOGGING MEAS TRIGGER TIME POINT CH TASK BANK CHANGE CLEAR SYSTEM EJECT SAVE INFO CF SIZE VERSION INIT KEYLOCK LANGUAG CLOCK DATE HOUR COM RS 232C NODE CF FORMAT FILE No I O SET SOURCE CH...

Page 82: ...ntent of the digital display and other display related settings and for making settings when using Memory Cards as an external bank TEACH Mode This mode is for setting alarm output thresholds BANK CF...

Page 83: ...een directly with the functions keys Digital display Menu setting items are displayed using the following alphabet characters LCD screen Digital display TEACH RUN L 1 2 MENU ESC SET 3 4 FUN H 3 LOGGIN...

Page 84: ...e TRIG signal 1 LEFT key RIGHT key The functions of these keys differ according to the set content Scrolls the page s Selects the digit of numerical values Switches the content displayed on the digita...

Page 85: ...r OMRON represenatative The update procedure is the same as that for the Sensor Controller Refer to the Sensor Controller User s Manual During a firmware update do not turn the Data Storage Unit OFF D...

Page 86: ...Updating the Firmware 84 ZG2 DSU User s Manual MEMO...

Page 87: ...81 Controller Link Unit Gang mounting 18 D Data Storage Unit External dimensions 76 Name 15 Specifications 74 DATAGET command 66 DATASAVE command 67 DATASET command 66 Digital display 46 Hiding 46 Nu...

Page 88: ...31 Starting 34 M MEASURE command 64 Memory Card 20 35 44 File No 45 Folder structure 29 Initializing 44 N NODE 58 O Output data 52 R Response format 59 RS 232C 58 RUN mode 80 S Save 24 Serial communi...

Page 89: ...6 APPENDICES INDEX 87 ZG2 DSU User s Manual MEMO...

Page 90: ...the catalog number at the bottom of the front and back covers of this manual Revision code Revision date Revised content 01 December 2008 First edition 01A March 2012 Additions for Notice for Korea R...

Page 91: ......

Page 92: ...S A Tel 1 847 843 7900 Fax 1 847 843 7787 Contact www ia omron com Kyoto JAPAN OMRON ASIA PACIFIC PTE LTD No 438A Alexandra Road 05 05 08 Lobby 2 Alexandra Technopark Singapore 119967 Tel 65 6835 301...

Reviews: