Home
ZS Compoway F Communications Manual EN
Contents
1. Note 4 When the external input mode is set to STANDARD the controller enters into the status below External input of the controller is enabled Commands from timing input to zero resetting are disabled When the external input mode is set to Parallel input OFF the controller enters into the status below External input of the controller is enabled Commands from timing input to zero resetting are disabled Therefore to send a command related to inputs the external input mode should be set to Parallel input OFF Once ON is written to the timing input reset input and LD OFF input parameters the ON state is kept until OFF is written next Controller operates in the same manner as the input state is kept ON However special care shall be taken because the operation changes depending on the state of external input line to the controller when the external input mode is set back to the standard mode Operations are performed depending on the settings when Execution or Cancel is written to the parameter with respect to the zero reset Example 1 To perform zero reset The command sending sequence is as follows 1 Write parallel input OFF mode to the external input mode parameter 2 Write execution to the zero reset execution parameter 3 Write STANDARD to the external input mode parameter An actual example of a command procedure is shown below
2. 0 to 4095 tone Incident level Second surface 0 to 4095 tone Incident level Third surface 0 to 4095 tone Note 1 When no 2 area measurement is performed Unit No 2 is valid and Unit No 7 and 8 are invalid When a 2 area measurement is performed Unit No 2 is invalid and Unit No 7 and 8 are valid Example 1 When reading the setting values of edge threshold when LDC is 1CH Since the edge threshold for Unit No is 03h and Data No is 06h values are shown as below 02h 01h COO0Oh 06h Data No 03h Unit No 01h CH No 8000h 1h Number of elements In the command section the value is shown as below 02h 01h CO06h 0301h 8001h To this command if the response is shown as below 02h 01h CO06h 0301h 8001h 00000004h It indicates 50 because the value is 4 Example 2 When changing the gain setting to 3 when ZS LDC is OCH Since the gain setting for Unit No is 05h and Data No is 00h values are shown as below 02h 02h COOOh 00h Data No 05h Unit No OOh CH No and 8000h 1h Number of Elements 00000003h Data to be written In the command section the value is shown as below 02h 02h C000h 0000h 8001h 00000003h To this command if the response is shown as below 02h 02h 0000h It indicates a normal end ZS Series CompoWay F Communication Command Reference Section 3 Setting Value Obtaining and Changing Command m Measurement Setting 1 Se
3. 1 02h 02h C008h FOOOh 8001h 00000002h 2 02h 02h COC3h FOOOh 8001h 00000001h 3 02h 02h C008h FOOOh 8001h 00000000h Writing commands 1 and 3 above before and after the input related operation command respectively is recommended ZS Series CompoWay F Communication Command Reference Section 3 Setting Value Obtaining and Changing Command Parameter List ZS DSU Unit No Data No Parameter Setting range output range Remarks 00h 00h Source A Input CH Oih Source B Input CH 02h Source C Input CH 03h Source D Input CH 04h Source E Input CH 05h Source F Input CH 06h Source G Input CH 07h Source H Input CH 08h Source Input CH 09h Source J Input CH OAh Source K Input CH OBh Source L Input CH OCh Source M Input CH ODh Source N Input CH 1CH 2CH 3CH 4CH 5CH 6CH 7CH 8CH 9CH 9 10CH 10 11CH 11 12CH 12 13CH 13 14CH OO a E E T OEh Source A selection TASK OFh Source B selection TASK 10h Source C selection TASK 11h Source D selection TASK 12h Source E selection TASK 13h Source F selection TASK 14h Source G selection TASK 15h Source H selection TASK 16h Source selection TASK 17h Source J selection TASK 18h Source K selection TASK 19h
4. The command sending sequence is as follows 1 Write parallel input OFF mode to the external input mode parameter 2 Write execution to the zero reset execution parameter 3 Write STANDARD to the external input mode parameter An actual example of a command procedure is shown below 1 02h 02h COO8h F001h 8001h 00000002h 2 02h 02h COC3h F001h 8001h 00000001h 3 02h 02h COO8h F001h 8001h 00000000h Writing commands 1 and 3 above before and after the input related operation command respectively is recommended ZS Series CompoWay F Communication Command Reference Parameter List ZS HLDC Section 3 Setting Value Obtaining and Changing Command m Sensing Setting common for all TASKs Unit No Data No Parameter Setting range output range Remarks Oh Oh Measurement mode 0 STANDARD When multi task 1 HI RESO mode is OFF 2 HI SPEED 3 HI SENS 4 CUSTOM Measurement mode 1 STANDARD When multi task 2 HI RESO mode is ON 3 HI SENS 4 CUSTOM Ch Start position of area 1 0 to 639 pix Eh End position of area 1 0 to 639 pix Dh Start line of area 1 0 to Number of additional lines 1 Fh End line of area 1 0 to Number of additional lines 1 18h Start position of area 2 0 to 639 pix 1Ah End position of area 2 0 to 639 pix 19h Start line of area 2 0 to Number of additional lines
5. 30Hex 30Hex 31Hex 03Hex 37Hex indicates the exclusive OR XOR operation ZS Series 1 5 CompoWay F Communication Command Reference gt T lt O fe 3 3 fa z fa D ay fe 5 O fe 3 3 D 5 2 O SPUBWILUOD UO BDIUNWIWOD ynoqy Section 1 Response Formats Response Formats The response format of the communication commands is shown below In the following section items described with Hex after numerical values ex O2Hex indicate hexadecimal numbers Those described with or only with numeral values indicate ASCII characters STX NODE No Subaddress End code Response text ETX BCC 02Hex o0 MRC SRC 03Hex Fixed x10 x10 Fixed Fixed 1 byte 2 bytes 2 bytes 2 bytes 1 byte 1 byte Elements Details STX E NODE No Command Formats page 1 4 Subaddress End code Refer to the next page Response text This is the response text part of the command Section 2 Details of Commands describes these parts by command es a I Command Formats page 1 4 1 6 ZS Series CompoWay F Communication Command Reference Section 1 Response Formats End codes of responses are shown below End code Name Details 00 Normal end Command ends successfully OF Command error Specified command is not executed Refer to the response code for details of the non execution 40 Parity error Parity error occurred wit
6. Accumulate data 4 to 13 no accumulation 02h 02h COODh 7COOh 8001h 00000000h 3 Read a measurement cycle Read the current measurement cycle Measurement cycle information is necessary to execute step 4 Specify the buffer interval The measurement cycle information must be obtained again in this step because it may vary depending on the settings specified in the steps 1 and 2 above Example When reading the measurement cycle to the ZS MDC Och a command to be sent is shown as below 01h 01h 81h 0000h 00h 0002h You will find that the measurement cycle is 269 microseconds 010Dh when the response is returned as below 01h 01h 0000h 0000010Dh 4 4 ZS Series CompoWay F Communication Command Reference Section 4 Setting Procedures for Data Obtaining Conditions 4 Specify the buffer interval A number of skips which is referred to as a buffer interval can be set to the controller upon data accumulation Calculate and set an optimal value according to the sampling interval to be obtained For example to set the sampling interval to 100ms when the current measurement cycle is 269 us set the buffer interval to 371 372 1 which is calculated by the following formula 100ms 269yUs 371 747 Set the most approximate value to the sampling interval to be obtained because the sampling interval can be set only to the multiple number of measurement cycles as shown above The buffer interval value can b
7. Notes on the exchange of communication data 2 2 Number of elements indicates the size of data to be exchanged ASCII character length per element is determined depending on parameter type codes Specifically 8000h to BFFFh 4 characters per element From Coooh 8 characters per element Number of elements 1 for all commands in this manual Please enter 8001h to specify number of elements Machine No indicates channel No of the destination controller All data is exchanged in hexadecimal numbers Therefore 15 of the decimal number should be expressed as OOOOOOOEN 1 Distance values should be expressed in the unit of nm Therefore note that 100 00000064h indicates 100nm 0 1um and not 100mm 1 Negative values are expressed as the complements of 2 For example 100 should be expressed as FFFFFF9Ch 1 In the case that the measured values such as distance are abnormal values data parts are expressed as 7FFFFFFXh X varies depending on the case 1 1 This is an example for 8 characters per element ZS Series CompoWay F Communication Command Reference Section 2 Reading Parameter Areas Reading Parameter Areas Read parameter areas List of Parameter Area Reading Commands Data Name Parameter Type Reading start address Specification of element numbers Data to be read Bank switching 8000h lt Machine No gt 8001h 0to3 Keylock A002h lt Machine No
8. th Surface for 0 First surface measurement Area 1 1 Second surface 2 Third surface Ah Surface for 0 First surface measurement Area 2 1 Second surface 2 Third surface Bh Measurement position 1 0 None for thickness 1 Average measurement 2 Peak 3 Bottom Ch Measurement position 2 0 None for thickness 1 Average measurement 2 Peak 3 Bottom Dh Measurement area 0 Area 1 1 Area 2 Eh Width of peak bottom 0 to 255 20h Measurement value nm First surface 21h Measurement value nm Second surface 22h Measurement value nm Third surface 29h Oh Scaling mode 0 OFF 1 ON th Span value 20000 to 20000 1div 0 0001 2h Offset value 999999999 to 999999999 nm 2Ah 2h Smooth 0 OFF TASK1 settings 1 ON ZS Series CompoWay F Communication Command Reference 3 13 Cc a 2 o e Q U o o 3 ps D 2 ON Jojoweseg pue ON HUN Section 3 Setting Value Obtaining and Changing Command Unit No Data No Parameter Setting range output range Remarks 2Bh 2h Average 1 time 2 times 4 times 8 times 16 times 32 times 64 times 128 times 256 times 9 512 times 10 1024 times 11 2048 times 12 4096 times ONOoaKWN O 2Ch 2h Differential 0 OFF 1 ON 3h Differentiation cycles 1 to 5000 ms 2Dh 2Eh 2h Hold type 0 Through Peak Bottom Peak t
9. 1 E Channel No Channel No of the data source F Unit status input Indicates ON OFF status of each input wire 2 e All the data items are 1 when no flow data is sent afterward or always 1 upon single request G FlowData stop bit e All the data items are 0 when flow data is continuously sent afterward after the continual flow data request until it is stopped H TASK judgment result bit Indicates the judgment result for the TASK of the data source 3 Reserved bit J Use prohibited K L Unit status output Indicates output status measurement result status 4 Signed 32 bit data When the decimal point information section is 0 data in the unit of Data Measurement data nm When the decimal point information section is 1 data in the unit of yum 1 TASK No bit data 1 Example When bit data 10B 2 dec It indicates as TASK3 data 2 The input wires are assigned from the lower bit as When ZS is used Input terminal 4 Unused always 0 Input terminal 3 Input terminal 2 Input terminal 1 Input terminal O 5 outputs in total 3 Data items and statuses to be received are shown below 00b unexecuted 01b LOW 10b PASS 11b HIGH 4 The output statuses are assigned from the lower bit as When ZS is used Output terminal 4 Busy output Output terminal 3 Enable output Output terminal 2 Low output Output terminal 1 Pass output Output terminal O High output
10. 5 outputs in total Standard status is described in the parentheses ZS Series CompoWay F Communication Command Reference 4 12 Revision code Date Revised contents A Apr 2004 Original production B Oct 2004 Commands compatible with ZS LDC v2 000 ZS MDC v2 000 and ZS DSU v1 000 are added and matched C Dec 2004 Section 4 How to Obtain Flow Data is added D June 2004 e Commands and parameters compatible with ZS DSU v2 000 are added e Multiple controllers connection with ZFV is added E Oct 2005 e Commands and parameters compatible with ZS HLDC are added ZS Series Communication Command Reference
11. Monitor focus current value 2 4 to 20 mA Monitor focus voltage value 1 10 to 10 V Monitor focus voltage value 2 Input polarity of external input O Input polarity of external input 1 Input polarity of external input 2 Input polarity of external input 3 External Input IN function mode 10 to 10 V L active H active Standard Bank Digital output target OFF ON External input 0 mode External input 1 mode External input 2 mode External Input 3 mode External input mode Not used Trigger Hold reset Laser OFF Zero reset Rwon ol o 0 STANDARD Parallel input OFF mode Timing input Reset input OFF ON OFF ON LD OFF input OFF ON Zero reset execution Execution Zero reset cancel o o 0olno Cancel ZS Series 3 9 CompoWay F Communication Command Reference Cc ms 2 o e a U o o 3 yo o ON Jojoweseg pue ON HUN Section 3 Setting Value Obtaining and Changing Command 3 10 Note 4 To change the monitor focus setting monitor focus mode must be ON For example to change the current setting of the monitor focus change parameters below Monitor focus mode ON Monitor focus distance value 1 Monitor focus distance value 2 Monitor focus current value 1 Monitor focus current value 2 In addition set outputs curr
12. Section 3 Unit No and Parameter No Measurement Result Obtaining Command 3 2 x Setting Value Obtaining and Changing Command 3 4 Parameter List ZS LDC 3 4 Parameter List ZS HLDC 3 11 Parameter List ZS MDC 3 18 Parameter List ZS DSU 3 27 am ana Z 9 D 5 2 U D 2 D 3 2 a o ZS Series 3 1 CompoWay F Communication Command Reference ON Jojoweseg pue ON HUN Section 3 Measurement Result Obtaining Command Measurement Result Obtaining Command m Parameter List ZS LDC When selecting a mode other than THICK GAP FILM OTHERS TRANSFER mode when no 2 area measurement is performed UnitNo _ Data No Parameter Description _ 30h Measurement result Main digital display value When selecting THICK GAP FILM OTHERS TRANSFER mode when a 2 area measurement is performed Unit No Data No Parameter Area 1 displacement value TASK1 Area 2 displacement value TASK2 Thickness and or Gap results Main digital display value TASK3 Area1 Area2 m Parameter List ZS HLDC For single task mode When selecting a mode other than GLASS MODE 2 or GLASS THICKNESS MODE 2 mode when no 2 area measurement is performed UnitNo DataNo Parameter Description Measurement result Main digital display value When selecting GLASS MODE 2 or GLASS THICKNESS MODE 2 mode when a 2 area measurement is performed Unit No D
13. 1 1Ah End line of area 2 0 to Number of additional lines 1 12h Exposure time 2 to 200 1div 0 1ms Parameters for When multi task mode is OFF CUSTOM mode 5 to 200 1div 0 1ms When multi task mode is ON 13h Number of additional 1 to 200 lines When multi task mode is OFF 8 to 200 When multi task mode is ON 14h Line skipping 0 OFF 1 ON 16h 2 area mode 0 OFF 1 ON 17h Compensation mode 0 OFF 1 Start position compensation 2 End position compensation 3 Start end position compensation 20h Measurement cycle 112 to 20000 us COh Reference point teach for 1 Execute teach compensation mode Cth 2 area teach 1 Execute teach ih Oh Head installation 0 Diffuse 1 Regular 2h Oh LD power mode 0 Auto 1 Auto scale 2 Fixed ZS Series 3 11 CompoWay F Communication Command Reference Cc mp 2 o e Q U o o 3 D 2 ON Jojoweseg pue ON HUN Section 3 Setting Value Obtaining and Changing Command Unit No Data No Parameter Setting range output range Remarks 2h Surface to be controlled 0 Peak for light amount 1 First surface 2 Second surface 3 Third surface 6h LD power when fixed 0 to 800 1div 0 1 2h Dh Lower limit of LD power _ O to 800 1div 0 1 Eh Upper limit of LD power _ O to 800 1div 0 1 20h Incident level 0 to 4095 1div 0 1 24h LD power 0 to 800 1div 0 1 25h Incident level
14. Ignored Enabled 0 1 0 COLUMN 1 0 1 Setting range output range Remarks Input source Source A Source B Source C Source D Source E Source F Source G Source H Source 9 Source J 10 Source K 11 Source L 12 Source M 13 Source N ANoasrR WN HO Threshold lower limit value 999999999 to 999999999 nm m For Image Logging Threshold upper limit value Parameter 999999999 to 999999999 nm Setting range output range Remarks Align image None 1CH 2CH 3CH 4CH 5CH 6CH 7CH 8CH 9 9CH 10 10CH 11 11CH 12 12CH 13 13CH 14 14CH D ORO OO NO tO 3 30 ZS Series CompoWay F Communication Command Reference Save image 0 OFF 1 ON Section 4 How to Obtain Flow Data About Obtaining Flow Data 4 2 l Setting Procedures for Data Obtaining Conditions 4 3 l Setting Parameters 4 8 Buffer Size and Buffer Interval 4 8 Logging Data Type 4 8 x Flow Data Response 4 11 Format 4 11 Composition of Response 4 11 T j O fey gt a O D p D ZS Series 4 1 CompoWay F Communication Command Reference eed MO UIe qO 0 MOH Section 4 About Obtaining Flow Data About Obtaining Flow Data E What is flow data In the ZS series a high speed sampling measurement at a maximum of 110 microseconds is implemented To handle the measurement data wit
15. Therefore commands to be sent are shown as below 1 When 02h 02h COOOh 00h Data No OOh Unit No OOh CH No and 8000h 1h Number of Elements 00000003h Data to be written Command is 02h 02h CO00h 0000h 8001h 00000003h To this command if the response is shown as below 02h 02h 0000h It indicates a normal end 2 In the same manner as above When 02h 02h COO0Oh 09h Data No OOh Unit No OOh CH No and 8000h 1h Number of Elements 00000001h Data to be written Command is 02h 02h C009h 0000h 8001h 00000001h To this command if the response is shown as below 02h 02h 0000h It indicates a normal end ZS Series 3 19 CompoWay F Communication Command Reference Cc p o Q U o o 3 D 9 ON Jojoweseg pue ON HUN Section 3 Setting Value Obtaining and Changing Command m Measurement Setting 1 Setting per TASK Unit No Note 1 3 20 Data No Parameter Setting range output range OFF INDIV OPERATION Remarks Input selection Input A Input B Input C Input D Input E Input F Input G Input H Input Parameters when Mode INDIV Expression THICKNESS K X Y STEP X Y K mX nyY AVE MAX MIN Parameters when Mode Operation Calculation parameter X Calculation parameter Y Input A Input B Input C Input D Input E Input F Input G Input H
16. unit data 1 lt Data No gt XX Unit No lt No of YY Machine No Elements gt 4 All reading writing operations on processing units are assigned by using this command 2 Indicates ASCII character length Refer to page 2 2 for details Refer to Section 3 Unit No and Parameter No for Unit No and Parameter No for each processing unit Example 1 To turn on the KEYLOCK of the 2CH controller assign a command as follows Machine No 0002h Data to be written 0001h Parameter Type Reading start Number of Data to be written address elements A002h 0002h 8001h 0001h 2 6 ZS Series CompoWay F Communication Command Reference Section 2 Reading Parameter Areas Example 2 To set the peak hold mode for the 1CH controller assign a command as follows Data No 02h Unit No 2Dh Machine No 01h Data to be writtenJ 00000001h Parameter Type Writing start Number of Data to be written address elements Co0o2h 2D01 8001h 00000001h Commands and Responses MRC SRC Parameter Type wang cian P address S Pan ae eee A Q 2 bytes 2 bytes 4 bytes 4 bytes 9 5 Number of Data to be written 2 elements 2 4 bytes 4 bytes Elements Details Parameter Type Specify parameters depending on the data to be written VE List of Parameter Area Writing Commands page 2 6 Writing start address Specify the Machine No CH No of the controller to write data
17. DELAY 3 1 shot Delay time Monitor focus mode 1 to 5000 ms 0 OFF 1 ON Monitor focus distance value 1 999999999 to 999999999 nm Monitor focus distance value 2 999999999 to 999999999 nm Monitor focus current value 1 4 to 20 mA Monitor focus current value 2 4 to 20 mA Monitor focus voltage value 1 10 to 10 V Monitor focus voltage value 2 Input polarity of external input O Input polarity of external input 1 Input polarity of external input 2 Input polarity of external input 3 10 to 10 V L active H active 3 24 External input IN None TASK 1 TASK 2 TASK 3 TASK 4 TASK ALL External Input IN function mode Standard Bank ZS Series External output OUT CompoWay F Communication Command Reference None TASK 1 TASK 2 TASK 3 TASK 4 FOND HO Oj RWNM H O Section 3 Setting Value Obtaining and Changing Command Unit No Data No Parameter Setting range output range Remarks Linear output ANALOG None TASK 1 TASK 2 TASK 3 TASK 4 None TASK 1 TASK 2 TASK 3 TASK 4 Input A Input B Input C Input D 9 Input E 10 Input F Digital output target 8 11 Input G 12 Input H Digital output target 9 13 Input Digital output target 1 Digital output target 2 Digital output target 3 Digital output t
18. Input 9 TASK 1 10 TASK 2 11 TASK 3 12 TASK 4 Parameters when Expression Thickness STEP and K mX nY Calculation parameter K 999999999 to 999999999 nm Calculation parameter m 100 to 100 X0 1 ZS Series Calculation parameter n CompoWay F Communication Command Reference 100 to 100 X0 1 Parameters when Expression K mX nY Unit No Note 1 Parameter Input A setting AVE MAX MIN Setting range output range Input B setting AVE MAX MIN Input C setting AVE MAX MIN Input D setting AVE MAX MIN Input E setting AVE MAX MIN Input F setting AVE MAX MIN Input G setting AVE MAX MIN Input H setting AVE MAX MIN Input setting AVE MAX MIN TASK 1 setting AVE MAX MIN TASK 2 setting AVE MAX MIN TASK 3 setting AVE MAX MIN TASK 4 setting AVE MAX MIN Section 3 Setting Value Obtaining and Changing Command Remarks Parameters when Expression AVE and MAX MIN Thickness Scaling mode 999999999 to 999999999 nm 0 OFF 1 ON Parameters when Expression Thickness Span value 20000 to 20000 X0 0001 Offset value Smooth 999999999 to 999999999 nm Average number of times 128 256 9 512 10 1024 11 2048 12 4096 ON OARANTOAS ZS Series 3 21 CompoWay F Communication Command Ref
19. O SPUBWILUOD UO BDIUNWIWOD ynoqy Section 1 Examples of Abnormal End Examples of Abnormal End This section shows the examples of end codes for abnormal ends while receiving commands e Invalid subaddress and no SID and command text exist Command STX NODE No Subaddress ETX BCC Q A Response STX NODE No Subaddress End code ETX BCC End code is 16 Subaddress error e This response occurred because subaddress errors are prioritized over format errors e No command text exists in the command Command STX NODE No Subaddress SID ETX BCC jo2Hex tO o o ostex Response STX NODE No Subaddress End code ETX BCC End code is 14 Format error e Node No is missing Command STX ETX BCC 02Hex O3Hex One character is missing for the Node No Response No response is returned e No subaddress exists and an invalid BCC is used Command STX NODE No ETX BCC 02Hex OSHex Err Response STX NODE No Subaddress End code ETX BCC Subaddress is 00 and end code is 1 3 BCC error 1 8 ZS Series CompoWay F Communication Command Reference Section 2 Details of Commands About General Information of Communication Commands 2 2 xl Reading Parameter Areas 2 3 List of Parameter Area Reading Commands 2 3 Commands and Responses 2 4 S Writing Parameter Areas 2 6 3 List of Parameter Area Writing Commands 2 6 o Commands and Respon
20. Output ah Monitor focus distance value 2 999999999 to 999999999 nm 5h Monitor focus current value 1 0 to 65535 6h Monitor focus current value 2 0 to 65535 7h Clear Monitor Focus 1 Clear 8h Output at CLAMP 0 to 65535 3 16 ZS Series CompoWay F Communication Command Reference Section 3 Setting Value Obtaining and Changing Command Unit No Data No Parameter Setting range output range Remarks 7Bh Ah Output TASK When the 0 TASK1 Digital measurement value is output 1 TASK2 Output 2 TASK3 3 TASK4 4 Consecutively Bh Output mode 0 OFF 1 Measurement value 2 Judgment Ch Update cycle 1 to 100 7Ch 5h Mode 0 OFF Logging 1 ON 3h Buffering period 1 to 65535 4h Buffer size per item of data 1 to 1000 Eh TASK1 0 OFF When 1 ON multi task Fh TASK2 0 OFF mode is ON 1 ON 10h TASK3 0 OFF 1 ON 11h TASK4 0 OFF 1 ON Output TASK 0 TASK1 1 TASK2 2 TASK3 3 TASK4 Mode 0 OFF 1 ON FOh Input 0 0 Low Active Parallel Input 1 1 High Active Input Input 2 Input 3 External input mode 0 Normal mode 1 Bank switching mode 2 Parallel IN off mode Control TASK setting 0 TASK1 1 TASK2 2 TASK3 3 TASK4 3 17 ZS Series CompoWay F Communication Command Reference Cc ms 9 o e a U o o 3 pes 2 ON Jojoweseg pue ON HUN Section 3
21. TASK 0 TASK1 1 TASK2 2 TASK3 3 TASK4 7Ah Non measurement settings 2h Monitor focus mode 0 OFF 1 ON 3h Monitor focus distance value 1 999999999 to 999999999 nm 4h Monitor focus distance value 2 999999999 to 999999999 nm 5h Monitor focus current value 1 4 to 20 mA 6h Monitor focus current value 2 4 to 20 mA 7h Monitor focus voltage value 1 10 to 10 V 8h Monitor focus voltage value 2 10 to 10 V 15h Output mode TASK When multi task mode is OFF 0 OFF 1 ON When multi task mode is ON 0 OFF 1 TASK1 2 TASK2 3 TASK3 ZS Series 3 15 CompoWay F Communication Command Reference Cc pe Z 9 o e Q U o o 3 s D o ON Jojoweseg pue ON HUN Section 3 Setting Value Obtaining and Changing Command Unit No Data No Parameter Setting range output range Remarks 7Ah 17h Output at CLAMP Voltage output MAX 10V 9V 8V 7V 6V 5V 4V 3V 9 2V 10 1V 11 OV 12 1V 13 2V 14 3V 15 4V 16 5V 17 6V 18 7V 19 8V 20 9V 21 10V 22 MIN OOO ON SOS IND tO Current output MAX 20MA 19mA 18mA 17mA 16mA 15mA 14mA 138mA 9 12mA 10 11mA 11 10mA 12 9mA 13 8mA 14 7MA 15 6mA 16 5mA 17 4mA ONonRWDNAO 7Bh 2h Monitor focus mode 0 OFF 1 ON Digital 3h Monitor focus distance value 1 999999999 to 999999999 nm
22. by using an ASCII code expressed in hexadecimal numbers Please note that the format of processing unit data writing commands is XXYYh XX lt Unit No gt YY lt Machine No gt Unit No and Parameter No page 3 4 Number of elements Specify number of elements depending on the Parameter Type List of Parameter Area Writing Commands page 2 6 Data to be written Data to be written is specified by using an ASCII code in hexadecimal numbers Data length varies depending on commands e List of Parameter Area Writing Commands page 2 6 e Do not issue commands other than specified parameter types Issuing wrong commands may rewrite internal parameters In the case that internal parameters of connected sensors are rewritten execute EEPROM initialization of operation instruction commands ZS Series 2 7 CompoWay F Communication Command Reference SPUBWILUOD Jo sjie1Eq Section 2 Writing Parameter Areas Response MRC 92 SRC Response Code Eg A hed 2 bytes 2 bytes 4 bytes Elements Details Response Code Response code for normal end Response Code Name Indicates controller status for the command 0000 Response code when an error occurs Response Code Error name Cause 1001 Long command length Command length is too long 1002 Short command length Command length is too short 1003 Inconsistent number of elements data Number of elements and d
23. controlled for light amount 0 Peak 1 Surface 2 Second surface 3 Third surface LD power when fixed 0 to 1000 1div 0 1 Parameters when Emitted light amount setting Fixed Lower limit of LD power 0 to 800 1div 0 1 Upper limit of LD power 0 to 800 1div 0 1 Parameters when Emitted light amount setting Auto range Measurement target area 0 Surface 1 Second surface 2 Third surface Incident level First surface 0 to 4095 tone Incident level Second surface 0 to 4095 tone Incident level Third surface 0 to 4095 tone ZS Series 3 5 CompoWay F Communication Command Reference Cc 2 Z 9 D 5 2 U D D D 3 D D D 2 Z 9 ON Jojoweseg pue ON HUN Section 3 Setting Value Obtaining and Changing Command 3 6 Parameter LD power mode Area 2 Setting range output range Auto Auto range Fixed Remarks Surface to be controlled for light amount Peak Surface Second surface 3 Third surface LD power when fixed 0 to 1000 1div 0 1 Parameters when Emitted light amount setting Fixed Lower limit of LD power 0 to 800 1div 0 1 Upper limit of LD power 0 to 800 1div 0 1 Parameters when Emitted light amount setting Auto range Measurement target area 0 Surface 1 Second surface 2 Third surface Incident level First surface
24. data to be accumulated in the ZS controller and its buffer interval can be changed To change buffer size and buffer interval change the parameters below Use DATAGET and DATASET commands to change and view the parameter Unit No Data No Parameter Details 7Ch 2h Flow data accumulation 0 OFF mode 1 ON 3h Buffer interval 1 to 65535 4h Buffer size 1 to 1000 Logging Data Type Data to be accumulated in the ZS controller can be selected m When using ZS LDC Up to 3 data types can be accumulated Unit No Data No Parameter Details 7Ch 5h Accumulation data 1 6h Accumulation data 2 7h Accumulation data 3 Setting varies depending on the measurement mode When THICK GAP FILM OTHERS TRANSFER mode is selected Details No accumulation Result of area 1 Result of area 2 Thickness gap value 4 8 ZS Series CompoWay F Communication Command Reference Section 4 Setting Parameters When a mode other than above is selected Details No accumulation Distance value measurement value m When using ZS HLDC When multi task mode is OFF When GLASS MODE 2 or GLASS THICKNESS MODE 2 is selected for the measurement object Parameter Details No accumulation Accumulation of result of area 1 Accumulation of result of area 2 Accumulation of result of glass surface or glass thickness When a mode other than the abo
25. edge Same as start trigger c polarity J OEh End trigger data selection gt OFh End trigger data threshold 11h End trigger window mode 2 12h End trigger window upper a limit 2 13h End trigger window lower D limit 3 15h End trigger I O result a I O selection 18h End trigger number of 1 to 999999 1 1 Save image is Z logging data items 1 to 128 2 set to OFF 2 Save image is set to ON 02h 00h Save mode 0 1 SHOT When Save image 1 REPEAT is set to ON REPEAT is not available Oth Repeat mode 0 NEW When Save image 1 ADD is set to ON ADD is 2 OVER WR not available 02h Repeat end condition 0 None 1 Number of triggers 2 Time time out 03h Repeat end condition 1 to 100000 times number of triggers 06h Interval of saving image 0 All It is available only if 1 Save NG Save image is set to ON 07h NG save mode 0 OR 1 AND 08h Save image mode 0 Standard 1 Latest ZS Series 3 29 CompoWay F Communication Command Reference ON Jojoweseg pue ON HUN Section 3 Setting Value Obtaining and Changing Command Unit No Data No Parameter Setting range output range Remarks 03h Oih I O data NONE SAVE 02h Save direction ALIGN ROW 03h Line feed input About label input and time setting The label input and time setting cannot be set or referred to m Judgment related Unit No Data No Parameter
26. gt 8001h 0 OFF 1 ON Version Information A021h lt Machine No gt 8001h Software Version Controller type Information A022h lt Machine No gt 8001h 0 ZS LDC 1 ZS MDC ZS DSU RS 232C Data Length Setting lt Machine No gt 7 bits 1 8 bits RS 232C Parity Setting lt Machine No gt None Odd Number Even Number Stop bits setting lt Machine No gt 1 bit 1 2 bits Communication node setting lt Machine No gt to 64 Digits after decimal point lt Machine No gt 1 digit 1 2 digits 3 digits 4 digits 4 5 digits Digital Eco mode lt Machine No gt 8001h NORMAL 1 ECO1 OFF LCD ON OFF lt Machine No gt 8001h OFF 1 AUTOOFF ON LCD Backlight lt Machine No gt 8001h OFF 1 AUTOOFF ON Sensor Load lt Machine No gt 8001h LOAD every time SAVE Language lt Machine No gt 8001h Japanese English OJ OJN OJN OJN OJO NO Reading processing unit data 1 XXYYh XX Unit No YY Machine No 8000h lt No of Elements gt Data to be read 1 All reading writing operations on processing units are assigned by using this command g D mp D o 9 e 3 F o e Q a 2 Indicates ASCII character length Refer to page 2 2 for details A Refer to Sec
27. se Use USB cable or RS 232C cable to connect ZS Series controllers to external S devices CHECK For USB cable connection install Smart Monitor ZS and USB driver beforehand After installing Smart Monitor ZS USB ports are recognized as standard COM ports and communication is achieved as with the RS 232C Setting the communication specifications including baud rate is not necessary For details on how to connect cable refer to the User s Manual for each controller 1 Set the mode switch to FUN 2 Select System Communication Mode menu gt T i O fe 3 3 fa f D fe 3 O fe 3 3 D 5 2 O 3 Select CompoWay F 4 For RS 232C cable connection select System Communication RS 232C menu to set the appropriate communication specifications for the external device D Save the settings ZS Series 1 3 CompoWay F Communication Command Reference SPUBWILUOD UO BDIUNWIWOD InNoqy Section 1 Command Formats Command Formats The command format of the communication commands is shown below In the following section items described with Hex after numerical values ex 02Hex indicate hexadecimal numbers Those described with or only with numeral values indicate ASCII characters CTOS kjk STX NODENo Subaddress SID Command text ETX BCC 02Hex 00 o O3Hex 1 byte 2 bytes 2 bytes 1 byte 1 byte 1 byte BCC calculating range In the example format 1 byte 1 ASCII ch
28. us x 500 until the accumulation is completed Sending the next request command before the time above expires is necessary The flow data overflow bit which is described in Section Data Composition of Flow Data and other sections is enabled when sending a command is delayed due to the delay of processing at the master side of the communication devices such as a personal computer In this case the continuity of data is lost Check the processing delay if the bit is enabled or not When the processing delay occurred due to the personal computer specification adjustments below must be performed e Increase the buffer interval and decrease the number of data items per unit time e Increase the number of data items to be accumulated and lessen the frequency of communication processing Flow data is returned from controller upon completion of the data accumulation Therefore flow data is immediately returned after sending a command when data accumulation has already been completed upon sending a command Response is not performed unless the data accumulation is completed upon sending a command F e O eA D e al e g D pea D ZS Series 4 7 CompoWay F Communication Command Reference eled Mo UIE qO 0 MOH Section 4 Setting Parameters Setting Parameters This section describes buffer size buffer interval and logging data Buffer Size and Buffer Interval Buffer size of the measurement
29. 0 to 4095 1div 0 1 First surface 26h Incident level 0 to 4095 1div 0 1 Second surface 27h Incident level 0 to 4095 1div 0 1 Third surface 3h Oh Measuring object 0 Normal 1 PCB 2 Mirror 3 Glass 4 Glass thickness 2h GLASS GLASS 0 Mode 1 THICKNESS mode 1 Mode 2 3h Image smoothing level 0 No filter When the 1 Filter size 2 measurement object 2 Filter size 4 is changed the 3 Filter size 8 settings are 4 Filter size 16 initialized according 4h Background removing 0 to 255 tone to the selected level before addition object 6h Edge threshold 0 0 1 12 5 2 25 3 37 5 4 50 5 62 5 6 75 7 87 5 4h Oh Mutual interference 0 OFF prevention mode 1 ON th Mutual interference 0 Timing A prevention timing 1 Timing B 5h Oh Gain setting 1to5 28h Oh Measurement mode 0 OFF TASK1 settings 1 Average 2 Peak The settings in Unit 3 Bottom Number 28h are 4 Thickness valid only for 5 Gap multi task mode 6 K mX nY 3 12 ZS Series CompoWay F Communication Command Reference Section 3 Setting Value Obtaining and Changing Command Unit No Data No Parameter Setting range output range Remarks 3h Parameter X 0 None 1 TASK1 2 TASK2 3 TASK3 4 TASK4 28h 4h Parameter Y 0 None 1 TASK1 2 TASK2 3 TASK3 4 TASK4 5h Parameter K 999999999 to 999999999 8h Parameter M 100 to 100 1div 0 1 9h Parameter N 100 to 100 1div 0 1
30. 1h 02719C40h It indicates as 41000000nm 41mm because 02719C40h 41000000 Example3 When obtaining a measurement result of ZS MDC OCH TASK3 02h 01h COOOh 20h Data No 58h Unit No 0Oh CH No 8000h 1h Number of elements In the command section the value is shown as below 02h 01h C020h 5800h 8001h Cc mp 2 o Q U o o 3 D 9 To this command if the response is shown as below 02h 01h C020h 5800h 8001h FFFOBDCOh It indicates as 1000000nm 1mm because FFFOBDCOh 1000000 A negative value is expressed as a complement of two ZS Series 3 3 CompoWay F Communication Command Reference ON Jojoweseg pue ON HUN Section 3 Setting Value Obtaining and Changing Command Setting Value Obtaining and Changing Command Parameter List ZS LDC m Sensing Setting common for all TASKs Parameter Measurement mode Setting range output range 0 STANDARD 1 HI RESO 2 HI SPEED 3 HI SENS 4 CUSTOM Remarks Exposure time 2 to 200 1div 0 1ms Number of additional lines 1 to 200 Line skipping Head installation LD power mode 0 ON 1 OFF 0 DIFFUSE 1 REGULAR 0 Auto 1 Auto range 2 Fixed Parameters when Measurement mode Custom Surface to be controlled for light amount 0 Peak 1 Surface 2 Second surface 3 Third surface LD power when fixed 0 to 1000 1div 0 1 Parameters when Emit
31. Cat No Z231 E1 02 CompoWay F Communication Command Reference Introduction Thank you for purchasing the ZS Series This manual provides information regarding operations and input output formats for the communication between ZS Series controllers and external devices using the Omron proprietary protocol CompoWay F This manual provides information for the following models and versions Model Firmware Version ZS LDC v2 000 or later ZS HLDC v1 000 or later ZS MDC v2 000 or later ZS DSU v2 000 or later Different firmware versions may cause communication errors unintended setting overwrite and damages on the controller Please make sure to use the controller with the correct software version If your software version is not listed in the table above please update the software using the SmartMonitorZS firmware update software such as WarpEngineZS to match the software version When using the ZS Series be sure to observe the following The ZS Series must be operated by personnel knowledgeable in electrical engineering TO ensure correct use please read this manual thoroughly to deepen your understanding of the product Please keep this manual in a safe place so that it can be referred to whenever necessary Contents 1 Section 1 About Communication Commands 1 1 How Communication Works 1 2 Setting the Communication S
32. LM OTHERS TRANSFER mode when a 2 area measurement is performed Processing is assigned to each task as below When 2 area measurement is When measurement other than 2 area performed 3 measurement is performed Calculates Area 1 displacement value _ Measurement result 1 Calculates Area 2 displacement value Unused 2 Calculates the difference Thickness gap Unused 2 between TASK 1 and TASK 2 Unused 2 Unused 2 1 The result is a thickness distance value when the thickness measurement is set Other than the above the result is a surface distance value 2 An error always occurs 3 Only TASK3 can be displayed or set on the controller Note 3 The Unit No here indicates TASK 1 Unit No Unit No other than the above such as TASK2 or a later one can be calculated by adding TASK number 1 to the Unit No and multiplying it by 14h for another reference or setting Example1 When reading the setting values of the average number of times when ZS LDC is 1CH and no 2 area measurement is performed Since the average number of times is 2Bh for Unit No and 02h for Data No values are shown as below 02h 01h COO0Oh 02h Data No 2Bh Unit No 01h CH No 8000h 1h Number of elements In the command section the value is shown as below 02h 01h C002h 2B01h 8001h To this command if the response is shown as below 02h 01h C002h 2B01h 8001h 00000004h Since the value is 4 this indicates 16 time
33. Long command length Command length is too long 4002 Short command length Command length is too short ZS Series 2 11 CompoWay F Communication Command Reference SPUBWILUOD Jo sjie1Eq Section 2 Operation Instructions Operation Instructions Provides operation instructions to controllers List of Operation Instruction Commands Instruction Name Instruction Related Related Code Information 1 Information 2 Complete INIT 55h lt Machine No gt 0000h DATA SAVE 57h lt Machine No gt 0000h CLEAR 58h lt Machine No gt 0000h CLEAR which clears banks initializes current banks sensing settings and measurement settings Settings of other banks and system settings are not initialized Complete INIT initializes all settings settings of all banks and system settings Example To execute Complete INIT of the 2CH controller assign a command as follows Related information1 02h Instruction Related Related Code Information 1 Information 2 55h 02h 0001h Commands and Responses Instruction Related Related Information 2 Code Information 1 2 bytes 2 bytes 2 bytes 2 bytes 4 bytes Elements Details Instruction Code Specify commands depending on the instruction to be executed Related Information 1 Specify the channel No of the controller related to the command Example In the case of 2CH specify 02 Related Information 2 Usually setting other
34. S controller 9 Check the System Information Cycle after setting CHECK 4 10 ZS Series CompoWay F Communication Command Reference Section 4 Flow Data Response Flow Data Response This section describes the format and composition of response of flow data Format Binary data is output in the format below after outputting the flow data obtaining command Header section 4 byte Data section 4 byte For details refer to Composition of Flow Data Response data of the flow data is composed by binary data for the purpose of giving top S priority to speed CHECK Therefore response data may not be received by generic communication tools such as hyper terminal Composition of Response I FlowDATA 1 packet 2 Header section Data section 1st byte 2nd byte 3rd byte 4th byte Q i A cloD G H J K Data Meaning of a data 5 8 1 2 1 2 AE Ba Meee a bits e Total o S 64 bits 9 ZS Series 4 11 CompoWay F Communication Command Reference e eq MO Ule qO 0 MOH Section 4 Flow Data Response Details of Header Section Data Name Details A Not used Reserved bit B FlowDATA Overflow bit NORMAL 0 1 is set when flow data accumulation overflows C Decimal point information NORMAL 0 0 nm order 1 um order D TASK No TASK1 to TASK4
35. Setting Value Obtaining and Changing Command Parameter List ZS MDC m Input Setting common to all TASKs 3 18 Parameter Data A input destination CH Data B input destination CH Data C input destination CH Data D input destination CH Data E input destination CH Data F input destination CH Data G input destination CH Data H input destination CH Data input destination CH Setting range output range 0 to 11 CH Remarks Data A input mode Data B input mode Data C input mode Data D input mode Data E input mode Data F input mode Data G input mode Data H input mode Data input mode Obtained result A Obtained result B Obtained result C Obtained result D Obtained result E Obtained result F Obtained result G Obtained result H ZS Series Obtained result CompoWay F Communication Command Reference 999999999 to 999999999 nm Read only Section 3 Setting Value Obtaining and Changing Command Example 1 When assigning writing input A to CH3 To assign input A to CH3 input destination CH of data A should be set to 3CH and input mode of data A should be ON 1 For input destination CH of data A both Unit No and Data No are 00h 2 For input mode of data A Unit No and Data No are 00h and O9h respectively
36. Source L selection TASK 1Ah Source M selection TASK 1Bh Source N selection TASK TASK1 TASK2 TASK3 TASK4 Input A Input B Input C Input D Input E 9 Input F 10 Input G 11 Input H 12 Input o when the Settings are valid gang mounted controller is MDC 1Ch Source A save mode 1Dh Source B save mode 1Eh Source C save mode 1Fh Source D save mode 20h Source E save mode 21h Source F save mode 22h Source G save mode 23h Source H save mode 24h Source save mode 25h Source J save mode 26h Source K save mode 27h Source L save mode 28h Source M save mode 29h Source N save mode 0 OFF 1 ON ZS Series CompoWay F Communication Command Reference 3 27 Cc 2 Z 9 D 2 U D D D 3 2 2 Z 2 ON Jojoweseg pue ON HUN Section 3 Setting Value Obtaining and Changing Command Unit No Data No Parameter Setting range output range Remarks 00h 40h Obtained result A 999999999 to 999999999 nm 4th Obtained result B 42h Obtained result C 43h Obtained result D 44h Obtained result E 45h Obtained result F 46h Obtained result G 47h Obtained result H 48h Obtained result 49h Obtain
37. aracter Elements Details STX This is a code to indicate the first part of communication frames O2Hex Make sure to set the first byte to O2Hex When a controller receives STX while receiving a command it receives the command again starting from where it received STX NODE No This is the Node No for the identification of the destination About Node No It refers to the connection group No as seen from the host device PLC Not only the ZS Series but other multiple devices are connected to the PLC The number assigned to devices connected to a PLC such as this is referred to as a Node No Subaddress This should be fixed to 00 SID Service ID This should be fixed to 0 Command text This is the text part of the command Section 2 Details of Commands describes these parts by command ETX This is a code to indicate the end of the text O3Hex BCC This is a block check character The exclusive OR XOR of values from Node No to ETX per byte is BCC 1 4 ZS Series CompoWay F Communication Command Reference Section 1 Command Formats E Example of BCC calculation STX NODE No Subaddress Command text ETX BCC 02Hex o 0 00 o 30053001 osHex 37Hex 30Hex 30Hex 3030Hex 30Hex 3330303533303031 Hex Set the result of calculation which is 37Hex to BCC lt Calculation gt BCC 30Hex 30Hex 30Hex 30Hex 30Hex 33Hex 30Hex 30Hex 35Hex 33Hex
38. arget 4 Digital output target 5 0 1 2 3 4 0 1 2 3 4 5 6 7 8 Digital output target 6 Digital output target 7 fo Not used Trigger Hold reset Laser OFF Zero reset STANDARD Parallel input OFF mode OFF ON OFF ON OFF ON Execution Cancel External input 0 mode External input 1 mode External input 2 mode External input 3 mode External input mode Timing input Reset input Cc pmj o o e a U o o 3 ps 2 LD OFF input Zero reset executed Zero reset cancel Note 2 To change the monitor focus setting monitor focus mode must be ON For example to change the current setting of the monitor focus change parameters below Monitor focus mode ON Monitor focus distance value 1 Monitor focus distance value 2 Monitor focus current value 1 Monitor focus current value 2 In addition set outputs current and voltage which are set by the analog output switch in the controller ZS Series 3 25 CompoWay F Communication Command Reference ON Jojoweseg pue ON HUN Section 3 Setting Value Obtaining and Changing Command 3 26 Note 3 External input 0 mode and External input 1 mode settings cannot be changed because they automatically function as bank inputs when the bank mode is used when external input IN function mode is set to bank
39. ata No Parameter Area 1 displacement value TASK1 Area 2 displacement value TASK2 Glass surface and or Glass thickness results Main digital display value TASK3 Area Area2 For multi task mode Unit No Data No Parameter TASK1 measurement result TASK2 measurement result TASK3 measurement result TASK4 measurement result 3 2 ZS Series CompoWay F Communication Command Reference Section 3 Measurement Result Obtaining Command Parameter List ZS MDC Parameter TASK1 measurement result TASK2 measurement result TASK3 measurement result TASK4 measurement result Example1 When _ obtaining a measurement result _of ZS LDC 2CH and when no 2 area measurement is performed 02h 01h COO00h 20h Data No 30h Unit No 02h CH No 8000h 1h Number of elements In the command section the value is shown as below 02h 01h C020h 3002h 8001h To this command if the response is shown as below 02h 01h C020h 3002h 8001h 04CC5520h It indicates as 80500000nm 80 5mm because 04CC5520h 80500000 Example2 When obtaining a displacement value of a standalone ZS LDC OCH Area2 and a 2 area measurement is performed 02h 01h CO00h 20h Data No 44h Unit No OOh CH No 8000h 1h Number of elements In the command section the value is shown as below 02h 01h C020h 4400h 8001h To this command if the response is shown as below 02h 01h C020h 4400h 800
40. ata do not match 1100 Parameter error Data to be written is out of specified range 1101 Area type error Parameter type is wrong 1103 Start address outside of range error Writing start address is out of range Writing start address specifies the sensor of the unconnected Machine No 1104 End address outside of range error Specified number of elements is other than 8001 2203 Operating error Setting is abnormal Refer to the User s Manual of the ZS Series for setting error conditions of thresholds and the hysteresis width 2204 Operating error Operating mode of sensor is other than RUN 2205 Operating error 2 8 ZS Series CompoWay F Communication Command Reference Invalid command Section 2 Reading Variable Areas Reading Variable Areas Read variable areas List of Variable Area Reading Commands Data Name Variable Reading start Bit Number of Type address position elements Flow data Eth 0000h 00h 0001h Measurement 81h lt Machine No gt 00h 0002h Cycle Example To read the measurement cycle information from the 2CH controller assign a command as follows Machine No 0002h Variable Reading start Bit position Number of Type address elements 81h 0002h 00h 0002h g D mp D o 9 O e 3 o e Q 7 Commands and Responses Variable Reading start Bit Number of Type address position e
41. channel in the flow data request command The CH of USB cable connection destination is the channel of command transmission destination Because the flow data belongs to the variable area reading commands the response follows their format However note that only the contents of the data to be read follow the format below In addition whether or not the command ends cannot be judged by ETX specified based on the CompoWay F because the data to be read is composed by binary data Confirming the completion of data reception with the number obtained is recommended The number of data items to be received can be calculated using the formula specified in the step above Data type target data to be obtained x Number of data items to be accumulated 4 6 ZS Series CompoWay F Communication Command Reference Section 4 Setting Procedures for Data Obtaining Conditions About Continual Data Obtaining Note that sending a request command is necessary after starting the data reception until the next data accumulation is completed as described in How to obtain flow data Calculate the time for the completion of the accumulation using the formula specified in the step above measurement cycle x number of data items to be accumulated and send the next request command until the calculated time expires Example When measurement cycle 269 us and the number of data items to be accumulated 500 It will take 134 5 ms 269
42. e calculated by subtracting 1 from the value calculated using the formula above because the buffer interval must be the number of skips to be executed Example When writing the buffer interval 371 to ZS MDC OCH a command to be sent is shown below 02h 02h C003h 7CO0h 8001h 00000173h 371 dec 1F4 hex 5 Set the number of data items to be accumulated Set the number of data items to be batch obtained Because the number of data items specified in this step is the one for the respective accumulation data area the number of data items to be batch obtained can be calculated as shown below when three types of data items are obtained as in the example above Number of data items specified in this step x 3 Example When setting the number of data items to be accumulated 500 to ZS MDC OCH a command to be sent is shown below 02h 02h C004h 7COOh 8001h 000001F4h 500 dec 1F4 hex a 2 o O T S gt T e 2 Oo g 5 o ZS Series 4 5 CompoWay F Communication Command Reference eed MO UIe qO 0 MOH Section 4 Setting Procedures for Data Obtaining Conditions 6 Request and receive data Setting is completed All the data items are returned at once when the flow data request command is sent in the status above Example When sending a request command to the ZS MDC Och the command is shown as below 01h 01h E1h 0000h 00h 0001h No area is assigned for the specification of command send destination
43. ed result J 4Ah Obtained result K 4Bh Obtained result L 4Ch Obtained result M 4Dh Obtained result N Oth 00h Start trigger mode 0 Button 1 External input 2 Data 3 Window 4 1 0 5 Time Oth Start trigger trigger edge 0 UP polarity 1 DOWN 02h Start trigger data 0 Source A selection 1 Source B 2 Source C 3 Source D 4 Source E 5 Source F 6 Source G 7 Source H 8 Source 9 Source J 10 Source K 11 Source L 12 Source M 03h Start trigger delay 9999 to 9999 ms 1 1 Save image 127 to 127 Number of images is set to OFF 2 2 Save image is set to ON 04h Start trigger data 999999999 to 999999999 nm threshold 06h Start trigger window 0 Window in mode 1 Window out 07h Start trigger window 999999999 to 999999999 nm upper limit value 08h Start trigger window 999999999 to 999999999 nm lower limit value 3 28 ZS Series CompoWay F Communication Command Reference Section 3 Setting Value Obtaining and Changing Command Unit No Data No Parameter Setting range output range Remarks Oth OAh Start trigger I O result O 0 INO selection 1 IN 1 2 IN 2 3 IN 3 4 OUT O 5 OUT 1 6 OUT 2 7 OUT 3 8 OUT 4 OCh OCh End trigger mode 0 Button When Save image 1 External input is set to ON TIME 2 Data is not available 3 Window 4 I O 5 Time 6 QUANT 7 Time Oth ODh End trigger trigger
44. ent and voltage which are set by the analog output switch in the controller Note 5 External input O0 mode and External input 1 mode settings cannot be changed because they automatically function as bank inputs when the bank mode is used when external input IN function mode is set to bank Note 6 When the external input mode is set to STANDARD the controller enters into the status below External input of the controller is enabled Commands from timing input to zero resetting are disabled When the external input mode is set to Parallel input OFF the controller enters into the status below External input of the controller is enabled Commands from timing input to zero resetting are disabled Therefore to send a command related to inputs the external input mode should be set to Parallel input OFF Once ON is written to the timing input reset input and LD OFF input parameters the ON state is kept until OFF is written next Controller operates in the same manner as the input state is kept ON However special care shall be taken because the operation changes depending on the state of external input line to the controller when the external input mode is set back to the standard mode Operations are performed depending on the settings when Execution or Cancel is written to the parameter with respect to the zero reset Example 1 To perform zero reset when ZS LDC is 1CH
45. erence Cc pe 2 o e Q U o o 3 pa D 2 ON Jojoweseg pue ON HUN Section 3 Setting Value Obtaining and Changing Command Unit No Note 1 Parameter Differential mode Setting range output range 0 OFF 1 ON Remarks Differentiation cycles Hold mode 1 to 5000 ms OFF PEAK BOTTOM P P AVERAGE SAMPLE Trigger method External Self up trigger Self down trigger 0 1 2 3 4 5 0 1 2 Trigger level 999999999 to 999999999 nm Trigger hysteresis 0 to 999999999 nm Trigger delay ms 0 to 5000 ms Sampling period ms 1 to 5000 ms Trigger delay mode Offset value for zero reset 0 OFF 1 ON 999999999 to 999999999 nm Zero reset mode LOW threshold value 0 REAL 1 HOLD 999999999 to 999999999 nm Note 1 HIGH threshold value The Unit No here indicates TASK 1 Unit No 999999999 to 999999999 nm Unit No other than the above such as TASK2 or a later one can be calculated by adding TASK number 1 to the Unit No and multiplying it by 14h for another reference or setting Example 1 When reading the setting values of the average number of times for TASK 1 Since the average number of times is 2Bh for Unit No and 02h for Data No values are shown as below 02h 01h COO0Oh 02h Data No 2Bh Unit No 0Oh CH No 8000h 1h Number of ele
46. h any character while receiving a command 44 Framing error Framing error occurred with any character while receiving a command 42 Overrun error Overrun error occurred with any character while receiving a command 43 BCC error Received an invalid BCC 44 Format error e Occurs when characters other than 0 to 9 or A to F are used for command text parts Except during echo back tests No SID and command texts exist Or no command text exists Either MRC or SRC is missing in the command text 4 6 Subaddress error Subaddress of the receiving frame is invalid not supported No subaddress SID and command texts exist Subaddress is shorter than two characters and no SID and command texts exist 4 38 Frame length error Receiving frame exceeds the supported number of bytes One end code is returned after receiving one complete command frame to the node No response is made when ETX or BCC characters are missing 1 wll O CHECK Noises may cause response errors or no response Make sure to retry It may take three from the host seconds at longest from sending a command to receiving a response If no response is returned make sure to send another command after waiting for more than three seconds ZS Series 1 7 CompoWay F Communication Command Reference gt T i O fe 3 3 fa f D fe 3 O fe 3 3 D 5 2
47. h external devices it is necessary to obtain a large volume of data The ZS series provides a system to handle measurement data as a bunch of any number of data items and to obtain data in units of bunches A bunch of data is called flow data m Process to obtain flow data A data items bunch is transmitted as flow data output upon full data accumulation specified by buffer size a maximum of 1000 data items if a flow data obtaining command has been received A data recipient such as a personal computer must issue a command in advance of full measurement data accumulation specified by buffer size to the ZS controller Commands and data items are exchanged between a data recipient and the ZS controller as shown in the flow chart below Controller Data is being accumulated Output of result Specified buffer size data obtaining at once Data is being accumulated v Specified buffer size data obtaining at once Data reception feQneerrnnnnnnnnnnnnnnnnnnnnniinnnnisn Output of result Command issuance I i i Specified buffer size data obtaining at once Data reception iie Data is being accumulated Output of result Command issuance Data is being accumulated ar The previous data is overwritten upon full measurement data accumulation specified S by buffer size in the ZS controller if no command has been received cHeck In this case an error flag appea
48. ications 1 3 4 Command Formats 1 4 Response Formats 1 6 4 Examples of Abnormal End 1 8 gt iz Oo e 3 3 O 5 Oo e 3 D 5 2 O ZS Series 1 1 CompoWay F Communication Command Reference SPUBWILUOD UO BDIUNWIWOD noqy Section 1 How Communication Works How Communication Works ZS Series controllers have communication functions with external devices Use this function to read the data in ZS Series controllers from the host and to write the setting data Communication is achieved via the Command and Response Method based on the CompoWay F which is Omron s proprietary communication protocol Controllers perform processing according to the command sent from the host and then return the result to the host which sent the command as a response Host ZS Series Controller RUN mode Personal Computer Entering Commands Receives the results of the execution of commands Executing Commands Controllers are in a non measurement state when executing commands Outputs the result of the execution of commands 1 2 ZS Series CompoWay F Communication Command Reference Section 1 Setting the Communication Specifications Setting the Communication Specifications Change the settings of the controller communication specifications for communicating with the external device by CompoWay F protocol
49. lements MRC SRC Dt ee E 2 bytes 2bytes 2 bytes 4 bytes 2 bytes 4 bytes Elements Details Variable type Specify variables depending on the data to be obtained A List of Variable Area Reading Commands page 2 9 Reading start address Specify the Machine No CH No of the controller to read data by using an ASCII code expressed in hexadecimal numbers I Unit No and Parameter No page 3 4 Bit position ZS Series does not support bit access It is fixed to 00 Number of elements Specify number of elements depending on the Variable Type IA List of Variable Area Reading Commands page 2 6 ZS Series 2 9 CompoWay F Communication Command Reference SPUBWILUOD Jo sjIe19q Section 2 Reading Variable Areas MRC SRC __ Response Code _Data to be read ee 2 bytes 2 bytes 4 bytes Requested number of elements depending on commands Elements Details Response Code Indicates controller status for the command Data to be read is not returned when an error occurs Data to be read Data length is number of elements x 4 ASCII characters Since the data reading part of the flow data obtaining commands use special formats refer to Section 4 How to Obtain Flow Data IA Composition of Flow Data Responses page 4 10 Response code for normal end Response Code Name Details 0000 Normal end No errors Response code when an error occurs Response Code Error name Cause 1001 Long c
50. ments In the command section the value is shown as below 02h 01h C002h 2BO0h 8001h To this command if the response is shown as below 02h 01h C002h 2B01h 8001h 00000004h Since the value is 4 this indicates 16 times 3 22 ZS Series CompoWay F Communication Command Reference Section 3 Setting Value Obtaining and Changing Command Example 2 When changing the high threshold value of TASK 4 to 100 mm Usually the high threshold value is 30h for Unit No and 03h for Data No However Unit No is 6Ch 30h 4 1 x 14h because TASK4 is set this time Besides 100mm thickness is expressed as 05F5E100h in a hexadecimal number because 100 mm is 100 000 000nm 02h 02h COO0Oh 03h Data No 6Ch Unit No 00h CH No and 8000h 1h Number of Elements 05F5E100h Data to be written In the command section the value is shown as below 02h 02h CO03h 6C00h 8001h O05F5E100h To this command if the response is shown as below 02h 02h 0000h It indicates a normal end Cc p o Q U o o 3 D 9 ZS Series 3 23 CompoWay F Communication Command Reference ON Jojoweseg pue ON HUN Section 3 Setting Value Obtaining and Changing Command E Measurement Setting 2 common to all TASKs Unit No Data No Parameter Non measurement settings Setting range output range Remarks Output upon clamp to 999999999 nm Timer mode 0 OFF 1 OFF DELAY 2 ON
51. ng Commands page 2 3 2 4 ZS Series CompoWay F Communication Command Reference Section 2 Reading Parameter Areas Response MRC SRC Response Code Parameter Type meading Stari 02 address OE EEEE 2 bytes 2 bytes 4 bytes 4 bytes 4 bytes Number of Data to be read elements AERE w 4 bytes Requested data Q depending on commands S Elements Details O Response Code Indicates controller status for the command Data to be read is not returned when an S error occurs 3 Data to be read Data to be read is expressed by using an ASCII code in hexadecimal numbers m a i Data length varies depending on commands List of Parameter Area Reading Commands page 2 3 Response code for normal end Response Code Name Details 0000 Normal end No errors Response code when an error occurs Response Code Error name Cause 1001 Long command length Command length is too long 1002 Short command length Command length is too short 1003 Inconsistent number of Number of elements and data do not match elements data 1101 Area type error Parameter type is wrong 1103 Start address outside of range Reading start address is out of range error Reading start address specifies the sensor of the unconnected Machine No Bit position is other than 00 1104 End address outside of range Specified number of elements is out of range error 2203 Operating error Reading error 2204 Operating e
52. o peak Average Sampling 3h Trigger method External input Self up Self down M ojn BRWOND 4h Trigger level 999999999 to 999999999 nm 5h Trigger hysteresis 0 to 999999999 nm 6h Trigger delay ms 0 to 5000 ms 7h Sampling time ms 1 to 5000 ms 8h 5h Trigger delay mode Offset at zero reset 0 OFF 1 ON 999999999 to 999999999 nm 7h Zero reset mode 0 Real 1 Hold 40h Status 0 OFF 1 ON 3 14 ZS Series CompoWay F Communication Command Reference Section 3 Setting Value Obtaining and Changing Command If GLASS MODE 2 or GLASS THICKNESS MODE 2 is selected a process using multiple tasks will be performed as in multi task mode The following processes are assigned to the respective tasks TASK1 Calculates Area 1 displacement value TASK2 Calculates Area 2 displacement value GLASS Calculates the result of the NEAR side of TASK 1 and TASK 2 TASK3 GALSS THICKNESS Calculates the difference value between TASK1 and TASK2 TASK4 Unused The measurement conditions can be set for each task in this mode Unit No Data No Parameter Setting range output range Remarks 78h Oh Hysteresis width 0 to 999999999 nm Setting th i judgment imer mode 0 OFF process 1 OFF Delay 2 ON Delay 3 One shot 2h Delay time 1 to 5000 ms 3h Judgment output
53. ommand length Command length is too long 1002 Short command length Command length is too short 1003 Inconsistent number of Number of elements and data do not match elements data 1101 Area type error Variable type is wrong 1103 Start address outside of range Reading start address is out of range error Reading start address specifies the sensor of the unconnected Machine No Bit position is other than 00 1104 End address outside of range Specified number of elements is out of range error 2203 Operating error Reading error 2204 Operating error Operating mode of sensor is other than RUN 2205 Operating error Invalid command 2 10 ZS Series CompoWay F Communication Command Reference Section 2 Reading Controller Information Reading Controller Information Read data about ZS Series types and so on MRC SRC 2 bytes 2 bytes Response MRC SRC Response Code Model Version 2 bytes 2 bytes 4 bytes 20 bytes 20 bytes spuewwos Jo s1820 Elements Details Response Code Indicates controller status for the command Data to be read is not returned when an error occurs Model Model is expressed with 20 ASCII characters Version Version is expressed with 20 ASCII characters Response code for normal end Response Code Name Details 0000 Normal end No errors Response code when an error occurs Response Code Error Name Cause 1001
54. pecifications 1 3 Command Formats 1 4 Response Formats 1 6 Examples of Abnormal End 1 8 Section 2 Details of Commands 2 1 About General Information of Communication Commands 2 2 Reading Parameter Areas 2 3 List of Parameter Area Reading Commands 2 3 Commands and Responses 2 4 Writing Parameter Areas 2 6 List of Parameter Area Writing Commands 2 6 Commands and Responses 2 7 Reading Variable Areas 2 9 List of Variable Area Reading Commands 2 9 Commands and Responses 2 9 Reading Controller Information 2 11 Operation Instructions 2 12 List of Operation Instruction Commands 2 12 Commands and Responses 2 12 Section 3 Unit No and Parameter No 3 1 Measurement Result Obtaining Command 3 2 Setting Value Obtaining and Changing Command 3 4 Parameter List ZS LDC 3 4 Parameter List ZS HLDC 3 11 Parameter List ZS MDC 3 18 Parameter List ZS DSU 3 27 CompoWay F Communication Command Reference e 3 c 3 7 U9 U09 2 Section 4 How to Obtain Flow Data 4 1 About Obtaining Flow Data 4 2 Setting Procedures for Data Obtaining Conditions 4 3 Setting Parameters 4 8 Buffer Size and Buffer Interval 4 8 Logging Data Type 4 8 Flow Data Response 4 11 Format 4 11 Composition of Response 4 11 ZS Series CompoWay F Communication Command Reference Section 1 About Communication Commands 4 How Communication Works 1 2 4 Setting the Communication Specif
55. rror Operating mode of sensor is other than RUN 2205 Operating error Invalid command ZS Series 2 5 CompoWay F Communication Command Reference SPUBWILUOD Jo sjIe19q Section 2 Writing Parameter Areas Writing Pa eter Areas Write parameter areas List of Parameter Area Writing Commands Data Name Parameter Writing start Specification Data to be written Type address of element numbers Bank switching 8000h lt Machine No gt 8001h 0to3 KEYLOCK A002h lt Machine No gt 8001h OFF 1 ON RS 232C Data A030h lt Machine No gt 8001h 7 bits 1 8 bits Length Setting RS 232C Parity A031h lt Machine No gt 8001h 0 None 1 Odd Number Setting 2 Even Number Stop bits setting A032h lt Machine No gt 8001h 0 1 bit 1 2 bits Communication A033h lt Machine No gt 8001h 0 to 64 node setting Digits after A040 lt Machine No gt 8001h 0 1 digit 1 2 digits 2 3 decimal point digits 3 4 digits 4 5 digits Digital Eco mode A041h lt Machine No gt 8001h NORMAL 1 ECO1 OFF LCD ON OFF A042h lt Machine No gt 8001h OFF 1 AUTOOFF ON ON Sensor Load A050h lt Machine No gt 8001h LOAD 1 SAVE 0 2 0 2 LCD Backlight A043h lt Machine No gt 8001h 0 OFF 1 AUTOOFF 2 0 0 Language A051h lt Machine No gt 8001h Japanese 1 English Writing processing Co00h XXYYh 8000h Data to be written
56. rs as buffer overflow occurs A data recipient such as a personal computer must confirm whether or not a command is properly issued in time by observing this flag 4 2 ZS Series CompoWay F Communication Command Reference Section 4 Setting Procedures for Data Obtaining Conditions Setting Procedures for Data Obtaining Conditions Follow the procedures below to set the data obtaining conditions Note that setting conditions described in this section are cleared upon turning OFF the power of the controller Set the threshold values again The all data obtaining conditions set here are written using the parameter area write command When setting refer to the corresponding tables in Unit No and Data No command examples described in Section 3 and the description of the parameter area write in Section 2 1 Set the accumulation mode to ON Set the flow data accumulation mode to ON 1 Make sure to set this value to ON or write 1 to this value in advance of obtaining data because flow data is not accumulated unless this setting is made Specifically write ON 1 to Data No 2 of Unit No 124 7Ch Example When writing the above command to ZS MDC 0CH a command to be sent is shown as below 02h 02h C002h 7COOh 8001h 00000001 A measurement cycle changes from 112 microseconds to 142 microseconds upon setting the accumulation mode to ON when the ZS LDC is used in the high speed mode That is to say the LDC i
57. s Example 2 When changing a high threshold value for the result of thickness to 100 mm when ZS LDC is OCH and a 2 area measurement is performed The thickness result is calculated by using TASK3 when performing a 2 area measurement Usually the high threshold value is 30h for Unit No and 03h for Data No However Unit No is 58h 30h 3 1 x 14h because TASK3 is set this time Besides 100mm thickness is expressed as 05F5E100h in a hexadecimal number because 100 mm is 100 000 000nm 02h 02h C000h 03h Data No 58h Unit No 00h CH No and 8000h 1h Number of Elements 05F5E100h Data to be written In the command section the value is shown as below 02h 02h C003h 5800h 8001h 05F5E100h To this command if the response is shown as below 02h 02h 0000h It indicates a normal end ZS Series CompoWay F Communication Command Reference Section 3 Setting Value Obtaining and Changing Command m Measurement Setting 2 common to all TASKs Unit No Data No Parameter Non measurement settings Setting range output range Remarks Output at CLAMP Hysteresis width 0 to 999999999 nm Timer mode 0 OFF 1 OFF DELAY 2 ON DELAY 3 1 shot Delay time Monitor focus mode 1 to 5000 ms 0 OFF 1 ON Monitor focus distance value 1 999999999 to 999999999 nm Monitor focus distance value 2 999999999 to 999999999 nm Monitor focus current value 1 4 to 20 mA
58. ses 2 7 x Reading Variable Areas 2 9 List of Variable Area Reading Commands 2 9 Commands and Responses 2 9 Reading Controller Information 2 11 x Operation Instructions 2 12 List of Operation Instruction Commands 2 12 Commands and Responses 2 12 ZS Series 2 1 CompoWay F Communication Command Reference SPUBWILUOD Jo s1820 Section 2 About General Information of Communication Commands About General Information of Communication Commands Communication commands are categorized into the groups and meanings as in the following table Groups Meanings Pages for Reference Reading parameter System related Read setting values related to the target CH system Page 2 3 areas Measurement Read measurement related setting values and Refer to Section 3 related results of measurements Obtain data by specifying for Unit No and Data Unit No and Data No No Writing parameter System related Write setting values related to the target CH system areas Measurement Write measurement related setting values and results Refer to Section 3 related of measurements Write data by specifying Unit No for Unit No and Data and Data No No Reading variable areas Read particular kinds of data in the target CH system Page 2 9 Reading controller information Read information on the models connected with a Page 2 11 cable Operation instructions Operate data of each bank or all banks Page 2 12
59. ted light amount setting Fixed Lower limit of LD power 0 to 800 1div 0 1 Upper limit of LD power 0 to800 1div 0 1 Parameters when Emitted light amount setting Auto range Incident level First surface 0 to 4095 tone Incident level Second surface 0 to 4095 tone Incident level Third surface 0 to 4095 tone 3 4 03h 00h Measurement object 0 NORMAL 1 PCB 2 MIRROR 3 GLASS 4 THICKNESS 5 GAP 01h Glass material 0 NORMAL Parameters when 1 FILM OTHERS Measurement object Thickness or Gap 02h Glass thickness 0 STOP Parameters when Glass measurement mode 1 Moving material FILM OTHERS ZS Series CompoWay F Communication Command Reference Parameter Image smoothing level Setting range output range None Filter size 2 Filter size 4 Filter size 8 Filter size 16 Section 3 Setting Value Obtaining and Changing Command Remarks Background removing level before addition o 255 tone Background removing level after addition o 4095 tone Edge threshold Mutual interference prevention mode 0 12 5 25 37 5 50 62 5 75 87 5 OFF ON Timing setting Gain setting LD power mode Area 1 Timing A Timing B o CO Noarwna0 0 Auto 1 Auto range 2 Fixed Parameters when Mutual interference prevention mode ON Surface to be
60. than 0000 is not accepted 2 12 ZS Series CompoWay F Communication Command Reference Section 2 Operation Instructions Response MRC SRC Response Code 05 Raka Instruction Related Related Code Information 1 Information 2 2 bytes 2 bytes 4 bytes 2 bytes 2 bytes 4 bytes Elements Details Response Code Indicates controller status for the command Instruction Code The code which is the same as the transmitted will be returned iw pl Related Information 1 T Related Information 2 a Q O e Response code for normal end 3 Response Code Name Details D 0000 Normal end No errors 7 Response code when an error occurs Response Code Error Name Cause 1001 Long command length Command length is too long 1002 Short command length Command length is too short 1101 Area type error Instruction code is invalid 1103 Start address outside of range Related information specifies the sensor of the error unconnected Machine No 2203 Operating error Setting is abnormal Refer to the User s Manual of the ZS Series for error conditions 2204 Operating error Operating mode of sensor is other than RUN 2205 Operating error Invalid command ZS Series 2 13 CompoWay F Communication Command Reference SPUBWILUOD Jo sjie1Eq Section 2 Operation Instructions MEMO 2 14 ZS Series CompoWay F Communication Command Reference
61. tion 3 Unit No and Parameter No for Unit No and Parameter No for each processing unit ZS Series 2 3 CompoWay F Communication Command Reference SPUBWILUOD Jo sjIe 9q Section 2 Reading Parameter Areas Example 1 To read the language information from the 2CH controller assign a command as follows Machine No 0002h MRC SRC Parameter Type Reading start Number of address elements 02h Oih A051h 0002h 8001h Example 2 To read the final measured value from the 1CH controller assign a command as follows Data No 20h Unit No 30h Machine No 01h MRC SRC Parameter Type Reading start Number of address elements 02h Oth C020h 3001 8001h Commands and Responses Reading start Number of MRC SRC Parameter Type address elements Be ee pl ae ee gy 2 bytes 2 bytes 4 bytes 4 bytes 4 bytes Elements Details Parameter Type Specify parameters depending on the data to be obtained List of Parameter Area Reading Commands page 2 3 Reading start address Specify the Machine No CH No of the controller to read data by using an ASCII code expressed in hexadecimal numbers Please note that the format of processing unit data reading commands is XXYYh XX lt Unit No gt YY lt Machine No gt Unit No and Parameter No page 3 4 Number of elements Specify number of elements depending on the Parameter Type List of Parameter Area Readi
62. tself as a single unit cannot obtain measurement data at every 112 microseconds via communications To obtain the measurement data at every 112 microseconds use a composition of ZS LDC and ZS MDC to obtain the measurement data from ZS LDC via ZS MDC I e e O o re D e al e g D D ZS Series 4 3 CompoWay F Communication Command Reference eled Mo UIe qO 0 MOH Section 4 Setting Procedures for Data Obtaining Conditions 2 Set the target data to be obtained Controllers have accumulation areas from accumulation data 1 through accumulation data 9 in the software First set the data to be accumulated in the respective area Specifically write the Parameter No which corresponds to the data to be accumulated to Data No 5 through 13 of Unit No 124 7Ch The example here describes the case of ZS MDC In the case of ZS LDC Data No 5 to 7 can be specified because only accumulate data areas from 1 to 3 exist Example When writing data items TASK1 TASK2 and input A to accumulate data 1 accumulate data 2 and accumulate data 3 respectively for the ZS MDC OCH a command to be sent is shown as below 02h 02h C005h 7COOh 8001h 00000001h Accumulate data 1 TASK1 02h 02h CO06h 7COOh 8001h 00000002h Accumulate data 2 TASK2 02h 02h CO07h 7COOh 8001h 00000005h Accumulate data 3 Input A 02h 02h CO08h 7COOh 8001h 00000000h 02h 02h COO09h 7COOh 8001h 00000000h
63. ttings per TASK Note 2 Unit No Note 3 Parameter Scaling mode Setting range output range 0 OFF 1 ON Remarks Span value 20000 to 20000 X0 0001 Offset value Average number of times Differential mode 999999999 to 999999999 nm 0 1 time 1 2 times 2 4 times 3 8 times 4 16 times 5 32 times 6 64 times 7 128 times 8 256 times 9 512 times 10 1024 times 11 2048 times 12 4096 times 0 OFF 1 ON Differentiation cycles Hold type 1 to 5000 ms OFF PEAK BOTTOM P P AVERAGE SAMPLE O Trigger method External Self up trigger Self down trigger ne0 oR wh Trigger level 999999999 to 999999999 nm Trigger hysteresis 0 to 999999999 nm Trigger delay ms 0 to 5000 ms Sampling period ms 1 to 5000 ms Trigger delay mode Offset value for zero reset 0 OFF 1 ON 999999999 to 999999999 nm Zero reset mode LOW threshold value 0 REAL 1 HOLD 999999999 to 999999999 nm HIGH threshold value 999999999 to 999999999 nm ZS Series CompoWay F Communication Command Reference 3 7 Cc ms 2 o e a U o o 3 ms 2 ON Jojoweseg pue ON HUN Section 3 Setting Value Obtaining and Changing Command 3 8 Note 2 The same task as MDC is performed as internal processing when selecting a THICK GAP FI
64. ve is selected for the measurement object Unit No Data No Parameter Details 7Ch 5h No accumulation Accumulation When multi task mode is ON Unit No Data No Parameter Details 7Ch Eh Does not accumulate the result of TASK1 Accumulates the result of TASK1 Fh Does not accumulate the result of TASK2 Accumulates the result of TASK2 Does not accumulate the result of TASK3 Accumulates the result of TASKS Does not accumulate the result of TASK4 Accumulates the result of TASK4 F e O EA 2 al e g D D ZS Series 4 9 CompoWay F Communication Command Reference eed MO UIe qO 0 MOH Section 4 Setting Parameters When a mode other than the above is selected Details No accumulation Distance value Measurement value m When using ZS MDC Up to 9 data types can be accumulated Unit No Data No Parameter Details 7Ch 5h Accumulation data 1 0 No accumulation 1 Measurement result of TASK 1 6h Accumulation data 2 2 TASK 2 3 TASK 3 4 TASK 4 8h Accumulation data 4 5 Input A 6 Input B 7 Input C Accumulation data 6 8 Input D 9 Input E 10 Input F Accumulation data 8 11 Input G 12 Input H 13 Input 7h Accumulation data 3 9h Accumulation data 5 Accumulation data 7 Accumulation data 9 V Increasing the accumulation data lengthens the measurement cycle of the Z
Download Pdf Manuals
Related Search
Related Contents
スーパースクエア パーキング User Manual - AVIT Distribution Catalogo Laboratorio Philips CD1862B Manuel d`Installation, d`Utilisation et de Maintenance TSV Copyright © All rights reserved.
Failed to retrieve file