The programming port of all the FP PLC’s support OPEN MEWTOCOL-COM. This is very useful when you want to monitor PLC values/bits or to set PLC values or bits via your COMPUTER. You can use any language such as Basic, C, Pascal, Assembler or even IF other suppliers of PLCs can send ASCII strings, they can talk to our PLCs to exchange data.
标签: MEWTOCOL-COM programming support useful
上传时间: 2015-12-08
上传用户:youmo81
#include<iostream> using namespace std int main() { unsigned long x,warcraft,war,l cin> x while(x) { unsigned long *p=new unsigned long[x+1] IF(p==NULL) { cerr<<"error!"<<endl abort() } for(warcraft=0 warcraft<=x warcraft++) *(p+warcraft)=0 *p=1 for(warcraft=0 warcraft<x warcraft++) { cout<<*p<<" " war=*p for(l=1 x>1 l++) { IF(*(p+l)==0) { cout<<endl *(p+l)=1 break } else { cout<<*(p+l)<<" " *(p+l)=war+*(p+l) war=*(p+l)-war } } } cout<<endl delete [] p cin>>x } return 0 }
标签: namespace iostream unsigned warcraft
上传时间: 2015-12-12
上传用户:manlian
我 Porting 于 MSP430F2103 上的全球最小Size 之 uCOS-II 了.就这完整的例成内我设了一个LED闪烁的任务,可正常于 TI 的 ez430-F2013 上正常执行这任务调度的工作,这例程我是在 IAR MSP430 V3.42A 编译完成,并可以于 Simulator 下模拟任务调度,对于没有这 eZ430-F2013 开发工具也可以进行断点观测,如要装载于 eZ430-F2013 上,仅需改动由 Simulator 转成 TI USB-IF 即可.
上传时间: 2014-07-27
上传用户:luopoguixiong
This application report describes the use of Timer_A3 to decode RC5 and SIRC TV IR remote control signals. The decoder described in this report is interrupt-driven and operates a background function using specIFic features the Timer_A3. Only a small portion of the MSP430 CPU?s nonreal-time resources is used. SpecIFic hardware bit-latching capabilities of the Timer_A3 module are used for real-time decoding of the IR data signal, independent and asynchronous to the CPU. CPU activity and power consumption are kept to an absolute minimum level. The Timer_A3 decoder implementation also allows other tasks to occur simultaneously IF required. The solutions provided are written specIFically for MSP430x11x(1) and MSP430x12x derivatives, but can be adapted to any other MSP430 incorporating Timer_A3. 電視遙控器設計基於MSP430
标签: application describes Timer_A control
上传时间: 2014-01-01
上传用户:qq21508895
Welcome to the software files for the ADS8361 to TMS320F2812! There are two project files in each of the folders McBSP, SPI and Both. Mode II and IV are explored using the McBSP port alone, as well as the SPI port. These projects are located in the SPI and McBSP folders. Modes I and III are explored using both McBSP and SPI. In Mode I, the M0 and M1 pins are controlled by use of the jumper on the evaluation module. A0 is controlled by the DX pin of the McBSP port. In Mode III, the A0, M0 and M1 pins are controlled via GPIO functions of PortF. The "SRC", "CMD" and "INCLUDE" files in the archive are from "C28x Peripheral Examples in C" (document # SPRC097). IF you have questions about this or other Data Converter products, feel free to e-mail us at:
标签: files the software Welcome
上传时间: 2015-12-16
上传用户:lixinxiang
DATA:BEGIN OF HEADDATA. INCLUDE STRUCTURE BAPIMATHEAD. DATA:END OF HEADDATA. DATA:BEGIN OF PLANTDATA. INCLUDE STRUCTURE BAPI_MARC. DATA:END OF PLANTDATA. DATA:BEGIN OF PLANTDATAX. INCLUDE STRUCTURE BAPI_MARCX. DATA:END OF PLANTDATAX. READ TABLE XMKPF INDEX 1. IF XMKPF-TCODE2 = MIGO_GR . LOOP AT XMSEG.
标签: DATA HEADDATA BEGIN BAPIMATHEAD
上传时间: 2015-12-17
上传用户:古谷仁美
This package consists of the executable (UCW), a default script file, this file, and the library files. It is important that the header files end up in a include subdirectory of the directory where UCW is found. IF you unzip this file using its path information ( use folder names ) this will automatically happen. You can optionally specIFy the UnderC directory with the environment variable UC_HOME note that this points to the directory containing ucw.exe. IF you do this, then you can copy the executable anywhere and it will still be able to find the header files.
标签: file executable the consists
上传时间: 2013-12-17
上传用户:asddsd
Welcome to UnderC version 1.2.9w This package consists of the executable (UCW), a default script file, this file, and the library files. It is important that the header files end up in a include subdirectory of the directory where UCW is found. IF you unzip this file using its path information ( use folder names ) this will automatically happen. You can optionally specIFy the UnderC directory with the environment variable UC_HOME note that this points to the directory containing ucw.exe. IF you do this, then you can copy the executable anywhere and it will still be able to find the header files.
标签: executable consists Welcome package
上传时间: 2015-12-18
上传用户:baiom
UC Library Extensions UnderC comes with a pocket implementation of the standard C++ libraries, which is a reasonably faithful subset. This documentation describes those UnderC functions and classes which are not part of the C++ standard. UC Library Builtin functions: Most of these are standard C functions, but there are a few unique to the UnderC system which give you runtime access to the compiler. You may evaluate expressions, execute commands, compile code, etc. * Expands the text in expr using the UnderC preprocessor, putting the result into buff. void uc_macro_subst(const char* expr, char* buff, int buffsize) * Executes a UC #-command, like #l or #help. uc_cmd() expects the name of the command, _without_ the hash, e.g. uc_cmd("l fred.cpp") or uc_cmd("help"). void uc_cmd(const char* cmd) * Evaluates any C++ expression or statement will return non-zero IF unsuccessful.
标签: implementation Extensions libraries standard
上传时间: 2013-12-14
上传用户:leehom61
#IFdef _AFXDLL Enable3dControls() // Call this when using MFC in a shared DLL #else Enable3dControlsStatic() // Call this when linking to MFC statically #endIF CPreviewDialogDlg dlg m_pMainWnd = &dlg int nResponse = dlg.DoModal() IF (nResponse == IDOK) { // TODO: Place code here to handle when the dialog is // dismissed with OK } else IF (nResponse == IDCANCEL) { // TODO: Place code here to handle when the dialog is // dismissed with Cancel } // Since the dialog has been closed, return FALSE so that we exit the // application, rather than start the application s message pump. return FALSE }
标签: Enable3dControls Enable3d AFXDLL shared
上传时间: 2015-12-19
上传用户:hustfanenze