Forcing hardware IOs in AC800M-HI[PM865] Controllers
I have a few Analog signals in AC800M HI - PM865 . I do not have the respective Analog cards hardware. I only have the controller and SM810. For testing I want to force those analog inputs and give some desired value.
Is there any way to do it in absence of analog cards ?
Thanks in Advance.
Voted best answer
It is not allowed to force IO channels in HI Controllers at least your user is part of the safety operator groups and you have completed the access management configuration at the application level. This will allow you to force from faceplate only. However if you are using a built-in function block / control module (i.e. SDInReal, etc) to force the signal you will need to inhibit the point so the forced value will no pass to the logic that you might want to test.
I guess you are simulating the hardware and IO cards and that will be the reason why the controller does not goes to fault state after power it up.
My walk around to this was
Create a faceplate for simulation;
create a variable (i.e. vlInit_SIM with initial value TRUE) to initialize the IO point with which ever value you want (i.e. 20.0);
If you want to manipulate this variable from the faceplate then add a confirm write support aspect in the application where variable (vlInit_SIM) is created and configure the ON/OFF value and In the SIL Access tab of the application confirgure the confirm or confirm and access enable option (access management);
Make sure your RealIO variable (i.e. X.Value and X.IOValue) have the access level set to confirm or confirm and access enable;
In the faceplate element add a InputValue item and configure the ValueRef X.IOValue
The simulation logic was:
If vlInit_SIM Then
X.IOValue := 20.0 ;
X.Value := X.IOValue ;
vlInit_SIM := False ;
Then you can change the value from the simulation faceplate.
Because all my IO was already allocated and connected to the IO Card I needed to write values directly to the X.IOValue parameter otherwise you can write directly to the X.Value.
Hope this help
So you have configured some IO points but you do not have the hardware installed yet ?
It should not matter whether the hardware is installed or not. You just need the privilege to force IO signals in the HI controller. Operators cannot do this, just make sure your commissioning people have the required security role to force IO.