The DMC-18x2 has special labels, which are used to define input interrupt subroutines, limit switch subroutines, error handling subroutines, and command error subroutines. The following labels listed below are the automatic subroutines supported by the controller. Sample programs for these subroutines can be found in “Automatic Subroutines for Monitoring Conditions” on page 124.The DMC-18x2 provides a command, NO, for commenting programs. This command allows the user to include up to 78 characters on a single line after the NO command and can be used to include comments from the programmer The NO command is an actual controller command. Therefore, inclusion of the NO commands will require process time by the controller.
Using REM Statements with the Galil Terminal Software.
If you are using Galil software to communicate with the DMC-18x2 controller, you may also include REM, remark, statements. ‘REM’ statements begin with the word ‘REM’ and may be followed by any comments which are on the same line. The Galil terminal software will remove these statements when the program is downloaded to the controller
Executing Programs - Multitasking
The DMC-18x2 can run up to 8 independent programs simultaneously. These programs are called threads and are numbered 0 through 7, where 0 is the main thread. Multitasking is useful for executing independent operations such as PLC functions that occur independently of motion. The main thread differs from the others in the following ways: 1. Only the main thread, thread 0, may use the input command, IN. 2. When input interrupts are implemented for limit switches, position errors or command errors, the subroutines are executed as thread 0.
Common problem
We have this product in stock, and we can deliver it to you at any time when you need it badly.
*The warranty period of all products is 1 year, which has passed the professional test certification.
*If you need to order more than one product, please contact us, and we can offer you a discount.
*We only use HDL UPS and other express delivery methods to deliver spare parts.
*If you find that other suppliers offer lower prices for the same products, we are also willing to offer you further discounts based on their prices.
If you have any other questions, please feel free to contact us via email.
*Please let us know if you need any spare parts, we can give you further assistance, and we are waiting for your inquiry.