銆愬凡瑙e喅銆慐rror 4355, 4370, 4371: A transition may not have any side eff...: SFC_TrafficControl_LD-FBD-Transition.pro_銆愬凡瑙e喅銆慐rror 4355, 4370, 4371: A transition may not have any side eff... - 閰峰痉缃 - CoDeSys杞欢鏁欑▼涓嬭浇,CoDeSys宸ユ帶璧勮闂ㄦ埛

閰峰痉缃

HSC6490-cn涓浗鍒堕狅紝涓浗鑺瘇
鎼滅储闄勪欢  
閰峰痉缃 闄勪欢涓績 CODESYS杞欢璁ㄨ鍖 CODESYS V2.3 鏁欑▼鍙婂叾浠 銆愬凡瑙e喅銆慐rror 4355, 4370, 4371: A transition may not have any side eff...: SFC_TrafficControl_LD-FBD-Transition.pro

銆愬凡瑙e喅銆慐rror 4355, 4370, 4371: A transition may not have any side eff...: SFC_TrafficControl_LD-FBD-Transition.pro

 

銆愬凡瑙e喅銆慐rror 4355, 4370, 4371: A transition may not have any side eff...:
鏈笘鏈鍚庣敱 thkfighter 浜 2017-9-22 20:31 缂栬緫

銆愰棶棰樸
杞欢锛欳oDeSys V2.3,
渚嬮锛氥奍EC61131-3缂栫▼璇█鍙婂簲鐢ㄥ熀纭銆5.4.2浜ら氫俊鍙锋帶鍒剁郴缁燂紝
PLC_PRG閲囩敤IEC-Steps SFC缂栧啓銆
缂栬瘧閿欒锛
Transition T002
Error 4355: A transition may not have any side effects (Assignments, FB-Calls etc.)

Transition T002绗3琛
Error 4370: PLC_PRG (3): Superfluous lines found after correct IL-transition.

Transition T001绗1琛
Error 4371: Transition T001 (1): Invalid characters following valid expression: 'T001 := START;"

甯姪鏂囨。閲屾湁閿欒浠g爜瑙i噴锛屼絾寰堢畝鐣ャ傛垜娌℃壘鍒拌В鍐冲姙娉曘傝澶у甯繖鐪嬬湅銆

T001
T001 := START;

T002
ST  TON_2.IN
LD  T#8S
ST  TON_2.PT
CAL  TON_2
LD  TON_2.Q
ST  T002

鍙﹀锛屽彲浠ヨ缃彇娑堥檮浠朵笅杞芥敹璐瑰悧锛


[page]
2017骞9鏈21鏃
銆愮嚎绱竴銆
瀹樼綉鏂囨。Comparison_CODESYS_V2_to_V3.PDF锛孷2.3娌℃湁V3.5寮哄ぇ銆傛绋嬪簭绋嶄綔淇敼鍗冲彲鍦╒3.5涓婅繍琛屻
銆愮嚎绱簩銆
CoDeSys V2.3甯姪鏂囨。Transition/ Transition condition涓鑺傦細
A transition condition must have the value TRUE or FALSE. Thus itcan consist of either a boolean variable, a boolean address or a booleanconstant. It can also contain a series of instructions having a boolean result,either in ST syntax (e.g. (i<= 100) AND b) or in any language desired (see'Extras' 'Zoom Action/Transition'). But a transition may notcontain programs, function blocks or assignments!

CoDeSys V3.5甯姪鏂囨。锛
CODESYSDevelopment System > Reference, Programming > Programming Languages andtheir Editors > . Sequential Function Chart (SFC) > Elements > SFCElements 'Step' and 'Transition'
As opposed to CoDeSys V2.3, nowCODESYS treats a transition condition like a method call. The entry has the following syntax:
<transitionname>:=<transition condition>
(forexample trans1:= a=100)
or only
<transitioncondition>
(forexample a=100)

[page]
2017骞9鏈21鏃20:11
鏆傛椂涓ょ瑙e喅鏂规硶锛
鏂规硶涓锛氳縼灏变竴涓媍odesys v2.3锛孲FC transition鐢↙D鎴朏BD锛屼笉瑕乧oil鍜宎ssignments锛屽彲浠ヨ繍琛屻備絾鏄疘L鍜孲T锛屾湭鎵惧埌鍙彉閫氱殑鏂规硶銆

鏂规硶浜岋細
鍦╯tep鐨刟ction涓鍔爐ransition鐨勮鍙ワ紝鍙傝僂PEC multitool鎴朒ydraForce backbone鐢熸垚codesys妯℃澘涓璓LC_PRG鐨凷FC銆


鏃犲績椋炴壃 鍙戣〃浜 2017-9-19 08:29
鍙橀噺绫诲瀷闇瑕佽浆鎹€

閲嶆柊缂栬緫浜嗗笘瀛愩 楹荤儲鍐嶇湅涓涓嬨
椤堕儴qrcode搴曢儴
鍏虫敞閰峰痉缃戣闃呭彿锛岃幏鍙栨洿澶氳祫璁紒

QQ|灏忛粦灞|鎵嬫満鐗|Archiver|閰峰痉璁哄潧 ( 鑻廔CP澶16065247鍙-1 )|缃戠珯鍦板浘

GMT+8, 2024-11-23 20:57 , Processed in 0.104113 second(s), 21 queries .

閰峰痉缃

© 2001-2013 Hicodesys. 鎶鏈敮鎸 by 閰峰痉缃

杩斿洖椤堕儴