RMA
Member
Hi S7Guy,
I was just about to go home when I noticed you were back in the forum, so I stayed on just in case you needed some info that I could only give with the system in front of me.
The FMs are virgin, or at least 2 & 3 were, so they had both the SF and MMC fault LEDs on before I started. FM1 I had loaded before, with the demo program that comes with the FM S/W. I can't remember exactly but I assume the SF fault would have been on there as well, because I didn't muck about with the standard paramerization so I would assume there was a fault because I had no 24V on the IO.
I don't know how the communications were handled on the other 352s. In the 352-5 you have to create two DBs exactly 14 Bytes long, called CPU_In and CPU_Out, which then map to these addresses in the declaration table of the FM. These are NOT the same as the IDB and you can assign the Bytes and Bits any way you like. It's quite well covered in the handbook, which I put link to earlier on in this thread. The description is in Chapter 6.2.
As far as writing to the variables is concerned, I haven't tried anything there, but when you make the call to the FB, part of the info you have to pass over is the address (as shown in HW-Config) and the DB-numbers for the IDB and the CPU_In and _Out DBs, so I would think that aspect ought to be fairly well covered.
I'm off back to my digs now, because my wife will be expecting a phone call in about half an hour. I'll have a look in from there later on.
Cheers
Roy
I was just about to go home when I noticed you were back in the forum, so I stayed on just in case you needed some info that I could only give with the system in front of me.
The FMs are virgin, or at least 2 & 3 were, so they had both the SF and MMC fault LEDs on before I started. FM1 I had loaded before, with the demo program that comes with the FM S/W. I can't remember exactly but I assume the SF fault would have been on there as well, because I didn't muck about with the standard paramerization so I would assume there was a fault because I had no 24V on the IO.
I don't know how the communications were handled on the other 352s. In the 352-5 you have to create two DBs exactly 14 Bytes long, called CPU_In and CPU_Out, which then map to these addresses in the declaration table of the FM. These are NOT the same as the IDB and you can assign the Bytes and Bits any way you like. It's quite well covered in the handbook, which I put link to earlier on in this thread. The description is in Chapter 6.2.
As far as writing to the variables is concerned, I haven't tried anything there, but when you make the call to the FB, part of the info you have to pass over is the address (as shown in HW-Config) and the DB-numbers for the IDB and the CPU_In and _Out DBs, so I would think that aspect ought to be fairly well covered.
I'm off back to my digs now, because my wife will be expecting a phone call in about half an hour. I'll have a look in from there later on.
Cheers
Roy
Last edited: