Installation manual
CNC 8035
APPENDIX
Summary of PLC commands
D.
(SOFT M: V15.3X)
(S
OFT T: V16.3X)
·437·
SUMMARY OF PLC COMMANDS
PLC Resources.
The value stored in each register will be considered by the PLC as a signed integer which could
be referred to in the following formats:
Directing instructions.
Inputs: I 1/512
Outputs: O 1/512
User marks: M 1/2000
Arithmetic flag marks: M 2003
Clock marks: M 2009/2024
Fixed status marks: M 2046/2047
Marks associated with messages: M 4000/4127
Marks associated with errors: M 4500/4563
Screen marks: M 4700/4955
CNC communication marks: M 5000/5957
Timers: T 1/256
Counters: C 1/256
User registers R 1/499
Registers for communication with the CNC R 500/559
Decimal Integer within ±2147483647.
Hexadecimal Number preceded by the $ sign and between 0 and FFFFFFFF.
Binary Number preceded by the letter B and made up of up to 32 bits (1 or 0).
PRG Main module.
CY1 First cycle module.
PE t Periodic module. It will be executed every t time (in milliseconds).
END End of module.
L 1/256 Label.
DEF Symbol definition.
REA The consultations will use real values.
IMA The consultations will use image values.
IRD Updates the "I" resources with the values of the physical inputs.
MRD Updates resources M5000/5957 and R500/559 with the values of the logic CNC outputs.
OWR Updates the physical outputs with the real values of the "O" resources.
MWR Updates the logic CNC inputs (internal variables) with the values of resources M5000/
5957 and R500/599
TRACE Captures data for the Logic Analyzer while executing the PLC cycle.