TwinCAT 3 Push Bool

TwinCAT 3 Push Bool 1:

This SIMPL+ macro writes the value of a digital signal present at the Input to a 1-bit variable of an ADS device. The write procedure is executed every time there is a change at the Input.

The push commands do not receive any confirmation from the TwinCAT controller. As a result, the speed of execution is faster than with the write commands.

Inputs

Input           : DIGITAL_INPUT;

Input: The value of this signal is written to the ADS device every time there is a change.

Outputs

Command_Req     : STRING_OUTPUT;

Command_Req: This signal is linked to the input Command_Req of the SIMPL+ macro TwinCAT 3 Communication and is used to transfer the commands.

Parameter

AdsPort         : INTEGER_PARAMETER;
IndexGroup      : LONG_INTEGER_PARAMETER;
IndexOffset     : LONG_INTEGER_PARAMETER;

AdsPort: Contains the port number of the ADS device.

IndexGroup: Contains the index group number of the requested ADS service. This value is to be found in the ADS table of the addressed device.

IndexOffset: Contains the index offset number of the requested ADS Service. This value is to be found in the ADS table of the addressed device.