Johnny T
Member
Hi
I'm looking through some S5 software that is using DB's populated with DW's.
The PLC is connected to an HMI where an operator can key in how many packs he wants the machine to produce. The complaint I recieved was that if he wanted to put in more than 32,000 packs the system wouldn't take it. So, if for instance he needed 38,000 packs, he had to key in 32,000 then keep an eye on it and add another 6,000 packs when it had finished.
I assumed that the DW was using a signed INTeger and that it would only go from -32,767 to +32,767 (hence the 32,000 limit).
Is there a way of checking how the datablock is configured? Or is there a way of changing the DW to hold more than 32,000?
I know that in S7 you can configure a DW to be either a WORD or an INT. And that a WORD will hold up to 65,535. Is this the same for S5?
I must admit that on the face of it, it seems that the S5 software is using WORDS and the restriction might actually be from the HMI as oppose the PLC...
Anyone got any info on this?
Cheers
JT
I'm looking through some S5 software that is using DB's populated with DW's.
The PLC is connected to an HMI where an operator can key in how many packs he wants the machine to produce. The complaint I recieved was that if he wanted to put in more than 32,000 packs the system wouldn't take it. So, if for instance he needed 38,000 packs, he had to key in 32,000 then keep an eye on it and add another 6,000 packs when it had finished.
I assumed that the DW was using a signed INTeger and that it would only go from -32,767 to +32,767 (hence the 32,000 limit).
Is there a way of checking how the datablock is configured? Or is there a way of changing the DW to hold more than 32,000?
I know that in S7 you can configure a DW to be either a WORD or an INT. And that a WORD will hold up to 65,535. Is this the same for S5?
I must admit that on the face of it, it seems that the S5 software is using WORDS and the restriction might actually be from the HMI as oppose the PLC...
Anyone got any info on this?
Cheers
JT