background image

<Toc> <Ind>

<4.   Module Access >

4-3

IM 34M6H54-01E

Example: Reading counter value

Specify the data position number of the input data in the first data position number for
read data (n1).

The data position number of the input data corresponds to the channel number.

Program example for reading counter value

When X00501 is on, it reads four data channels from channel 1 to 4 of the pulse input
module installed in slot number 106 into the data registers (D0001 to D0004).

4

106

1

D0001

X00501

READ

1

2

3

4

F3XS04-

u

N

1

2

3

4

Data Register

D0001

D0002

D0003

D0004

5

6

7

8

9

10

11

F0401.EPS

Read

16 bits

Figure 4.1 Reading Counter Value

1st Edition : Feb.01,1999-00

Содержание F3XS04-3N

Страница 1: ...Instruction Manual Y okogawa Electric Corporation IM 34M6H54 01E Pulse Input Module IM 34M6H54 01E 1st Edition Addendum See at the end of this manual ...

Страница 2: ...Blank Page ...

Страница 3: ...ensure that such circuits are installed external to the prod uct Do not attempt to make modifications or additions internal to the product 7 In cases where the use of this product results in damage or loss to the user or a third party Yokogawa will not be responsible for any incidental or consequential damage or loss or any damage or loss suffered by the user or third party resulting from a defect...

Страница 4: ... Conventions Symbol marks used The following symbol marks are used in this manual CAUTION Indicates that the operator must refer to an explanation in this manual to avoid dam age to the modules TIP Gives information that complements the present topic SEE ALSO Referential items and page numbers are indicated The modules listed in the following table can also be used for the astnex open architecture...

Страница 5: ... should not be used as a Protective grounding terminal Alternating current Direct current Make sure to comply with the following safety precautions Not complying might result in injury death of personnel or damage to the instrument WARNING Power Supply Ensure the source voltage matches the voltage of the power supply before turning ON the power Protective Grounding Make sure to connect the protect...

Страница 6: ...ing requirement The following marking indicates that you must not discard this electrical electronic product in domestic household waste Product Category With reference to the equipment types in the WEEE directive Annex 1 this product is classified as a Monitoring and Control instrumentation product Do not dispose in domestic household waste When disposing products in the EU contact your localYoko...

Страница 7: ...dder Special Module Instructions 4 1 4 1 1 List of Data Position Numbers 4 1 4 1 2 Reading Data READ HRD 4 2 4 1 3 Writing Data WRITE HWR 4 4 4 1 4 Reading Input Relays 4 10 4 1 5 Output to Output Relays 4 12 4 2 Access Using BASIC Statements 4 13 4 2 1 List of Statements 4 13 4 2 2 List of Data Position Numbers 4 14 4 2 3 Declaring Use of Module ASSIGN 4 14 4 2 4 Reading Data from the Pulse Input...

Страница 8: ...Blank Page ...

Страница 9: ...nternal circuit with photocouplers A filter can be selected using software to suppress chattering in the input signals At the count edge either the rising edge or the falling edge can be selected Incorporates a 16 bit ring up counter The maximum ring size is programmable Each channel can have two preset values Generates various types of outputs for combinations of counter values and preset values ...

Страница 10: ...Blank Page ...

Страница 11: ...4 Format Transistor contact Rated load voltage 12 to 24 V DC Counter value Preset values 1 2 Counter value Preset values 1 2 Counter value 0 return 1 Insulation method Photocoupler isolated all input output points are independent External connection 18 point terminal block M3 5 screws External dimensions 28 9 W 100 H 83 2 D mm 2 Current consumption 150 mA at 5 V DC Weight 170 g Item Specifications...

Страница 12: ...ndicator The following indicators light up channel by channel when the corresponding condition occurs I The input signal goes on O The output signal goes on F0201 EPS Figure 2 1 Front View Internal Circuit Filter Counter Counter Photocoupler Photocoupler Same as the above Same as the above Internal circuit Display circuit L L 4 3 2 1 15 16 17 18 IN 1 OUT 1 IN 4 OUT 4 9 10 FG Shielded wire I O bus ...

Страница 13: ...mm F0204 EPS Figure 2 4 Terminal Screw External Connections Table 2 2 Wire and Terminals Applicable conductor size 0 3 to 0 75 mm2 AWG22 to 18 Wire connection method Crimp on type Wire temperature rating 75 C min Wire material Copper Crimp on terminals For M3 5 screws Tightening torque 0 8 N cm 8 kgf cm 6 9 lbf in Applicable crimp on Example Japan Solderless Terminal Mfg Co Ltd V1 25 M3 terminals ...

