Virtual Machine for IEC 61131-3 ( work in process... )
TODO:
- complete functions
- implement persist/retain
- test
- optional compilation by functions groups
Functions implemented:
+: Completed
*: Incompleted
-: Still not implemented
+ ATHADD: ADD
+ ATHDIV: DIV
+ ATHEXP: EXPT
+ ATHMOD: MOD
+ ATHMOV: MOVE
+ ATHMUL: MUL
+ ATHSUB: SUB
+ BITROL: ROL
+ BITROR: ROR
+ BITSHL: SHL
+ BITSHR: SHR
+ CMPAND: AND
+ CMPEQU: EQ
+ CMPGEQ: GE
+ CMPGRT: GT
+ CMPLES: LE
+ CMPLTH: LT
+ CMPNEQ: NE
+ CMPNOT: NOT
+ CMPORF: OR
+ CMPXOR: XOR
- ENCTBI: TO_BIG_ENDIAN
- ENCTLI: TO_LITTLE_ENDIAN
- ENMEQU: EQ
- ENMMUX: MUX
- ENMNEQ: NE
- ENMSEL: SEL
+ NUMABS: ABS
+ NUMACS: ACOS
+ NUMASN: ASIN
+ NUMATN: ATAN
+ NUMCOS: COS
+ NUMLOG: LOG
+ NUMLON: LN
+ NUMSIN: SIN
+ NUMSQR: SQRT
+ NUMTAN: TAN
+ SELMAX: MAX
+ SELMIN: MIN
+ SELMUX: MUX
+ STRCNC: CONCAT
+ STRDEL: DELETE
- STRFND: FIND
+ STRINS: INSERT
+ STRLEN: LEN
+ STRLFT: LEFT
+ STRMID: MID
+ STRRGH: RIGHT
+ STRRPL: REPLACE
- TIMADD: ADD
- TIMCNC: CONCAT
- TIMDIV: DIV
- TIMMUL: MUL
- TIMSUM: SUB
* VARCVR: CREATE_VARIABLE
* VARSVR: SET_VARIABLE
* VARTOT: CONVERT_TO_TYPE