danghuyhoang
Member
Dir sir!
I am using citect scada v5.50 and S7-200,cpu 215.Via PC/ppi cable ,i want to use citect to control that PLC,do i use freeport mode in plc?
Do I have used the freeport mode to talk to PLC, sending data information and receiving PLC status?
The sequence is something like this, (choose the SM locations to suit your port).
On first scan,
Initialise the Freeport Mode
Initialise the RCV Message Control Byte (Port, BAUD, Parity etc.)
Set the End of Message Character (try 16#0a - Line feed)
Set an Idle time-out (Try 5mS)
Set the maximum message length
Attach an interrupt to the receive complete event
Enable interrupts
Enable a RCV command on the port and specify your data buffer.
Thanks!
I am using citect scada v5.50 and S7-200,cpu 215.Via PC/ppi cable ,i want to use citect to control that PLC,do i use freeport mode in plc?
Do I have used the freeport mode to talk to PLC, sending data information and receiving PLC status?
The sequence is something like this, (choose the SM locations to suit your port).
On first scan,
Initialise the Freeport Mode
Initialise the RCV Message Control Byte (Port, BAUD, Parity etc.)
Set the End of Message Character (try 16#0a - Line feed)
Set an Idle time-out (Try 5mS)
Set the maximum message length
Attach an interrupt to the receive complete event
Enable interrupts
Enable a RCV command on the port and specify your data buffer.
Thanks!