EasyManua.ls Logo

Hitachi SJ700-2 Series - Code Description Format; Line; Label Field; Mnemonic Field

Hitachi SJ700-2 Series
134 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 3 Syntax
3 - 1
3.1 Code Description Format
Each line of a program consists of the "Label," "Mnemonic," "Parm 1 to 6," and "Comment" fields. The
"Mnemonic" field is used to describe an instruction word. Some instruction words do not require
parameters.
(Example)
3.1.1 Line
A line is the instruction unit of a program. You can describe one instruction word per line. It takes 2 ms to
execute each line. One instruction corresponds to one step of the program.
3.1.2 "Label" field
Use the "Label" field to describe, for example, the branch destination for a branch instruction.
3.1.3 "Mnemonic" field
Use the "Mnemonic" field to describe the instruction to be executed. For details on the instructions, see
Chapter 5, "Instruction Words."
3.1.4 "Parm 1 to 6" fields
Use the "Parm 1 to 6" fields to describe the arguments required to execute an instruction. Up to six
arguments can be described as required for the instruction word described on the same line.
3.1.5 "Comment" field
Use the "Comment" field to describe a comment on each line.
Comment
Parameters
Mnemonic instruction code
Label
LBL1 dela
y
on FW TD
(
1
)
1000 Exam
p
le of comment

Table of Contents

Related product manuals