Страница 14: ...2 4 Toc Ind 2 Functions and Operation IM 34M6H54 01E External Dimensions 83 2 28 9 2 100 9 Unit mm F0205 EPS Figure 2 5 External Dimensions 1st Edition Feb 01 1999 00 ...

Страница 15: ...mum set value is given by Ring up counter maximum value preset value 2 1 In the above setting if bit 0 is set the ring up counter maximum value will be FFFF see the example below Example When set value 2 is changed to 5 the ring up counter is configured as follows Counter value changes 0 to 1 to 2 to 3 to 4 to 0 to 1 to 2 to 3 to 4 to 0 to 1 to 2 to The module detects a preset value when the count...

Страница 16: ...led or Disabled use output relays Yuuu49 Yuuu53 Yuuu57 and Yuuu61 slot numbers for modules are entered in uuu related to input channels 1 to 4 While the output relay related to the input channel is off 0 counter operation is disabled While the output relay related to the input channel is on 1 counter operation is enabled Counter operation in the initial state after the power is turned on is disabl...

Страница 17: ...t value 2 is applicable as a maximum value of the ring up counter The following gives an example of the coincidence of a counter value and the preset value When the set value is 0 initial value The coincidence is detected when a counter value exceeds its maximum value and returns to 0 When FFFF is set for the set value The coincidence is detected when the counter value exceeds FFFE and then reache...

Страница 18: ...e off 0 The latched output remains on until it is reset A state output will be on when the comparison operation is true and will be off when the comparison operation is false The counter operating status indication output remains on 1 while the counter is in operation and remains off 0 while the counter is not in operation An output that is normally on or off remains on or off regardless of the co...

Страница 19: ... an input filter is used for each channel can be set Input filter constants are common to all input channels For applica tions where the modules are used in a location with undesired electrical disturbance set an appropriate filter using application software Pulse input FFFF 00 02 06 Preset value 2 Preset value 1 0 Counter enabled Yuuu49 1 Input functionality Counter value resets to 0 zero Xuuu03 ...

Страница 20: ...unter value preset value 1 Xuuu17 2 Counter value preset value 2 Xuuu18 2 X01 reset Yuuu33 2 X02 reset Yuuu34 2 X03 reset Yuuu35 2 F0207 EPS Counter value 1 If the set value exceeds 32 767 in decimal numbers 7FFF in hexadecimal it will be handled as a negative integer and compared with signed integers 0 to 65 535 for comparison operations inside the XS04 2 The relay numbers shown above are for cha...

Страница 21: ...ward the base module until the yellow spring loaded anchor release button clicks into place F0301 EPS Anchor pin Base Module F3XS04 N module Figure 3 1 Attaching Modules CAUTION DO NOT bend the connector on the rear of the module by force during the above operation If the module is forcibly pushed with an improper connection the connector may bend and this damage will cause a module installation e...

Страница 22: ...a 12 to 14 mm long M4 4 mm thick binder screw With a Phillips screwdriver tighten the upper side of the module with this screw During this operation the user must tilt the screwdriver somewhat using the guide channel at the top of the module A clearance of approximately 100 mm between the module and the duct above it is necessary to allow the screwdriver to access the screw CAUTION DO NOT overtigh...

Страница 23: ...used in harsh environments where they are influenced by noise interfer ence apply a shielded twisted pair cable for the connection between the signal source and F3X04 uN module Connect the shielding wire of the twisted pair to the F3X04 uN shield terminal Each shield terminal of F3X04 uN module is connected to the frame ground FG terminal of the power supply module through the base module IN1 SHIE...

Страница 24: ...ad as indicated in Figure 3 5 Connect the diode so that its cathode will be connected to the positive line of the power supply F3XS04 uN OUT OUT L 12 24 V DC OUT OUT Diode L Transistor output Diode F0305 EPS Reverse voltage over 10 times the circuit voltage and forward current over 2 times the load current Figure 3 5 Connecting Output Terminals 1st Edition Feb 01 1999 00 ...

Страница 25: ...unter value of input channel 3 0 4 Counter value of input channel 4 0 Setting data 17 Preset value 1 of input channel 1 0 18 Preset value 2 of input channel 1 0 19 Input function of input channel 1 0 20 Output function of output terminal 1 0 21 Preset value 1 of input channel 2 0 22 Preset value 2 of input channel 2 0 23 Input function of input channel 2 0 24 Output function of output terminal 2 1...

Страница 26: ...d 83 HRD 5 HRD 83P HRD 6 16 bits T0402 EPS Symbols Slot number 3 digit integer with the following structure leading 0 s can be omitted k SL n1 D READ k SL n1 D HRD Physical slot 1 to 13 where the pulse input module is installed Unit number Main unit 0 Sub unit 1 to 7 for sequence CPU X XX SL Slot number n1 First data position D First device number for writing data read k Transfer data count First ...

Страница 27: ...rresponds to the channel number Program example for reading counter value When X00501 is on it reads four data channels from channel 1 to 4 of the pulse input module installed in slot number 106 into the data registers D0001 to D0004 4 106 1 D0001 X00501 READ 1 2 3 4 F3XS04 uN 1 2 3 4 Data Register D0001 D0002 D0003 D0004 5 6 7 8 9 10 11 F0401 EPS Read 16 bits Figure 4 1 Reading Counter Value 1st ...

Страница 28: ...HWR 6 16 bits T0403 EPS Symbols First data position number for writing Data position number from which to start writing Table 4 1 Transfer data count Number of data to be written k S SL n2 WRITE Physical slot position 1 to 13 where the analog input output module is installed Unit number Main unit 0 Sub unit 1 to 7 for sequence CPU X XX k S SL n2 HWR S First device number for writing data SL Slot n...

Страница 29: ... number 28 Data position number 29 Data position number 30 Data position number 31 Data position number 32 Data position number 33 Preset value 1 of input channel 1 Preset value 2 of input channel 1 Input function of input channel 1 Output function of output terminal 1 Preset value 1 of input channel 2 Preset value 2 of input channel 2 Input function of input channel 2 Output function of output te...

Страница 30: ...a tion of modules Input function The input function is set using bit numbers 0 to 3 of the data position number corresponding to the input channel Bit number TC040103_01 EPS Input channel Data position number 1 19 2 23 3 27 4 31 15 0 0 0 0 14 0 0 0 0 13 0 0 0 0 12 0 0 0 0 11 0 0 0 0 10 0 0 0 0 9 0 0 0 0 8 0 0 0 0 7 0 0 0 0 6 0 0 0 0 5 0 0 0 0 4 0 0 0 0 3 0 0 0 0 2 0 0 0 0 1 0 0 0 0 0 0 0 0 0 Bit n...

Страница 31: ...output input interconnections using bits 12 to 14 Bit number TC040103_02 EPS Output channel Data position number 1 20 2 24 3 28 4 32 15 0 0 0 0 14 0 0 0 1 13 0 0 1 0 12 0 1 0 0 11 0 0 0 0 10 0 0 0 0 9 0 0 0 0 8 0 0 0 0 7 0 0 0 0 6 0 0 0 0 5 0 0 0 0 4 0 0 0 0 3 0 0 0 0 2 0 0 0 0 1 0 0 0 0 0 0 0 0 0 The initial values are defined as follows Data position number 20 is set to 0000 Counter value of inp...

Страница 32: ...hannels For each output channel this sets the corresponding input channel whose compari son result is to be output Bit number Connections to input channel TC040103_04 EPS Output channel 1 2 3 4 14 0 0 0 1 13 0 0 1 12 0 1 Comparison results etc of input channel 1 Comparison results etc of input channel 2 Comparison results etc of input channel 3 Comparison results etc of input channel 4 Indicates p...

Страница 33: ...utput channel Data position number 2 24 15 0 14 0 13 0 12 0 11 0 10 0 9 0 8 0 7 0 6 0 5 0 4 0 3 0 2 0 1 0 0 1 Example 3 Setting 1040 to data position number 28 for the output function in output channel 3 Bit number TC040103_08 EPS Output channel Data position number 3 28 15 0 14 0 13 0 12 1 11 0 10 0 9 0 8 0 7 0 6 1 5 0 4 0 3 0 2 0 1 0 0 0 Example 4 Setting 2020 to data position number 32 for the ...

