beautypg.com
8/95
TNC 360
7-1
PLC Programming – Contents
7
1
PLC-functions
7-5
1.1
Select PLC-operation
1.2
PLC – Main menu
7-6
1.2.1 PLC-program editing
1.2.2 Erase PLC-program
7-8
1.2.3 Transfer program from EPROM
1.2.4 Translate PLC program
1.2.5 Utilization
1.3
Test functions for the PLC-program
7-9
1.6.1 TRACE-function
1.3.2 TABLE function
7-10
1.3.3 Transferring the PLC-program
2
Program creation
7-12
2.1
Program structure
2.1.1 Command
2.1.2 Module technique
7-13
2.2
Address
allocation
7-14
2.2.1 Operand directory
2.2.2 Addressing the word memory
2.3
Data transfer PLC
→
NC and NC
PLC
7-15
2.4
Timers and counters
7-17
2.4.1 Timers
2.4.2 Counters
7-20
2.5
Edge evaluation of the PLC-inputs
7-21
2.6
EPROM-creation
2.7
Error-messages
7-24
2.7.1 Syntax errors within a command line
2.7.2 Syntax errors in the course of a program
2.7.3 Run-time errors
7-25
3
Commands
7-27
3.1
Load and Assign Commands
3.1.1 LOAD
L
3.1.2 LOAD NOT
LN
7-29
3.1.3 LOAD TWO'S-COMPLEMENT
L–
7-31
3.1.4 LOAD BYTE
LB
7-32
3.1.5 LOAD WORD
LW
3.1.6 LOAD DOUBLEWORD
LD
3.1.7 ASSIGN
=
7-34
3.1.8 ASSIGN BYTE
B=
7-36
3.1.9 ASSIGN WORD
W=