<< Click to Display Table of Contents >> Commands |
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 |
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 telecommands that can be used to interact with Control Panels, by using the Item parameter.
Item |
Description |
Read or Write |
---|---|---|
STATUS |
Returns information about the current state of this Driver. Possible values are 0: Idle (number) or 1: Processing telecommand (number) |
Read-only |
Vn:COMMAND |
Sends a telecommand to the controller number indicated by Vn. The writing values of this Tag used to select the type of control to send are 67: Performs the triggering of the control indicated in Vn, 68: Performs a shut down of the control indicated in Vn, 69: Select a control for manual indicated in Vn, or 70: Select a control for automatic indicated in Vn. Use a Vn:RESPONSE Tag to check whether the processing of the telecommand was completed successfully or failed |
Write-only |
Vn:RESPONSE |
A read-only Tag used to monitor the result of the last telecommand sent to the controller number indicated by Vn. 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:COMMAND Tag. In case of failure, this Tag returns a 32-bit integer, with the upper bits containing the Control Panel error and the lower bits containing the value written by the Vn:COMMAND Tag |
Read-only |
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), and to trigger control 5 (five, V5):
•Tag.ParamDevice: 1:CT850:R3:T2
•Tag.ParamItem: V5:COMMAND
•Writing value of this Tag: 67 (control triggering)
Return of this telecommand:
•Tag.ParamDevice: 1:CT850:R3:T2
•Tag.ParamItem: V5:RESPONSE
•Reading value of this Tag in case of success: 67, that is, a 32-bit integer 0x00000043, with the upper bits equal to 0 (zero) and the lower bits equal to 67
•Reading value of this Tag in case of failure: 3407939, that is, a 32-bit integer 0x00340043, with the upper bits equal to 52 and the lower bits equal to 67, in which the upper bits receive the error code 0x0034 from the Control Panel