Installation manual
CNC 8055
CNC 8055i
PLC PROGRAMMING
10.
SOFT: V02.2X
·473·
PLC library
; PLC library symbols can be used
CPS RCOUNTER GT 1000 = MSG14
END
PE 4
MARK_SECOND = MOV 1 INCREMENT_PAR
= MOV 0 INCREMENT_PAR
() = CAL L1501
END
PLC_LIB documentation example
This document must be provided so the PLC library can be used correctly.
Library version 1.1
Library Symbols :
DEF OUT_SECOND O50
DEF MARK_SECOND M2017
DEF RCOUNTER R300
DEF INCREMENT_PAR R301
Library subroutines :
L1500
Description: Changes the value of OUT_SECOND every second
Input parameters: None
Output parameters: None
Resources modified: OUT_SECOND, M1500
L1501
Description: Increments counter RCOUNTER depending on the value of INCREMENT_PAR.
Input parameters: INCREMENT_PAR 1 value increments, 0 doesn't.
Output parameters: RCOUNTER
Resources modified: RCOUNTER