The commands have an array of strings as an argument. The IndexGroup and the IndexOffset are supplied for Read and Write commands. For the Write commands there is an addition array element that holds the value.
For testing the device using jive, the arguments have to be given as decimal numbers, in hexadecimal it doesn't work.
State. Tango default State command. |
Status. Tango default Status command. |
ReadDouble. Reads a double number from the PLC. |
ReadFloat. Reads a floating point number from the PLC. |
ReadChar. Reads a char number (1B) from the PLC. |
ReadLong. Reads a long number from the PLC. |
ReadShort. Reads a short number (2B) from the PLC. |
WriteDouble. Writes a double to the PLC. |
WriteFloat. Writes a float to the PLC. |
WriteChar. Writes a char to the PLC. |
WriteLong. Writes a long PLC. |
WriteShort. Writes a short to the PL. |
If a command fails, it re-opens the connection to the PLC bus coupler and re-tries the I/O. An exception is generated in case the second I/O fails also.