Multiple PLC configuration issue

Find and share HowTos to various installations / configurations!
3 posts • Page 1 of 1
maoyi8212
Posts:9
Joined: Tue Feb 21, 2017 3:47 am

Multiple PLC configuration issue

Post by maoyi8212 »

I am trying to configure several different PLC information in a modbus driver, and my configuration is like:
_Mod_Plc_1: PLC number-->1; Transaction timeout-->1000; Frame coding--> TCP; unit address: 0; List of Hosts: 192.168.1.31:5000
_Mod_Plc_2: PLC number-->2; Transaction timeout-->1000; Frame coding--> TCP; unit address: 0; List of Hosts: 192.168.1.31:5001
_Mod_Plc_3: PLC number-->3; Transaction timeout-->1000; Frame coding--> TCP; unit address: 0; List of Hosts: 192.168.1.31:5002
_Mod_Plc_4: PLC number-->4; Transaction timeout-->1000; Frame coding--> TCP; unit address: 0; List of Hosts: 192.168.1.31:5003
_Mod_Plc_5: PLC number-->5; Transaction timeout-->1000; Frame coding--> TCP; unit address: 0; List of Hosts: 192.168.1.31:5004

But when I start up the modbus driver -num 1, there seems some error shows in the log viewer:

Code: Select all

WCCILpmon    (1), 2017.04.21 09:47:21.921, SYS,  INFO,       24/pmon, Got START command from ::1, starting the manager WCCOAmod(1) at index 21
WCCILpmon    (1), 2017.04.21 09:47:21.923, SYS,  INFO,        1, Manager Start, /opt/WinCC_OA/3.14/bin/WCCOAmod -PROJ DemoApplication_3.14 -pmonIndex 21 -num 1
WCCOAmod     (1), 2017.04.21 09:47:21.942, SYS,  INFO,        1, Manager Start, PROJ, DemoApplication_3.14, V 3.14 - 3.14   platform Linux x86_64 linked at Aug  2 2016 22:15:20
WCCOAmod     (1), 2017.04.21 09:47:21.943, SYS,  INFO,        3, Trying to connect to (SYS: 0 Data -num 0 CONN: 1) @ localhost:4897
WCCOAmod     (1), 2017.04.21 09:47:21.944, SYS,  INFO,        4, Connected to (SYS: 0 Data -num 0 CONN: 1) @ winccoa-demo.novalocal (::1)
WCCILdata    (0), 2017.04.21 09:47:21.944, SYS,  INFO,        4, Connected to (SYS: 1 Driver -num 1 CONN: 1) @ winccoa-demo.novalocal (::1)
WCCOAmod     (1), 2017.04.21 09:47:21.958, PARAM,SEVERE,     50, Default branch called, ModHWMapper, addDpPa, Illegal transformation type for EXAMPLESERVER$ALERT$_mp_PUMP2alertmotorSwitch: 486
WCCOAmod     (1), 2017.04.21 09:47:21.959, PARAM,SEVERE,     50, Default branch called, ModHWMapper, addDpPa, Illegal transformation type for EXAMPLESERVER$ALERT$_mp_PUMP2alertrunDry: 486
WCCOAmod     (1), 2017.04.21 09:47:21.959, PARAM,SEVERE,     50, Default branch called, ModHWMapper, addDpPa, Illegal transformation type for EXAMPLESERVER$CMD$_mp_PUMP2cmdon: 482
WCCOAmod     (1), 2017.04.21 09:47:21.959, PARAM,SEVERE,     50, Default branch called, ModHWMapper, addDpPa, Illegal transformation type for EXAMPLESERVER$STATE$_mp_PUMP2stateon: 486
WCCOAmod     (1), 2017.04.21 09:47:21.959, PARAM,SEVERE,     50, Default branch called, ModHWMapper, addDpPa, Illegal transformation type for EXAMPLESERVER$STATE$_mp_PUMP2stateoff: 486
WCCOAmod     (1), 2017.04.21 09:47:21.959, PARAM,SEVERE,     50, Default branch called, ModHWMapper, addDpPa, Illegal transformation type for EXAMPLESERVER$STATE$_mp_PUMP2statemoderemote: 486
WCCOAmod     (1), 2017.04.21 09:47:21.959, PARAM,SEVERE,     50, Default branch called, ModHWMapper, addDpPa, Illegal transformation type for EXAMPLESERVER$STATE$_mp_PUMP2statemodelocal: 486
WCCOAmod     (1), 2017.04.21 09:47:21.959, PARAM,SEVERE,     50, Default branch called, ModHWMapper, addDpPa, Illegal transformation type for EXAMPLESERVER$STATE$_mp_PUMP2statemodeauto: 486
WCCOAmod     (1), 2017.04.21 09:47:21.959, PARAM,SEVERE,     50, Default branch called, ModHWMapper, addDpPa, Illegal transformation type for EXAMPLESERVER$STATE$_mp_PUMP2statemodeman: 486
WCCOAmod     (1), 2017.04.21 09:47:21.960, PARAM,SEVERE,     54, Unexpected state, ModPollGroup, addItem, Cannot add poll address due to error in address M.3.3.0
WCCILdata    (0), 2017.04.21 09:47:21.965, SYS,  INFO,        0, , Manager (SYS: 1 Driver -num 1 CONN: 1) initialised
WCCOAmod     (1), 2017.04.21 09:47:21.965, SYS,  INFO,        6, Initialization by Data Manager finished
WCCOAmod     (1), 2017.04.21 09:47:21.966, SYS,  INFO,        3, Trying to connect to (SYS: 1 Event -num 0 CONN: 1) @ localhost:4998
WCCOAmod     (1), 2017.04.21 09:47:21.966, SYS,  INFO,        4, Connected to (SYS: 1 Event -num 0 CONN: 1) @ winccoa-demo.novalocal (::1)
WCCILevent   (0), 2017.04.21 09:47:21.967, SYS,  INFO,        4, Connected to (SYS: 1 Driver -num 1 CONN: 1) @ winccoa-demo.novalocal (::1)
WCCOAmod     (1), 2017.04.21 09:47:21.969, SYS,  SEVERE,    105, Invalid license, Driver will shutdown after the demo period of 604800 seconds
WCCOAmod     (1), 2017.04.21 09:47:21.969, SYS,  INFO,      156, Driver initialization finished., all items connected
WCCOAmod     (1), 2017.04.21 09:47:21.973, SYS,  INFO,      156, Driver initialization finished.
WCCOAmod     (1), 2017.04.21 09:47:22.076, SYS,  INFO,        0, , ModMasterConnection, masterConnEstablished, Established connection to 192.168.1.31 on port 5000
WCCOAmod     (1), 2017.04.21 09:47:22.076, SYS,  INFO,        0, , ModMasterConnection, masterConnEstablished, Established connection to 192.168.1.31 on port 5001
WCCOAmod     (1), 2017.04.21 09:47:22.077, SYS,  SEVERE,     13, Error while converting to engineers value, DP: (Type: 39 Sys: 1 Dp: 10875 El: 1 : _address..), MAN: (SYS: 1 Driver -num 1 CONN: 1), Value out of range for M.1.3.0
And also for my configured data point, I can only receive the data from 192.168.1.31:5000 and 192.168.1.31:5001. So are there anything wrong about my configuration? Many thanks!

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Multiple PLC configuration issue

Post by Gertjan van Schijndel »

It looks like you have activated the opc client address configs on the '_mp_PUMP2' datapoint. Disable them to avoid the transformation errors.

There seems to be something error in the config of address 'M.3.3.0', which prevents this address from being polled. Check this address config.
Also check the (transformation type of) address config 'M.1.3.0'. Perhaps it has not been configured properly, causing the 'Value out of range' error.

In the posted log part and configuration I do not see any other errors. Perhaps you do not receive data from the other addresses because your device does not accept more connections.

maoyi8212
Posts:9
Joined: Tue Feb 21, 2017 3:47 am

Re: Multiple PLC configuration issue

Post by maoyi8212 »

Hi Gertjan, Thank you for your suggestion.

The problem has resolved. The issue occured because I configured the same address for 2 different data point with different configured polling rate. So the configured polling rate is not activated.

3 posts • Page 1 of 1