Страница 34: ...1 µs 27 µs 59 µs 120 µs 250 µs 510 µs 1 ms 2 ms 4 ms 8 1 ms 16 3 ms 32 7 ms 65 5 ms 3 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Minimum pulse width that is countable Maximum pulse width which is not counted CAUTION When an input filter is set it restricts the pulse width of input pulses that can pass throug...

Страница 35: ...e 1 Counter value of input channel 2 preset value 1 Counter value of input channel 2 not operating Counter value of input channel 3 preset value 1 Counter value of input channel 3 preset value 1 Counter value of input channel 3 not operating Counter value of input channel 4 preset value 1 Counter value of input channel 4 preset value 1 Counter value of input channel 4 not operating Counter value o...

Страница 36: ...7 or the external output terminal selected by this state Resets counter of input channel 2 Resets input relay Xuuu09 or the external output terminal selected by this state Resets input relay Xuuu10 or the external output terminal selected by this state Resets input relay Xuuu11 or the external output terminal selected by this state Resets counter of input channel 3 Resets input relay Xuuu13 or the...

Страница 37: ... data STATUS SL n P Or STATUS SL P SL Slot number n Data position number P Variable name in which read data is stored Reads the preset values input function output function and filter constant at data position number n of the pulse input module installed in slot number SL and stores it in input variable P Write setting data CONTROL SL n P Or CONTROL SL P SL Slot number n Data position number P Set...

Страница 38: ...channel 2 0 24 Output function of output terminal 2 1000 25 Preset value 1 of input channel 3 0 26 Preset value 2 of input channel 3 0 27 Input function of input channel 3 0 28 Output function of output terminal 3 2000 29 Preset value 1 of input channel 4 0 30 Preset value 2 of input channel 4 0 31 Input function of input channel 4 0 32 Output function of output terminal 4 4000 33 Input filter con...

Страница 39: ...ed The long integer type cannot be used Operation is not assured if the long integer variable is used for the input or input data storage variables 4 2 5 Reading the Setting Data STATUS The STATUS statement is used for reading the preset values input function output func tion and input filter constant of the pulse input module It reads the operation mode of the specified data position number and s...

Страница 40: ...ion number 1 3 2 7 3 11 4 15 15 0 0 0 0 14 0 0 0 0 13 0 0 0 0 12 0 0 0 0 11 0 0 0 0 10 0 0 0 0 9 0 0 0 0 8 0 0 0 0 7 0 0 0 0 6 0 0 0 0 5 0 0 0 0 4 0 0 0 0 3 0 0 0 0 2 0 0 0 0 1 0 0 0 0 0 0 0 0 0 Bit number 0 Counter edge setting Select whether to count on the rising edge or the falling edge 0 Count on rising edge 1 Count on falling edge Bit number 1 Ring up counter maximum value setting Select whe...

Страница 41: ...e 1 of input channel 2 latched output Data position number 12 is set to 2000 Counter value of input channel 3 preset value 1 of input channel 3 latched output Data position number 16 is set to 4000 Counter value of input channel 4 preset value 1 of input channel 4 latched output Output selection This selects the output type for the comparison results of the counter value with either preset value 1...

Страница 42: ...el 1 See Example 1 below Output channel 2 See Example 2 below Output channel 3 See Example 3 below Output channel 4 See Example 4 below Examples of the previous settings using a BASIC program Example 1 Setting 0000 to data position number 4 for the output function in output channel 1 Bit number TC040206_06 EPS Output channel Data position number 1 4 15 0 14 0 13 0 12 0 11 0 10 0 9 0 8 0 7 0 6 0 5 ...

Страница 43: ...2 ms 3 µs 11 µs 27 µs 59 µs 120 µs 250 µs 510 µs 1 ms 2 ms 4 ms 8 1 ms 16 3 ms 32 7 ms 65 5 ms 3 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Minimum pulse width that is countable Maximum pulse width which is not counted CAUTION When an input filter is set it restricts the pulse width of input pulses that can ...

Страница 44: ...e 1 Counter value of input channel 2 preset value 1 Counter value of input channel 2 not operating Counter value of input channel 3 preset value 1 Counter value of input channel 3 preset value 1 Counter value of input channel 3 not operating Counter value of input channel 4 preset value 1 Counter value of input channel 4 preset value 1 Counter value of input channel 4 not operating Counter value o...

