Jetter AG
Registers - Overview | 9
JCM-631 User Manual
69 / 78
System
function
Description
90
Writing a data file
91
Appending a data file
92
Reading a data file
96
Deleting a data file
150
Configuring NetCopyList
151
Deleting NetCopyList
152
Sending NetCopyList
System
function
Corresponding JetSym STX
function
4
Function Bcd2Hex(Bcd: int): Int;
5
Function Hex2Bcd(Hex: int): Int;
50
Function QSort(DataPtr: Int, Ele-
mentCnt: Int, ElementSize: Int,
SortOffset: Int, SortType:
STXBASETYPE, SortMode:
QSORTMODE): Int;
60
Function ModbusCRC-
gen(FramePtr: Int, Length: int): Int;
61
Function ModbusCRC-
check(FramePtr: Int, Length: int):
Int;
65/67
Function ModbusReadReg(Const
Ref MbParam: MOD-
BUS_PARAM): Int;
66/68
Function ModbusWriteReg(Const
Ref MbParam: MOD-
BUS_PARAM): Int;
80/85
Function RemoteScanConfig(Pro-
tocol: RSCAN_PROTOCOL, Ele-
ments: Int, Const Ref Configura-
tion: RSCAN_DSCR): Int;
81
Function RemoteScanStart(Proto-
col: int): Int;
82
Function RemoteScanStop(Proto-
col: int): Int;
90/91
Function FileDAWrite(Const Ref
FileName: String, Const Ref Mode:
String, VarType: DAWRITE_TYPE,
First: Int, Last: int): Int;
92
Function FileDARead(Const Ref
FileName: String): Int;
110
Function EmailSend(Const Ref
FileName: String): Int;
150
Function NetCopyListCon-
fig(IPAddr: Int, IPPort: Int, Const
Ref List: TNetCopyLinstL): Int;
151
Function NetCopyListSend(Handle:
int): Int;
152
Function NetCopyListDelete(Han-
dle: int): Int;
Application program
Register
Description
210000
Application program is running
(bit 0 = 1)
210001
JetVM version
210004
Error register (bit-coded)
Bit 8
Illegal jump
Bit 9
Illegal call
Bit 10
Illegal index
Bit 11
Illegal opcode
Bit 12
Division by 0
Bit 13
Stack overflow
Bit 14
Stack underflow
Bit 15
Illegal stack
Bit 16
Error when loading the application
program
Bit 24
Timeout - Cycle time
Bit 25
Timeout - Task lock
Bit 31
Unknown error
210006
Highest task number
210007
Minimum program cycle time
210008
Maximum program cycle time
210009
Current program cycle time
210011
Current task number
210050
Current program position within an
execution unit
210051
ID of the execution unit being pro-
cessed
210056
Desired total cycle time in µs
210057
Calculated total cycle time in µs
210058
Maximum time slice per task in µs
210060
Task ID (for R210061)
210061
Priority for task [R210060]
210063
Length of scheduler table
210064
Index in scheduler table
210065
Task ID in scheduler table
210070
Task ID (for R210071)
210071
Timer number (0 ... 31)
210072
Manual triggering of a timer event
(bit-coded)
210073
End of cyclic task (task ID)
210074
Command for cyclic tasks
210075
Number of timers
210076
Timer number (for R210077)
210077
Timer value in milliseconds
210100 ...
210199
Task state
Please use the STX function
TaskGetInfo() as described in the
JetSym online help.