2/6/2006 10:36 AM | |
Joined: 10/10/2005 Last visit: 10/18/2024 Posts: 1921 Rating: (136) |
Hello, regarding to your inquiry we think there is an example with informations to your support. Please see the home page of the customer support: http://www.siemens.com/automation/csi_en/product and see the FAQ "How do you implement jump distributors in STEP 7?" which do you will find by Beitrags-ID: 20713380. With best regards Cicero |
2/12/2006 2:42 PM | |
Joined: 1/7/2006 Last visit: 11/17/2023 Posts: 2705 Rating: (318) |
Hi Chris, VAR_INPUT VAR_TEMP BEGIN L #JumpTo; // Input doubleword (can be also a byte or a word) A #TmpJT.Bit[1]; // First jump A #TmpJT.Bit[2]; // Second jump A #TmpJT.Bit[3]; // Third jump A #TmpJT.Bit[4]; // Fourth jump A #TmpJT.Bit[5]; // Fifth jump A #TmpJT.Bit[6]; // .... jump A #TmpJT.Bit[7]; // ... jump, and so on, here possible to 32 jumps on a bit
Bit2: NOP 0; // Action when bit = high ("1") Bit3: NOP 0; // Action when bit = high ("1") Bit4: NOP 0; // Action when bit = high ("1") Bit5: NOP 0; // Action when bit = high ("1") Bit6: NOP 0; // Action when bit = high ("1") Bit7: NOP 0; // Action when bit = high ("1") END_FUNCTION Best regards, AttachmentJumpTable.zip (918 Downloads) |
I hope that the answer will help, if you have still questions, don't hesitate to ask me. |
|
4/28/2006 9:20 AM | |
Posts: 26 Rating: (2) |
hello, i think it's better to use JNB and JU maybe it will be simple way A... JNB l1 ju continue l1: nop . . . . continue : nop 0 with regards farhanj |
Follow us on