![]() ![]() Connect a suitable storage area to the BUFFER input (this would normally be a shared DB). Configure the block as instructed in the S7-1200 system manual. Now any data that is type on the PC keyboard will be placed in the storage area supplied at the BUFFER input.Ħ) To send data from the CM 1214 you will need to use the SEND_PTP block. This will indicate that the serial port on the CM 1241 has been configured.Ģ) Configure hyperterminal to the same serial setup.ģ) Connect the PC to the CM 1241 using a suitable cable (transmit and receive lines should be crossed and ground connected to ground).Ĥ) Call up the CM 1214 from within hyperterminal.ĥ) To receive data on the CM 1214 you will need to use the RCV_PTP block. You will need to set REQ high and wait for DONE to be set true and STATUS = 0. I suggest that you use 9600 baud, 8 data bits, 1 stop bit and no parity, and no flow control. 1) You will need to use the PORT_CFG block to setup the serial parameters.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |