| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| cubloc:index [2026/04/19 02:46] – admin | cubloc:index [2026/04/22 13:04] (current) – [How to use Ladder logic] admin |
|---|
| |
| ===== System Library ===== | ===== System Library ===== |
| ====== BASIC 라이브러리 ====== | |
| |
| ^ -A- ^ -B- ^ -C- ^ -D- ^ -E- ^ -F- ^ | ^ -A- ^ -B- ^ -C- ^ -D- ^ -E- ^ -F- ^ |
| | [[.:Abs:]] | [[.:Bcd2bin:]] | [[.:Checkbf:]] | [[.:Dcd:]] | [[.:Eeread:]] | [[.:Fabs:]] | | | [[.:Abs:]] | [[.:Bcd2bin:]] | [[.:Checkbf:]] | [[.:Dcd:]] | [[.:Eeread:]] | [[.:Fabs:]] | |
| | [[.:Acos:]] | [[.:Bclr:]] | [[.:Chr:]] | [[.:Decr:]] | [[.:Eewrite:]] | [[.:Float:]] | | | [[.:Acos:]] | [[.:Bclr:]] | [[.:Chr:]] | [[.:Debug:]] | [[.:Eewrite:]] | [[.:Float:]] | |
| | [[.:Adin:]] | [[.:Beep:]] | [[.:Compare:]] | [[.:Delay:]] | [[.:Ekeypad:]] | [[.:Floor:]] | | | [[.:Adin:]] | [[.:Beep:]] | [[.:Compare:]] | [[.:Dec:]] | [[.:Ekeypad:]] | [[.:Floor:]] | |
| | [[.:Asc:]] | [[.:Bfree:]] | [[.:Cos, Cosh:]] | [[.:Dtzero:]] | [[.:Exp:]] | [[.:Freepin:]] | | | [[.:Alias:]] | [[.:Bfree:]] | [[.:Const:]] | [[.:Decr:]] | [[.:Exp:]] | [[.:For...Next:]] | |
| | [[.:Asin:]] | [[.:Bin2bcd:]] | [[.:Count:]] | | | [[.:Freqout:]] | | | [[.:Aliason, Aliasoff:]] | [[.:Bin2bcd:]] | [[.:Const Device:]] | [[.:Delay:]] | | [[.:Fp:]] | |
| | [[.:Atan:]] | [[.:Blen:]] | [[.:Countreset:]] | | | | | | [[.:Asc:]] | [[.:Blen:]] | [[.:Cos, Cosh:]] | [[.:Dim:]] | | [[.:Freepin:]] | |
| | | [[.:Bytein:]] | | | | | | | [[.:Asin:]] | [[.:Bytein:]] | [[.:Count:]] | [[.:Do...Loop:]] | | [[.:Freqout:]] | |
| | | [[.:Byteout:]] | | | | | | | [[.:Atan:]] | [[.:Byteout:]] | [[.:Countreset:]] | [[.:DP:]] | | | |
| | | | | | [[.:Dtzero:]] | | | |
| |
| ^ -G- ^ -H- ^ -I- ^ -K- ^ -L- ^ ^ | ^ -G- ^ -H- ^ -I- ^ -K- ^ -L- ^ |
| | [[.:Get:]] | [[.:High:]] | [[.:I2cread:]] | | [[.:Left:]] | | | | [[.:Get:]] | [[.:Hadin:]] | [[.:I2cread:]] | [[.:Keyin:]] | [[.:Left:]] | |
| | [[.:Geta:]] | | [[.:I2creadna:]] | | [[.:Len:]] | | | | [[.:Geta:]] | [[.:Hadin2:]] | [[.:I2creadna:]] | [[.:Keyinh:]] | [[.:Len:]] | |
| | [[.:Getcrc:]] | | [[.:I2cstart:]] | | [[.:Log:]] | | | | [[.:Geta2:]] | [[.:Heap:]] | [[.:I2cstart:]], [[.:I2cstop:]] | [[.:Keypad:]] | [[.:Log:]] | |
| | [[.:Getpad:]] | | [[.:I2cstop:]] | | [[.:Log10:]] | | | | [[.:Getcrc:]] | [[.:Heapclear:]] | [[.:I2cwrite:]] | | [[.:Log10:]] | |
| | [[.:Getstr:]] | | [[.:I2cwrite:]] | | [[.:Low:]] | | | | [[.:Getpad:]] | [[.:Heapw:]] | [[.:If..Endif:]] | | [[.:Low:]] | |
| | | | [[.:In:]] | | [[.:Ltrim:]] | | | | [[.:Getstr:]] | [[.:Hex:]] | [[.:In:]] | | [[.:Ltrim:]] | |
| | | | [[.:Incr:]] | | | | | | [[.:Getstr2:]] | [[.:High:]] | [[.:Incr:]] | | | |
| | | | [[.:Input:]] | | | | | | [[.:Gosub:]] | [[.:HP:]] | [[.:Input:]] | | | |
| | | [[.:Goto:]] | [[.:Hread:]] | | | | |
| | | | [[.:Hwrite:]] | | | | |
| |
| ^ -M- ^ -N- ^ -O- ^ -P- ^ -R- ^ -S- #1 ^ -S- #2 ^ | ^ -M- ^ -N- ^ -O- ^ -P- ^ -R- ^ -S- #1 ^ -S- #2 ^ |
| | [[.:Mid:]] | [[.:Ncd:]] | [[.:On Int:]] | [[.:Pause:]] | [[.:Reverse:]] | [[.:SetDebug:|Set Debug]] | [[.:Set UIF:]] | | | [[.:MemAdr:]] | [[.:Ncd:]] | [[.:On Int:]] | [[.:Pause:]] | [[.:Ramclear:]] | [[.:Select...Case:]] | [[.:Set SPI:]] | |
| | | | [[.:On LadderInt:]] | [[.:Poke:]] | [[.:Reset:]] | [[.:Set Display:]] | [[.:Set Until:]] | | | [[.:Menu:]] | [[.:Nop:]] | [[.:On LadderInt:]] | [[.:Peek:]] | [[.:Reverse:]] | [[.:SetDebug:|Set Debug]] | [[.:Set UIF:]] | |
| | | | [[.:On Pad:]] | [[.:Pulsout:]] | [[.:Right:]] | [[.:Set I2c:]] | [[.:Shiftin:]] | | | [[.:Menucheck:]] | | [[.:On Pad:]] | [[.:Poke:]] | [[.:Reset:]] | [[.:Set Display:]] | [[.:Set Until:]] | |
| | | | [[.:On Recv:]] | [[.:Put:]] | [[.:Rnd:]] | [[.:Set Int:]] | [[.:Shiftout:]] | | | [[.:Menureverse:]] | | [[.:On Recv:]] | [[.:Pulsout:]] | [[.:Right:]] | [[.:Set I2c:]] | [[.:Shiftin:]] | |
| | | | [[.:On Timer:]] | [[.:Puta:]] | [[.:Rtcread:]] | [[.:Set Modbus:]] | [[.:Sin, Sinh:]] | | | [[.:Menuset:]] | | [[.:On Timer:]] | [[.:Put:]] | [[.:Rnd:]] | [[.:Set Int:]] | [[.:Shiftout:]] | |
| | | | [[.:Opencom:]] | [[.:Puta2:]] | [[.:Rtcwrite:]] | [[.:Set OnGlobal:]] | [[.:Spc:]] | | | [[.:Menusetclear:]] | | [[.:Opencom:]] | [[.:Puta:]] | [[.:Rtcread:]] | [[.:Set Ladder:]] | [[.:Sin, Sinh:]] | |
| | | | [[.:Out:]] | [[.:Putstr:]] | [[.:Rtrim:]] | [[.:Set OnInt:]] | [[.:Sqr:]] | | | [[.:Menutitle:]] | | [[.:Out:]] | [[.:Puta2:]] | [[.:Rtcwrite:]] | [[.:Set Modbus:]] | [[.:Spc:]] | |
| | | | [[.:Output:]] | [[.:Pwm:]] | | [[.:Set OnLadderInt:]] | [[.:Stepaccel:]] | | | [[.:Mid:]] | | [[.:Output:]] | [[.:Putstr:]] | [[.:Rtrim:]] | [[.:Set OnGlobal:]] | [[.:Spi:]] | |
| | | | [[.:Outstat:]] | [[.:Pwmoff:]] | | [[.:Set OnPad:]] | [[.:Steppulse:]] | | | | | [[.:Outstat:]] | [[.:Pwm:]] | | [[.:Set OnInt:]] | [[.:Sqr:]] | |
| | | | | | | [[.:Set OnRecv:]] | [[.:Stepstat:]] | | | | | | [[.:Pwmoff:]] | | [[.:Set OnLadderInt:]] | [[.:Stepaccel:]] | |
| | | | | | | [[.:Set OnTimer:]] | [[.:Stepstop:]] | | | | | | | | [[.:Set OnPad:]] | [[.:Steppulse:]] | |
| | | | | | | [[.:Set Pad:]] | [[.:String:]] | | | | | | | | [[.:Set OnRecv:]] | [[.:Stepstat:]] | |
| | | | | | | [[.:Set RS232:]] | [[.:Sys:]] | | | | | | | | [[.:Set OnTimer:]] | [[.:Stepstop:]] | |
| | | | | | | [[.:Set Rs485:]] | | | | | | | | | [[.:Set OutOnly:]] | [[.:String:]] | |
| | | | | | | | [[.:Set Pad:]] | [[.:Sys:]] | |
| | | | | | | | [[.:Set RS232:]] | | |
| | | | | | | | [[.:Set Rs485:]] | | |
| | |
| | |
| | ^ -T- ^ -U- ^ -V- ^ -W- ^ -#- ^ |
| | | [[.:Tadin:]] | [[.:Udelay:]] | [[.:Val:]] | [[.:Wait:]] | [[.:define:|#define]] | |
| | | [[.:Tan, Tanh:]] | [[.:Usepin:]] | [[.:Valhex:]] | [[.:Waittx:]] | [[.:if...endif:|#if...#endif]] | |
| | | [[.:Time:]] | [[.:Utmax:]] | [[.:Valsng:]] | | [[.:ifdef..endif:|#ifdef...#endif]] | |
| | | [[.:Timeset:]] | | | | [[.:include:|#include]] | |
| |
| ^ -T- ^ -U- ^ -V- ^ -W- ^ -#- ^ ^ | |
| | [[.:Tadin:]] | [[.:Udelay:]] | [[.:Val:]] | [[.:Wait:]] | [[.:define:|#define]] | | | |
| | [[.:Tan, Tanh:]] | [[.:Usepin:]] | [[.:Valhex:]] | [[.:Waittx:]] | [[.:if...endif:|#if...#endif]] | | | |
| | [[.:Time:]] | [[.:Utmax:]] | [[.:Valsng:]] | | [[.:ifdef..endif:|#ifdef...#endif]] | | | |
| | [[.:Timeset:]] | | | | [[.:include:|#include]] | | | |
| |
| [[..:index|CUBLOC2]] | |
| ===== Graphic/Display Library ===== | ===== Graphic/Display Library ===== |
| |
| |
| *[[.:Starting Ladder Logic:]] | *[[.:Starting Ladder Logic:]] |
| * [[.:Registers:]] | *[[.:Registers:]] |
| * [[.:Special Regsiters:|Special Registers]] | *[[.:Special Regsiters:|Special Registers]] |
| *[[.:Ladder_Number:|Number System]] | *[[.:Ladder_Number:|Number System]] |
| |
| *[[.:Using I/O:|Using Ladder Logic I/O (About Alias)]] | *[[.:Using I/O:|Using Ladder Logic I/O (About Alias)]] |
| *[[.:Edit Ladder Logic:]] | *[[.:Edit Ladder Logic:]] |