July 2013 8.5 Files 1417
Module 9250 Start the PLC editor for tables
With this module you start a table editor in the machining modes (compare
"Tool Tables").
Call only in a submit job or spawn job.
Call:
PS B/W/D/K/S<String with table name>
Complete path and name
PS B/W/D/K/S<String with columns to be edited>
PS B/W/D/K <First line >
[0 to 65 535]
PS B/W/D/K <Last line>
[0 to 65 535]
PS B/W/D/K <Mode>
Bit 0=1: Lines can be inserted and deleted
(if all lines and columns are selected)
Bit 1=1: Edit in the original file
(if all lines and columns are selected)
Bit 2=0: Shown as a table
Bit 2=1: Shown as a form
Bit 3=1: Write-protection of the file to be opened is
respected
CM 9250
Error code:
Marker Value Meaning
M4203 0 Editor was opened
1 Error code in W1022
W1022 1 First and last line do not define a meaningful range, or
incorrect value for mode was transferred
3 Impermissible string number
6 Write-protected file cannot be opened if write-
protection is active (bit 3 = 1)
7 The module could not read from the table or open the
temporary file
8 The module was called from an operating mode in
which the table editor cannot be started.
20 Module was not called in a spawn job or submit job
28 PLC editor already open for another table
29 The opened file is not a table (extension .TAB or .P)
30 Column name not found
36 Invalid file name or file type programmed
Set Reset
M4159 PLC editor: END key or soft key
pressed
NC NC/PLC