Page 2
Because controlled system applications vary widely, you should satisfy yourself as to the acceptability of this equipment for your intended purpose. In no event will Toshiba Corporation be responsible or liable for either indirect or consequential damage or injury that may result from the use of this equipment.
Safety Precautions This module (PI312) is a pulse input module for Toshiba’s Programmable Controller PROSEC-T3 (hereafter called T3). Read this manual thoroughly before using this module. Also, keep this manual and related manuals so that you can read them anytime while this module is in operation.
About This Manual About This Manual This manual explains the specifications and operations of the Pulse Input Module (PI312) for Programmable Controller T3. Read this manual carefully before using the PI312. Inside This Manual Section 1 Overview This section introduces the PI312. The PI312 has nine (9) operation modes. This section outlines the PI312’s operation modes.
Page 5
This manual explains the functions of the T3 and how to use them. The necessary information to create user program is covered in this manual. T-series Instruction Set This manual provides the detailed specifications of instructions for Toshiba’s T-series Programmable Controllers. T-series Computer Link Function This manual provides the information for a computer to communicate with T3 through the T-series Programmable Controller’s Computer Link function.
Page 10
1.1 Introduction The pulse input module PI312 (hereafter called PI312) is a high-speed pulse counter module for Toshiba’s Programmable Controller PROSEC-T3 (hereafter called T3). The PI312 has 2 channels of pulse inputs, channel 1 (CH1) and channel 2 (CH2), and can count up to 50 kHz (pulses per second) pulses individually for each channel.
1. PI312 Overview 1.2 Operation mode overview This section outlines the PI312’s operation modes. Read this section to get basic understanding of the operation modes. 1.2.1 Counter operation mode (1) Quadrature bi-pulse counter mode PI312 counts the pulses whose phases are shifted 90° each other. When phase A pulse precedes against phase B pulse, the PI312 counts up (increase).
Page 12
1. PI312 Overview Counter operation 16777215 Set-point-1 Set-point-2 Count value Interrupt ∗S1 ∗S2 (2) Up/down pulse counter mode PI312 counts up (increase) by the pulses into phase A, and counts down (decrease) by the pulses into phase B. Phase A Phase B Counting up Counting down...
Page 13
1. PI312 Overview (3) Auto-reset universal counter mode PI312 counts up by the single phase pulses into phase A. When the count value reaches the set-point-1, the count value is reset to 0 (zero). And at the same time, the PI312 generates interrupt signal for the T3. The set-point-1 can be set in the range of 1 to 16777215.
Page 14
1. PI312 Overview (5) Speed counter mode PI312 counts the single phase pulses into phase A during the specified sampling time. Then the PI312 transfers the count value in a sampling time into the hold register which is allocated on the PI312’s buffer memory. By using this mode, the frequency of the pulses can be measured.
Page 15
1. PI312 Overview (6) Programmable interval timer mode Instead of external pulses, PI312 counts its internal clock pulses. The frequency of the internal clock can be selected from 1, 10 or 100 kHz. All other functions are the same as that of (3) Auto-reset universal counter mode. By using this mode, the PI312 can be used as a cyclic interrupt generator for the T3.
Page 16
1. PI312 Overview (7) Gate-ON timer mode PI312 functions to measure the ON duration of the external pulses into phase G. The time is measured by PI312’s internal clock. The frequency of the internal clock can be selected from 1, 10 or 100 kHz. When the phase G signal is changed form OFF to ON, the PI312 resets the counter value.
Page 17
1. PI312 Overview (8) Slave counter mode In this mode, the channel 2 works relatively with the channel 1 operation. The channel 1 is set as (3) Auto-reset universal counter mode. The channel 2 counts the single phase pulses into phase A in the interval of the channel 1 interrupt generation.
Page 18
1. PI312 Overview (9) Slave timer mode In this mode, the channel 2 works relatively with the channel 1 operation. The channel 1 is set as (3) Auto-reset universal counter mode. Different from the (8) Slave counter mode, the channel 2 counts the internal clock pulses in the interval of the channel 1 interrupt generation.
1. PI312 Overview 1.2.2 Pulse count mode The PI312 has 2 modes for pulse counting. They are the normal count mode and the precision count mode. In the normal count mode, the PI312 counts at either rising or falling edge of the pulse. On the other hand, in the precision count mode, the PI312 counts at both rising and falling edges.
Page 21
1. PI312 Overview Status LEDs Indicates the PI312 operation status. 6 LEDs are provided for each channel. Lit when the phase A pulse input is ON (see Note 1) Lit when the phase B pulse input is ON Lit when the external limit input (EXT) is ON Lit when the comparison output (∗S1) is ON Lit when the comparison output (∗S2) is ON Lit when both the phase G (gate) and the soft-gate are ON (see Note 2)
Page 22
1. PI312 Overview Hardware comparison output terminals Used for PI312’s hardware comparison output function. Terminal Signal Description name ON when count value > set-point-1 For channel 1 ON when count value < set-point-2 ON when count value > set-point-1 For channel 2 ON when count value <...
Page 24
2. Specifications 2.1 General specifications Item Specifications Remarks Power voltage 5 Vdc (supplied from back plane bus) Current consumption 0.8 A (5 Vdc) maximum Note (1) Environmental conditions Conforms to T3 specifications Insulation resistance Note (2) 10 MΩ (1000 Vdc) Withstand voltage 1500 Vac - 1 minute Note (2)
2. Specifications 2.3 Input/output specifications • Input Item Specifications 12 Vdc ±5% or 5 Vdc ±5% (terminal selection) Phase A Input voltage Phase B Input current 16 mA Phase G Minimum ON voltage 9 V (12 Vdc input) or 3.75 V (5 Vdc input) Phase M Maximum OFF voltage 3 V (12 Vdc input) or 1.25 V (5 Vdc input)
Page 30
3. Wiring 3.1 Terminal arrangement The following figure shows the terminal arrangement of the PI312’s external signal connection terminal block. PI312 terminal block Channel 1 (CH1) Channel 1 (CH1) pulse input pulse input -EXT +EXT SHIELD Channel 2 (CH2) pulse input Channel 2 (CH2) pulse input -EXT...
Page 31
3. Wiring 3.2 Signal connections • Pulse input signals Either 12 Vdc or 5 Vdc can be used for the signal voltage. For 12 Vdc, terminals P and 12 are used. ( represents A, B, G or M) For 5 Vdc, terminals P and 5 (or 5I) are used. When the voltage is applied between P and 12 or between P and 5 (or 5I), the PI312 recognizes the signal is ON.
Page 32
3. Wiring In case of 5 Vdc input system: PI312 Pulse generator Shielded twisted-pair cable Power 5 Vdc +EXT Gate signal -EXT 5 Vdc SHIELD Limit signal 12/24 Vdc Pulse Input Module (PI312)
Page 33
3. Wiring • Hardware comparison output signals 2 points of hardware comparison output are provided for each channel. 1S1 and 1S2 are for channel 1, and 2S1 and 2S2 are for channel 2. The output method is 24 Vdc transistor output (current sinking). The figure below shows the typical wiring connections.
Page 34
3. Wiring 3.3 Wiring precautions CAUTION Turn off power to the T3 and to the PI312 before wiring. Failure to do so can cause electrical shock or damage to the PI312. • Use shielded twisted-pair cable for the pulse input signals to minimize interference of noise.
Page 36
4. Register Configuration 4.1 I/O allocation and I/O registers The PI312 has the I/O type ‘i X+Y 2W’ for I/O allocation. When the automatic I/O allocation is performed with mounting the PI312, the following I/O allocation table will be created in the T3. (T-PDS screen example - in the case that PI312 is mounted on Slot 0 of Unit 0) Then, 2 I/O registers, XW(n) and YW(n+1) are assigned to the PI312.
Page 37
4. Register Configuration The following table shows the functions of I/O registers assigned to the PI312. No use XW(n) Status No use (0) YW(n+1) Command Channel 2 Channel 1 (CH2) (CH1) Register Name Description − F - 8 No use (data not defined) CH2 gate status 1: both phase G and soft-gate for CH 2 are ON CH2 EXT status...
4. Register Configuration 4.2 PI312 buffer memory The PI312’s count value, set-point value, operation mode data, and other information are stored in the PI312’s buffer memory. This section explains the buffer memory contents and how to access the buffer memory. 4.2.1 Memory map The PI312 has the buffer memory that is used to exchange data with T3.
4. Register Configuration 4.2.2 Buffer memory access T3 can read the PI312’s buffer memory contents by using READ instruction (FUN237). Also, T3 can write data into the buffer memory by using WRITE instruction (FUN238). READ instruction (FUN237) Expression: [ (A) READ (B) → (C) ] Operands: (A): I/O register (XW/YW) assigned to the PI312...
Page 40
4. Register Configuration WRITE instruction (FUN238) Expression: [ (A) WRITE (B) → (C) ] Operands: (A): Starting register of the source (B): Starting address of the buffer memory to be written (B)+1: Number of words to be written (max. 6 for PI312) (C): I/O register (XW/YW) assigned to the PI312 Example:...
4. Register Configuration 4.2.3 Count value registers The addresses 0, 1 and 8, 9 store the count values for channel 1 and channel 2 respectively. These data can be read into the T3 by READ instruction. Also, the T3 can write (change) the count values by WRITE instruction.
4. Register Configuration 4.2.4 Upper and lower comparison value registers The addresses 2 through 5 and 10 through 13 store the comparison values for channel 1 and channel 2 respectively. The upper comparison value is called set-point-1, and the lower comparison value is called set-point-2. The function of these data is dependent on the counter operation mode.
4. Register Configuration 4.2.5 Hold value registers The addresses 6, 7 and 14,15 store the hold values for channel 1 and channel 2 respectively. These data can be read into the T3. Writing data into these addresses is prohibited. <Channel 1> No use (always 0) Hold value (upper) Hold value (lower)
4. Register Configuration 4.2.6 Interrupt flags The bit 0 and the bit 1 of the address 16 function as the interrupt flags for channel 1 and channel 2 respectively. When an interrupt is generated by the PI312, the corresponding interrupt program in the T3 is activated immediately.
4. Register Configuration 4.2.7 Operation mode registers The channel 1 operation mode can be set by writing an appropriate data into the address 32. And the channel 2 operation mode can be set by writing an appropriate data into the address 33. Operation mode setting is important to use the PI312.
5. Operation Mode Setting 5.2 Jumper plug setting 2 jumper plugs are provided on the PI312’s printed circuit board. Use tweezers to change the settings. PI312 rear view Jumper plugs (J1 and J2) CAUTION • Remove the PI312 from the rack before setting the jumper plugs on the PI312.
5. Operation Mode Setting 5.3 Operation mode register setting To use the PI312, it is important to set (write) a correct data into the operation mode register which is allocated on the PI312’s buffer memory. (Refer to section 4.2.7) Operation mode register: <Channel 1>...
Page 51
5. Operation Mode Setting Operation mode Pulse count Internal clock Operation mode mode selection data Quadrature bi-pulse counter Normal No use H0002 mode Precision No use H0042 (66) Up/down pulse counter mode Normal No use H0000 Precision No use H0040 (64) Auto-reset universal counter Normal...
Page 52
5. Operation Mode Setting T3 sample programs to set the operation modes are shown below. In these sample programs, the PI312’s operation modes are set at the first scan of the T3 program execution. Sample 1: This program sets channel 1 to the quadrature bi-pulse counter of precision pulse count mode, and channel 2 to the 0.01 second speed counter of normal pulse count mode.
Page 54
6. Function Details 6.1 Quadrature bi-pulse counter mode (1) Mode setting Jumper plug (J2) = Short Operation mode data = H0002 (2) … Normal count mode = H0042 (66) … Precision count mode This mode can be set individually for channel 1 and channel 2. (2) External signals Signal Function...
Page 55
6. Function Details (5) Operation PI312 counts the pulses whose phases are shifted 90° each other. When phase A pulse precedes against phase B pulse, the PI312 counts up (increase). On the other hand, when phase B pulse precedes, the PI312 counts down (decrease). PI312 can count up to 50 kHz pulses.
Page 56
6. Function Details Counting up Counting down Phase A and B Phase G Soft-gate 16777215 Set-point-1 Set-point-2 Count value Interrupt (6) Sample program In the following sample programs, it is assumed that the PI312 is allocated to XW000 and YW001. •...
Page 57
6. Function Details • Reading the status register (XW000) and writing the command register (YW001) Channel 1 Soft-gate (Y0010) = ON Interrupt-enable (Y0011) = OFF Output-enable (Y0012) = ON When R0100 is ON, Y0010 and Y0012 are set to ON. Then I/O registers (XW000 and YW001) are updated by direct I/O instruction (I/O).
Page 58
6. Function Details 6.2 Up/down pulse counter mode (1) Mode setting Jumper plug (J2) = Short Operation mode data = H0000 (0) … Normal count mode = H0040 (64) … Precision count mode This mode can be set individually for channel 1 and channel 2. (2) External signals Signal Function...
Page 59
6. Function Details (5) Operation PI312 counts the pulses phase A and phase B. Phase A is counting up (increase), and phase B is counting down (decrease). When both phase A and phase B come ON simultaneously, counting is not executed. In the normal count mode, PI312 counts at the rising edge of the pulse.
Page 60
6. Function Details Phase A Phase B Phase G Soft-gate 16777215 Set-point-1 Set-point-2 Count value Interrupt (6) Sample program In the following sample programs, it is assumed that the PI312 is allocated to XW000 and YW001. • Setting the up/down pulse counter mode (normal) for channel 1 At the beginning of RUN mode (at the first scan), the mode data 0 is written into the address 32 (CH1 mode) of the buffer memory.
Page 61
6. Function Details • Reading the status register (XW000) and writing the command register (YW001) Channel 1 Soft-gate (Y0010) = ON Interrupt-enable (Y0011) = OFF Output-enable (Y0012) = ON When R0100 is ON, Y0010 and Y0012 are set to ON. Then I/O registers (XW000 and YW001) are updated by direct I/O instruction (I/O).
Page 62
6. Function Details 6.3 Auto-reset universal counter mode (1) Mode setting Jumper plug (J2) = Short Operation mode data = H0081 (129) … Normal count mode = H00C1 (193) … Precision count mode This mode can be set individually for channel 1 and channel 2. (2) External signals Signal Function...
Page 63
6. Function Details (5) Operation PI312 counts up by the single phase pulses into phase A. In the normal count mode, PI312 counts at the rising edge of the pulse. On the other hand, in the precision count mode, PI312 counts at both rising and falling edges of the pulse.
Page 64
6. Function Details (6) Sample program In the following sample programs, it is assumed that the PI312 is allocated to XW000 and YW001. • Setting the auto-reset universal counter mode (normal) for channel 1 At the beginning of RUN mode (at the first scan), the mode data 129 (H0081) is written into the address 32 (CH1 mode) of the buffer memory.
Page 65
6. Function Details • Reading the count value When X0003 (CH1 gate status) is ON, the count value is read and stored in the double-word register D0101⋅D0100. To use the status register (XW000), direct I/O instruction is necessary in the program.
Page 66
6. Function Details 6.4 Universal counter mode (1) Mode setting Jumper plug (J2) = Short Operation mode data = H0001 (1) … Normal count mode = H0041 (65) … Precision count mode This mode can be set individually for channel 1 and channel 2. (2) External signals Signal Function...
Page 67
6. Function Details (5) Operation PI312 counts up by the single phase pulses into phase A. In the normal count mode, PI312 counts at the rising edge of the pulse. On the other hand, in the precision count mode, PI312 counts at both rising and falling edges of the pulse.
Page 68
6. Function Details (6) Sample program In the following sample programs, it is assumed that the PI312 is allocated to XW000 and YW001. • Setting the universal counter mode (normal) for channel 1 At the beginning of RUN mode (at the first scan), the mode data 1 is written into the address 32 (CH1 mode) of the buffer memory.
Page 69
6. Function Details • Reading the count value When X0003 (CH1 gate status) is ON, the count value is read and stored in the double-word register D0101⋅D0100. To use the status register (XW000), direct I/O instruction is necessary in the program.
Page 70
6. Function Details 6.5 Speed counter mode (1) Mode setting Jumper plug (J2) = Short Operation mode data = H0005 (5) … 0.01 s sampling Normal count mode = H000D (13) … 0.1 s sampling = H0045 (69) … 0.01 s sampling Precision count mode = H004D (77) …...
Page 71
6. Function Details (5) Operation PI312 counts the single phase pulses into phase A during the specified sampling time. The sampling time can be selected from 0.01 second or 0.1 second. In the normal count mode, PI312 counts at the rising edge of the pulse. On the other hand, in the precision count mode, PI312 counts at both rising and falling edges of the pulse.
Page 72
6. Function Details Phase A ∆T ∆T ∆T ∆T ∆T Set-point-1 Count value Hold value Interrupt ∆T: sampling time = 0.01s or 0.1s (6) Sample program In the following sample programs, it is assumed that the PI312 is allocated to XW000 and YW001.
Page 73
6. Function Details • Reading the status register (XW000) and writing the command register (YW001) Channel 1 Soft-gate (Y0010) = ON Interrupt-enable (Y0011) = ON Output-enable (Y0012) = OFF When R0100 is ON, Y0010 and Y0011 are set to ON. Then I/O registers (XW000 and YW001) are updated by direct I/O instruction (I/O).
Page 75
6. Function Details (5) Operation PI312 generates an interrupt every specified interval time. The interval time is measured by counting PI312’s internal clock pulses. The frequency of the internal clock can be selected from 1, 10 or 100 kHz. In the normal count mode, PI312 counts at the rising edge of the internal clock pulse. On the other hand, in the precision count mode, PI312 counts at both rising and falling edges of the internal clock pulse.
Page 76
6. Function Details Phase G Soft-gate Set-point-1 Count value Interrupt (6) Sample program In the following sample programs, it is assumed that the PI312 is allocated to XW000 and YW001. • Setting the programmable interval timer with 10 kHz clock (normal) for channel 1 At the beginning of RUN mode (at the first scan), the mode data 161 (H00A1) is written into the address 32 (CH1 mode) of the buffer memory.
Page 77
6. Function Details • Reading the status register (XW000) and writing the command register (YW001) Channel 1 Soft-gate (Y0010) = ON Interrupt-enable (Y0011) = ON Output-enable (Y0012) = OFF When R0100 is ON, Y0010 and Y0011 are set to ON. Then I/O registers (XW000 and YW001) are updated by direct I/O instruction (I/O).
Page 79
6. Function Details (5) Operation PI312 measures the time duration of phase G ON state. The time is measured by counting PI312’s internal clock pulses. The frequency of the internal clock can be selected from 1, 10 or 100 kHz. In the normal count mode, PI312 counts at the rising edge of the internal clock pulse.
Page 80
6. Function Details Soft-gate Phase G (16777215) Set-point-1 Count value Hold value Interrupt (6) Sample program In the following sample programs, it is assumed that the PI312 is allocated to XW000 and YW001. • Setting the gate-ON timer mode (10 kHz, precision) for channel 1 At the beginning of RUN mode (at the first scan), the mode data 97 (H0061) is written into the address 32 (CH1 mode) of the buffer memory.
Page 81
6. Function Details • Reading the status register (XW000) and writing the command register (YW001) Channel 1 Soft-gate (Y0010) = ON Interrupt-enable (Y0011) = ON Output-enable (Y0012) = OFF When R0100 is ON, Y0010 and Y0011 are set to ON. Then I/O registers (XW000 and YW001) are updated by direct I/O instruction (I/O).
Page 82
6. Function Details 6.8 Slave counter mode (1) Mode setting Jumper plug (J2) = Open Operation mode data Channel 1 Channel 2 (Auto-reset universal counter) (Slave counter) H0081 (129) Normal mode H0001 (1) Normal mode H00C1 (193) Precision mode H0041 (65) Precision mode In this mode, channel 2 works relatively with channel 1.
Page 83
6. Function Details (4) Command register (YW) Name Channel 1 Channel 2 Function Function Soft-gate Used to enable the No use operation (enabled while both phase G and soft-gate are ON) Interrupt- Set to ON to enable Set to ON to enable enable interrupt function for CH1 interrupt function for...
Page 84
6. Function Details Phase A Phase G Soft-gate Channel 1 Set-point-1 Channel 1 count value Channel 1 interrupt Phase A Set-point-1 Channel 2 count value Channel 2 Channel 2 hold value Channel 2 interrupt Pulse Input Module (PI312)
Page 85
6. Function Details (6) Sample program In the following sample programs, it is assumed that the PI312 is allocated to XW000 and YW001. • Setting the auto-reset universal counter (normal) for channel 1, and the slave counter (normal) for channel 2 At the beginning of RUN mode (at the first scan), the mode data 129 (H0081) is written into the address 32 (CH1 mode) and the mode data 1 (H0001) is written into the address 33 (CH2 mode) of the buffer memory.
Page 86
6. Function Details • Reading the channel 2 hold value in the interrupt program When the channel 1 generates an interrupt, the above interrupt program is executed. In this interrupt program, the interrupt flag (address 16) is read at first. Then the channel 2 hold value (address 15⋅14) is read and stored in the double- word register D0103⋅D0102.
Page 87
6. Function Details 6.9 Slave timer mode (1) Mode setting Jumper plug (J2) = Open Operation mode data Channel 1 Channel 2 (Auto-reset universal counter) (Slave timer) H0081 (129) Normal mode H0011 (17) 1 kHz Normal H00C1 (193) Precision mode H0021 (33) 10 kHz mode...
Page 88
6. Function Details (3) Buffer memory Name Channel 1 Channel 2 Address Function Address Function Count value Stores the count Stores the count 1⋅0 9⋅8 value (read/write) value (read/write) Set-point-1 Used to set the reset Used to set the 3⋅2 11⋅10 point (read/write) comparison value...
Page 89
6. Function Details (5) Operation In this mode, the channel 2 works relatively with the channel 1 operation. The channel 1 is set as the auto-reset universal counter mode. The channel 2 counts the internal clock pulses in the channel 1 reset interval. When the channel 1 count value reaches the channel 1’s set-point-1, the channel 2 count value is transferred into the channel 2’s hold register, and both channel 1 and channel 2 count values are reset to 0.
Page 90
6. Function Details Phase A Phase G Soft-gate Channel 1 Set-point-1 Channel 1 count value Channel 1 interrupt Set-point-1 Channel 2 count value Channel 2 Channel 2 hold value Channel 2 interrupt Pulse Input Module (PI312)
Page 91
6. Function Details (6) Sample program In the following sample programs, it is assumed that the PI312 is allocated to XW000 and YW001. • Setting the auto-reset universal counter (normal) for channel 1, and the slave timer (1 kHz, normal) for channel 2 At the beginning of RUN mode (at the first scan), the mode data 129 (H0081) is written into the address 32 (CH1 mode) and the mode data 17 (H0011) is written into the address 33 (CH2 mode) of the buffer memory.
Page 92
6. Function Details • Reading the channel 2 hold value in the interrupt program When the channel 1 generates an interrupt, the above interrupt program is executed. In this interrupt program, the interrupt flag (address 16) is read at first. Then the channel 2 hold value (address 15⋅14) is read and stored in the double- word register D0103⋅D0102.
Page 93
Section 7 Interrupt Function 7.1 Interrupt function 7.2 Interrupt control flags 7.3 T3 sample program 7.4 Precautions on interrupt function User’s Manual...
Page 94
7. Interrupt Function 7.1 Interrupt function The PI312 has the interrupt function. When an interrupt condition is fulfilled in each operation mode, the PI312 generates an interrupt signal for the T3. Then corresponding I/O interrupt program in the T3 is started immediately. One I/O interrupt program is assigned to one PI312.
Page 95
7. Interrupt Function 7.3 T3 sample program An example of the interrupt program is shown below. In this sample program, it is assumed that the PI312 is allocated to XW000 and YW001. (I/O interrupt #1) Processing for channel 1 interrupt Processing for channel 2 interrupt Rung 1 and 2 reads the interrupt flag and stores into RW000.
Page 96
7. Interrupt Function 7.4 Precautions on interrupt function • The high frequency of the interrupt generation will cause T3 inoperative. Because, in such case, the T3 becomes busy to execute the interrupt program, and cannot execute the main program. It is recommended that the interrupt frequency is 10 ms or more.
Page 97
Appendix A.1 Specification of the READ instruction A.2 Specification of the WRITE instruction A.3 List of operation mode setting data User’s Manual...
Page 98
Appendix A.1 Specification of the READ instruction FUN 237 Special module data read (READ) Reads designated range of data from the special module. Input Execution output [ A READ B → C ] Function • This instruction reads data from the buffer memory of the special module that is designated by operand A, and stores them in T3’s registers starting with operand C.
Page 99
Appendix Note 1) The special module can be designated not only by the assigned register, but also by the mounting position. The mounting position is designated by a constant data for the operand A as follows. (Unit number) × 256 + (Slot number) Slot number (hexadecimal) Unit number (hexadecimal) Unit number...
Page 100
Appendix A.2 Specification of the WRITE instruction FUN 238 Special module data write (WRITE) Writes designated range of data into the special module. Input Execution output [ A WRITE B → C ] Function • This instruction transfers data stored in T3’s registers starting with operand A into the buffer memory of the special module that is designated by operand C.
Page 101
Appendix Note 1) The special module can be designated not only by the assigned register, but also by the mounting position. The mounting position is designated by a constant data for the operand C as follows. (Unit number) × 256 + (Slot number) Slot number (hexadecimal) Unit number (hexadecimal) Unit number...
Page 102
Appendix A.3 List of operation mode setting data Operation mode Pulse count Internal clock Operation Jumper mode selection mode data plug (J2) Quadrature bi-pulse counter Normal No use H0002 Short mode Precision No use H0042 (66) Up/down pulse counter mode Normal No use H0000 Short...
Page 103
TOSHIBA CORPORATION Industrial Equipment Department 1-1, Shibaura 1-chome, Minato-ku Tokyo 105-8001, JAPAN Tel: 03-3457-4900 Fax: 03-5444-9268...