Quick Start

On this page

What the driver does and what it does not

Test against your own PLC or robot before you rely on it. See the Installation chapter to install; for faults see “First checks when something does not work” at the end of this chapter.

Writes are not available in this version. The module only reads.

Licence: without a licence for this module the driver runs 2 devices while the gateway is in trial (on an activated gateway without a module licence, none). See the Compatibility chapter, Licensing.

The driver reads GE and Emerson PLCs (Series 90-30/90-70, VersaMax, RX3i, RX7i) and FANUC robots with the HMI Device (SNPX) option over SRTP, TCP port 18245. It reads only (see Writes). The driver can never start, stop, load or clear a program, change a controller setting or write to system memory.

Add a device

Gateway web page, Connections, SRTP, Devices. Press Add device +, fill in the fields and save. The device starts at once; no restart is needed.

Field Meaning
Name Device name and its tag folder under the SRTP provider
Enabled On starts the device when you save; off keeps it configured without a connection
Host, Port Address of the controller; port 18245
Profile ge-plc, or fanuc-robot (robot data is read from the SNPX assignments, which map robot variables to %R, %AI, %I)
CPU slot Stored, not sent in this version
Scan rate (ms) Time from the end of one scan to the start of the next, at least 50. The real period is this plus the time a scan takes
Timeout (ms) How long to wait for a connection or an answer before the connection is closed and opened again
Word order of 32-bit values Order of the two words of INT32, UINT32 and REAL. LOW_FIRST is the GE default
Bit access How %I, %Q, %M, %T, %SA, %S and %G are read, see below
Most words per request Longest single read, default 64
Tags The tag list, see below
SNPX assignment table (robot) Robot variables, see “FANUC robot” below

After a few seconds the device shows its state in the list. A device that connects shows Connected.

Tag list

One text field. Entries path=address:TYPE, separated by semicolons:

Line1/Count=%R100:INT32;Line1/Run=%I1:BOOL;Line1/Door=%R5.3:BOOL;Line1/Part=%R200:STRING[10]
  • Memory: %R, %AI, %AQ (words); %I, %Q, %T, %M, %SA, %S, %G (bits). %SB and %SC are refused. Addresses count from 1, as on the programming screen.
  • Types: BOOL, INT16, UINT16, INT32, UINT32, REAL, STRING[length]. %R5.3:BOOL is bit 3 (0 to 15) of word %R5. A STRING takes length characters, two per word, first character in the low byte.
  • A type other than BOOL on a bit area starts at address 1, 9, 17, and so on. Bit access BIT changes only how BOOL tags are read; other types on bit areas are always read as bytes.
  • A value may not run past the end of the address space (for example %R65536:INT32 is refused).
  • Limits: 60000 characters and 5000 tags, whichever is reached first (about 2500 typical entries).
  • The tag appears below the device folder with the type Boolean, Int4 (INT16, UINT16, INT32), Int8 (UINT32), Float8 (REAL) or String.
  • The page refuses a broken entry and names it. Ranges that touch are read in one request, up to the maximum per request; a gap is never read.

FANUC robot: SNPX assignment table

On the fanuc-robot profile, the robot shows its variables as %R, %AI, %I and so on through the SNPX assignments ($SNPX_ASG). Instead of typing a tag per register, paste the table into SNPX assignment table (robot). Each row becomes named tags next to the tags of the Tags field, and all of them are read-only. The field is one line: separate the rows with semicolons (a CSV with line breaks works the same where the field allows them). The first row is the header. Fields are separated by commas; put a field with a comma in double quotes. Rows that are empty or start with # are skipped.

Column Meaning
Variable (required) R[n], SR[n], F[n], PR[n] (all six components X, Y, Z, W, P, R), PR[n].Z or "PR[n,3]" (one component), DI DO RI RO SI SO UI UO GI GO AI AO as DI[n], or a system variable $NAME (needs a Name)
Address (required) Where your assignment puts the first element, with the memory: %R19, %I1
Size How many consecutive elements; default 1. Element n+1 follows element n. This is not the robot’s $SIZE, which counts words: a REAL register is Size 1 here, even if $SIZE says 2. Headers with a $ (a raw $SNPX_ASG listing) are refused
Type INT16 UINT16 INT32 UINT32 REAL STRING[n]. Needed for R, SR, GI, GO, AI, AO and system variables: the robot does not say whether a register holds a whole number or a real. Not given for DI DO RI RO SI SO UI UO F (BOOL) and PR (REAL)
Name The tag name or path instead of the default. With a Size above 1: Name_1, Name_2, …
Role ALARM or PROGRAM: puts the tag in the Alarms or Program folder
Multiplier Optional; only 1 is accepted, the module scales nothing

Default tag names: Registers/R10, StringRegisters/SR1, Flags/F3, PositionRegisters/PR5/X, IO/DI3. Example:

Variable,Address,Size,Type,Name,Role;R[10],%R19,2,INT32,;PR[2],%R100,1,,;DI[1],%I1,8,,;SR[1],%R200,1,STRING[40],ActiveText,ALARM;R[9],%R230,1,UINT16,ProgramStatus,PROGRAM

Registers R[10] and R[11] are read at %R19 and %R21, the position register PR[2] as six REALs from %R100, DI[1] to DI[8] from %I1, the alarm text as Alarms/ActiveText and the program status as Program/ProgramStatus.

