F_IolGetChannelStateTxt

Function converts state channel and port into text form.
Outputs
Name | Type | Description |
---|---|---|
F_IolGetChannelStateTxt | String(255) | Converts the channel state into text information. |
Example
VAR
nStateCh2 AT%I* :USINT;
nPort :E_IolPort:=E_iolPort.Port2;
sChannelStateText :STRING(255);
END_VAR
sChannelStateText := F_IolGetChannelStateTxt(nStateCh2,nPort);

Requirements
Development environment | Required PLC library |
---|---|
TwinCAT from v3.1.4024.25 | Tc3_IoLink from v3.3.4.0 |