Post by WECON Technical support on May 17, 2017 2:54:21 GMT
User could study how to use X,Y,M,D,Counter,Timer register from this demo.(Project+Document+Video)
Download link
About constant K H E,
Constant K
[K] is the symbol that expresses the 10 decimal integer. It is used to set the value of the timer, the counter, and the value in the operand. In the 16bit commands, the constant K ranges from -32768 to 32767; in the 32bit commands, the constant K ranges from -2,47,483,648 ~ 2,147,483,647.
Constant H
[H] is the symbol that expresses the 16 decimal integer. It is used to set the values in the application command operand. Constant H ranges from 0000 ~ FFFF;in the 32bit commands, the constant K ranges from 0000,0000 to FFFF, FFFF.
Constant E
[ E] is the symbol for single-precision floating-point number, mainly used to specify the operand value of the applied instruction. This function is currently only applicable to the following instructions in LX3VP and LX3VE :DECMP、DEZCP、DSINH、DCOSH、DTANH、DEBCD、DEBIN、DEADD、DESUB、DEMUL、DEDIV、DEXP、DLOGE、DLOG10、DESQR、DINT、DSIN、DCOS、DTAN、DASIN、DACOS、DATAN、DRAD、DDEG. The value range of single-precision floating-point number E is: ±1.175495 E-38~±3.402823 E+38(7 significant digits )
Register S only used in STL instruction.It is not a common register.State relays S is used to design and handle step procedures.Detail please check STL demo.
wecon.freeforums.net/thread/304/program-stl
About P I register,
User can check instruction CJ,CALL,SRET,IRET,EI,DI,FEND,WDT,FOR,NEXT,to study how to use P I register.
for example:
CALL instruction:
wecon.freeforums.net/thread/292/instraction-call
CJ instruction:
wecon.freeforums.net/thread/293/instraction-cj
IRET-EI-DI instruction:
wecon.freeforums.net/thread/298/instraction-iret-ei-di
For --Next instruction:
wecon.freeforums.net/thread/297/instraction-next
PLC program user manual
wecon.freeforums.net/thread/452/plc-program-user-manual
Download link
About constant K H E,
Constant K
[K] is the symbol that expresses the 10 decimal integer. It is used to set the value of the timer, the counter, and the value in the operand. In the 16bit commands, the constant K ranges from -32768 to 32767; in the 32bit commands, the constant K ranges from -2,47,483,648 ~ 2,147,483,647.
Constant H
[H] is the symbol that expresses the 16 decimal integer. It is used to set the values in the application command operand. Constant H ranges from 0000 ~ FFFF;in the 32bit commands, the constant K ranges from 0000,0000 to FFFF, FFFF.
Constant E
[ E] is the symbol for single-precision floating-point number, mainly used to specify the operand value of the applied instruction. This function is currently only applicable to the following instructions in LX3VP and LX3VE :DECMP、DEZCP、DSINH、DCOSH、DTANH、DEBCD、DEBIN、DEADD、DESUB、DEMUL、DEDIV、DEXP、DLOGE、DLOG10、DESQR、DINT、DSIN、DCOS、DTAN、DASIN、DACOS、DATAN、DRAD、DDEG. The value range of single-precision floating-point number E is: ±1.175495 E-38~±3.402823 E+38(7 significant digits )
Register S only used in STL instruction.It is not a common register.State relays S is used to design and handle step procedures.Detail please check STL demo.
wecon.freeforums.net/thread/304/program-stl
About P I register,
User can check instruction CJ,CALL,SRET,IRET,EI,DI,FEND,WDT,FOR,NEXT,to study how to use P I register.
for example:
CALL instruction:
wecon.freeforums.net/thread/292/instraction-call
CJ instruction:
wecon.freeforums.net/thread/293/instraction-cj
IRET-EI-DI instruction:
wecon.freeforums.net/thread/298/instraction-iret-ei-di
For --Next instruction:
wecon.freeforums.net/thread/297/instraction-next
PLC program user manual
wecon.freeforums.net/thread/452/plc-program-user-manual