Peripherals

<< Click to Display Table of Contents >>

Peripherals

Use PLC Tags to manipulate specific telecommands from Control Panels, using the parameters indicated on the next table.

Parameters for Control Panels

Device

Parameters of a device, in the format ID:XXXXX:Rn:Tn

Item

Parameters of a telecommand. For more information, please check table Telecommand Tags for peripherals

N1/B1

Not used

N2/B2

Not used

N3/B3

Not used

N4/B4

Not used

 

In the Device parameter of these Tags, inform the identification data of the Control Panels using the format ID:XXXXX:Rn:Tn, as described next:

ID: Identifier of Modbus slave

XXXXX: Type of Control Panel, according to the next values:

CT850: Ictel CT850 Control Panel

AUTTOM_R1: Radio 1 Auttom Control Panel

AUTTOM_R2: Radio 2 Auttom Control Panel

Rn: Number of the Remote Station

Tn: Type of Remote Station

 

The next table contains the telecommands that can be used to interact with Control Panels, by using the Item parameter.

Telecommand Tags for peripherals

Telecommand

Item

Description

Read or Write

Writing request on peripherals

Vn:PERIPHERAL:Mn[.DataType]

Sends a data telecommand to a peripheral linked to the Control Panel, in which Vn corresponds to the index (identifier) of this peripheral, Mn corresponds to the memory position of this peripheral, and DataType corresponds to data type .u32 or .i32 to send 32-bit integers. This parameter is optional and, if not specified, 16-bit integer values are sent. For Vn:PERIPHERAL:Mn[.DataTYpe] requests, the writing value of this Tag represents the new value to send to a peripheral. For Vn:QUERY_PERIPHERAL:Mn[.DataType] querying requests, writing to this Tag can have any value. Use the respective Vn:RESP_PERIPHERAL:Mn[.DataType] Tag to check whether the processing of this telecommand was completed successfully or it was completed with failure

Write-only

Querying request on peripherals

Vn:QUERY_PERIPHERAL:Mn[.DataType]

Reading the response to a writing or querying request on peripherals

Vn:RESP_PERIPHERAL:Mn[.DataType]

Reading Tag used to monitor the result of the last data telecommand sent to the respective peripheral indicated by Vn in the memory position Mn and, finally, the data type [.DataType], if used. In case of success, this Tag returns a 32-bit integer, with the upper bits set to 0 (zero) and the lower bits containing the value written by the Vn:PERIPHERAL:Mn[.DataType] Tag. In case of failure, this Tag returns a 32-bit integer, with the upper bits containing the error from the Control Panel and the lower bits containing the value written by the Vn:PERIPHERAL:Mn[.DataType] Tag

Read-only

 

Usage Example

Writing a telecommand for the CT850 Control Panel with identifier equal to 1 (one, CT850), Remote Station equal to 3 (three, R3), Type of Remote Station equal to 2 (two, T2), to send the value 1234 to peripheral 1 (one, V1), in memory position 6 (six, M6):

Tag.ParamDevice: 1:CT850:R3:T2

Tag.ParamItem: V1:PERIPHERAL:M6

Writing value of this Tag: 1234 (value sent to memory six of peripheral one)

 

Return of this telecommand:

Tag.ParamDevice: 1:CT850:R3:T2

Tag.ParamItem: V1:RESP_PERIPHERAL:M6

Reading value of this Tag in case of success: 1234, that is, a 32-bit integer 0x000004D2, with upper bits equal to 0 (zero) and lower bits equal to 1234

Reading value of this Tag in case of failure: 7603410, that is, a 32-bit integer 0x007404D2, with upper bits equal to 116 and lower bits equal to 1234, in which the upper bits receive the error code 0x0074 from the Control Panel

Was this page useful?