XIDECONC.tlk Driver Reference
Idec Open Net Controller Protocol Driver
This driver requires that you have TAS-HMITalk 8.04 installed.
XIDECONC driver was designed to support the IDEC OpenNet controllers.
This driver is a modified version of the XIDECM3 driver originally
developed by Carlos Perez Kuper that has been adapted by
Mr. Jaime Valtierra Franchini from Main Ingenieros Ltda., Chile,
to support the IDEC OpenNet Controller Communication Protocol.
Programmable Logic Controllers
IDEC OpenNet Controllers.
Read Internal Relays Status (M)
Read Shift Registers Status (R)
Read Counter Preset Values (C)
Read Counter Current Values (c)
Write Inputs Status (X) bit mode
Write Outputs Status (Y) bit mode
Write Internal Relays Status (M) bit mode
Write Link Relays Status (O) bit mode
Write Shift Registers Status (R)
Write Counter Preset Values (C)
Write Data Register Values (D)
Write Internal Relay Values (M)
COMMAND DESCRIPTION:
This command is used to read the current status of digital inputs.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Digital Input
HMITalk1.DriverNumPoints = 1-480
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 1
HMITalk1.DriverP2 = Indicates the first input to be read (0-597).
HMITalk1.DriverP3 = Indicates if a line feed (0x0A) must be added to the telegrams (0=No, 1=Yes).
RETURNS:
- HMITalk1.PointValue(0) = First value read
- HMITalk1.PointValue(1) = Second value read
- HMITalk1.PointValue(2) = Third value read
...
- HMITalk1.PointValue(n-1) = Last value read
COMMAND DESCRIPTION:
This command is used to read the current status of digital outputs.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Digital Input
HMITalk1.DriverNumPoints = 1-480
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 2
HMITalk1.DriverP2 = Indicates the first output to be read (0-597).
HMITalk1.DriverP3 = Indicates if a line feed (0x0A) must be added to the telegrams (0=No, 1=Yes).
RETURNS:
- HMITalk1.PointValue(0) = First value read
- HMITalk1.PointValue(1) = Second value read
- HMITalk1.PointValue(2) = Third value read
...
- HMITalk1.PointValue(n-1) = Last value read
COMMAND DESCRIPTION:
This command is used to read the current status of internal relays.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Digital Input
HMITalk1.DriverNumPoints = 1-1000
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 3
HMITalk1.DriverP2 = Indicates the first internal relay to be read (0-2557 or 8000-8237).
HMITalk1.DriverP3 = Indicates if a line feed (0x0A) must be added to the telegrams (0=No, 1=Yes).
RETURNS:
- HMITalk1.PointValue(0) = First value read
- HMITalk1.PointValue(1) = Second value read
- HMITalk1.PointValue(2) = Third value read
...
- HMITalk1.PointValue(n-1) = Last value read
COMMAND DESCRIPTION:
This command is used to read the current status of internal relays.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Digital Input
HMITalk1.DriverNumPoints = 1-1000
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 4
HMITalk1.DriverP2 = Indicates the first internal relay to be read (0-8477).
HMITalk1.DriverP3 = Indicates if a line feed (0x0A) must be added to the telegrams (0=No, 1=Yes).
RETURNS:
- HMITalk1.PointValue(0) = First value read
- HMITalk1.PointValue(1) = Second value read
- HMITalk1.PointValue(2) = Third value read
...
- HMITalk1.PointValue(n-1) = Last value read
COMMAND DESCRIPTION:
This command is used to read the current status of shift registers.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Digital Input
HMITalk1.DriverNumPoints = 1-256
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 5
HMITalk1.DriverP2 = Indicates the first shift register to be read (0-255).
HMITalk1.DriverP3 = Indicates if a line feed (0x0A) must be added to the telegrams (0=No, 1=Yes).
RETURNS:
- HMITalk1.PointValue(0) = First value read
- HMITalk1.PointValue(1) = Second value read
- HMITalk1.PointValue(2) = Third value read
...
- HMITalk1.PointValue(n-1) = Last value read
COMMAND DESCRIPTION:
This command is used to read the current values of timer presets.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Input
HMITalk1.DriverNumPoints = 1-100
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 10
HMITalk1.DriverP2 = Indicates the first timer preset value to be read (0-255).
HMITalk1.DriverP3 = Indicates if a line feed (0x0A) must be added to the telegrams (0=No, 1=Yes).
RETURNS:
- HMITalk1.PointValue(0) = First value read
- HMITalk1.PointValue(1) = Second value read
- HMITalk1.PointValue(2) = Third value read
...
- HMITalk1.PointValue(n-1) = Last value read
COMMAND DESCRIPTION:
This command is used to read the current values of timers.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Input
HMITalk1.DriverNumPoints = 1-100
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 11
HMITalk1.DriverP2 = Indicates the first timer preset value to be read (0-255).
HMITalk1.DriverP3 = Indicates if a line feed (0x0A) must be added to the telegrams (0=No, 1=Yes).
RETURNS:
- HMITalk1.PointValue(0) = First value read
- HMITalk1.PointValue(1) = Second value read
- HMITalk1.PointValue(2) = Third value read
...
- HMITalk1.PointValue(n-1) = Last value read
COMMAND DESCRIPTION:
This command is used to read the current values of counter presets.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Input
HMITalk1.DriverNumPoints = 1-100
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 12
HMITalk1.DriverP2 = Indicates the first counter preset value to be read (0-255).
RETURNS:
- HMITalk1.PointValue(0) = First value read
- HMITalk1.PointValue(1) = Second value read
- HMITalk1.PointValue(2) = Third value read
...
- HMITalk1.PointValue(n-1) = Last value read
COMMAND DESCRIPTION:
This command is used to read the current values of counters.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Input
HMITalk1.DriverNumPoints = 1-100
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 13
HMITalk1.DriverP2 = Indicates the first counter current value to be read (0-255).
HMITalk1.DriverP3 = Indicates if a line feed (0x0A) must be added to the telegrams (0=No, 1=Yes).
RETURNS:
- HMITalk1.PointValue(0) = First value read
- HMITalk1.PointValue(1) = Second value read
- HMITalk1.PointValue(2) = Third value read
...
- HMITalk1.PointValue(n-1) = Last value read
COMMAND DESCRIPTION:
This command is used to read the current values of data registers.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Input
HMITalk1.DriverNumPoints = 1-100
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 14
HMITalk1.DriverP2 = Indicates the first data register to be read (0-8999).
HMITalk1.DriverP3 = Indicates if a line feed (0x0A) must be added to the telegrams (0=No, 1=Yes).
RETURNS:
- HMITalk1.PointValue(0) = First value read
- HMITalk1.PointValue(1) = Second value read
- HMITalk1.PointValue(2) = Third value read
...
- HMITalk1.PointValue(n-1) = Last value read
COMMAND DESCRIPTION:
This command is used to read the calendar/clock information.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Input
HMITalk1.DriverNumPoints = 1-7
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 15
HMITalk1.DriverP2 = Indicates the first data register to be read (0-6).
HMITalk1.DriverP3 = Indicates if a line feed (0x0A) must be added to the telegrams (0=No, 1=Yes).
RETURNS:
- HMITalk1.PointValue(0) = Year
- HMITalk1.PointValue(1) = Month
- HMITalk1.PointValue(2) = Day
- HMITalk1.PointValue(3) = Day of Week
- HMITalk1.PointValue(4) = Hour
- HMITalk1.PointValue(5) = Minute
- HMITalk1.PointValue(6) = Second
COMMAND DESCRIPTION:
This command is used to modify the current status of digital inputs.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Digital Output
HMITalk1.DriverNumPoints = 1
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 1
HMITalk1.DriverP2 = Indicates the first input to be modified (0-255).
HMITalk1.DriverP3 = Indicates if a line feed (0x0A) must be added to the telegrams (0=No, 1=Yes).
WHERE:
- HMITalk1.PointValue(0) = First value to be sent to the PLC
- HMITalk1.PointValue(1) = Second value to be sent to the PLC
- HMITalk1.PointValue(2) = Third value to be sent to the PLC
...
- HMITalk1.PointValue(n-1) = Last value to be sent to the PLC
COMMAND DESCRIPTION:
This command is used to modify the current status of digital outputs.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Digital Output
HMITalk1.DriverNumPoints = 1
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 2
HMITalk1.DriverP2 = Indicates the first output to be modified (0-255).
HMITalk1.DriverP3 = Indicates if a line feed (0x0A) must be added to the telegrams (0=No, 1=Yes).
WHERE:
- HMITalk1.PointValue(0) = First value to be sent to the PLC
- HMITalk1.PointValue(1) = Second value to be sent to the PLC
- HMITalk1.PointValue(2) = Third value to be sent to the PLC
...
- HMITalk1.PointValue(n-1) = Last value to be sent to the PLC
COMMAND DESCRIPTION:
This command is used to modify the current status of internal relays.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Digital Output
HMITalk1.DriverNumPoints = 1
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 3
HMITalk1.DriverP2 = Indicates the first internal relay to be modified (0-2257 or 8000-8237).
HMITalk1.DriverP3 = Indicates if a line feed (0x0A) must be added to the telegrams (0=No, 1=Yes).
WHERE:
- HMITalk1.PointValue(0) = First value to be sent to the PLC
- HMITalk1.PointValue(1) = Second value to be sent to the PLC
- HMITalk1.PointValue(2) = Third value to be sent to the PLC
...
- HMITalk1.PointValue(n-1) = Last value to be sent to the PLC
COMMAND DESCRIPTION:
This command is used to modify the current status of link relays.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Digital Output
HMITalk1.DriverNumPoints = 1
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 3
HMITalk1.DriverP2 = Indicates the first internal relay to be modified (0-8477).
HMITalk1.DriverP3 = Indicates if a line feed (0x0A) must be added to the telegrams (0=No, 1=Yes).
WHERE:
- HMITalk1.PointValue(0) = First value to be sent to the PLC
- HMITalk1.PointValue(1) = Second value to be sent to the PLC
- HMITalk1.PointValue(2) = Third value to be sent to the PLC
...
- HMITalk1.PointValue(n-1) = Last value to be sent to the PLC
COMMAND DESCRIPTION:
This command is used to modify the current status of shift registers.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Digital Output
HMITalk1.DriverNumPoints = 1
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 82
HMITalk1.DriverP2 = Indicates the first shift register to be modified (0-255).
HMITalk1.DriverP3 = Indicates if a line feed (0x0A) must be added to the telegrams (0=No, 1=Yes).
WHERE:
- HMITalk1.PointValue(0) = First value to be sent to the PLC
- HMITalk1.PointValue(1) = Second value to be sent to the PLC
- HMITalk1.PointValue(2) = Third value to be sent to the PLC
...
- HMITalk1.PointValue(n-1) = Last value to be sent to the PLC
COMMAND DESCRIPTION:
This command is used to modify the current values of timer presets.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Output
HMITalk1.DriverNumPoints = 1-100
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 10
HMITalk1.DriverP2 = Indicates the first timer preset value to be modified (0-255).
HMITalk1.DriverP3 = Indicates if a line feed (0x0A) must be added to the telegrams (0=No, 1=Yes).
WHERE:
- HMITalk1.PointValue(0) = First value to be sent to the PLC
- HMITalk1.PointValue(1) = Second value to be sent to the PLC
- HMITalk1.PointValue(2) = Third value to be sent to the PLC
...
- HMITalk1.PointValue(n-1) = Last value to be sent to the PLC
COMMAND DESCRIPTION:
This command is used to modify the current values of counter presets.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Output
HMITalk1.DriverNumPoints = 1-100
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 12
HMITalk1.DriverP2 = Indicates the first counter preset value to be modified (0-255).
HMITalk1.DriverP3 = Indicates if a line feed (0x0A) must be added to the telegrams (0=No, 1=Yes).
WHERE:
- HMITalk1.PointValue(0) = First value to be sent to the PLC
- HMITalk1.PointValue(1) = Second value to be sent to the PLC
- HMITalk1.PointValue(2) = Third value to be sent to the PLC
...
- HMITalk1.PointValue(n-1) = Last value to be sent to the PLC
COMMAND DESCRIPTION:
This command is used to modify the current values of data registers.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Output
HMITalk1.DriverNumPoints = 1-100
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 14
HMITalk1.DriverP2 = Indicates the first data register to be modified (0-8999).
HMITalk1.DriverP3 = Indicates if a line feed (0x0A) must be added to the telegrams (0=No, 1=Yes).
WHERE:
- HMITalk1.PointValue(0) = First value to be sent to the PLC
- HMITalk1.PointValue(1) = Second value to be sent to the PLC
- HMITalk1.PointValue(2) = Third value to be sent to the PLC
...
- HMITalk1.PointValue(n-1) = Last value to be sent to the PLC
COMMAND DESCRIPTION:
This command is used to modify the calendar/clock information.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Output
HMITalk1.DriverNumPoints = 7
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 15
HMITalk1.DriverP2 = 0
HMITalk1.DriverP3 = Indicates if a line feed (0x0A) must be added to the telegrams (0=No, 1=Yes).
WHERE:
- HMITalk1.PointValue(0) = Year
- HMITalk1.PointValue(1) = Month
- HMITalk1.PointValue(2) = Day
- HMITalk1.PointValue(3) = Day of Week
- HMITalk1.PointValue(4) = Hour
- HMITalk1.PointValue(5) = Minute
- HMITalk1.PointValue(6) = Second
COMMAND DESCRIPTION:
This command is used to modify the current values of internal relays of type M.
PROPERTY SETTINGS REQUIRED:
HMITalk1.DriverDataType = Analog Output
HMITalk1.DriverNumPoints = 1-100
HMITalk1.DriverP0 = Device Number (0-31) (0=1:1)
HMITalk1.DriverP1 = 15
HMITalk1.DriverP2 = Indicates the first data register to be modified (0-2557 or 8000-8237).
HMITalk1.DriverP3 = Indicates if a line feed (0x0A) must be added to the telegrams (0=No, 1=Yes).
WHERE:
- HMITalk1.PointValue(0) = First value to be sent to the PLC
- HMITalk1.PointValue(1) = Second value to be sent to the PLC
- HMITalk1.PointValue(2) = Third value to be sent to the PLC
...
- HMITalk1.PointValue(n-1) = Last value to be sent to the PLC
[1005] DRIVER (Internal): Invalid driver stage
[1300] PROTOCOL (Timeout): No answer
[1421] PROTOCOL (Format): Negative acknowledge received from device
[1433] PROTOCOL (Format): Validation error in device response
[2175] CONFIG (NumValues): Too many values (max=1)
[2177] CONFIG (NumValues): Too many values (max=100)
[2178] CONFIG (NumValues): Too many values (max=1000)
[2204] CONFIG (NumValues): Too many values (max=256)
[2221] CONFIG (NumValues): Too many values (max=480)
[2232] CONFIG (NumValues): Too many values (max=7)
[3015] CONFIG (P0): Invalid device address (0-31)
[3508] CONFIG (P1): Invalid command
[4118] CONFIG (P2): Invalid value (0 to 255)
[4119] CONFIG (P2): Invalid value (0 to 597)
[4120] CONFIG (P2): Invalid value (0 to 8477)
[4121] CONFIG (P2): Invalid value (0-2557 8000-8237)
[4128] CONFIG (P2): Parameter out of octal range
[4129] CONFIG (P2): Value out of range (0 to 255)
[4566] CONFIG (P3): Invalid setting (0-1)
[8037] CONFIG (Remote): Calendar or clock data error
[8091] CONFIG (Remote): Data range error
This driver requires that you have TAS-HMITalk 8.04 installed.
Driver Source Code Last Update: 09/10/2009 13:00:24
Driver Reference Last Update: 09/10/2009 13:33:34
© 1990-2009, CPKSoft Engineering. All rights reserved.