·272·
Installation manual
CNC 8060
CNC 8065
4.
PLC PROGRAMMING.
(REF: 1402)
Summary programming commands.
4.5 Summary programming commands.
Resources available at the PLC.
Inputs (I1··1024)
Outputs (O1··1024)
Marks (M1··8192)
Message marks (MSG1··1024)
Error marks (ERR1··1024)
Clocks (CLK)
CNC-PLC marks
Timers (T1··512)
Counters (C1··256)
Registers (R1··1024)
CNC-PLC registers
The register value may be treated as a decimal or hexadecimal ("S") number.
It is also possible to refer to a register bit using the letter B (0··31) R (1··1024).
Directing instructions.
PRG Main module
PE t Periodic module. It is executed every "t" milliseconds.
CY1 First Cycle module.
END End of module.
L Label.
SUB Subroutine definition.
DEF: Symbol definition.
PDEF External symbol definition.
REA The consultations will use real values.
IMA The consultations will use image values.
NOMONIT No PLC program monitoring.
EXTERN External subroutine definition.
Clock Time Clock Time Clock Time
CLK1 1 ms CLK100 100 ms CLK1000 1 s
CLK2 2 ms CLK200 200 ms CLK2000 2 s
CLK4 4 ms CLK400 400 ms CLK4000 4 s
CLK8 8 ms CLK800 800 ms CLK8000 8 s
CLK16 16 ms CLK1600 1.6 s CLK16000 16 s
CLK32 32 ms CLK3200 3.2 s CLK32000 32 s
CLK64 64 ms CLK6400 6.4 s CLK64000 64 s
CLK128 128 ms CLK12800 12.8 s CLK128000 128 s