IN : STRING character string
Q : INT CRC16 calculated on all the characters of the string.
In FFLD language, the input rung (EN) enables the operation, and the output rung keeps the same value as the input rung. In IL"Instruction list" This is a low-level language and resembles assembly language, the input parameter (IN) must be loaded in the current result before calling the function.
The function calculates a ModbusModBus is a serial communications protocol and is now the most commonly available means of connecting industrial electronic devices. ModBus is often used to connect a supervisory computer with a remote terminal unit in supervisory control and data acquisition (SCADA) systems. Versions of the ModBus protocol exist for serial port and Ethernet (it is widely used with TCP/IP over Ethernet) CRC16, initialized at 16#FFFF value.
Q := CRC16 (IN);
(* The function is executed only if EN is TRUE *)
(* ENO is equal to EN *)
|
Copyright © 2015 Kollmorgen™ |
|