EasyManua.ls Logo

FATEK FBs-CB2 - LABEL (FUN 65 LBL)

FATEK FBs-CB2
348 pages
Print Icon
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...
Advanced Function Instruction
7-48
FUN 65
LBL
LABEL
FUN 65
LBL
S : Alphanumeric, 1~6 characters
z This instruction is used to make a tag on certain address within a program, to provide a target address for
execution of JUMP, CALL instruction and interrupt service. It also can be used for document purpose to
improve the readability and interpretability of the program.
z This instruction serves only as the program address marking to provide the control of procedure flow or for
remark. The instruction itself will not perform any actions; whether the program contains this instruction or not,
the result of program execution will not be influenced by this instruction.
z The label name can be formed by any 16 alphanumeric characters and can’t be duplicate in the same
program. The following label names are reserved for interrupt function usage. These “reserved words”, can’t
be used for normal program labels.
Reserved words Description
X0+IX15+IINT0INT15
X0IX15IINT0INT15
labels for external input (X0X15) interrupt
service routine.
HSC0IHSC7I
labels for high speed counter HSC0HSC7
interrupt service routine.
1MSI1MS)、2MSI2MS),3MSI3MS),
4MSI4MS),5MSI5MS),10MSI10MS),
50MSI50MS),100MSI100MS
Labels for 8 kinds of internal timer interrupt
service routine.
HSTAIATMRI
Label for High speed fixed timer interrupt
service routine.
PSO0IPSO3I
Labels for the pulse output command
finished interrupt service routine.
Only the interrupt service routine can use the label names listed on above table, if mistaken on using the
reserved label on the normal subroutine can cause the CPU fail or unpredictable operation.
The label of following diagram illustration served only as program remarks (it is not treated as a label for call
or jump target). For the application of labeling in jump control, please refer to JMP instruction for
explanation. As to the labeling serves as subroutine names, please refer to CALL instruction for details.
65
LBL
PGM1
Program 1
65
LBL
PGM2
Program 2

Other manuals for FATEK FBs-CB2

Related product manuals