Страница 45: ...d value Register number specifying the input relay n 1 2 Slot number number or numeric variable Specify using an integer with the following structure leading 0 s can be omitted Physical slot location 1 to 13 where the pulse input module is installed Base unit number Main unit 0 Sub unit 1 to 7 for sequence CPU X XX FC040207_01 EPS 1st Edition Feb 01 1999 00 ...

Страница 46: ... Xuuu05 Xuuu06 Xuuu07 Not Used Xuuu09 Xuuu10 Xuuu11 Not Used Xuuu13 Xuuu14 Xuuu15 Not Used 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 bit 101 Xuuu17 Xuuu18 Xuuu19 Not Used Xuuu21 Xuuu22 Xuuu23 Not Used Xuuu25 Xuuu26 Xuuu27 Not Used Xuuu29 Xuuu30 Xuuu31 Not Used 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 bit 102 FC040207_02 EPS 1st Edition Feb 01 1999 00 ...

Страница 47: ...external output terminal selected by this state Resets counter of input channel 2 Resets input relay Xuuu09 or the external output terminal selected by this state Resets input relay Xuuu10 or the external output terminal selected by this state Resets input relay Xuuu11 or the external output terminal selected by this state Resets counter of input channel 3 Resets input relay Xuuu13 or the external...

Страница 48: ...ut data storage variables Output relay specifying register number n 1 2 Slot number numeric value or variable Specify using an integer with the following structure leading 0 s can be omitted Physical slot location 1 to 13 where the pulse input module is installed Base unit number Main unit 0 Sub unit 1 to 7 for sequence CPU X XX FC040208_01 EPS 1st Edition Feb 01 1999 00 ...

Страница 49: ...2 Yuuu43 Yuuu44 Yuuu45 Yuuu46 Yuuu47 Yuuu48 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 bit 101 Yuuu49 Not Used Not Used Not Used Yuuu53 Not Used Not Used Not Used Yuuu57 Not Used Not Used Not Used Yuuu61 Not Used Not Used Not Used 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 bit 102 FC040208_02 EPS 1st Edition Feb 01 1999 00 ...

Страница 50: ...0208_03 EPS 4 2 9 Interrupt An interrupt can be generated when a change in the input relays Xuuu01 to Xuuu15 from off to on is detected Using an ON INT statement the program jumps to the required interrupt processing ON INT SL n GOTO ON INT SL n GOSUB ON INT SL n CALL Input relay number 1 to 15 not including 4 8 12 Slot number number or numeric variable Specify an integer of the following structur...

Страница 51: ...Toc Ind 5 Sample Programs 5 1 IM 34M6H54 01E 1st Edition Feb 01 1999 00 5 Sample Programs Two sample programs are given here one using ladder application instructions and the other using BASIC statements ...

Страница 52: ...0006 0007 0008 0009 0010 0011 Setting CH2 0012 0014 0015 0016 0017 0018 0019 0020 Preset value 1 Preset value 2 Input function Output function Initialize 32 bit region Preset value 1 Preset value 2 Input function Output function M0035 40 D1004 MOV 0 D1003 MOV 17 4 4 0 D0011 MOV 8000 D1002 MOV WRITE D1001 4000 D1001 MOV M0035 1000 D2004 MOV E D2003 MOV 21 4 4 20000 D2002 MOV WRITE D2001 10000 D2001...

Страница 53: ... D4002 MOV Setting filter constant WRITE D4001 0 D4001 MOV 25 4 4 WRITE D3001 M0035 14 D5001 MOV 33 1 4 WRITE D5001 D0001 4 1 READ 4 Start all CH count 0036 00047 0039 00052 0040 00054 0041 00056 0042 00058 00060 Read all CH counter values CH1 data 16 bit 32 bit conversion 0047 0048 Store as 32 bit data into D00011 D00012 Read all counter values in D0001 to D0004 When counter value returns to 0 ad...

Страница 54: ...lue 1 1130 CONTROL XS 21 10000 1140 CONTROL XS 22 20000 1150 CONTROL XS 23 E 1160 CONTROL XS 24 1000 1170 1180 Setting CH3 1190 Input Falling edge ring maximum value FFFF continue on return to 0 1200 Output On when counter value returns to 0 1210 CONTROL XS 25 0 1220 CONTROL XS 26 0 1230 CONTROL XS 27 9 1240 CONTROL XS 28 2080 1250 1260 CH4 1270 Input Falling edge ring maximum value 10 continue on...

