Skip to main content

8.10 IO signal list

8.10.1 Overview

In addition to the default Universal IO signals created by the "IO device" in the enabled state, if you want to use the IO device alone to create a user IO signal, you need to create it on the "IO Signal List" page. Starting from V4.0, Global IO and Local IO are supported: Global IO corresponds to system variables, and Local IO corresponds to project variables.

The signalxx type variables are used to store and access IO signals in the RL program. For details, refer to relevant sections about RL commands.

8.10.1 1 io list

① IO signal list: You can view IO signal attributes, including: - Signal name - Scope: including Global IO and Local IO - Type: including DI/DO/GI/GO - IO board: It can be a standard IO module provided by ROKAE, or a Profinet bus or Ethernet/IP bus device - Start port and end port: the corresponding physical address numbers that an IO signal is mapped to ② Function buttons: You can import, export, create, edit, multi-select, and delete IO signals

  • If there is an error in the IO configuration, for example, when the mapped IO port exceeds the physical limits or the IO is repeatedly assigned, the controller system will enter the SYS_ERR state at system start and give an alarm message on the HMI. In this case, the user is only allowed to enter the system configuration interface to correct the wrong configuration, with no other operation allowed.

  • The xCore system enables the mapping of both user IO and system IO to the same port. However, users are not allowed to write on the ports/signals that have been bound to system IO. That is, the signals mapped to the same port as the system IO are read-only for the users.

The configured IO can be viewed on the status monitoring interface, on which the forced output or simulation input of the IO is supported.

image330

8.10.2 Operation examples

Operation Graphical Representation Explanation

1. Click the "+" button in the lower right corner to create a new IO.

8.10.1 1 io add

Users with the permission level of "Programmer" or above can perform creation and edit operations.

2. Attribute settings.

8.10.1 1 io detail

Set the IO signal name, description, scope, IO board, signal type, and port.

3. Using IO Signal in the RL program.

image333

For the input signal (DI/GI), the state of the input node can be read directly in the RL program using the variable name of the input signal. Example: Use the state of the digital input as a criterion for judgment: IF (di1 == true) do something … ENDIF. For the output signal (DO/GO), specialized commands SetDO and SetGO can be used in the RL program. See the explanation of each command for details.

8.10.3 IO signal export/import

8.10.3.1 IO signal export

On the IO signal list page, click the image269 button at the bottom left to enter the IO signal export interface.

8.10.1 1 io export

①

IO signal export target file (including path)

②

Filter box, supporting filtering by name, and filtering Global IO and Local IO

③

IO signal list

④

IO signal export operation buttons

Export steps: First, input or select the path for the IO signal export target file in ①. The filter box in ② can filter by name, and can filter Global IO and Local IO. Then, check the IO signals to be exported in ③. Finally, click the button in ④ to execute the export, and the exported IO signal file will be generated in the path specified in ①.

8.10.3.2 IO signal import

On the IO signal list page, click the image271 button at the bottom left to enter the IO signal import interface.

8.10.1 1 io import

①

IO signal import file

②

IO signal import option, which is the strategy for handling entry conflict

③

Filter box, supporting filtering by name, and filtering Global IO and Local IO

④

IO signal import selection entries

⑤

IO signal import operation buttons

Import steps: First, select the IO signal file to be imported in ①. The filter box in ③ can filter by name, and can filter Global IO and Local IO. After selecting the conflict handling strategy in ②, select the IO signals to be imported in ④. Finally, click "Finish" in ⑤ to execute the import, and the selected IO signals will be imported locally.