CSA retrieval functions
FoxDoc document B0193NE (ICCAPI) lists some CSA information retrieval functions: CSlblk, CSlcmpd, CSblkdef, CSgetblk, CSgetcmpd. I would like to have more information about how to use them in C programs. Are there more CSA functions available and where can I find documentation on them? Regards, Ulrich - Ulrich Wieczorek Erpicon Software Development GmbH Neusser Str. 724-726 50737 Koeln Tel. 0221-974600 --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED]
Dot Matrix Printer
Hi all, I am facing strange problem in one of the three dot matrix printers connected to one COMM10. Two printers are working normally meaning printing file, alarms etc. One printer which is connected to first port is meant for system alarm messages is not printing system alarms as well as text file. The printing of text file from any of the workstations in the system is not working and while trying giving error message failed to open the printer port (transport endpoint not connected) I have tried all possible ways like delete and adding again, reinstallation of OS1CS, changing all the possible h/w and cables, but result is same. This printer stopped working after recommittal of new sysdef. We restored the recent dump tapes to our off-line set-up for further analysis and found printer is working in off-line set-up (printing all system alarms, files). Same disks we took to on-line system and found that same printer is still not working. We have more than 30 dot matrix printers (all are replaced with Imac PCs) and are working fine. Are there anything more to try other than helpful hint #694 ? Best regards Harshad Viradia --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED]
Re: Dot Matrix Printer
Hi, Maybe this helps, I recently had a simular problem with one of our Serial Print Devices and the problem was that the Printer was not active anymore. By activating the Device Monitor the problem was solved. Have you checked the device monitor already ? Is this device still Alive ? You can easily do an update (activation) of the Devices /usr/fox/cs/dm_recon (you can do this command on any station) By making the station master, you can do a dump an put all the information of the Device Monitor in a file /usr/fox/cs/dm_recon t /usr/fox/cs/dm_recon d(file: cs_dm.current) Greetings, Johan Van Elsen Systeembeheerder INDAVER Poldervlietweg B-2030 Antwerpen 3 Tel: 03/568.48.65 E-mail: [EMAIL PROTECTED] Fax: 03/568.49.99 --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED]
Re: Dot Matrix Printer
Hi, You might get some help from HH832 and HH843 on the Device Monitor. This has caused us problems before. Also there is good printer help on Angel Corbera's website: http://www.geocities.com/SiliconValley/Peaks/5825/contents.htm Hope this helps. Jim Kahlden [EMAIL PROTECTED] [EMAIL PROTECTED] 08/28/01 05:20AM Hi all, I am facing strange problem in one of the three dot matrix printers connected to one COMM10. Two printers are working normally meaning printing file, alarms etc. One printer which is connected to first port is meant for system alarm messages is not printing system alarms as well as text file. The printing of text file from any of the workstations in the system is not working and while trying giving error message failed to open the printer port (transport endpoint not connected) I have tried all possible ways like delete and adding again, reinstallation of OS1CS, changing all the possible h/w and cables, but result is same. This printer stopped working after recommittal of new sysdef. We restored the recent dump tapes to our off-line set-up for further analysis and found printer is working in off-line set-up (printing all system alarms, files). Same disks we took to on-line system and found that same printer is still not working. We have more than 30 dot matrix printers (all are replaced with Imac PCs) and are working fine. Are there anything more to try other than helpful hint #694 ? Best regards Harshad Viradia --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED] --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED]
Re[2]: Dot Matrix Printer
Harshad, Question: Did you use a newer or different version of SysDef to create the new commit?? Answer: If so, it is always a good idea to rebuild the SysDef from scratch when using a new version of Sysdef. I know this is a major hassle, but I have had major unexplainable problems updating a SysDef configuration with a newer version of SysDef. Daren Bishop ASC. Inc. __ Reply Separator _ Subject: Re: Dot Matrix Printer Author: Foxboro DCS Mail List [EMAIL PROTECTED] at INTERNET-MAIL Date:8/28/01 8:46 AM Hi, You might get some help from HH832 and HH843 on the Device Monitor. This has ca used us problems before. Also there is good printer help on Angel Corbera's web site: http://www.geocities.com/SiliconValley/Peaks/5825/contents.htm Hope this helps. Jim Kahlden [EMAIL PROTECTED] [EMAIL PROTECTED] 08/28/01 05:20AM Hi all, I am facing strange problem in one of the three dot matrix printers connected to one COMM10. Two printers are working normally meaning printing file, alarms etc. One printer which is connected to first port is meant for system alarm messages is not printing system alarms as well as text file. The printing of text file from any of the workstations in the system is not working and while trying giving error message failed to open the printer port (transport endpoint not connected) I have tried all possible ways like delete and adding again, reinstallation of OS1CS, changing all the possible h/w and cables, but result is same. This printer stopped working after recommittal of new sysdef. We restored the recent dump tapes to our off-line set-up for further analysis and found printer is working in off-line set-up (printing all system alarms, files). Same disks we took to on-line system and found that same printer is still not working. We have more than 30 dot matrix printers (all are replaced with Imac PCs) and are working fine. Are there anything more to try other than helpful hint #694 ? Best regards Harshad Viradia --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED] --- This list is neither sponsored nor endorsed by the Foxboro Company. All postingsfrom this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By su bscribing to this list you agree to hold the list sponsor(s) blameless for any a nd all mishaps which might occur due to your application of information receivedfrom this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] g with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED] --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED]
RE: Getting OPC data into the I/A
Corey, You can run Foxboro's OPC Client on an AW70. This requires the AW to have a virtual controller. The OPC client running in the AW hooks the OPC objects to the C:B.P's you create in the virtual controller. Pretty simple to implement. However, the DCOM setup must be done correctly. The OPC client has been available for almost two years. FYI -Original Message- From: Corey R Clingo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 22, 2001 6:35 PM To: Foxboro DCS Mail List Subject: Getting OPC data into the I/A Awhile back I inquired about methods of getting OPC data into an I/A system. I got several good responses (thanks) and am investigating further. We would probably go the Matrikon route, since Foxboro's OPC gateway software apparently isn't released yet. So now I'm looking at how exactly I'm going to represent this data in the I/A system. I don't want to poke those values into another CP, as that seems a waste of nodebus bandwidth and processing power on that CP. I'd like to use our AW itself as a virtual CP, if that's possible (this is not critical data). I suppose another option is getting a Modbus integrator and hooking it to the OPC PC, using OPC-to-Modbus-slave gateway software rather than OPC-to-I/A gateway software, but bandwidth could be limited by the serial link. Any other options? If anyone has done this, I'd greatly appreciate some war stories. IIRC, someone in Europe had a similar setup using the Matrikon software. If it's long and involved, feel free to reply off-list. TIA, Corey Clingo Sr. Engineer BASF Corporation --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED] --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED]
Re: HLBL question
Stefano, What you are really doing is converting an integer value (0) to a string (sorg[n]). If it is posible, you can use external references, something like STRING :CMPND:BLK:PARAM'IO0001' := 0.0; I don't have a system alive to test that, I used a similar structure but I can't remember the exact sintax. Jorge Monsalvo IVControl S.R.L. Argentina - Original Message - From: Stefano Persico [EMAIL PROTECTED] To: Foxboro DCS Mail List [EMAIL PROTECTED] Sent: Tuesday, August 28, 2001 7:09 PM Subject: HLBL question Hi list i built an HLBL source where are defined some user labels for Real Output with a name like OUT1 OUT2 and so on. I've also an array (in a subroutine) with a S12 internal flag used to build the same name of the ones used for RO. I made this because i need to reset to zero a certain real output when a given integer and boolean are passed to the sequence. So the structure af the array is sorg[1] := OUT1 ; sorg[2] := OUT2 ; .(sorg -- S12) I call the subroutine at first step of the sequence and some steps after i've the IF clause wich test the status of a given boolean and use the array with a given integer . I supposed to do sorg[integer_input] := 0; but nothing run. It's probably because my array build a STRING which can't have a real value ??? If so how can i build the name of a given real output user label and then put it to a given real value ??? (OK probably is the worst way to have this function but when i started i didn't know where i'll arrive...) Thank's lot --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED] --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED]
Re: Re[2]: Dot Matrix Printer
Thanks. We have used sysdef 2.1 for the expansion of our existing sysdef which was developed earlier in 1.1, than revised in 2.0 as our sysdef being a very large contains more than 600 letterbugs it was not possible to start from scratch. This was also analysed by Foxboro, experts from USA, and local office. We have also tested this in our off-line set-up before committal. Further to add in a problem, this printer (LP03) is configured as a back up printer to process alarm printer (LP04) and by failing LP04 process alarms are getting directed to LP03. So the problem due to device monitor also is ruled out, We have also installed QF for Device Monitor in all workstations. What I believe is problem has to do some thing with the print service and network port (tcp). Meaning some how print request from any of the workstation is not getting accepted on network. I have checked the tcp port activity for lp services on host AW WPs and is showing ENABLED. Best regards Harshad Daren Bishop [EMAIL PROTECTED] on 08/28/2001 09:30:43 PM Please respond to Foxboro DCS Mail List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Harshad Viradia/JAMNAGAR/RIL) Subject: Re[2]: Dot Matrix Printer Harshad, Question: Did you use a newer or different version of SysDef to create the new commit?? Answer: If so, it is always a good idea to rebuild the SysDef from scratch when using a new version of Sysdef. I know this is a major hassle, but I have had major unexplainable problems updating a SysDef configuration with a newer version of SysDef. Daren Bishop ASC. Inc. __ Reply Separator _ Subject: Re: Dot Matrix Printer Author: Foxboro DCS Mail List [EMAIL PROTECTED] at INTERNET-MAIL Date:8/28/01 8:46 AM Hi, You might get some help from HH832 and HH843 on the Device Monitor. This has ca used us problems before. Also there is good printer help on Angel Corbera's web site: http://www.geocities.com/SiliconValley/Peaks/5825/contents.htm Hope this helps. Jim Kahlden [EMAIL PROTECTED] [EMAIL PROTECTED] 08/28/01 05:20AM Hi all, I am facing strange problem in one of the three dot matrix printers connected to one COMM10. Two printers are working normally meaning printing file, alarms etc. One printer which is connected to first port is meant for system alarm messages is not printing system alarms as well as text file. The printing of text file from any of the workstations in the system is not working and while trying giving error message failed to open the printer port (transport endpoint not connected) I have tried all possible ways like delete and adding again, reinstallation of OS1CS, changing all the possible h/w and cables, but result is same. This printer stopped working after recommittal of new sysdef. We restored the recent dump tapes to our off-line set-up for further analysis and found printer is working in off-line set-up (printing all system alarms, files). Same disks we took to on-line system and found that same printer is still not working. We have more than 30 dot matrix printers (all are replaced with Imac PCs) and are working fine. Are there anything more to try other than helpful hint #694 ? Best regards Harshad Viradia --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED] --- This list is neither sponsored nor endorsed by the Foxboro Company. All postingsfrom this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By su bscribing to this list you agree to hold the list sponsor(s) blameless for any a nd all mishaps which might occur due to your application of information receivedfrom this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] g with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED] --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s)
RE: HLBL question
How is this example? It will look better if you put it in a file and use a courier (monospace) font. Watch how I use APPNAME. * I declare it (APP_NAME : SN0001;) to be the contents of SN0001 * I use it to get the value of a variable (CTLINT := :'APP_NAME':DMCOP.CTLINT;) Now, look at CNTDWN * I declare it (CNTDWN : SN0009;) * I initialize it to the name of the countdown timer (CNTDWN := APP_NAME,:DMCOP.CNTDWN;) * I set the value to 0 (:'CNTDWN' := 0; ) Does this help? INDEPENDENT_SEQUENCE USER_LABELS WDT : BO0001;{ Watch Dog Timer Trip (True is good) } DELAY: RI0001;{ Delay(sec.) for next input } PERIOD : RI0002;{ Waiting time(sec.) before dropping WDT } CTLINT : II0001;{ Controller execution period(sec.) } SYSERROR : II0002;{ System error counter; wraps at 1000 } USRERROR : II0003;{ User error counter; wraps at 1000 } APP_NAME : SN0001;{ Name of DMC application } CNTDWN : SN0009;{ AOA reference for CNTDWN } ONREQ: SN0010;{ AOA reference for ONREQ } { Trap errors and wait for them to clear } BLOCK_EXCEPTION TO_SYS_ERROR STATEMENTS IF (SYSERROR 100 ) THEN SYSERROR := SYSERROR + 1; ELSE SYSERROR := 0; ENDIF; GOTO ERROR; ENDEXCEPTION BLOCK_EXCEPTION TO_USR_ERROR STATEMENTS IF (USRERROR 100 ) THEN USRERROR := USRERROR + 1; ELSE USRERROR := 0; ENDIF; GOTO ERROR; ENDEXCEPTION BLOCK_EXCEPTION TO_INACTIVE STATEMENTS GOTO ERROR; ENDEXCEPTION STATEMENTS INIT SYSERROR := 0; USRERROR := 0; { Get controller cycle time } REPEAT CTLINT := :'APP_NAME':DMCOP.CTLINT; WAIT 5.0; UNTIL CTLINT 0; { Setup the A:O.A for ONREQ } ONREQ := APP_NAME,:DMCOP.ONREQ; { Setup the A:O.A for CNTDWN } CNTDWN := APP_NAME,:DMCOP.CNTDWN; RESTART { Pull up WDT trip } WDT := TRUE; { Set timeout period } PERIOD := DELAY; { Initialize delay } DELAY := 0; { Zero 'Application':DMCOP.CNTDWN } :'CNTDWN' := 0; { Send out controller interval to count down timer } ::PULSE.II01 := CTLINT; { Now wait for controller to send non-zero CNTDWN } WAIT UNTIL (DELAY 0) AFTER PERIOD GOTO TIMEOUT; { Start over } GOTO RESTART; TIMEOUT { Timed out. Turn off DMC Controller} :'ONREQ' := FALSE; ERROR { Drop WDT } WDT := FALSE; { Initialize DELAY } DELAY := 0.0; { Zero 'Application':DMCOP.CNTDWN } :'CNTDWN' := 0; { Now wait for controller to send non-zero CNTDWN } WAIT UNTIL (DELAY 0); { Re-initialize } GOTO INIT; ENDSEQUENCE Regards, Alex Johnson 10707 Haddington Houston, TX 77043 713.722.2859 (office) 713.722.2700 (switchboard) 713.932.0222 (fax) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Stefano Persico [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, August 28, 2001 3:09 PM To: Foxboro DCS Mail List Subject:HLBL question Hi list i built an HLBL source where are defined some user labels for Real Output with a name like OUT1 OUT2 and so on. I've also an array (in a subroutine) with a S12 internal flag used to build the same name of the ones used for RO. I made this because i need to reset to zero a certain real output when a given integer and boolean are passed to the sequence. So the structure af the array is sorg[1] := OUT1 ; sorg[2] := OUT2 ; .(sorg -- S12) I call the subroutine at first step of the sequence and some steps after i've the IF clause wich test the status of a given boolean and use the array with a given integer . I supposed to do sorg[integer_input] := 0; but nothing run. It's probably because my array build a STRING which can't have a real value ??? If so how can i build the name of a given real output user label and then put it to a given real value ??? (OK probably is the worst way to have this function but when i started i didn't know where i'll arrive...) Thank's lot --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro