STRUCT type in para

Find and share HowTos to various installations / configurations!
Search

Post Reply
3 posts • Page 1 of 1
orla090978
Posts: 55
Joined: Thu Jan 03, 2019 2:05 pm

STRUCT type in para

Post by orla090978 »

Dear all,
I'd like to connect by S7Plus driver a boolean stuct of 16 bool.
I tried to create a boolean struct inside para (as attached)
dp.png
I'd like to connect only the WD01 with S7plus driver and then the 16 bit are created without addresses.
Is it possible?

Below the errors in the logfile:
Unexpected state, S7PlusTrans, toVar, No array variable expected but itemCount is 16, length = 16
WCCOAs7plus (1), 2019.09.25 11:23:18.937, PARAM,SEVERE, 54, Unexpected state, DP: (Type: 262 Sys: 1 Dp: 137828 El: 3 : _address..), MAN: (SYS: 1 Driver -num 1 CONN: 1), Conversion failed in Transformation::toVar for T01_HC03_L173.ORLA.TYPE_ARRAY:16, [len = 16, itemSize = 16, subindex = 0, type = 1002]

Thanks a lot
best regards

User avatar
leoknipp
Posts: 2926
Joined: Tue Aug 24, 2010 7:28 pm

Re: STRUCT type in para

Post by leoknipp »

Please have a look at the following thread:
viewtopic.php?f=16&t=10732&p=966029&hil ... ex#p966026

For me it looks like in this thread it is described that the usage of a bit struct is not possible when using the S7+ driver.

Best Regards
Leopold Knipp
Senior Support Specialist

orla090978
Posts: 55
Joined: Thu Jan 03, 2019 2:05 pm

Re: STRUCT type in para

Post by orla090978 »

Thanks a lot

Post Reply
3 posts • Page 1 of 1