Ascii Editor; Program Format - HEIDENHAIN iTNC 530 HSCI Technical Manual

Hide thumbs Also See for iTNC 530 HSCI:
Table of Contents

Advertisement

9.7.1 ASCII editor

9.7.2 Program format

Command
July 2013
The error code in W1002 can be output and evaluated in the PLC program. The
following applies to the evaluation of the error code, which should be
performed during the first PLC run-through:
• W1002 = 0: No PLC run-time error occurred before the last PLC
program start
• W1002 = 1: Error information in W1002 is invalid (e.g. because of an
error in the hardware). If necessary: Implement safety reaction.
• W1002 ≥ 50: PLC run-time error with number code (see the
PLCdesignNT help for the error name). If necessary: Implement safety
reaction.
When creating service files or shutting down the control, the nonvolatile
memory of the PLC program is automatically saved to the file
PLC:\JHPLCLOG\PLCREMADATA.LOG. Restoring the nonvolatile area from
the file is possible only by using the RESTORE M/B/W/D soft key in the PLC
mode of operation under the TABLE soft key.
With the integrated editor you can create the PLC program and all other
necessary files right at the control through the ASCII keyboard. You will find a
comprehensive description of the editor including its soft keys in the User's
Manual of the control.
A command is the smallest unit of a PLC program. It consists of the operation
part and the operand part.
The operation describes the function to be executed. It defines how the
operand is to be processed by the iTNC. The operand shows what is to be
operated with. It consists of the operand abbreviation and a parameter
(address). With the PLC commands you can combine (gate), delete and load
register and memory contents, both with bit and word processing. For word
processing, you can address memory contents with a length of 8 bits (byte),
16 bits (word) or 32 bits (double word).
9.7 Program Creation
1755

Advertisement

Table of Contents
loading

Table of Contents