skip to the main content area of this page
Driver Details

Download complete driver list...


 

XS5CP521: Siemens S5-90U/95U/100U With CP-521 Protocol Driver v10.0


XS5CP521: Siemens S5-90U/95U/100U With CP-521 Protocol Driver

General Information:


XS5CP521 driver allows you to connect to PLC SIMATIC series S5-90U, S5-95U and S5-100U, using the CP-521 communications processor. This driver supports both 3964 and 3964R protocols.

The data-messages format is a simplified version of that used by the RK-512 interpreter. Some user programming efforts are required to implement message-processing capabilities in the PLC according to the format used by this driver.



1) FETCH COMMAND (When the CP521 must send data to the PC)
(Handshake of 3964/3964R) STX (02h) -----------> (According to 3964/3964R) DLE (10h) <----------- (According to 3964/3964R)

(Telegram Header) COMMAND (00h o 01h) -----> (To be processed by the user-routine) DATABLOCK (00h a FFh) -----> (To be processed by the user-routine) DATABYTE/ DATAWORD (00h a FFh) -----> (To be processed by the user-routine) DATASIZE (00h a FFh) -----> (To be processed by the user-routine)

(Handshake of 3964/3964R) DLE (10h) -----------> (According to 3964/3964R) ETX (03h) -----------> (According to 3964/3964R) DLE (10h) <----------- (According to 3964/3964R) STX (02h) <----------- (According to 3964/3964R) DLE (10h) -----------> (According to 3964/3964R)

(Reply Telegram) CONTROL (00h always) <---- (Returned by the user-routine) ERRORCODE (00h a 30h) <----- (Returned by the user-routine) (The user should return ERRORCODE=00h to indicate the command has been executed successfully. Any other value will be assumed to be an error condition and will be reported as such. Even if an error must be reported, a full-length message must be returned with padding zeros if neccessary. In this situation, the values will be ignored and discarded.) DATA1 (xxh o xxxxh) <--- (Returned by the user-routine) DATA2 (xxh o xxxxh) <--- (Returned by the user-routine) DATA3 (xxh o xxxxh) <--- (Returned by the user-routine) . <--- . <--- . <--- DATAn (xxh o xxxxh) <--- (Returned by the user-routine)

(Handshake of 3964/3964R) DLE (10h) <----------- (According to 3964/3964R) ETX (03h) <----------- (According to 3964/3964R) DLE (10h) -----------> (According to 3964/3964R)

2) SEND COMMAND (When the CP521 receives data from the PC)
(Handshake of 3964/3964R) STX (02h) -----------> (According to 3964/3964R) DLE (10h) <----------- (According to 3964/3964R)

(Telegram Header) COMMAND (02h o 03h) -----> (To be processed by the user-routine) DATABLOCK (00h a FFh) -----> (To be processed by the user-routine) DATABYTE/ DATAWORD (00h a FFh) -----> (To be processed by the user-routine) DATASIZE (00h a FFh) -----> (To be processed by the user-routine) (Data) DATA1 (xxh o xxxxh) ---> (To be processed by the user-routine) DATA2 (xxh o xxxxh) ---> (To be processed by the user-routine) DATA3 (xxh o xxxxh) ---> (To be processed by the user-routine) . ---> . ---> . ---> DATAn (xxh o xxxxh) ---> (To be processed by the user-routine)

(Handshake of 3964/3964R) DLE (10h) -----------> (According to 3964/3964R) ETX (03h) -----------> (According to 3964/3964R) DLE (10h) <----------- (According to 3964/3964R) STX (02h) <----------- (According to 3964/3964R) DLE (10h) -----------> (According to 3964/3964R)

(Reply Telegram) CONTROL (00h always) <---- (Returned by the user-routine) ERRORCODE (00h a 30h) <----- (Returned by the user-routine) (The user should return ERRORCODE=00h to indicate the command has been executed successfully. Any other value will be assumed to be an error condition and will be reported as such).

(Handshake of 3964/3964R) DLE (10h) <----------- (According to 3964/3964R) ETX (03h) <----------- (According to 3964/3964R) DLE (10h) -----------> (According to 3964/3964R)

The user can program the PLC to inform the system of any error condition that could appear when processing the communications by returning an error code that will be then shown with the

following message in the HMITalk1.DriverStatus property:
PLC:Returned user error code #XX:
Where XX will be the error code and the meaning should be indicated by the programmer.


Available Commands:



Supported Devices:

(This list is only indicative and may exist other unlisted equipment that are also communicable with this driver).


This driver includes:



Available Downloads:



To purchase a license please contact Engineering CPKSoft to any of our contact options.
Return to All Drivers
Licenses

The licenses of all our drivers are unlimited in terms of the number of machines where they can be used, the number of I/O that can read or written, and the number of components that can be included in each application.

After purchasing a license, the owner can use the driver and all its components to assemble and distribute as many applications to as many users as needed.

The license owner retains full control of his applications by deciding himself what target machines can they be run at. For this, each driver is provided with two runtime license management tools: GetPCId.exe and MakeLic.exe.