JSMK-3001C-4
JSMK-3001C-4
JSMK-3001C-4那么當(dāng)主程序第二次調(diào)用該子程序時(shí),開辟臨時(shí)存儲(chǔ)空間,但是此時(shí)的存儲(chǔ)空間與第一次調(diào)用時(shí)開辟的不一定一致??墒牵灿锌赡苡捎诔绦蚝?jiǎn)單,仍然使用第一次調(diào)用時(shí)占用的存儲(chǔ)空間。如果這種情況發(fā)生了,那么第一次調(diào)用時(shí)已經(jīng)將#CC的L0.2置了1,而此值依舊存在,那么第二次調(diào)用時(shí)雖然輸入?yún)?shù)I0.2和I0.3為0 ,但是#CC(L0.2)為1,由于客戶的子程序邏輯有自保持部分,所以最后L0.2的邏輯結(jié)果仍然是1。子程序完成后,#CC將值傳送到輸出參數(shù)Q0.1上,使其置1。所以就會(huì)出現(xiàn)客戶反映的那種問(wèn)題。
那么該如何避免這種情況呢?
大家是否還記得剛剛介紹局部變量參數(shù)類型時(shí)除了IN, OUT類型外,還有一種類型叫IN_OUT,這種類型的參數(shù)是先讀入,然后再寫出,這里我們就可以利用它的特點(diǎn)解決上面的問(wèn)題。
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
公司 名稱:廈門泰尼電氣有限公司
固定 電話:0592-6809819
聯(lián) 系 人:張亮
傳 真:0592-6890859【請(qǐng)備注“張亮”收】
商 務(wù) Q Q: 2314094943
手 機(jī):18030028083
Q Q 郵 箱:2314094943@qq.com
需要可以聯(lián)系絕對(duì)給你滿意的價(jià)格
公司地址:廈門市海滄區(qū)海滄街道濱湖一里7號(hào)2008室
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SONUS CNS60 GSX9000HD REV2 3T3 Circuit Network Server
NEW Juniper PE-AS2 Adaptive Services M7i M10i PE-ASII
NEW Juniper DX-3280-SLB-SSL-S-2C Load Bal App Accel
Avaya IG550 Juniper J6350 Int Gateway TGM550 TIM510
New Surplus Cisco uBR 3x10 RF Switch UBR-RFSW-3X10
Juniper Netscreen Secure Access 5000 NS-SA-5020A
NEW Cisco MCS-7845-H1-CC1 Media Convergence Server
Nokia IP1260 AC Firewall 2G DRAM NIF4426 NIF4425
Juniper Netscreen Secure Access 5000 NS-SA-5000
Motorola RiverDelta BSR1000 CMTS Broadband Router 1x4
Cisco BPX-BXM-622-DX Enhanced OC12 BPX8600
Cisco BTS 10200 Softswitch IPCell Multiservice Platform
Juniper Netscreen NS-5000-2XGE 5200 5400 Firewall 10G
NEW Packeteer Packetseeker 9500 PS9500-L000M-1000-SX
Redback OIM-SE8-L3-1OC48SRSC OC48 Module SE800 Router
Juniper DX-3650-S-4G Application Accelerator 4x 1000bT
Juniper DX 3680 Load Balancer DX-3680-SLB-SSL-S-4G
New Cisco MGX-RPM-PR-512 Route Processor Module PR MGX
Spirent Adtech AX/4000 IP L3 POS/ATM/FR OC-3/OC-12/OC48
Juniper DX-3600-SLB-SSL-N-4G-A DX3600 Load Balancer
Juniper PB-1CHOC3-SMIR-QPP 1-Port Channelized OC3 PIC
Juniper RE-1600-2048 Routing Engine T1600, T640, T320
Juniper RE-850-1536-S Routing Engine for M7i M10i RE850
Extreme Networks BD 6808 MSM-3 50020 Switch 2x G24T3
Juniper SSG-550M-SH 1GB DRAM Unlimited Users SSG 550M
Juniper ISG-2000 Advanced Model NS-ISG-2000 6.1.0r2.0
Cisco BPX-BXM-E3-12 12-p E3 Module BPX8600 800-02778-07
Cisco 8OC03/ATM/TS-IR-B 8-port OC-3 c/STM-1c ATM LC GSR
Cisco MGX-RPM-PR-512 MGX 8950/88x0 PR 512m DRAM
Juniper PB-4CHDS3-QPP DS3 M120 M320 T320 T640 T1600 PIC
Juniper J6300 Router 2x JX-1DS3 1x JX-2T1-TX
New Cisco MCS-7835-H1 COMMON Unity Server
NET IDNX 90 Promina 800 Multiplexer
NetScreen 5000 Management Module 2 NS-5000-M2
New Cisco MCS-7835-H1 COMMON Unity Server
Redback MIM-SE8-L3-24E1 for Edge Router SE800
Packeteer PacketSeeker 8500 L7 Network Monitoring Dev
Sonus MNS20 Management Network Server for GSX9000HD
New Juniper DX-3200-N-2C HTTP Application Accelerator
New Alcatel OS8-GNI2-U24 Omniswich 8800 Gen2 1000BaseX
Juniper M20 Router P-4DS3 P-4OC3 P-4FE-TX P-4OC3-SON-SM
Juniper M20 Router 14x P-4DS3 1x P-1GE-SX 1x P-4FE-TX
Juniper M20-BASE-AC DC Router SSB-E RE-333 Redundant
Nortel DS1404060 8683POSM Passport 8683 POSM 3 Slot MDA