Hi Sajid,
I am not familiar with the "boplc" tool that you are using, so I cannot explain the warning that you are seeing.
However, I took the plcdb.db file that you sent and loaded into my IOC application. It seems to load fine.
*********************************************************************
...
epicsEnvSet("TPMAC","/corvette/home/epics/support/tpmac-3-10dls10")
epicsEnvSet("VME","/corvette/home/epics/support/vme-2-8-2")
epicsEnvSet("EPICS_BASE","/corvette/usr/local/epics/base-3.14.12.5")
# Tell EPICS all about the record types, device-support modules, drivers,
# etc. in this build from CARS
dbLoadDatabase("../../dbd/CARSLinux.dbd")
CARSLinux_registerRecordDeviceDriver(pdbbase)
dbLoadRecords("./plcdb.db")
iocInit
Starting iocInit
############################################################################
## EPICS R3.14.12.5 $Date: Tue 2015-03-24 09:57:35 -0500$
## EPICS Base built Dec 9 2015
############################################################################
boplc devAsynUInt32Digital::initCommon connectDevice failed asynManager:connectDevice port A0_Out_Bits not found
iocRun: All initialization complete
epics> dbl
bi1
boplc
epics> dbpr boplc 2
ACKS: NO_ALARM ACKT: YES ASG: BKPT: 00
COSV: NO_ALARM DESC: PLC Coil Output DISA: 0
DISP: 0 DISS: NO_ALARM DISV: 1
DOL:DB_LINK bi1 NPP NMS DTYP: asynUInt32Digital
EVNT: 0 FLNK:CONSTANT 0 HIGH: 0
IVOA: Continue normally IVOV: 0 LCNT: 0
MASK: 0 NAME: boplc NSEV: INVALID NSTA: LINK
OMSL: closed_loop ONAM: High OSV: NO_ALARM
OUT:INST_IO @asynMask(A0_Out_Bits 0 0x1) PACT: 1
PHAS: 0 PINI: NO PRIO: LOW PUTF: 0
RBV: 0 RPRO: 0 RVAL: 0 SCAN: Passive
SDIS:CONSTANT SEVR: INVALID SIML:CONSTANT SIMM: NO
SIMS: NO_ALARM SIOL:CONSTANT STAT: UDF TIME: <undefined>
TPRO: 0 TSE: 0 TSEL:CONSTANT UDF: 1
VAL: 0 ZNAM: Low ZSV: NO_ALARM
*********************************************************************
Note that the 2 records are loaded, and there was no error or warning from dbLoadRecords. There is an error because it cannot find the asyn port A0_Out_Bits, but that is expected since I have not created that port in my startup script. The output of dbpr shows that the boplc record correctly connected to the bi1 record, since it shows it as a database link, not a disconnected Channel Access link.
So I think your database is OK and you can ignore the warning.
Mark
________________________________
From: [email protected] [[email protected]] on behalf of sajid hameed [[email protected]]
Sent: Saturday, May 07, 2016 8:47 AM
To: [email protected]
Subject: Required help about mobbus tcp module
Dear rivers
i have just started working in epics. i am using its modbus tcp module for
accessing plc it works well.i have plc simulator when i access that with modbus tcp
module using epics it works well. i am facing a problem that i want to write a output
on coil register at index 0. i have designed simple boplc block for this puprpose it works well.
i want to give input signal to boplc record from bi1 recrod. for this i give the name of bi1 in the
DOL filed of boplc record. it make the connection but give the "warning message that Desired Output loc: warninig :bi1 doesnot match the pattern @.*"
when i load the database it loaded successfully but when i change signal value of bi1 it change sucessfully but did not shift to boplc recrod.
can you please help how to shift bi1 record value to boplc recrod. i have attached snaps of database record field.
for simple records when we are not using any device support we can shift value one record to other record just by giving name in DOL field.
wait for yor reply
best regards
sajid
- References:
- Required help about mobbus tcp module sajid hameed
- Navigate by Date:
- Prev:
Job opening for software engineer position at FRIB/MSU Shen, Guobao
- Next:
Re: Required help about mobbus tcp module Dirk Zimoch
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Required help about mobbus tcp module sajid hameed
- Next:
Re: Required help about mobbus tcp module Dirk Zimoch
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
|