Hi,
I have a SIEG CNC Mill Machine that uses a "KT510-M-KT-UK" controller by Shanghai Electric.
I need some help with reading the external IO to trigger the programme.
Attachment 235156
The picture shown is the diagnose page of the programme that comes with the machine. X0 - X3 are the input signals and Y0 - Y2 are the output signals. X2.0 to X2.3 are extended inputs usable by the users. To confirm that they are mapped, I applied a 24+V to the physical IO of all the inputs and confirmed that X2.0 to X2.3 "lights" up in the diagnose page.
I would like to write a macro program to read the Input signals of X2.0 - X2.3. However I am not able to find address in which X2.0 to X2.3 are mapped.
Hopping that the controller KT510 is mapped similarly to FANUC controllers, I have tried:
N01 IF [#1000 EQ 1] GOTO 300
N02 M10
N300 M11
I understand that in FANUC, #1000 - #1031 are system variables, and are not visible. Therefore I used an IF statement to jump N300 and trigger the door to be opened (M11), when #1000 is high "1". I have tried reading from #1000 - #1031. And noticed that #1000 and #1008 was pre-set to high, and the program jumps to 300. However, I do not know how is #1000 and #1008 is programmed or set. Nothing I do influence #1000 or #1008. I believe that #1000 and #1008 is being used as macros by the maker SIEG.
Therefore I extended my search from #1000 - #1100. But still could not identify the address of the mapped input. (only #1000 and #1008 were read as high)
The operating and programming manual provided by SIEG do not include any info about extended input output address.
Is there any other way for me to find the address that maps to the extended I/O's ?
I have referred to this pdf file.