Commit d2bb7069 authored by Claes Sjofors's avatar Claes Sjofors

Conflicts merged

parents 62e4358f f7647de3
This diff is collapsed.
...@@ -70,8 +70,8 @@ static pwr_tStatus IoAgentClose( io_tCtx ctx, ...@@ -70,8 +70,8 @@ static pwr_tStatus IoAgentClose( io_tCtx ctx,
} }
#else #else
static pwr_tStatus IoAgentInit( io_tCtx ctx, io_sAgent *ap) { return 0;} static pwr_tStatus IoAgentInit( io_tCtx ctx, io_sAgent *ap) { return IO__RELEASEBUILD;}
static pwr_tStatus IoAgentClose( io_tCtx ctx, io_sAgent *ap) { return 0;} static pwr_tStatus IoAgentClose( io_tCtx ctx, io_sAgent *ap) { return IO__RELEASEBUILD;}
#endif #endif
/* Every method should be registred here. */ /* Every method should be registred here. */
......
...@@ -298,10 +298,10 @@ static pwr_tStatus IoCardWrite( io_tCtx ctx, ...@@ -298,10 +298,10 @@ static pwr_tStatus IoCardWrite( io_tCtx ctx,
} }
#else #else
static pwr_tStatus IoCardInit( io_tCtx ctx,io_sAgent *ap,io_sRack *rp,io_sCard *cp) {return 0;} static pwr_tStatus IoCardInit( io_tCtx ctx,io_sAgent *ap,io_sRack *rp,io_sCard *cp) {return IO__RELEASEBUILD;}
static pwr_tStatus IoCardClose( io_tCtx ctx,io_sAgent *ap,io_sRack *rp,io_sCard *cp) {return 0;} static pwr_tStatus IoCardClose( io_tCtx ctx,io_sAgent *ap,io_sRack *rp,io_sCard *cp) {return IO__RELEASEBUILD;}
static pwr_tStatus IoCardRead( io_tCtx ctx,io_sAgent *ap,io_sRack *rp,io_sCard *cp) {return 0;} static pwr_tStatus IoCardRead( io_tCtx ctx,io_sAgent *ap,io_sRack *rp,io_sCard *cp) {return IO__RELEASEBUILD;}
static pwr_tStatus IoCardWrite( io_tCtx ctx,io_sAgent *ap,io_sRack *rp,io_sCard *cp) {return 0;} static pwr_tStatus IoCardWrite( io_tCtx ctx,io_sAgent *ap,io_sRack *rp,io_sCard *cp) {return IO__RELEASEBUILD;}
#endif #endif
/* Every method should be registred here. */ /* Every method should be registred here. */
......
#060227 cs - Changelog created. #060227 cs - Changelog created.
070528 cs logg Env variable allowed in remotelogg filename. 070528 cs logg Env variable allowed in remotelogg filename.
071115 rk tcpip Fixed several bugs when acting as server. 071115 rk tcpip Fixed several bugs when acting as server.
101216 rk wmq Added functionality for handling Websphere MQ as remote node.
...@@ -4,7 +4,8 @@ link_rule_mk := 1 ...@@ -4,7 +4,8 @@ link_rule_mk := 1
ifeq ($(pwre_conf_mq),1) ifeq ($(pwre_conf_mq),1)
link = $(ldxx) $(elinkflags) $(domap) -o $(export_exe) \ link = $(ldxx) $(elinkflags) $(domap) -o $(export_exe) \
$(export_obj) $(objects) $(rt_msg_eobjs) \ $(export_obj) $(objects) $(rt_msg_eobjs) \
$(pwre_conf_libdir) $(pwre_conf_libpwrremote) $(pwre_conf_libpwrrt) $(pwre_conf_lib) $(pwre_conf_libdir) $(pwre_conf_libpwrremote) $(pwre_conf_libpwrrt) \
$(pwre_conf_libmq) $(pwre_conf_lib)
else else
link = echo "Mq not installed" link = echo "Mq not installed"
endif endif
......
include $(pwre_dir_symbols)
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(hw_name)/$(type_name)_generic.mk
ifeq ($($(type_name)_generic_mk),)
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(type_name)_generic.mk
endif
ifeq ($($(type_name)_generic_mk),)
include $(pwre_kroot)/tools/bld/src/$(type_name)_generic.mk
endif
ifndef link_rule_mk
link_rule_mk := 1
ifeq ($(PWRE_CONF_WMQ),1)
link = $(ldxx) $(elinkflags) $(domap) -o $(export_exe) \
$(export_obj) $(objects) $(rt_msg_eobjs) \
$(pwre_conf_libdir) $(pwre_conf_libpwrremote) $(pwre_conf_libpwrrt) \
$(pwre_conf_libwmq) $(pwre_conf_lib)
else
link = echo "WMQ not installed"
endif
endif
This diff is collapsed.
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
* 040303 J Nylund ndrat till omgivningsvariabel * 040303 J Nylund ndrat till omgivningsvariabel
* i skvgarna till exe-filerna * i skvgarna till exe-filerna
* 040422 C Jurstrand 4.0.0 * 040422 C Jurstrand 4.0.0
* 101209 R Karlsson Adderat std fr Websphere MQ
* *
* Description: * Description:
* Start and control of transportprocesses for remote communication * Start and control of transportprocesses for remote communication
...@@ -111,6 +112,7 @@ static void AddTransports() ...@@ -111,6 +112,7 @@ static void AddTransports()
pwr_tObjid objid; pwr_tObjid objid;
pwr_tAddress objref; pwr_tAddress objref;
pwr_tStatus sts; pwr_tStatus sts;
pwr_tUInt32 id = 1;
/* Init transport (process) counter */ /* Init transport (process) counter */
tpcount = 0; tpcount = 0;
...@@ -118,6 +120,30 @@ static void AddTransports() ...@@ -118,6 +120,30 @@ static void AddTransports()
/* Initialize transport vector with 0's */ /* Initialize transport vector with 0's */
memset(&tp, 0, sizeof(tp)); memset(&tp, 0, sizeof(tp));
/* Get and configure all WMQ remnodes, one process for each remnode */
sts = gdh_GetClassList (pwr_cClass_RemnodeWMQ, &objid);
while ( ODD(sts))
{
sts = gdh_ObjidToPointer(objid, &objref);
sprintf(tp[tpcount].path, "rs_remote_wmq");
tp[tpcount].id = id++;
tp[tpcount].disable = &((pwr_sClass_RemnodeWMQ *) objref)->Disable;
tp[tpcount].restart_limit = &((pwr_sClass_RemnodeWMQ *) objref)->RestartLimit;
tp[tpcount].restarts = &((pwr_sClass_RemnodeWMQ *) objref)->RestartCount;
((pwr_sClass_RemnodeWMQ *) objref)->RestartCount = 0;
tp[tpcount].objid = objid;
tp[tpcount].objref = objref;
tp[tpcount].classid = pwr_cClass_RemnodeWMQ;
tp[tpcount].cpid = -1;
tp[tpcount].first = true;
remcfgp->RemNodeObjects[tpcount] = objid;
tpcount++;
sts = gdh_GetNextObject (objid, &objid);
}
/* Get and configure all MQ remnodes, one process for each remnode */ /* Get and configure all MQ remnodes, one process for each remnode */
sts = gdh_GetClassList (pwr_cClass_RemnodeMQ, &objid); sts = gdh_GetClassList (pwr_cClass_RemnodeMQ, &objid);
......
!
! Proview $Id: remote_c_remnodemq.wb_load,v 1.1 2006-01-12 06:39:33 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with the program, if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! remote_c_remnodewmq.wb_load -- Defines the class RemnodeWMQ.
!
SObject Remote:Class
!/**
! @Version 1.0
! @Group Servers,NodeConfiguration
! @Summary Configures communication through a message queue using Webspere MQ.
! Configures communication through a message queue using Websphere MQ as a client.
! All regarding Server, channel, queue manager and queues to connect to is configured
! in the RemonodeWMQ-object.
! Configurations for the different messages is configured in the RemtTrans-object that define
! each in- and outgoing message. For each RemTrans-message the following can be configured:
!
! TransName - a string that defines the MsgId (message identity of the message).
! Address[0] - defines whether the message should be sent as a persistent message or not.
! 1 means that the message will be sent as a persistent message. 0 not.
!
! @b Object graph
! @image orm_remnodewmq_og.gif
!
! @b See also
! @classlink RemoteConfig pwrp_remoteconfig.html
! @classlink RemTrans ssab_remtrans.html
!*/
Object RemnodeWMQ $ClassDef 33
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
Attr PopEditor = 2
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "RemnodeWMQ"
EndBody
!/**
! Optional description.
!*/
Object Description $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Process priority for the transport process. For future use.
!*/
Object Prio $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Name of Queue Manager to connect to.
! Server to connect to is defined by enviroment variable MQSERVER.
! export MQSERVER=<ChannelName>/<TransportType>/<ConnectionName>[(port)]
! For example:
! export MQSERVER=CHANNEL1/TCP/192.168.40.20(2020)
! The port is by default 1414 and will be used if no port is given.
!*/
Object QueueManager $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Name of WMQ queue for all incoming messages.
!*/
Object RcvQueue $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Name of WMQ queue for all outgoing messages.
!*/
Object SndQueue $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Scantime in seconds for outgoing RemTrans messages.
! Dynamic change is possible.
!*/
Object ScanTime $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! When set, this attribute tells the remote handler not to start
! or restart the process that handles this remote node. If the transport process
! is running while the attribute is set it will terminate. This can be used to force
! a restart of the process.
!*/
Object Disable $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! This attribute shows how many times the remote handler has restarted the
! transport process that handles this remnode.
! Dynamic change is possible and can be used in order to earn more restarts.
!*/
Object RestartCount $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! The restart limit tells the remote handler how many times the transport process
! that handle this remnode can be restarted.
! Dynamic change is possible and can be used in order to earn more restarts.
!*/
Object RestartLimit $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! The restart time is set by the transport process at startup and therefore
! shows the latest (re)starttime.
!*/
Object RestartTime $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Time"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Error counter.
!*/
Object ErrCount $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Type of remnode. Used in the RemoteConfig classgraph.
!*/
Object Id $Attribute 12
Body SysBody
Attr TypeRef = "pwrs:Type-$String8"
Attr Flags |= PWR_MASK_INVISIBLE
EndBody
EndObject
!/**
! Contains the objid for the RemTrans objects for this remnode.
! The objid's are inserted by the remote process.
!*/
Object RemTransObjects $Attribute 13
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_STATE
Attr Flags |= PWR_MASK_INVISIBLE
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 25
EndBody
EndObject
EndObject
Object Template RemnodeWMQ
Body RtBody
Attr Prio = 15
Attr Disable = 0
Attr RestartCount = 0
Attr RestartLimit = 100
Attr ScanTime = 0.1
Attr Id = "WMQ"
EndBody
EndObject
EndObject
EndSObject
...@@ -1730,7 +1730,7 @@ This file (if it exists) will be used as the link options when I build the plc-p ...@@ -1730,7 +1730,7 @@ This file (if it exists) will be used as the link options when I build the plc-p
Proview by default links against some libraries and object-files. If you have your own Proview by default links against some libraries and object-files. If you have your own
opt-file you need to include these. A default opt-file would look like: opt-file you need to include these. A default opt-file would look like:
<c>$pwr_obj/rt_io_user.o -lpwr_rt -lpwr_usbio_dummy <c>$pwr_obj/rt_io_user.o -lpwr_rt -lpwr_usbio_dummy -lpwr_usb_dummy -lpwr_pnak_dummy
Add your own libraries at will. The syntax to use is the sytax for ld (The GNU linker). Proview Add your own libraries at will. The syntax to use is the sytax for ld (The GNU linker). Proview
will create a template option file .opt_template that can be renamed to .opt and used as a template. will create a template option file .opt_template that can be renamed to .opt and used as a template.
...@@ -2196,7 +2196,8 @@ plc_'nodename'_'qbus'.opt, for example ...@@ -2196,7 +2196,8 @@ plc_'nodename'_'qbus'.opt, for example
The following line is inserted into this file The following line is inserted into this file
<c>$pwr_obj/rt_io_user.o $pwrp_obj/ra_myfunction.o -lpwr_rt -lpwr_usbio_dummy <c>$pwr_obj/rt_io_user.o $pwrp_obj/ra_myfunction.o -lpwr_rt -lpwr_usbio_dummy \
<c>-lpwr_usb_dummy -lpwr_pnak_dummmy
We kan now build the node and startup Proview runtime. We kan now build the node and startup Proview runtime.
...@@ -6830,7 +6831,7 @@ e.g. plc_mynode_0999.opt. The content of the file is input to the linker, ld, an ...@@ -6830,7 +6831,7 @@ e.g. plc_mynode_0999.opt. The content of the file is input to the linker, ld, an
add the modules of the plc-code. In the example below these modules are placed in the archive add the modules of the plc-code. In the example below these modules are placed in the archive
$pwrp_lib/libpwrp.a $pwrp_lib/libpwrp.a
<c>$pwr_obj/rt_io_user.o -lpwrp <c>$pwr_obj/rt_io_user.o -lpwrp -lpwr_rt -lpwr_usbio_dummy -lpwr_usb_dummy -lpwr_pnak_dummy
......
...@@ -1718,7 +1718,7 @@ Den ...@@ -1718,7 +1718,7 @@ Den
länkningen av plc-programmet. Några bibliotek och objektsmoduler måste finnas med, och länkningen av plc-programmet. Några bibliotek och objektsmoduler måste finnas med, och
en default option-fil ska se ut så här: en default option-fil ska se ut så här:
<c>$pwr_obj/rt_io_user.o -lpwr_rt -lpwr_usbio_dummy <c>$pwr_obj/rt_io_user.o -lpwr_rt -lpwr_usbio_dummy -lpwr_usb_dummy -lpwr_pnak_dummy
Till detta adderas de bibliotek och moduler som behövs. Syntaxen är den som gäller för ld Till detta adderas de bibliotek och moduler som behövs. Syntaxen är den som gäller för ld
(The GNU linker). Proview genererar en template option-fil .opt_template som kan användas som (The GNU linker). Proview genererar en template option-fil .opt_template som kan användas som
...@@ -2176,7 +2176,8 @@ plc_'nodename'_'qbus'.opt, t ex ...@@ -2176,7 +2176,8 @@ plc_'nodename'_'qbus'.opt, t ex
I denna läggs följande rad in I denna läggs följande rad in
<c>$pwr_obj/rt_io_user.o $pwrp_obj/ra_myfunction.o -lpwr_rt -lpwr_usbio_dummy <c>$pwr_obj/rt_io_user.o $pwrp_obj/ra_myfunction.o -lpwr_rt -lpwr_usbio_dummy -lpwr_usb_dummy \
<c> -lpwr_pnak_dummy
Vi kan nu bygga noden och starta Proview runtime. Vi kan nu bygga noden och starta Proview runtime.
...@@ -6744,7 +6745,7 @@ plc_mynode_0999.opt. Inneh ...@@ -6744,7 +6745,7 @@ plc_mynode_0999.opt. Inneh
lägger även in modulerna för plc-koden. I exemplet nedan antas att dessa moduler ligger i lägger även in modulerna för plc-koden. I exemplet nedan antas att dessa moduler ligger i
arkivet $pwrp_lib/libpwrp.a. arkivet $pwrp_lib/libpwrp.a.
<c>$pwr_obj/rt_io_user.o -lpwrp <c>$pwr_obj/rt_io_user.o -lpwrp -lpwr_rt -lpwr_usbio_dummy -lpwr_usb_dummy -lpwr_pnak_dummy
</topic> </topic>
......
...@@ -2621,6 +2621,7 @@ gdh_SetObjectInfoAttrref ( ...@@ -2621,6 +2621,7 @@ gdh_SetObjectInfoAttrref (
} }
/* Try remote. */ /* Try remote. */
sts = GDH__SUCCESS;
vp = pool_Address(NULL, gdbroot->pool, ap->op->l.vr); vp = pool_Address(NULL, gdbroot->pool, ap->op->l.vr);
np = pool_Address(NULL, gdbroot->pool, vp->l.nr); np = pool_Address(NULL, gdbroot->pool, vp->l.nr);
...@@ -2656,6 +2657,8 @@ gdh_SetObjectInfoAttrref ( ...@@ -2656,6 +2657,8 @@ gdh_SetObjectInfoAttrref (
rarp = ndc_NarefToRaref(&sts, ap, arp, ccp, &ridx, &raref, &equal, NULL, ccpLocked, vp, np); rarp = ndc_NarefToRaref(&sts, ap, arp, ccp, &ridx, &raref, &equal, NULL, ccpLocked, vp, np);
} }
else
equal = ap->op->u.c.flags.b.classEqual;
break; break;
......
...@@ -101,6 +101,8 @@ replaced <Symbol is replaced> /info ...@@ -101,6 +101,8 @@ replaced <Symbol is replaced> /info
normal <Normal operating state> /succ normal <Normal operating state> /succ
initfail <Initialization failed> /error initfail <Initialization failed> /error
nodevice <Device not found> /error nodevice <Device not found> /error
releasebuild <I/O system is not built with this release> /error
dummybuild <Archive for I/O system is not linked with this executable> /error
.end .end
...@@ -111,6 +111,10 @@ pwre_config_check_lib() ...@@ -111,6 +111,10 @@ pwre_config_check_lib()
conf_libmotif=$conf_libmotif" -l${lib%.*}" conf_libmotif=$conf_libmotif" -l${lib%.*}"
elif test $4 == "wb"; then elif test $4 == "wb"; then
conf_libwb=$conf_libwb" -l${lib%.*}" conf_libwb=$conf_libwb" -l${lib%.*}"
elif test $4 == "mq"; then
conf_libmq=$conf_libmq" -l${lib%.*}"
elif test $4 == "wmq"; then
conf_libwmq=$conf_libwmq" -l${lib%.*}"
else else
conf_lib=$conf_lib" -l${lib%.*}" conf_lib=$conf_lib" -l${lib%.*}"
fi fi
...@@ -200,6 +204,8 @@ dhw=`eval echo ${pwre_hw} | tr [:lower:] [:upper:]` ...@@ -200,6 +204,8 @@ dhw=`eval echo ${pwre_hw} | tr [:lower:] [:upper:]`
conf_cc_define="-D$dos=1 -D$dhw=1 -DOS=${pwre_os:3} -DHW=${pwre_hw:3} -D_${dos:3}" conf_cc_define="-D$dos=1 -D$dhw=1 -DOS=${pwre_os:3} -DHW=${pwre_hw:3} -D_${dos:3}"
conf_lib="" conf_lib=""
conf_libwb="" conf_libwb=""
conf_libmq=""
conf_libwmq=""
conf_libgtk="" conf_libgtk=""
conf_libmotif="" conf_libmotif=""
conf_libdir="" conf_libdir=""
...@@ -284,6 +290,8 @@ if test $pwre_hw == "hw_arm"; then ...@@ -284,6 +290,8 @@ if test $pwre_hw == "hw_arm"; then
echo "export pwre_conf_libpwrsev=\"-lpwr_sev\"" >> $cfile echo "export pwre_conf_libpwrsev=\"-lpwr_sev\"" >> $cfile
echo "export pwre_conf_lib=\"-lpthread -lm -lrt -lcrypt\"" >> $cfile echo "export pwre_conf_lib=\"-lpthread -lm -lrt -lcrypt\"" >> $cfile
echo "export pwre_conf_libwb=\"$conf_libwb\"" >> $cfile echo "export pwre_conf_libwb=\"$conf_libwb\"" >> $cfile
echo "export pwre_conf_libmq=\"$conf_libmq\"" >> $cfile
echo "export pwre_conf_libwmq=\"$conf_libwmq\"" >> $cfile
echo "export pwre_conf_libgtk=\"$conf_libgtk\"" >> $cfile echo "export pwre_conf_libgtk=\"$conf_libgtk\"" >> $cfile
echo "export pwre_conf_libmotif=\"$conf_libmotif\"" >> $cfile echo "export pwre_conf_libmotif=\"$conf_libmotif\"" >> $cfile
echo "export pwre_conf_libdir=\"$conf_libdir\"" >> $cfile echo "export pwre_conf_libdir=\"$conf_libdir\"" >> $cfile
...@@ -306,7 +314,8 @@ else ...@@ -306,7 +314,8 @@ else
pwre_config_check_lib libz LIBZ lib lib 0 /usr/lib/libz.so:/usr/lib/libz.a pwre_config_check_lib libz LIBZ lib lib 0 /usr/lib/libz.so:/usr/lib/libz.a
pwre_config_check_lib libcrypt LIBCRYPT lib lib 0 /usr/lib/libcrypt.so:/usr/lib/libcrypt.a pwre_config_check_lib libcrypt LIBCRYPT lib lib 0 /usr/lib/libcrypt.so:/usr/lib/libcrypt.a
pwre_config_check_lib mysql MYSQL lib lib 1 /usr/lib/libmysqlclient.so:/usr/lib/mysql/libmysqlclient.so pwre_config_check_lib mysql MYSQL lib lib 1 /usr/lib/libmysqlclient.so:/usr/lib/mysql/libmysqlclient.so
pwre_config_check_lib mq MQ lib lib 1 /usr/lib/libdmq.so pwre_config_check_lib mq MQ lib mq 1 /usr/lib/libdmq.so
pwre_config_check_lib wmq WMQ lib wmq 1 /usr/lib/libmqic.so
pwre_config_check_lib libpnioif PNAK lib lib 1 /usr/lib/libpnioif.a:/usr/local/lib/libpnioif.a pwre_config_check_lib libpnioif PNAK lib lib 1 /usr/lib/libpnioif.a:/usr/local/lib/libpnioif.a
pwre_config_check_lib libusb LIBUSB lib lib 1 /usr/lib/libusb-1.0.so pwre_config_check_lib libusb LIBUSB lib lib 1 /usr/lib/libusb-1.0.so
pwre_config_check_lib librt LIBRT lib lib 0 /usr/lib/librt.so:/usr/lib/librt.a pwre_config_check_lib librt LIBRT lib lib 0 /usr/lib/librt.so:/usr/lib/librt.a
...@@ -319,6 +328,7 @@ else ...@@ -319,6 +328,7 @@ else
pwre_config_check_include gtk GTK 1 /usr/local/include/gtk-2.0/gtk.h:/usr/local/include/gtk-2.0/gtk/gtk.h:/usr/include/gtk-2.0/gtk/gtk.h pwre_config_check_include gtk GTK 1 /usr/local/include/gtk-2.0/gtk.h:/usr/local/include/gtk-2.0/gtk/gtk.h:/usr/include/gtk-2.0/gtk/gtk.h
pwre_config_check_include jni JNI 1 $jdk/include/jni.h pwre_config_check_include jni JNI 1 $jdk/include/jni.h
pwre_config_check_include jni JNI 0 $jdk/include/linux/jni_md.h pwre_config_check_include jni JNI 0 $jdk/include/linux/jni_md.h
pwre_config_check_include wmq WMQ 1 /opt/mqm/inc/cmqc.h
export pwre_conf_alsa=1 export pwre_conf_alsa=1
...@@ -355,6 +365,8 @@ else ...@@ -355,6 +365,8 @@ else
echo "export pwre_conf_libpwrsev=\"-lpwr_sev\"" >> $cfile echo "export pwre_conf_libpwrsev=\"-lpwr_sev\"" >> $cfile
echo "export pwre_conf_lib=\"$conf_lib\"" >> $cfile echo "export pwre_conf_lib=\"$conf_lib\"" >> $cfile
echo "export pwre_conf_libwb=\"$conf_libwb\"" >> $cfile echo "export pwre_conf_libwb=\"$conf_libwb\"" >> $cfile
echo "export pwre_conf_libmq=\"$conf_libmq\"" >> $cfile
echo "export pwre_conf_libwmq=\"$conf_libwmq\"" >> $cfile
echo "export pwre_conf_libgtk=\"$conf_libgtk\"" >> $cfile echo "export pwre_conf_libgtk=\"$conf_libgtk\"" >> $cfile
echo "export pwre_conf_libmotif=\"$conf_libmotif\"" >> $cfile echo "export pwre_conf_libmotif=\"$conf_libmotif\"" >> $cfile
echo "export pwre_conf_libdir=\"$conf_libdir\"" >> $cfile echo "export pwre_conf_libdir=\"$conf_libdir\"" >> $cfile
......
...@@ -182,7 +182,7 @@ palette NavigatorPalette ...@@ -182,7 +182,7 @@ palette NavigatorPalette
menu Siemens menu Siemens
{ {
class Siemens_Motor_1LA class Siemens_Motor_1LA
class Siemens_G120_Tgm1 class Sinamics_G120_Tgm1
} }
menu Suco menu Suco
{ {
...@@ -338,6 +338,7 @@ palette NavigatorPalette ...@@ -338,6 +338,7 @@ palette NavigatorPalette
class RemnodeALCM class RemnodeALCM
class RemnodeModbus class RemnodeModbus
class RemnodeMQ class RemnodeMQ
class RemnodeWMQ
class RemnodeSerial class RemnodeSerial
class RemnodeTCP class RemnodeTCP
class RemnodeUDP class RemnodeUDP
......
#define ge_bitmap_limitswitch248_width 16
#define ge_bitmap_limitswitch248_height 13
static unsigned char ge_bitmap_limitswitch248_bits[] = {
0xe0, 0x03, 0x20, 0x02, 0x20, 0x02, 0x20, 0x02, 0x20, 0x02, 0x20, 0x02,
0x20, 0x02, 0xe0, 0x03, 0x80, 0x00, 0x40, 0x00, 0x30, 0x00, 0x30, 0x00,
0x00, 0x00};
0! DefaultWidth 144
0! DefaultHeight 288
1
100 144.012
135 144.012
101 20
102 -232
103 -271
104 28.0481
136 28.0481
105 100
106 -45
107 -52
108 0.9
109 0
110 2
111 0
116 0
117 0
118 131
119 118
120 1
121 Claes context
122 0
126 0.1
127 0.1
128 0
129 0.3
130 1.5
131 0.8
132 3
133 2
137 4510
138 3
139 2
134
22
2200 1
2201 15
2202 pwr_limitswitch
2203 300
2205 0
2204
2206 0
2207
2208
2209 0
2210 0
2211 1
2212 2
2213 4
2214
pwrp_pop:
pwrp_exe:
ssab_exe:
pwr_exe:
2215 32768
2236 0
2216 0
2221 0
2237 0
2238 0
2239 0
2240 0
2241 0
2242 0
2217 0
2218 0
2219 1
2220
2230 0
2231 0
2222 pwr_limitswitch__p2
2223 1
2224 0.5
2232 0.5
2225 0.5
2226 0
2227
2228 0
2229 0
2233 1
2234 1
2235 0
2243 0
2245 0
2244
1
100 1
101 1
102 33619964
103 0
99
99
123
2
99
124
2
99
125
2
26
2604 O6
2600 0.525089
2601 0.191637
2602 1.76237
2603 1.28328
2605
25
2500 0
2501 1
2503 1
2504 0
2502
2
7
700 0.533452
701 1.82091
99
7
700 0.3
701 2.3
99
7
700 0.2
701 2.2
99
7
700 0.333452
701 1.82091
99
7
700 0.533452
701 1.82091
99
99
99
2608 0
2609 36
2610 36
2611 1
2616 1
2614 5
2617 2
2615 0
2618 1
2607 0
2606
2612
28
2800 1
2801 0
2802 -0.00836311
2803 0
2804 1
2805 -0.537634
2806 0
99
2613 0
2619 0
2620 0
2621 1
2622 0
2623 0
2624 4
2625 0
99
19
1904 O11
1900 0.9
1901 0.1
1902 1.3
1903 0
1908 0
1909 38
1910 38
1911 1
1915 0
1913 17
1916 2
1914 0
1918 0
1919 0
1920 0
1917 0
1921 0
1922 4
1923 0
1907 0
1906
1905
5
500 0
501 1
504 1
505 1
502
7
700 0.1
701 0.5
99
503
7
700 0.9
701 1.8
99
99
1912
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 -0.5
2806 0
99
99
24
2404 O13
2400 0.4
2401 0
2402 2
2403 1.6
2408 0
2409 0
2410 0
2411 1
2415 0
2413 5
2416 2
2414 0
2417 1
2421 1
2418 0
2419 4
2420 1
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0
701 2.1
99
805
7
700 0.4
701 2.5
99
99
2412
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 -0.5
2806 0
99
99
21
2104 O14
2100 0.8
2101 0.2
2102 0.3
2103 -0.3
2105
8
802 0
803 2
800 0
801 360
806 0
804
7
700 -0.3
701 -0.3
99
805
7
700 0.3
701 0.3
99
99
2106
12
1200 0
1201 4
1202
7
700 0.5
701 0
99
1203
1204 0
1205
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
99
99
99
99
123
2
3
300 pwr_limitswitch
301
2
26
2604 O6
2600 0.525089
2601 0.191637
2602 1.76237
2603 1.28328
2605
25
2500 0
2501 1
2503 1
2504 0
2502
2
7
700 0.533452
701 1.82091
99
7
700 0.3
701 2.3
99
7
700 0.2
701 2.2
99
7
700 0.333452
701 1.82091
99
7
700 0.533452
701 1.82091
99
99
99
2608 0
2609 36
2610 36
2611 1
2616 1
2614 5
2617 2
2615 0
2618 1
2607 0
2606
2612
28
2800 1
2801 0
2802 -0.00836311
2803 0
2804 1
2805 -0.537634
2806 0
99
2613 0
2619 0
2620 0
2621 1
2622 0
2623 0
2624 4
2625 0
99
19
1904 O11
1900 0.9
1901 0.1
1902 1.3
1903 0
1908 0
1909 38
1910 38
1911 1
1915 0
1913 17
1916 2
1914 0
1918 0
1919 0
1920 0
1917 0
1921 0
1922 4
1923 0
1907 0
1906
1905
5
500 0
501 1
504 1
505 1
502
7
700 0.1
701 0.5
99
503
7
700 0.9
701 1.8
99
99
1912
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 -0.5
2806 0
99
99
24
2404 O13
2400 0.4
2401 0
2402 2
2403 1.6
2408 0
2409 0
2410 0
2411 1
2415 0
2413 5
2416 2
2414 0
2417 1
2421 1
2418 0
2419 4
2420 1
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0
701 2.1
99
805
7
700 0.4
701 2.5
99
99
2412
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 -0.5
2806 0
99
99
12
1200 0
1201 4
1202
7
700 0.5
701 0
99
1203
1204 0
1205
28
2800 1
2801 0
2802 0
2803 0
2804 1
2805 0
2806 0
99
99
99
302 0
305 0
306
307
304 0
303
308 32768
321 0
309 0
313 0
322 0
323 0
324 0
325 0
326 0
327 0
310 0
311 0
312
314 pwr_limitswitch__p2
315 1
316 1
317 0
318 2
319 0
320 1
328 0
329
1
100 1
101 1
102 33619964
103 0
99
99
99
99
0! DefaultWidth 144
0! DefaultHeight 288
1
100 144.012
135 144.012
101 20
102 -232
103 -271
104 28.0481
136 28.0481
105 100
106 -45
107 -52
108 1
109 0.1
110 2
111 -1.66533e-15
116 0
117 0
118 131
119 118
120 1
121 Claes context
122 0
126 0.1
127 0.1
128 0
129 0.3
130 1.5
131 0.8
132 3
133 2
137 4510
138 3
139 2
134
22
2200 0
2201 13
2202 pwr_limitswitch__p2
2203 300
2205 0
2204
2206 0
2207
2208
2209 0
2210 0
2211 1
2212 2
2213 4
2214
pwrp_pop:
pwrp_exe:
ssab_exe:
pwr_exe:
2215 32768
2236 0
2216 0
2221 0
2237 0
2238 0
2239 0
2240 0
2241 0
2242 0
2217 0
2218 0
2219 1
2220
2230 0
2231 0
2222
2223 1
2224 0.5
2232 0.5
2225 0.5
2226 0
2227
2228 0
2229 0
2233 1
2234 1
2235 0
2243 0
2245 0
2244
1
100 1
101 1
102 33619964
103 0
99
99
123
2
99
124
2
99
125
2
26
2604 O6
2600 0.764011
2601 0.430559
2602 1.73747
2603 1.25838
2605
25
2500 0
2501 1
2503 1
2504 0
2502
2
7
700 0.533452
701 1.82091
99
7
700 0.3
701 2.3
99
7
700 0.2
701 2.2
99
7
700 0.333452
701 1.82091
99
7
700 0.533452
701 1.82091
99
99
99
2608 0
2609 36
2610 36
2611 1
2616 1
2614 5
2617 2
2615 0
2618 1
2607 0
2606
2612
28
2800 -1
2801 -0
2802 0.964011
2803 0
2804 1
2805 -0.56253
2806 0
99
2613 0
2619 0
2620 0
2621 1
2622 0
2623 0
2624 4
2625 0
99
19
1904 O10
1900 0.9
1901 0.1
1902 1.3
1903 -1.66533e-15
1908 0
1909 38
1910 38
1911 1
1915 0
1913 17
1916 2
1914 0
1918 0
1919 0
1920 0
1917 0
1921 0
1922 4
1923 0
1907 0
1906
1905
5
500 0
501 1
504 1
505 1
502
7
700 0.1
701 0.5
99
503
7
700 0.9
701 1.8
99
99
1912
28
2800 1
2801 0
2802 -1.49533e-15
2803 0
2804 1
2805 -0.5
2806 0
99
99
24
2404 O11
2400 1
2401 0.6
2402 2
2403 1.6
2408 0
2409 0
2410 0
2411 1
2415 0
2413 5
2416 2
2414 0
2417 1
2421 1
2418 0
2419 4
2420 1
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0
701 2.1
99
805
7
700 0.4
701 2.5
99
99
2412
28
2800 1
2801 0
2802 0.6
2803 0
2804 1
2805 -0.5
2806 0
99
99
21
2104 O12
2100 0.8
2101 0.2
2102 0.3
2103 -0.3
2105
8
802 0
803 2
800 0
801 360
806 0
804
7
700 -0.3
701 -0.3
99
805
7
700 0.3
701 0.3
99
99
2106
12
1200 0
1201 4
1202
7
700 0.5
701 0
99
1203
1204 0
1205
28
2800 1
2801 0
2802 -3.43215e-15
2803 0
2804 1
2805 1.32533e-15
2806 0
99
99
99
99
99
123
2
3
300 pwr_limitswitch__p2
301
2
26
2604 O6
2600 0.764011
2601 0.430559
2602 1.73747
2603 1.25838
2605
25
2500 0
2501 1
2503 1
2504 0
2502
2
7
700 0.533452
701 1.82091
99
7
700 0.3
701 2.3
99
7
700 0.2
701 2.2
99
7
700 0.333452
701 1.82091
99
7
700 0.533452
701 1.82091
99
99
99
2608 0
2609 36
2610 36
2611 1
2616 1
2614 5
2617 2
2615 0
2618 1
2607 0
2606
2612
28
2800 -1
2801 -0
2802 0.964011
2803 0
2804 1
2805 -0.56253
2806 0
99
2613 0
2619 0
2620 0
2621 1
2622 0
2623 0
2624 4
2625 0
99
19
1904 O10
1900 0.9
1901 0.1
1902 1.3
1903 -1.66533e-15
1908 0
1909 38
1910 38
1911 1
1915 0
1913 17
1916 2
1914 0
1918 0
1919 0
1920 0
1917 0
1921 0
1922 4
1923 0
1907 0
1906
1905
5
500 0
501 1
504 1
505 1
502
7
700 0.1
701 0.5
99
503
7
700 0.9
701 1.8
99
99
1912
28
2800 1
2801 0
2802 -1.49533e-15
2803 0
2804 1
2805 -0.5
2806 0
99
99
24
2404 O11
2400 1
2401 0.6
2402 2
2403 1.6
2408 0
2409 0
2410 0
2411 1
2415 0
2413 5
2416 2
2414 0
2417 1
2421 1
2418 0
2419 4
2420 1
2422 0
2407 0
2406
2405
8
802 0
803 1
800 0
801 360
806 1
804
7
700 0
701 2.1
99
805
7
700 0.4
701 2.5
99
99
2412
28
2800 1
2801 0
2802 0.6
2803 0
2804 1
2805 -0.5
2806 0
99
99
12
1200 0
1201 4
1202
7
700 0.5
701 0
99
1203
1204 0
1205
28
2800 1
2801 0
2802 -3.43215e-15
2803 0
2804 1
2805 1.32533e-15
2806 0
99
99
99
302 0
305 0
306
307
304 0
303
308 32768
321 0
309 0
313 0
322 0
323 0
324 0
325 0
326 0
327 0
310 0
311 0
312
314
315 1
316 1
317 0
318 2
319 0
320 1
328 0
329
1
100 1
101 1
102 33619964
103 0
99
99
99
99
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment