Welcome to the Industrial Automation website!

NameDescriptionContent
XING-Automation
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

TOSHIBA V200 Series PLC Programming and Safety Application Guide

F: | Au:FAN | DA:2026-01-19 | 997 Br: | 🔊 点击朗读正文 ❚❚ ▶ | Share:

RAM registers, such as D, BW, MW, SW, T, C, have fast access speed.

Keep register: R register. In V200 and some OIS PLUS models, the R register is stored in EEPROM, which can hold data for more than 200 years, but the write operation limit is about 10 million times, and the access speed is slow (in milliseconds). In OIS10/40 PLUS, the R register is implemented by battery backed RAM, with the same speed as RAM.

Programming advice: Be cautious when using the R register as the target operand in scenarios that require frequent writing and are sensitive to speed.

2.2 Overview of Main Instruction Categories and Functions

I/O instructions: including basic logic components such as normally open/normally closed contacts, output coils, positive/negative jump detection, etc.

Data transfer instructions: such as MOV (word/double word transfer), data block transfer, data exchange, multiplexing/demultiplexing, etc., used for data transfer and reassembly between registers.

Arithmetic operation instructions: support addition, subtraction, multiplication, division of words, double words, floating-point numbers, as well as complex operations such as carry addition/subtraction, increment/decrement, logarithm, exponent, square root, etc.

Comparison instruction: Provides a complete set of comparison functions such as greater than, equal to, less than, etc., supporting signed, unsigned, doubleword, and floating-point formats respectively.

Logic and shift instructions: including logic and/or XOR, bit left and right shift, loop shift, shift register, etc., suitable for bit processing and sequence operations.

Conversion instructions: Implement hexadecimal and ASCII code conversion, absolute value, complement, seven segment decoding, BCD and binary conversion, integer and floating-point number conversion, etc.

Timer and Counter: Provides on delay, off delay, single trigger timer, as well as regular and reversible counters.

Program control instructions: subroutine call/return, loop (FOR-NEXT), main control (MCS/MCR), jump (JCS/JCR), interrupt enable/disable, etc.

Functional instructions: moving average, digital filtering, PID control (two algorithms provided), upper and lower limit amplitudes, maximum/minimum/average value lookup, function generator, etc.

Special instructions: including device/register reset, carry flag operation, encoding/decoding, bit counting, trigger, direct I/O, calendar setting and operation, etc.

2.3 Examples and Techniques of Key Instruction Applications

Data block operation: TMOV (table transfer) and TNOT (table fetch reverse transfer) instructions support source and destination region overlap and are suitable for sliding window processing of data buffers.

PID Control: The manual provides two types of PID commands. PID1 adopts pre differentiation real-time algorithm, with flexible parameter configuration; PID4 has a more organized structure, including dead zone settings and positive and negative action selection. Ensure that the PID instruction is executed once per scan cycle during use.

Step sequence control: By using the STIZ (initialization), STIN (step input), and STOT (step output) instruction sets, sequential flow control programs can be efficiently written, supporting parallel sequences, merging, and conditional branching.

Direct I/O: The Direct I/O instruction can immediately update all physical input/output states of a specified slot, suitable for interrupt programs or critical control segments that require extremely high real-time performance.

Shift register: used to implement first in first out queue or bit sequence processing. Note that the shift input signal should use jump contacts to prevent shifting every scanning cycle.

Chapter 3: Practical Guide - Programming and System Debugging Suggestions

3.1 Programming Environment and Property Settings

V200 is programmed using Windows based software. When placing instructions, a "Properties" docking window will appear on the right side of the software, allowing users to dynamically adjust the data type (signed, unsigned, floating-point) and data length (word, doubleword) of the instruction. This greatly increases the flexibility of programming.

3.2 Error Handling and Flag Bit

Instruction Error Flag (ERF): Typically the system flag S0034. Set when operations such as zero division or data format errors occur. The user program can reset it through the RST S0034 instruction.

Carry flag (CF): S0. Used for determining the results of carry operations and shift/rotate operations, which can be explicitly controlled through SETC and RSTC instructions.

Watchdog Timer: The WDR instruction can be used to extend the scanning time monitoring cycle, preventing watchdog timeout reset due to program complexity.

3.3 Data Recording and USB Functionality

Some models support USB data recording and uploading function (LD-UPLD). This command can generate a CSV file of the historical records of a specified time period and a specified data group, and save it to a USB flash drive. Users need to configure parameters such as start/end time, group number, and file name, and monitor task execution through status registers.

  • ALSTOM 029.204 687 Digital I/O VME Board
  • National Instruments PXI-6509 Digital I/O Module
  • National Instruments FP-AI-112 Analog Input Module
  • National Instruments cRIO-9065 CompactRIO Controller
  • National Instruments PXI-2570 SPDT Relay Module
  • National Instruments PXI-5610 Module
  • National Instruments cFP-RTD-122 Module
  • National Instruments PXI-8336 Module
  • National Instruments NI 9237 Module
  • National Instruments PCI-6224 DAQ Card
  • National Instruments USB-6218 DAQ Device
  • National Instruments PCI-6601 Device
  • National Instruments SCXI-1124 Module
  • National Instruments USB-6525 DIO Device
  • National Instruments cDAQ-9189 Chassis
  • National Instruments PXIe-8394 MXI Module
  • National Instruments PXIe-4112 Power Supply
  • National Instruments 778472-01 Module
  • National Instruments cFP-DO-401 Module
  • National Instruments PXIe-8379 Interface Card
  • National Instruments PXIe-7965R Module
  • National Instruments NI-9485 Relay Module
  • National Instruments 181045-01 Module
  • National Instruments TB-4302 Terminal Block
  • National Instruments PXI-2533 Matrix Switch Module
  • National Instruments PCI-6220 Analog Input Card
  • National Instruments PXI-2529 Matrix Switch Module
  • National Instruments 783732-01 Ordering Part Number
  • National Instruments PXI-6542 Digital Waveform Module
  • National Instruments PCI-1411 Image Acquisition Card
  • National Instruments PXI-6511 Industrial Digital I/O Module
  • National Instruments TPC-2012 Touch Panel Computer
  • National Instruments PXI-8101 Embedded Controller
  • National Instruments cRIO-9035 CompactRIO Controller
  • National Instruments PXIe-5114 Digitizer Card
  • National Instruments SCXI-1315 Block
  • National Instruments PXI-7842R Card
  • National Instruments PCI-6031E DAQ Device
  • National Instruments NI-9792 Gateway
  • National Instruments PXI-4132 SMU
  • National Instruments USB-5132 Digitizer
  • National Instruments NI 9244 Input Module
  • National Instruments SCXI-1163R Module
  • National Instruments PCI-6221 DAQ Device
  • National Instruments cFP-2120 Compact FieldPoint Controller
  • National Instruments cRIO-9073 CompactRIO Controller
  • National Instruments PCI-8516 CAN Interface Card
  • National Instruments PXIe-1073 5-Slot Chassis
  • National Instruments NI 9421 DSUB Digital Input Module
  • National Instruments PXI-4204 High Voltage Input Module
  • National Instruments PCI-6111 Multifunction DAQ Card
  • National Instruments cRIO-9035 CompactRIO Controller
  • National Instruments NI 9759 Powertrain Control Module
  • National Instruments 187254A-01 Ordering Part Number
  • National Instruments PXI-6624 Module
  • National Instruments cDAQ-9137 Chassis
  • National Instruments PXIe-8133 Controller
  • National Instruments 779139-01 Module
  • National Instruments FP-DI-301 Module
  • National Instruments 194021D-01L Module
  • National Instruments PXI-1000B Chassis
  • National Instruments PXIe-8510 Module
  • National Instruments PXI-6221 DAQ Card
  • National Instruments cDAQ-9188 Chassis
  • National Instruments PXI-5421 Arbitrary Waveform Generator
  • National Instruments cRIO-9023 CompactRIO Controller
  • National Instruments PCI-6221 Multifunction DAQ Card
  • National Instruments PXI-4065 Digital Multimeter Card
  • National Instruments NI 9477 Digital Output Module
  • National Instruments cDAQ-9185 TSN Ethernet Chassis
  • National Instruments NI 9147 4-Slot cRIO Chassis
  • National Instruments USB-6259 Mass Termination DAQ Device
  • National Instruments 184120F-01 Ordering Part Number
  • National Instruments PCI-4472B Sound and Vibration Module
  • National Instruments SCXI-1130 Switch
  • National Instruments VB-8012 VirtualBench
  • National Instruments PXI-7350 Controller
  • National Instruments eDAQ-9174 Chassis
  • National Instruments PXI-4461 DSA Module
  • National Instruments PCI-6280 DAQ Card
  • National Instruments PXI-6251 DAQ Card
  • National Instruments PXI-6653 Module
  • National Instruments PCI-6509 DIO Device
  • National Instruments NI 9751 Driver Module
  • National Instruments PXIe-6361 Multifunction I/O Module
  • National Instruments cRIO-9014 CompactRIO Controller
  • National Instruments PCI-7390 Motion Control Card
  • National Instruments PXI-8512 CAN Interface Module
  • National Instruments sbRIO-9636 Single-Board Controller
  • National Instruments IC-3120 Industrial Controller
  • National Instruments PCI-6220 M Series DAQ Card
  • National Instruments PXI-8176 Embedded Controller
  • National Instruments PXI-6132 S Series DAQ Module
  • National Instruments NI 9206 Analog Input Module
  • National Instruments PXI-2584 Switch Module
  • National Instruments 196541B-01L Module
  • National Instruments 778075-01 Module
  • National Instruments FP-RLY-420 Module
  • National Instruments USRP-2920 Radio
  • National Instruments PCIe-6351 DAQ Card
  • National Instruments cRIO-9040 Controller
  • National Instruments NI 9201 Input Module
  • National Instruments NI 9411 Input Module
  • National Instruments NI 9216 Input Module
  • National Instruments PCI-6221 DAQ Device
  • National Instruments PXI-4498 DSA Module
  • National Instruments PXI-6259 DAQ Card
  • National Instruments PXI-7354 Motion Controller
  • National Instruments FP-AI-110 Input Module
  • National Instruments 192172F-04L Module
  • National Instruments PXIe-8115 Controller
  • National Instruments 142931B-01L Module
  • National Instruments PXI-2503 Switch Module
  • National Instruments 776246-01 Module
  • National Instruments CFP-2110 Compact FieldPoint Controller
  • National Instruments 779429-01 Ordering Part Number
  • National Instruments NI-9149 8-Slot EtherCAT Chassis
  • National Instruments PXI-4110 Programmable DC Supply
  • National Instruments 192061-10 Ordering Part Number
  • National Instruments cDAQ-9181 Chassis Module Carrier
  • National Instruments NI 9437 Digital Input Module
  • National Instruments cFP-2020 Compact FieldPoint Controller
  • National Instruments PCI-6259 Multifunction DAQ Card
  • National Instruments FP-TC-120 Thermocouple Module
  • National Instruments NI-9174 CompactDAQ Chassis
  • National Instruments PXI-6030E DAQ Module
  • National Instruments PXIe-5160 Oscilloscope
  • National Instruments PXI-4462 DSA Module