Страница 55: ...ograms 5 5 IM 34M6H54 01E 1st Edition Feb 01 1999 00 1400 1410 LOOP 1420 Read counter value of all channels 1430 ENTER XS NOFORMAT CN 1440 1450 Display all count values 1460 PRINT CN 1470 1480 GOTO LOOP 1490 STOP 1500 END ...

Страница 56: ...Blank Page ...

Страница 57: ...12 V DC 10 2 to 13 2 V DC 10 3 mA 8 0 V DC min 6 3 mA min 3 5 V DC max 2 4 mA max 2 Output Signal Specifications Output Type Rated Load Voltage max load voltage Max Load Current ON time Residual Voltage OFF time Leakage Current Surge Suppression Transistor contact 12 24 V DC 26 4 V DC 0 1 A point 1 5 V DC max 0 1 mA max None On page 2 3 under External Connections replace Table 2 2 with the followi...

Страница 58: ...y on again enables the counter After powering on a counter remains disabled until its corresponding output relay is turned on 2 To automatically stop a counter when the counter value is reset to 0 You can set the counter of an input channel 1 to 4 to stop operation when its counter value exceeds the maximum ring up counter value and is reset to zero To do so set bit 2 of the input function registe...

Страница 59: ...tput turns off when a user program turns on the related output relay A latched output remains on until it is reset To clear turn off a latched input relay turn on the corresponding output relay and confirm that the input relay has been actually cleared before turning off the output relay Turning on the output relay for only one scan may fail to clear the input relay A state output is on when the c...

Страница 60: ... 2 6 Counter Operation by Input Function 2 Pulse input FFFF 00 02 06 Preset value 2 0 Enable counter Y 49 1 Input function 2 Counter value resets to 0 X 03 1 1 The relay numbers shown above are for channel 1 2 See Input Function on page 4 6 Preset value 1 Counter value Reset X 03 Y 35 1 ...

Страница 61: ... 33 2 Reset X 02 Y 34 2 Reset X 03 Y 35 2 Input function 1 A decimal integer larger than 32 767 or hexadecimal 7FFF is normally regarded as a negative number However comparison operations on the F3XS04 treat all integers as unsigned with values ranging from 0 to 65535 2 Relay numbers shown above are for channel 1 Figure 2 7 Input Relay Reset Page 4 8 Page 4 17 Output selection Change the text of O...

Страница 62: ...35 Y 39 Y 43 or Y 47 from off to on This resets the input relay that will be turned on when the ring up counter maximum value is exceeded On page 4 19 replace the text below the subhead 4 2 7 Reading Input Relays with the following text Table 4 8 shows the input relays used in the Pulse Input Module A latched type input relay turns on when its setting condition is true it stays on until the output...

Страница 63: ...010 00011 Setting CH2 00012 00014 00015 00016 00017 00018 00019 00020 Preset value 1 Preset value 2 Input function Output function Initialize 32 bits Preset value 1 Preset value 2 Input function Output function M00035 40 D01004 MOV 0 D01003 MOV 17 4 4 0 D00011 MOV 8000 D01002 MOV WRITE D1001 4000 D01001 MOV M00035 1000 D02004 MOV E D02003 MOV 21 4 4 20000 D02002 MOV WRITE D02001 10000 D02001 MOV I...

Страница 64: ...9 4 4 11 D04002 MOV Setting filter constant WRITE D04001 0 D04001 MOV M00035 14 D05001 MOV 33 1 4 WRITE D05001 D00001 4 1 READ 4 Start counting for all CHs 00036 00047N 00039 00052N 00040 00054N 00041 00056N 00042 00058N 00060N Read all CH counter values CH1 data 16 to 32 bit conversion 00047 00048 Store as 32 bit data into D00011 D00012 Read counter values into area D0001 D0004 When counter value...

Страница 65: ...ONTROL XS 6 20000 1180 CONTROL XS 7 E 1190 CONTROL XS 8 1000 1200 1210 Setting CH3 1220 Input falling edge ring max value FFFF continue when value resets to 0 filter 1230 Output turns on when counter is not running 1240 CONTROL XS 9 0 1250 CONTROL XS 10 0 1260 CONTROL XS 11 9 1270 CONTROL XS 12 2080 1280 1290 Setting CH4 1300 Input falling edge ring max value 10 stop when value resets to 0 filter ...

Страница 66: ...Blank Page ...

Отзывы: