Erik van Leeuwen
Member
Hello guys,
I want to read a S7-226 with use of the "X Get" (SFC67) command in Step 7(V5.2) from a CPU313C. I use a PG 720 II from siemens (MPI-connection)
I have read the manuals, but cannot find the right solution.
This is what I did:
I connect the MPI cables parallel to each other.
Properties CPU313C:
MPI, Adress 2, Networked: yes, 187.5 kbps.
Communications setup S7-226:
CP5611 (MPI), remote adress = 4, MPI, 187.5 kbps, mode 11bit.
In Step 7 accessible nodes shows:
- "MPI=2" (+ shows blocks)
- "MPI=4 (passive)" (+ shows blocks)
In OB1 I call FC3 (LAD),in the first line is the X GET-command:
Req in=I124.0=1, Cont=I124.1=1, Dest Id=W#16#4, Var_addr=I0.0, Ret val=MW1002, Busy= M10.0=changing between 0 and 1, RD= Q124.0
Ret Val and RD doesn't show any value during Monitoring.
The CPU313C and CPU226 can be monitored from the PG.
Can anyone confirm which settings are OK, and what not.
How to be shure that the 226CPU is a Slave?
I really hope somebody can help me with this.
Erik
I want to read a S7-226 with use of the "X Get" (SFC67) command in Step 7(V5.2) from a CPU313C. I use a PG 720 II from siemens (MPI-connection)
I have read the manuals, but cannot find the right solution.
This is what I did:
I connect the MPI cables parallel to each other.
Properties CPU313C:
MPI, Adress 2, Networked: yes, 187.5 kbps.
Communications setup S7-226:
CP5611 (MPI), remote adress = 4, MPI, 187.5 kbps, mode 11bit.
In Step 7 accessible nodes shows:
- "MPI=2" (+ shows blocks)
- "MPI=4 (passive)" (+ shows blocks)
In OB1 I call FC3 (LAD),in the first line is the X GET-command:
Req in=I124.0=1, Cont=I124.1=1, Dest Id=W#16#4, Var_addr=I0.0, Ret val=MW1002, Busy= M10.0=changing between 0 and 1, RD= Q124.0
Ret Val and RD doesn't show any value during Monitoring.
The CPU313C and CPU226 can be monitored from the PG.
Can anyone confirm which settings are OK, and what not.
How to be shure that the 226CPU is a Slave?
I really hope somebody can help me with this.
Erik