agentnumber2
Member
Happy New Years!
I am working with a client who has two different system - one PLC-based for their industrial side and one PC-based for their IT side. Their IT guys have their own alarm when something is amiss and want to tie it in via the PLC without adding any additional equipment.
Is it possible to trigger a HTTP command with the PLC or with Citect (perhaps using Cicode)? The command I need to trigger is:
http://<it-server>/rpc?request={"rpc":"2.0","method":"Industrial.GeneralAlarm","params":{"PLC":3},"id":1}
Is there a way to do this using my existing equipment or will I need another piece of equipment to run the HTTP command?
If I could receive and log the return string:
{"id":1,"rpc":"2.0","result":{"Alarm":3}}
that would be great, but not necessary.
Thanksl
I am working with a client who has two different system - one PLC-based for their industrial side and one PC-based for their IT side. Their IT guys have their own alarm when something is amiss and want to tie it in via the PLC without adding any additional equipment.
Is it possible to trigger a HTTP command with the PLC or with Citect (perhaps using Cicode)? The command I need to trigger is:
http://<it-server>/rpc?request={"rpc":"2.0","method":"Industrial.GeneralAlarm","params":{"PLC":3},"id":1}
Is there a way to do this using my existing equipment or will I need another piece of equipment to run the HTTP command?
If I could receive and log the return string:
{"id":1,"rpc":"2.0","result":{"Alarm":3}}
that would be great, but not necessary.
Thanksl