XChip - User Guide
Page 3
.... Added XChip Direct information. Revision History Date 1/07 Rev. Updated common settings for RS485. Updated Web Manager and DeviceInstaller content. A Firmware 5/07 B 8/07 C 11/03 C Comments Initial release Added information about product support for all models. Added XPort-485 functionality. removed XPort-01 references. 6/10 L 6.7 Minor technical corrections, Lantronix address updated; XPort User Guide 3 Revised...
.... Added XChip Direct information. Revision History Date 1/07 Rev. Updated common settings for RS485. Updated Web Manager and DeviceInstaller content. A Firmware 5/07 B 8/07 C 11/03 C Comments Initial release Added information about product support for all models. Added XPort-485 functionality. removed XPort-01 references. 6/10 L 6.7 Minor technical corrections, Lantronix address updated; XPort User Guide 3 Revised...
XChip - User Guide
Page 23
4: Configuration Using Web Manager Ethernet Configuration You must specify the speed and direction of data transmission. This is Full. 3. XPort User Guide 23 The default is the default. When you are finished, click the OK button. 4. Enter the following (as necessary): Auto Negotiate... option, the Ethernet port auto-negotiates the speed and duplex with the hardware endpoint to which it is 100 Mbps. Duplex: The direction of data transmission. On the main menu, click Apply Settings. To specify how data will be transmitted: 1. On the main menu, click Network. 2....
4: Configuration Using Web Manager Ethernet Configuration You must specify the speed and direction of data transmission. This is Full. 3. XPort User Guide 23 The default is the default. When you are finished, click the OK button. 4. Enter the following (as necessary): Auto Negotiate... option, the Ethernet port auto-negotiates the speed and duplex with the hardware endpoint to which it is 100 Mbps. Duplex: The direction of data transmission. On the main menu, click Apply Settings. To specify how data will be transmitted: 1. On the main menu, click Network. 2....
XChip - User Guide
Page 30
...field is not available when a password is set to disable Active Connect. Indicates the on-screen response type when in this field. XPort User Guide 30 Connect Mode: Passive Connection Accept Incoming Required Password Select Yes to Yes, enter the password for passive connections. If ...drop-down menu, select TCP. The range of auto-incremented port numbers is carriage return. Manual Connection: Attempts to connect when directed by a command string received from the serial port. Connect Mode: Active Connection Active Connect Select None to With Start Character, enter the...
...field is not available when a password is set to disable Active Connect. Indicates the on-screen response type when in this field. XPort User Guide 30 Connect Mode: Passive Connection Accept Incoming Required Password Select Yes to Yes, enter the password for passive connections. If ...drop-down menu, select TCP. The range of auto-incremented port numbers is carriage return. Manual Connection: Attempts to connect when directed by a command string received from the serial port. Connect Mode: Active Connection Active Connect Select None to With Start Character, enter the...
XChip - User Guide
Page 32
The default setting is 00. XPort User Guide 32 Select Yes to accept incoming UDP datagrams. Endpoint Configuration Local Port Remote Port Enter the local port number. Enter 01 for the selected channel displays. 2. The Connection Settings window for directed or broadcast UDP. Datagram Mode Datagram Type Accept Incoming Configures the remote IP...
The default setting is 00. XPort User Guide 32 Select Yes to accept incoming UDP datagrams. Endpoint Configuration Local Port Remote Port Enter the local port number. Enter 01 for the selected channel displays. 2. The Connection Settings window for directed or broadcast UDP. Datagram Mode Datagram Type Accept Incoming Configures the remote IP...
XChip - User Guide
Page 33
...device servers. Enter values between 1 and 255 to broadcast the UDP datagram. Optionally, use . 3. To configure the XPort's email settings: 1. Note: Lantronix Tech Support supports Datagram type 01. Datagram Type FD is independent of the others. There are three separate triggers, based..., click Apply Settings. Configure the following fields: Server IP Address Enter the IP address of the configurable pins selected as subnet-directed broadcasts. On the main menu, select Email. The table is enabled when Datagram Type is not to initiate a trigger. Each...
...device servers. Enter values between 1 and 255 to broadcast the UDP datagram. Optionally, use . 3. To configure the XPort's email settings: 1. Note: Lantronix Tech Support supports Datagram type 01. Datagram Type FD is independent of the others. There are three separate triggers, based..., click Apply Settings. Configure the following fields: Server IP Address Enter the IP address of the configurable pins selected as subnet-directed broadcasts. On the main menu, select Email. The table is enabled when Datagram Type is not to initiate a trigger. Each...
XChip - User Guide
Page 35
.... On the main menu, click Apply Settings. Figure 4-11. Select the data size prompting the trigger. Priority The priority level for the XPort to the recipient(s) when a single trigger event remains active. 3. Configurable Pin Settings There are finished, click the OK button. 4. The ...for the email. On the main menu, click Configurable Pins. Repeat for each pin, configure the pin function, communication direction, and activity level. For the XPort, there is ignored. Enter the data, which a new email message is sent to send an email notification. Re-notification...
.... On the main menu, click Apply Settings. Figure 4-11. Select the data size prompting the trigger. Priority The priority level for the XPort to the recipient(s) when a single trigger event remains active. 3. Configurable Pin Settings There are finished, click the OK button. 4. The ...for the email. On the main menu, click Configurable Pins. Repeat for each pin, configure the pin function, communication direction, and activity level. For the XPort, there is ignored. Enter the data, which a new email message is sent to send an email notification. Re-notification...
XChip - User Guide
Page 36
... when status LED 3 is established on the connection with hardware handshaking. RS485 Tx Enable Allows for control of channel 1. Apply Settings 1. XPort User Guide 36 HW Flow Control Out Allows for flow control on the device. Status LED 3 Indicates errors and configurations. To save and... Select whether the pin functions as an input or output. Clicking the OK button tells the XPort what changes to the default settings. 4: Configuration Using Web Manager Function Direction Active Level From the drop-down menu, select the purpose of the CPs for the RS485 ...
... when status LED 3 is established on the connection with hardware handshaking. RS485 Tx Enable Allows for control of channel 1. Apply Settings 1. XPort User Guide 36 HW Flow Control Out Allows for flow control on the device. Status LED 3 Indicates errors and configurations. To save and... Select whether the pin functions as an input or output. Clicking the OK button tells the XPort what changes to the default settings. 4: Configuration Using Web Manager Function Direction Active Level From the drop-down menu, select the purpose of the CPs for the RS485 ...
XChip - User Guide
Page 47
... c) Active Startup No active startup With any character With active Modem Control In With a specific start character Manual connection Autostart Hostlist d) Datagram Type Directed UDP e) Modem Mode No Echo Data Echo & Modem Response (Numeric) Data Echo & Modem Response (Verbose) Modem Response Only (Numeric) Modem Response Only...1 0 0 0 1 0 1 0 0 1 0 1 1 0 0 0 0 0 1 0 1 0 01 0 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 XPort User Guide 47 Table 7-7. Note: All bit positions in hexadecimal notation. ConnectMode (C0) ? _ Enter Connect Mode options in the table that are blank represent "don't ...
... c) Active Startup No active startup With any character With active Modem Control In With a specific start character Manual connection Autostart Hostlist d) Datagram Type Directed UDP e) Modem Mode No Echo Data Echo & Modem Response (Numeric) Data Echo & Modem Response (Verbose) Modem Response Only (Numeric) Modem Response Only...1 0 0 0 1 0 1 0 0 1 0 1 1 0 0 0 0 0 1 0 1 0 01 0 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 XPort User Guide 47 Table 7-7. Note: All bit positions in hexadecimal notation. ConnectMode (C0) ? _ Enter Connect Mode options in the table that are blank represent "don't ...
XChip - User Guide
Page 49
.../80 Tries to connect to the Lantronix web server if the (www.lantronix.com) is interpreted as the host name and domain to be either a forward slash (/) or a colon ( : ). 7: Setup Mode: Channel Configuration Manual Connection Attempts to connect when directed by a forward slash (ASCII 0x2F). If present, ...port number as a decimal number in the range 1-65535, and must be C3/7. (This would be in the unit is 1234 Complete override; XPort User Guide 49 If the IP address entered is interpreted to be in a command string, it is 0.0.0.0/0, the device server enters Monitor Mode. If...
.../80 Tries to connect to the Lantronix web server if the (www.lantronix.com) is interpreted as the host name and domain to be either a forward slash (/) or a colon ( : ). 7: Setup Mode: Channel Configuration Manual Connection Attempts to connect when directed by a forward slash (ASCII 0x2F). If present, ...port number as a decimal number in the range 1-65535, and must be C3/7. (This would be in the unit is 1234 Complete override; XPort User Guide 49 If the IP address entered is interpreted to be in a command string, it is 0.0.0.0/0, the device server enters Monitor Mode. If...
XChip - User Guide
Page 51
... necessary to the commands received (or displaying what was typed). d) Datagram Type Directed UDP When selecting this option, you are prompted for each connection. Modem Mode ... a command with a numeric response. For Retrytimeout, enter the number of times the Lantronix unit should wait before failing an attempted connection. The default is transferred. Full Verbose:...machine, accumulating phone charges for the Datagram type. 7: Setup Mode: Channel Configuration 3. XPort User Guide 51 A user must dial from the local PC to a command with numeric...
... necessary to the commands received (or displaying what was typed). d) Datagram Type Directed UDP When selecting this option, you are prompted for each connection. Modem Mode ... a command with a numeric response. For Retrytimeout, enter the number of times the Lantronix unit should wait before failing an attempted connection. The default is transferred. Full Verbose:...machine, accumulating phone charges for the Datagram type. 7: Setup Mode: Channel Configuration 3. XPort User Guide 51 A user must dial from the local PC to a command with numeric...
XChip - User Guide
Page 70
... through 77FE, for data transfer, the throughput is not very fast. This chapter describes how the directions, active levels, and states can be configured through special port 77F0. XPort User Guide 70 You can set the functions for future products. Function configuration can be retrieved... 77F0 can be used. The protocol supports up to 32 GPIO for the three pins independently and in any combination. The initial directions (input/output) and active levels (active low or high) at boot up to LED, using DeviceInstaller. Every change of state (active/inactive)...
... through 77FE, for data transfer, the throughput is not very fast. This chapter describes how the directions, active levels, and states can be configured through special port 77F0. XPort User Guide 70 You can set the functions for future products. Function configuration can be retrieved... 77F0 can be used. The protocol supports up to 32 GPIO for the three pins independently and in any combination. The initial directions (input/output) and active levels (active low or high) at boot up to LED, using DeviceInstaller. Every change of state (active/inactive)...
XChip - User Guide
Page 71
... byte and two parameters of up to PC. The parameters are ignored. Commands Byte 0 Command Types 10h Get functions 11h Get directions (input or output) 12h Get active levels (high active or low active) 13h Get current states (active or not active) 19h Set...proprietary protocol. How many are lost when the unit is returned. Parameter 1 Parameter 2 1 2 3 4 5 6 7 8 On some commands, one byte with GPIO0 in which the XPort is embedded, that configuration is no Set functions command. In case of an invalid command, only one or all parameters are four bytes long and...
... byte and two parameters of up to PC. The parameters are ignored. Commands Byte 0 Command Types 10h Get functions 11h Get directions (input or output) 12h Get active levels (high active or low active) 13h Get current states (active or not active) 19h Set...proprietary protocol. How many are lost when the unit is returned. Parameter 1 Parameter 2 1 2 3 4 5 6 7 8 On some commands, one byte with GPIO0 in which the XPort is embedded, that configuration is no Set functions command. In case of an invalid command, only one or all parameters are four bytes long and...
XChip - User Guide
Page 72
XPort User Guide 72 9: GPIO Interface Command 10h, Get Functions Send: No parameters Response: 1 parameter Bytes 1-4: Functions Bit X 1 means general purpose I/O available to the user. 0 means dedicated function (e.g., serial flow control, diagnostics) for configurable pin X. Command 11h, Get Directions Send: No parameters Response: 1 parameter Bytes 1-4: Directions Bit X 1 means GPIO X is an output. 0 means it...
XPort User Guide 72 9: GPIO Interface Command 10h, Get Functions Send: No parameters Response: 1 parameter Bytes 1-4: Functions Bit X 1 means general purpose I/O available to the user. 0 means dedicated function (e.g., serial flow control, diagnostics) for configurable pin X. Command 11h, Get Directions Send: No parameters Response: 1 parameter Bytes 1-4: Directions Bit X 1 means GPIO X is an output. 0 means it...
XChip - User Guide
Page 73
Bytes 5-8: New Active Levels Bit X 1 means GPIO X will become active high. Response: 1 parameter Bytes 1-4: Updated states XPort User Guide 73 Response: 1 parameter Bytes 1-4: Updated active levels Command 1Bh, Set States Send: 2 parameters Bytes 1-4: Mask Bit X 1 means ...with the value in the second parameter. 0 means the active type for that GPIO will become active low. 0 means it will not change. Bytes 5-8: New Directions Bit X 1 means GPIO X will become an output. 0 means it will become inactive. Bytes 5-8: New States Bit X 1 means GPIO X will become ...
Bytes 5-8: New Active Levels Bit X 1 means GPIO X will become active high. Response: 1 parameter Bytes 1-4: Updated states XPort User Guide 73 Response: 1 parameter Bytes 1-4: Updated active levels Command 1Bh, Set States Send: 2 parameters Bytes 1-4: Mask Bit X 1 means ...with the value in the second parameter. 0 means the active type for that GPIO will become active low. 0 means it will not change. Bytes 5-8: New Directions Bit X 1 means GPIO X will become an output. 0 means it will become inactive. Bytes 5-8: New States Bit X 1 means GPIO X will become ...
APS: Modbus Protocol User Guide
Page 8
... E can also act as a master and poll data from controller F, which can function concurrently as a master to write alarm data directly up to eight concurrent Modbus masters to share access to -point electrical interface like RS232. Modbus/TCP Master Talking to the alarm condition....can actively share access to traditional Modbus/RTU serial devices. Modbus master devices are the "Human-Machine-Interface" (HMI) computers, which the Lantronix IAP Device Servers extend to slave device D. Device D uses a point-to the slaves. 2: Modbus Modbus master devices generally are higher-...
... E can also act as a master and poll data from controller F, which can function concurrently as a master to write alarm data directly up to eight concurrent Modbus masters to share access to -point electrical interface like RS232. Modbus/TCP Master Talking to the alarm condition....can actively share access to traditional Modbus/RTU serial devices. Modbus master devices are the "Human-Machine-Interface" (HMI) computers, which the Lantronix IAP Device Servers extend to slave device D. Device D uses a point-to the slaves. 2: Modbus Modbus master devices generally are higher-...
APS: Modbus Protocol User Guide
Page 13
... is an output. Examples are valid with printers. Interface Type (1=RS232 2=RS422/RS485+4-wire 3=RS485+2-wire) This allows the IAP Device Server to deal with a direct RS232 cable, as each end only asserts its RTS control signal to support this is set an unsupported combination of RTS (0-1275 ms, 5ms increments...
... is an output. Examples are valid with printers. Interface Type (1=RS232 2=RS422/RS485+4-wire 3=RS485+2-wire) This allows the IAP Device Server to deal with a direct RS232 cable, as each end only asserts its RTS control signal to support this is set an unsupported combination of RTS (0-1275 ms, 5ms increments...
APS: Modbus Protocol User Guide
Page 14
... UNAVAILABLE) a "hard" error where a retry is used if the Modbus/TCP "Unit ID" is attached. it answers timeouts, unconfigured slave addresses, and CRC errors with direct serial lines, it will return the Modbus exception response 0x0B (hex) to return 1 of 0 really means Modbus slave address 1.
... UNAVAILABLE) a "hard" error where a retry is used if the Modbus/TCP "Unit ID" is attached. it answers timeouts, unconfigured slave addresses, and CRC errors with direct serial lines, it will return the Modbus exception response 0x0B (hex) to return 1 of 0 really means Modbus slave address 1.
APS: Modbus Protocol User Guide
Page 20
...the red LED, and you will not be able to non-IAP Lantronix Device Servers, they will see the DeviceInstaller Online Help. It can do it serially with HyperTerminal or directly by Lantronix that firmware not supported." much faster than the 5-plus minutes required serially.... And although you can download any industrial firmware to download a standard Lantronix firmware (such as the standard "3Q" or the older ...
...the red LED, and you will not be able to non-IAP Lantronix Device Servers, they will see the DeviceInstaller Online Help. It can do it serially with HyperTerminal or directly by Lantronix that firmware not supported." much faster than the 5-plus minutes required serially.... And although you can download any industrial firmware to download a standard Lantronix firmware (such as the standard "3Q" or the older ...
APS: Modbus Protocol User Guide
Page 23
Other commands or unmatched addressing are used to direct Read Coil Status, Read Input Status, Force Single Coil and Force Multiple Coils Modbus commands to the serial port. The Modbus slave address and starting offset parameters are directed to the WiPort's GPIO. 5: WiPort and WiBox Implementation Two new parameters were added under the menu option Advanced Modbus Protocol Settings on WiPort. Local slave address for GPIO (0 to disable, or 1..255) (0) ? 3 Starting offset (0x/1x0001..9999) (1) 100 Modbus Protocol User Guide 23
Other commands or unmatched addressing are used to direct Read Coil Status, Read Input Status, Force Single Coil and Force Multiple Coils Modbus commands to the serial port. The Modbus slave address and starting offset parameters are directed to the WiPort's GPIO. 5: WiPort and WiBox Implementation Two new parameters were added under the menu option Advanced Modbus Protocol Settings on WiPort. Local slave address for GPIO (0 to disable, or 1..255) (0) ? 3 Starting offset (0x/1x0001..9999) (1) 100 Modbus Protocol User Guide 23
APS: Modbus Protocol User Guide
Page 29
... and the system dynamics of queuing systems between your pinout is correct. Ideally, you should have the ability to poll any faster than direct download by a direct serial link. First, remember that the serial speed (or baud rate) consumes the largest amount of these delays: a. Delay for master/client to poll...
... and the system dynamics of queuing systems between your pinout is correct. Ideally, you should have the ability to poll any faster than direct download by a direct serial link. First, remember that the serial speed (or baud rate) consumes the largest amount of these delays: a. Delay for master/client to poll...