Alarm text and program status are your configuration. The module does not know which robot variable holds them. Assign the variable you use (for example a string register your program fills with the active alarm) in the robot’s SNPX table, then list it here with Role ALARM or PROGRAM.

Check after the first connection that a register you know reads right. A position register is read as 12 words (six REALs in a row), and a value is read as wide as the Type you give. The page cannot know what your robot assigns, so it only checks the table itself. On save it refuses, naming the row (rows count every line you wrote, comments and blank lines included): unknown columns, unknown variables or types, a missing Type, a row with more fields than the header, rows that share memory, a repeated tag name. Two mistakes depend on other fields and are saved without complaint: a table on a ge-plc device, and a tag path that is also in the Tags field. The device then stays stopped and its status reads “The saved settings cannot run” with the reason, and the gateway log has an ERROR with the device name. Fix the device on the page and it starts again. At DEBUG, logger innorobix.srtp.request lists the tags the device runs with.

Writes

Writes are not available in this version. The device form has no write switch, every tag is read-only in Ignition, and a write from a screen, script or the tag editor never reaches the module. Ignition itself shows the tag as read-only and returns its own read-only or not-writable result; the module adds no message of its own and logs nothing for the attempt. Nothing is sent to the controller. The only module text is an INFO line when a device connects: “Device : Writes are not available in this SRTP version. Every tag is read-only.” To change a value in the controller, use your programming software or another tool.

The write code is in the module but disabled in the build.

Safety CPUs. The driver cannot tell which references belong to safety logic. Reading does not change a controller, but do not point the driver at a controller that runs safety functions (for example a Series 90-70 with GMR, or a PACSystems CPU running safety logic) until the person responsible for that logic agrees. The module writes nothing.

Status tags

The module creates the tag provider [SRTP] with one folder per device. The gateway lists the provider and its tag count under Services > Tags; the tag tree itself is in the Designer’s tag browser.

Tag below [SRTP]<Device>/ Meaning
Connected True while the connection to the controller is up
State Connection state, including Not licensed, Disabled and Standby (the gateway is the backup node of a redundant pair and does not connect)
LastError The last connection or protocol error
LastUpdate Time of the last good answer
ReconnectCount How often the connection was lost
LicenseState The module licence as this device sees it
ProtocolErrors Answers the driver could not use
RequestRateHz Requests per second sent to the controller
Model and RunState Unknown in this version

_Info/Model and RunState show Unknown. The driver does not send the controller-identification request and does not read the run state from the status reply. To show run or stop, read a bit or register of your own program as an ordinary tag.

Tags from your own tag list sit below the device folder under the path you gave. The SNPX table creates tags in these folders: Registers, StringRegisters, Flags, PositionRegisters, IO, and, for rows with a Role, Alarms and Program.

A data tag is Bad while the device is not connected. If the controller answers one read with an error, only the tags of that range are Bad (Bad_Failure), ProtocolErrors counts it, and the connection stays open.

After the first connection, compare one known value of each kind with the programming software:

The public descriptions of SRTP disagree or are silent on some points. After the first connection, compare one known value of each kind with the programming software:

  • A REAL and an INT32 spanning two words: if the value looks wrong, switch Word order.
  • A bit in %I or %M, for example one you can switch: if the wrong bit moves, try Bit access BYTE_BITINDEX, then BIT. With BYTE_BITINDEX the request count is sent in bytes.
  • If long reads fail with error replies, lower Most words per request.

Logs

Loggers innorobix.srtp.device (connection and read problems), innorobix.srtp.request (DEBUG: how the tag list became requests), innorobix.srtp.protocol (TRACE: every frame in hex). Repeated failures are logged once and then summarised every 5 minutes.

First checks when something does not work

Read the gateway log first and filter on innorobix.srtp; the answer is on the gateway, not in the Designer.

  • The device does not connect. [SRTP]<Device>/_Status/State and LastError give the reason. Check the host and TCP port 18245 from the gateway machine, not your PC; a firewall between the gateway and the controller is the usual cause. The Test button on the device form tries a connection.
  • Connected, but tags are Bad. If the controller answers a read with an error, only the tags of that range are Bad_Failure, ProtocolErrors counts it and the connection stays open: check the address exists and lower Most words per request. A silent or garbled answer closes the connection and the driver reconnects (ReconnectCount): raise Timeout on a slow network.
  • A value looks wrong. See “Check after setup” above: Word order for 32-bit values, Bit access for %I and %M.
  • A device is saved but stopped, “The saved settings cannot run”. The page cannot check one field against another. The reason is in LastError and the log. Typical: an SNPX table on a ge-plc device, or a tag path in both the tag list and the table.
  • A write does nothing. Writes are not available in this version.
  • Not licensed, or only 2 devices run. See the Compatibility chapter, Licensing.
  • _Info/RunState and Model show Unknown. Intended in this version. Read a bit or register of your own program instead.

When you ask for help, send the module version, controller family and firmware, profile, the exact innorobix.srtp log lines and the device’s _Status tags. Enable TRACE on innorobix.srtp.protocol only for a short test: it logs frames in hex, which contain your process data. Do not send licence keys.

Generated from the module's documentation for version 8.10.0. Questions: contact us.

Get a quoteFree trial