XTWIDOS.tlk Driver Reference
Schneider Electric Telemecanique Twido PLC Serial Driver
This driver requires that you have TAS-HMITalk 8.04 installed.
XTWIDOS driver allows you to connect to Schneider Electric TWIDO PLCs using the Modbus RTU protocol through the TWIDO serial port.
This driver supports RS485 networking to connect multiple slave devices to a single computer running the TAS-HMITalk application.
This driver supports to communicate to the PLC serial port in an ethernet-to-serial configuration and can connect to a serial server such as Moxa or Exemys directly, without needing to install a COM port redirector or creating a virtual COM port.
The Twido port must be configured for Modbus. If using Port 1 of the Twido, the DPT signal must be tied to signal ground.
REGISTER TYPES SUPPORTED:
- %MW
- %M
SERIAL COMMUNICATION SETTINGS:
- Serial port I/F: RS232, RS485
- Data Bits: 7 or 8 (Must match the pc's port setting)
- Stop Bits: 1 or 2 (Must match the pc's port setting)
- Baud Rate: 9600,19200,38400,57600,115200 (Must match the pc's port setting)
- Parity: Even, Odd, None (Must match the pc's port setting)
- PLC station No.: 0-255 (Working as a slave device)
- PLC time out: 1500 to 5000 ms (adjust if longer timeout is required)
Programmable Logic Controllers
SCHNEIDER ELECTRIC TELEMECANIQUE TWIDO PLC
Read multiple %MW as unsigned words
Write multiple %MW as unsigned words
Read multiple %MW as signed integers
Write multiple %MW as signed integers
COMMAND DESCRIPTION:
Obtains the current status (ON=1/OFF=0) in a group of consecutive %M.
Use DriverNumPoints to specify the number of consecutive %M to be read.
Use DriverP0 to specify the PLC station number in the RS485 network.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Digital Input
HMITalk1.DriverNumPoints = 1-1000
HMITalk1.DriverP0 = Station number (0-255)
HMITalk1.DriverP1 = Must be set to 1
HMITalk1.DriverP2 = Indicates the first %M address to be read (%M0=0)
RETURNS:
- HMITalk1.PointValue(0) = First %M status (0=OFF, 1=ON)
- HMITalk1.PointValue(1) = Second %M status (0=OFF, 1=ON)
...
- HMITalk1.PointValue(n-1) = Last %M status (0=OFF, 1=ON)
COMMAND DESCRIPTION:
Writes a single %M.
Use DriverP0 to specify the PLC station number in the RS485 network.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Digital Output
HMITalk1.DriverNumPoints = 1
HMITalk1.DriverP0 = Station Number (0-255).
If the station number is 0, the command is sent as a broadcast
message and no response is expected.
HMITalk1.DriverP1 = Must be set to 5
HMITalk1.DriverP2 = Indicates the %M address to be written (%M0=0).
WHERE:
- HMITalk1.PointValue(0) = New %M status (0=OFF, 1=ON)
COMMAND DESCRIPTION:
Writes a series of consecutive %M.
Use DriverNumPoints to specify the number of %M to be written.
Use DriverP0 to specify the PLC station number in the RS485 network.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Digital Output
HMITalk1.DriverNumPoints = 1-1000 (It is convenient that this number is a multiple of 8)
HMITalk1.DriverP0 = Station Number (0-255).
If the station number is 0, the command is sent as a broadcast
message and no response is expected.
HMITalk1.DriverP1 = Must be set to 15
HMITalk1.DriverP2 = Indicates the first %M address to be written (%M0=0).
WHERE:
- HMITalk1.PointValue(0) = New status for first %M (0=OFF, 1=ON)
- HMITalk1.PointValue(1) = New status for second %M (0=OFF, 1=ON)
...
- HMITalk1.PointValue(n-1) = New status for last %M (0=OFF, 1=ON)
COMMAND DESCRIPTION:
Obtains the current values in a group of consecutive registers of type %MW, returning the values as unsigned words ranging from 0 to 65535.
Use DriverNumPoints to specify the number of %MW registers to be read.
Use DriverP0 to specify the PLC station number in the RS485 network.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Input
HMITalk1.DriverNumPoints = 1-125
HMITalk1.DriverP0 = Station number (0-255)
HMITalk1.DriverP1 = Must be set to 3
HMITalk1.DriverP2 = Indicates the first %MW register address to be read (%MW0=0).
RETURNS:
- HMITalk1.PointValue(0) = First %MW register value (0 to 65535)
- HMITalk1.PointValue(1) = Second %MW register value (0 to 65535)
...
- HMITalk1.PointValue(n-1) = Last %MW register value (0 to 65535)
COMMAND DESCRIPTION:
Writes values to a group of consecutive registers of type %MW, treating the values as unsigned words ranging from 0 to 65535.
Use DriverNumPoints to specify the number of %MW registers to be written.
Use DriverP0 to specify the PLC station number in the RS485 network.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Output
HMITalk1.DriverNumPoints = 1-125
HMITalk1.DriverP0 = Station number (0-255)
If the station number is 0, the command is sent as a broadcast
message and no response is expected.
HMITalk1.DriverP1 = Must be set to 16
HMITalk1.DriverP2 = Indicates the first %MW register address to be written (%MW0=0)
- Use 40001 for %MW0
- Use 40002 for %MW1
...
- Use 40256 for %MW255
RETURNS:
- HMITalk1.PointValue(0) = First %MW register value (0 to 65535)
- HMITalk1.PointValue(1) = Second %MW register value (0 to 65535)
...
- HMITalk1.PointValue(n-1) = Last %MW register value (0 to 65535)
COMMAND DESCRIPTION:
Obtains the current values in a group of consecutive registers of type %MW, returning the values as unsigned words ranging from -32768 to 32767.
Use DriverNumPoints to specify the number of %MW registers to be read.
Use DriverP0 to specify the PLC station number in the RS485 network.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Input
HMITalk1.DriverNumPoints = 1-125
HMITalk1.DriverP0 = Station number (0-255)
HMITalk1.DriverP1 = Must be set to 74
HMITalk1.DriverP2 = Indicates the first %MW register address to be read (%MW0=0)
RETURNS:
- HMITalk1.PointValue(0) = First %MW register value (-32768 to 32767)
- HMITalk1.PointValue(1) = Second %MW register value (-32768 to 32767)
...
- HMITalk1.PointValue(n-1) = Last %MW register value (-32768 to 32767)
COMMAND DESCRIPTION:
Writes values to a group of consecutive registers of type %MW, treating the values as unsigned words ranging from -32768 to 32767.
Use DriverNumPoints to specify the number of %MW registers to be written.
Use DriverP0 to specify the PLC station number in the RS485 network.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Output
HMITalk1.DriverNumPoints = 1-125
HMITalk1.DriverP0 = Station number (0-255)
If the station number is 0, the command is sent as a broadcast
message and no response is expected.
HMITalk1.DriverP1 = Must be set to 78
HMITalk1.DriverP2 = Indicates the first %MW register address to be written (%MW0=0)
RETURNS:
- HMITalk1.PointValue(0) = First %MW register value (-32768 to 32767)
- HMITalk1.PointValue(1) = Second %MW register value (-32768 to 32767)
...
- HMITalk1.PointValue(n-1) = Last %MW register value (-32768 to 32767)
[1005] DRIVER (Internal): Invalid driver stage
[1300] PROTOCOL (Timeout): No answer
This driver requires that you have TAS-HMITalk 8.04 installed.
Driver Source Code Last Update: 10/30/2008 12:28:28
Driver Reference Last Update: 05/14/2009 21:34:32
© 1990-2009, CPKSoft Engineering. All rights reserved.