Page 1 of 1

STRUCT type in para

Posted: Wed Sep 25, 2019 11:37 am
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

Re: STRUCT type in para

Posted: Wed Sep 25, 2019 12:45 pm
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

Re: STRUCT type in para

Posted: Wed Sep 25, 2019 3:57 pm
by orla090978
Thanks a lot